Home > Software engineering >  For this period of the disassembly after F5 pseudo-code decryption algorithm
For this period of the disassembly after F5 pseudo-code decryption algorithm

Time:10-27


Int sub_40168B (char a1, int a2)
{
Return sub_434930 (a1, a2);
}
Int sub_434930 (void * this, char a, int n)
{
Int result=n;
Int v6=n;
Char v4.
Char v5.

Int size=16;

Void * v9.
V9=this;

For (int I=0; i {
V5=* (_BYTE *) + v6 (I);
V5 ^=a;
Result=I + v6;
* (_BYTE *) + v6 (I)=v5;
}
return result;
}






Int sub_433850 (void * this)
{
Const char * v1.
Int v2;
Int the v3;
Int v4.
Int v5.
Int v6;
Int v7.
Int v8.
Int v9.
Int v10.
Int v11.
Int v12.
Int v13;
Int v14.
Int v15;
Int v16;
Int v17.
Int v18;
Int v19;
Int v20;
Int v21;
Int v22;
Int v23;
Int v24;
Int v25;
Int v26;
Int v27;
Int v28;
Int v29;
Int v30;
Char v32;
Int v33;
Int v34;
Int v35.
Int v36.
Int v37;
Int v38;
Int v39;
Int v40;
Char v41;
Char v42;
Char v43;
Char v44;
int j;
Char v46;
int i;
Int v48;
Int v49;
Char DstBuf;
Int v51.
Char v52;
Char v53;
The FILE * FILE;
Char v55;
Int v56;
Int v57;
Int v58;
Int v59;

V58=(int) this;
//MFC42D_5056 (this, 1);
//CFindReplaceDialog: : CFindReplaceDialog (& amp; V55, 1, 0, 0, 6, 0, 0).
V59=0;
//v56=(int) "Data file (*.txt)";
//v57=(int) "D: \ ";
//if (CToolTipCtrl: : DestroyToolTipCtrl (& amp; V55)==1)
{
//v40=CStatusBarCtrl: : GetRect (& amp; V55, & amp; V44);
V39=v40;
LOBYTE (v59)=1;
V1=(const char *) operator_ (v40);
Fopen (v1, "r + b");
//the File=(File *) chkesp ();
LOBYTE (v59)=0;
//CTreeView: : _CTreeView (& amp; V44);
If (File)
{
CTimeSpan: : CTimeSpan (& amp; V52);
LOBYTE (v59)=2;
V51=0;
//DDV_MinMaxFloat (v58 + 240);
//v38=CStatusBarCtrl: : GetRect (& amp; V55, & amp; V43);
V37=v38;
LOBYTE (v59)=3;
V2=operator_ (v38);
//MFC42D_4934 (v58 + 304, v2);
LOBYTE (v59)=2;
//CTreeView: : _CTreeView (& amp; V43);
Fread ((void *) (v58 + 384), and 0 x20u, 1 u, File). The format of the//read from 32 bit to CTimeSpan
//chkesp ();
LOBYTE (v48)=1;
While (1)
{
Fread ((void *) (v58 + 368), and 0 x10u, 1 u, File).//read 16

V49=chkesp ();
If (v49==1)
{
(_BYTE sub_40168B (* *) (v58 + 385), v58 + 368);//decryption
If (* (_DWORD *) (v58 + 368)==30000)
{
If (* (_DWORD *) (v58 + 372)==30000 & amp; & * (_DWORD *) (v58 + 376)==30000 & amp; & * (_DWORD *) (v58 + 380)==30000)
break;
}
}
If (v49!
=1)Goto LABEL_12;
}
LOBYTE (v48)=0;
LABEL_12:
Fread ((void *) (v58 + 416), and 0 x44u, 1 u, File).
//chkesp ();
(_BYTE sub_40137F (* *) (v58 + 385), v58 + 416);//decryption
//if (_BYTE v48)
//{
//CDialog: : OnCancel (v58, & amp; Unk_4B5214, "Error", 64);
//}
//else
{
Itoa (* (_DWORD *) (v58 + 416), & amp; DstBuf, 10);
//v3=chkesp ();
CFrameWnd: : IsTracking (v58 + 240, v51, v3);
Itoa (* (_DWORD *) (v58 + 420), & amp; DstBuf, 10);
//v4=chkesp ();
CToolBar: : SizeToolBar (v58 + 240, v51, 2, v4);
Operator> (& amp; V52 v58 + 424);
V36=CMDIFrameWnd: : MDITile (& amp; V52, & amp; V42, 10);
V35=v36;
LOBYTE (v59)=4;
V5=operator_ (v36);
CToolBar: : SizeToolBar (v58 + 240, v51, 3, v5);
LOBYTE (v59)=2;
CTreeView: : _CTreeView (& amp; V42);
V34=CImageList: : SetBkColor (& amp; V52, & amp; V41, 9);
V33=v34;
LOBYTE (v59)=5;
V6=operator_ (v34);
CToolBar: : SizeToolBar (v58 + 240, v51, 4, v6);
LOBYTE (v59)=2;
CTreeView: : _CTreeView (& amp; V41);
CToolBar: : SizeToolBar (v51 v58 + 240, 5, v58 + 448);
CComboBox: : FindString (& amp; V52, "% 8.2 f", * (float *) (v58 + 464));
V7=operator_ (& amp; V52);
CToolBar: : SizeToolBar (v58 + 240, v51, 6 v7);
CComboBox: : FindString (& amp; V52, "% 8.2 f", * (float *) (v58 + 468));
V8=operator_ (& amp; V52);
CToolBar: : SizeToolBar (v51 v58 + 240, 7, v8);
Itoa (* (_DWORD *) (v58 + 472), & amp; DstBuf, 10);
V9=chkesp ();
CToolBar: : SizeToolBar (v58 + 240, v51, 8, v9);
Itoa (* (_DWORD *) (v58 + 476), & amp; DstBuf, 10);
V10=chkesp ();
CToolBar: : SizeToolBar (v51 v58 + 240, 9, v10);
Itoa (* (_DWORD *) (v58 + 480), & amp; DstBuf, 10);
V11=chkesp ();
CToolBar: : SizeToolBar (v51 v58 + 240, 10, v11);
For (I=0; i <* (_DWORD *) (v58 + 472); + + I)
{
+ + v51;
Fread ((void *) (v58 + 484), and 0 x60u, 1 u, File).
//chkesp ();
(_BYTE sub_401B72 (* *) (v58 + 385), v58 + 484);//decryption
Itoa (* (_DWORD *) (v58 + 484), & amp; DstBuf, 10);
//v12=chkesp ();
CFrameWnd: : IsTracking (v58 + 240, v51, v12);
Itoa (* (_DWORD *) (v58 + 488), & amp; DstBuf, 10);
//v13=chkesp ();
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related