Function at 0x514468
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x7f
push 0
push 0
dec ecx
jne 0x514470
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x515f1d
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.rtl70.bpl__Sysutils_Now_qqrv
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x20]
mov eax, 0x515f3c
call sub.rtl70.bpl__Sysutils_FormatDateTime_qqrx17System_AnsiString16System_TDateTime
push 0
lea edx, [ebp - 0x5c]
mov eax, dword [sym.P_Interface.bpl__Publicutil_GL_ExeName]
mov eax, dword [eax]
call sub.rtl70.bpl__Sysutils_ExtractFilePath_qqrx17System_AnsiString
lea eax, [ebp - 0x5c]
mov edx, 0x515f58
call sub.rtl70.bpl__System__LStrCat_qqrv
mov eax, dword [ebp - 0x5c]
call sub.rtl70.bpl__System__LStrToPChar_qqrx17System_AnsiString
push eax
call sub.kernel32.dll_CreateDirectoryA
mov byte [ebp - 5], 0
lea edx, [ebp - 0x64]
mov eax, dword [sym.P_Interface.bpl__Publicutil_GL_ExeName]
mov eax, dword [eax]
call sub.rtl70.bpl__Sysutils_ExtractFilePath_qqrx17System_AnsiString
lea eax, [ebp - 0x64]
mov edx, 0x515f64
call sub.rtl70.bpl__System__LStrCat_qqrv
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
call sub.rtl70.bpl__System__WStrFromLStr_qqrr17System_WideStringx17System_AnsiString
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
xor ecx, ecx
call sym.P_Interface.bpl__Fpinterface_TFPINTERFACE_of_output_debug_info_qqr17System_WideStringo
lea edx, [ebp - 0x68]
mov eax, dword [sym.P_Interface.bpl__Publicutil_GL_ExeName]
mov eax, dword [eax]
call sub.rtl70.bpl__Sysutils_ExtractFilePath_qqrx17System_AnsiString
lea eax, [ebp - 0x68]
mov edx, 0x515f64
call sub.rtl70.bpl__System__LStrCat_qqrv
mov eax, dword [ebp - 0x68]
call sub.rtl70.bpl__Sysutils_FileExists_qqrx17System_AnsiString
test al, al
je 0x515a5b
xor ecx, ecx
mov dl, 1
mov eax, dword [sym.imp.xmlrtl70.bpl__Xmldoc_TXMLDocument_]
call sub.xmlrtl70.bpl__Xmldoc_TXMLDocument__bctr_qqrp18Classes_TComponent
mov edx, eax
test edx, edx
je 0x514551
sub edx, 0xffffff34
lea eax, [ebp - 0xc]
call sub.rtl70.bpl__System__IntfCopy_qqrr45System__DelphiInterface_t17System_IInterface_x45System__DelphiInterface_t17System_IInter
xor ecx, ecx
mov dl, 1
mov eax, dword [sym.imp.xmlrtl70.bpl__Xmldoc_TXMLDocument_]
call sub.xmlrtl70.bpl__Xmldoc_TXMLDocument__bctr_qqrp18Classes_TComponent
mov edx, eax
test edx, edx
je 0x514573
sub edx, 0xffffff34
lea eax, [ebp - 0x10]
call sub.rtl70.bpl__System__IntfCopy_qqrr45System__DelphiInterface_t17System_IInterface_x45System__DelphiInterface_t17System_IInter
xor ecx, ecx
mov dl, 1
mov eax, dword [sym.P_Interface.bpl__Unit_fphmqr_TForm_FPHMQR_]
call sub.vcl70.bpl__Forms_TCustomForm__bctr_qqrp18Classes_TComponent
mov dword [ebp - 0x28], eax
mov dl, 1
mov eax, dword [sym.imp.rtl70.bpl__Classes_TStringList_]
call sub.rtl70.bpl__System_TObject__bctr_qqrv
mov dword [ebp - 0x34], eax
mov dl, 1
mov eax, dword [sym.imp.rtl70.bpl__Classes_TStringList_]
call sub.rtl70.bpl__System_TObject__bctr_qqrv
mov dword [ebp - 0x38], eax
mov dl, 1
mov eax, dword [sym.imp.PCommonUtil.bpl__Base64_TBase64_]
call sub.rtl70.bpl__System_TObject__bctr_qqrv
mov dword [ebp - 0x44], eax
lea edx, [ebp - 0x70]
mov eax, dword [sym.P_Interface.bpl__Publicutil_GL_ExeName]
mov eax, dword [eax]
call sub.rtl70.bpl__Sysutils_ExtractFilePath_qqrx17System_AnsiString
push dword [ebp - 0x70]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
push dword [ebx + 0x54]
push 0x515f78
mov ecx, dword [ebx + 0x58]
lea eax, [ebp - 0x78]
mov edx, 0x515f84
call sub.rtl70.bpl__System__LStrCat3_qqrv
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
mov edx, 3
call sub.PCommonUtil.bpl__Ncutil_MyRightStr_qqr17System_AnsiStringi
push dword [ebp - 0x74]
push 0x515f90
lea eax, [ebp - 0x6c]
mov edx, 5
call sub.rtl70.bpl__System__LStrCatN_qqrv
mov eax, dword [ebp - 0x6c]
call sub.rtl70.bpl__Sysutils_FileExists_qqrx17System_AnsiString
test al, al
je 0x51468f
lea edx, [ebp - 0x80]
mov eax, dword [sym.P_Interface.bpl__Publicutil_GL_ExeName]
mov eax, dword [eax]
call sub.rtl70.bpl__Sysutils_ExtractFilePath_qqrx17System_AnsiString
push dword [ebp - 0x80]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
push dword [ebx + 0x54]
push 0x515f78
mov ecx, dword [ebx + 0x58]
lea eax, [ebp - 0x88]
mov edx, 0x515f84
call sub.rtl70.bpl__System__LStrCat3_qqrv
mov eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x84]
mov edx, 3
call sub.PCommonUtil.bpl__Ncutil_MyRightStr_qqr17System_AnsiStringi
push dword [ebp - 0x84]
push 0x515f90
lea eax, [ebp - 0x7c]
mov edx, 5
call sub.rtl70.bpl__System__LStrCatN_qqrv
mov ecx, dword [ebp - 0x7c]
mov dl, 1
mov eax, dword [sym.imp.rtl70.bpl__Inifiles_TIniFile_]
call sub.rtl70.bpl__Inifiles_TCustomIniFile__bctr_qqrx17System_AnsiString
mov dword [ebp - 0x48], eax
jmp 0x5146c6
lea edx, [ebp - 0x8c]
mov eax, dword [sym.P_Interface.bpl__Publicutil_GL_ExeName]
mov eax, dword [eax]
call sub.rtl70.bpl__Sysutils_ExtractFilePath_qqrx17System_AnsiString
lea eax, [ebp - 0x8c]
mov edx, 0x515fa4
call sub.rtl70.bpl__System__LStrCat_qqrv
mov ecx, dword [ebp - 0x8c]
mov dl, 1
mov eax, dword [sym.imp.rtl70.bpl__Inifiles_TIniFile_]
call sub.rtl70.bpl__Inifiles_TCustomIniFile__bctr_qqrx17System_AnsiString
mov dword [ebp - 0x48], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [sym.imp.adortl70.bpl__Adodb_TADOQuery_]
call sub.adortl70.bpl__Adodb_TADOQuery__bctr_qqrp18Classes_TComponent
mov dword [ebp - 0x54], eax
xor edx, edx
push ebp
push 0x515a54
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x5159a1
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x44]
push 0xffffffffffffffff
lea edx, [ebp - 0x94]
mov eax, dword [sym.P_Interface.bpl__Publicutil_GL_ExeName]
mov eax, dword [eax]
call sub.rtl70.bpl__Sysutils_ExtractFilePath_qqrx17System_AnsiString
push dword [ebp - 0x94]
push 0x515fb8
call sub.rtl70.bpl__Sysutils_Now_qqrv
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x98]
mov eax, 0x515fc8
call sub.rtl70.bpl__Sysutils_FormatDateTime_qqrx17System_AnsiString16System_TDateTime
push dword [ebp - 0x98]
push 0x515fe4
lea eax, [ebp - 0x90]
mov edx, 4
call sub.rtl70.bpl__System__LStrCatN_qqrv
mov eax, dword [ebp - 0x90]
call sub.rtl70.bpl__System__LStrToPChar_qqrx17System_AnsiString
push eax
lea edx, [ebp - 0x9c]
mov eax, dword [sym.P_Interface.bpl__Publicutil_GL_ExeName]
mov eax, dword [eax]
call sub.rtl70.bpl__Sysutils_ExtractFilePath_qqrx17System_AnsiString
lea eax, [ebp - 0x9c]
mov edx, 0x515f64
call sub.rtl70.bpl__System__LStrCat_qqrv
mov eax, dword [ebp - 0x9c]
call sub.rtl70.bpl__System__LStrToPChar_qqrx17System_AnsiString
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x5147c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, 0x515ff4
mov edx, 0x516024
call sym.P_Interface.bpl__Fpinterface_TFPINTERFACE_mymessagebox_qqr17System_AnsiStringt1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call sub.rtl70.bpl__System__TryFinallyExit_qqrv
jmp 0x515a70
lea edx, [ebp - 0xa4]
mov eax, dword [sym.P_Interface.bpl__Publicutil_GL_ExeName]
mov eax, dword [eax]
call sub.rtl70.bpl__Sysutils_ExtractFilePath_qqrx17System_AnsiString
lea eax, [ebp - 0xa4]
mov edx, 0x515f64
call sub.rtl70.bpl__System__LStrCat_qqrv
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
call sub.rtl70.bpl__System__WStrFromLStr_qqrr17System_WideStringx17System_AnsiString
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov dl, 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov edx, 0x516030
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x58]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x90]
test eax, eax
je 0x514884
mov edx, dword [ebp - 0x2c]
call sub.vcl70.bpl__Comctrls_TProgressBar_SetMax_qqri
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x90]
xor edx, edx
call sub.vcl70.bpl__Comctrls_TProgressBar_SetPosition_qqri
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x90]
mov edx, 1
call sub.vcl70.bpl__Comctrls_TProgressBar_SetStep_qqri
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
call dword [edx + 0xc]
lea edx, [ebp - 0xb0]
call sub.rtl70.bpl__Sysutils_IntToStr_qqri
mov edx, dword [ebp - 0xb0]
lea eax, [ebp - 0xac]
call sub.rtl70.bpl__System__WStrFromLStr_qqrr17System_WideStringx17System_AnsiString
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
xor ecx, ecx
call sym.P_Interface.bpl__Fpinterface_TFPINTERFACE_of_output_debug_info_qqr17System_WideStringo
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0xb8]
mov edx, dword [eax]
call dword [edx + 0xc]
dec eax
test eax, eax
jl 0x5158c7
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x48]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov dl, 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov edx, 0x516030
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x58]
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0xc4]
push eax
lea eax, [ebp - 0xd4]
mov edx, dword [ebp - 0x30]
mov cl, 0xfc
call sub.rtl70.bpl__Variants__OleVarFromInt_qqrr8TVarDataxixzc
lea edx, [ebp - 0xd4]
lea ecx, [ebp - 0xc0]
pop eax
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0xbc]
mov dl, 1
mov ebx, dword [eax]
call dword [ebx + 0x74]
mov eax, dword [ebp - 0xbc]
push eax
lea edx, [ebp - 0xe0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [ebp - 0xe0]
lea ecx, [ebp - 0xdc]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x78]
mov eax, dword [ebp - 0xdc]
lea edx, [ebp - 0xd8]
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0xd8]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x90]
test eax, eax
je 0x5149e1
call sub.vcl70.bpl__Comctrls_TProgressBar_StepIt_qqrv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x90]
call sub.vcl70.bpl__Controls_TControl_Refresh_qqrv
mov eax, dword [sym.imp.vcl70.bpl__Forms_Application]
mov eax, dword [eax]
call sub.vcl70.bpl__Forms_TApplication_ProcessMessages_qqrv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x50]
lea eax, [ebp - 0xe4]
mov edx, 0x516048
call sub.rtl70.bpl__System__LStrCat3_qqrv
mov ecx, dword [ebp - 0xe4]
mov edx, 0x516058
mov eax, dword [ebp - 0x48]
mov ebx, dword [eax]
call dword [ebx]
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
call sub.rtl70.bpl__System__LStrLAsg_qqrpvpxv
mov eax, dword [ebp - 0x4c]
mov edx, 0x516068
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x514a43
lea eax, [ebp - 0x50]
mov edx, 0x516068
call sub.rtl70.bpl__System__LStrLAsg_qqrpvpxv
jmp 0x514a7d
mov eax, dword [ebp - 0x4c]
mov edx, 0x516074
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x514a61
lea eax, [ebp - 0x50]
mov edx, 0x516080
call sub.rtl70.bpl__System__LStrLAsg_qqrpvpxv
jmp 0x514a7d
mov eax, dword [ebp - 0x4c]
mov edx, 0x516080
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x514a7d
lea eax, [ebp - 0x50]
mov edx, 0x51608c
call sub.rtl70.bpl__System__LStrLAsg_qqrpvpxv
push 0x516098
push dword [ebp - 0x50]
push 0x5160c8
lea eax, [ebp - 0xe8]
mov edx, 3
call sub.rtl70.bpl__System__LStrCatN_qqrv
mov eax, dword [ebp - 0xe8]
call sub.rtl70.bpl__System__LStrToPChar_qqrx17System_AnsiString
push eax
call sub.SHKJKP.dll_SHKP_1
mov edx, eax
lea eax, [ebp - 0x3c]
call sub.rtl70.bpl__System__LStrFromPChar_qqrr17System_AnsiStringpc
mov edx, dword [ebp - 0x3c]
mov eax, 0x5160d4
call sub.rtl70.bpl__System__LStrPos_qqrv
test eax, eax
jne 0x514b01
lea eax, [ebp - 0xec]
mov ecx, dword [ebp - 0x3c]
mov edx, 0x5160e8
call sub.rtl70.bpl__System__LStrCat3_qqrv
mov ecx, dword [ebp - 0xec]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, 0x516024
call sym.P_Interface.bpl__Fpinterface_TFPINTERFACE_mymessagebox_qqr17System_AnsiStringt1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call sub.rtl70.bpl__System__TryFinallyExit_qqrv
jmp 0x515a70
mov eax, dword [ebp - 0x3c]
call sym.P_Interface.bpl__Superobject_so_qqr17System_AnsiString
mov dword [ebp - 0x40], eax
xor eax, eax
push ebp
push 0x514e00
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x100]
mov edx, 0x516100
call sub.rtl70.bpl__Variants__VarFromLStr_qqrr8TVarDatax17System_AnsiString
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0xf0]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0xf0]
mov edx, 0x516068
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x514bd9
lea eax, [ebp - 0x11c]
mov edx, 0x516110
call sub.rtl70.bpl__Variants__VarFromLStr_qqrr8TVarDatax17System_AnsiString
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x10c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [ebp - 0x10c]
lea ecx, [ebp - 0x108]
mov eax, dword [ebp - 0x44]
call sub.PCommonUtil.bpl__Base64_TBase64_Base64DecodeStr_qqrx17System_AnsiString
mov ecx, dword [ebp - 0x108]
lea eax, [ebp - 0x104]
mov edx, 0x5160e8
call sub.rtl70.bpl__System__LStrCat3_qqrv
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, 0x516024
call sym.P_Interface.bpl__Fpinterface_TFPINTERFACE_mymessagebox_qqr17System_AnsiStringt1
call sub.rtl70.bpl__System__TryFinallyExit_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call sub.rtl70.bpl__System__TryFinallyExit_qqrv
jmp 0x515a70
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
lea eax, [ebp - 0x124]
mov edx, 0x516120
call sub.rtl70.bpl__System__LStrCat3_qqrv
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0x120]
call sub.rtl70.bpl__System__WStrFromLStr_qqrr17System_WideStringx17System_AnsiString
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
xor ecx, ecx
call sym.P_Interface.bpl__Fpinterface_TFPINTERFACE_of_output_debug_info_qqr17System_WideStringo
lea edx, [ebp - 0x128]
mov eax, 0x516138
call sym.P_Interface.bpl__Publicutil_ReadRegString_qqr17System_AnsiString
mov eax, dword [ebp - 0x128]
mov edx, 0x516068
call sub.rtl70.bpl__System__LStrCmp_qqrv
je 0x514dea
cmp dword [ebp - 0x30], 0
jne 0x514dea
mov edx, 0x51614c
mov eax, dword [ebp - 0x28]
call sub.vcl70.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
mov eax, dword [ebp - 0x4c]
mov edx, 0x516068
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x514c72
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x31c]
mov edx, 0x516168
call sub.vcl70.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
mov eax, dword [ebp - 0x4c]
mov edx, 0x516074
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x514c94
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x31c]
mov edx, 0x51617c
call sub.vcl70.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
mov eax, dword [ebp - 0x4c]
mov edx, 0x516080
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x514cb6
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x31c]
mov edx, 0x516190
call sub.vcl70.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
lea eax, [ebp - 0x13c]
mov edx, 0x5161a4
call sub.rtl70.bpl__Variants__VarFromLStr_qqrr8TVarDatax17System_AnsiString
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x12c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x310]
call sub.vcl70.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
lea eax, [ebp - 0x154]
mov edx, 0x5161b4
call sub.rtl70.bpl__Variants__VarFromLStr_qqrr8TVarDatax17System_AnsiString
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x144]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [ebp - 0x144]
lea ecx, [ebp - 0x140]
mov eax, 8
call sub.PCommonUtil.bpl__Ncutil_MyFormatNumber_qqri17System_AnsiString
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x314]
call sub.vcl70.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
push 0x5161c4
lea edx, [ebp - 0x15c]
mov eax, dword [ebp - 0x2c]
call sub.rtl70.bpl__Sysutils_IntToStr_qqri
push dword [ebp - 0x15c]
push 0x5161d4
lea eax, [ebp - 0x170]
mov edx, 0x5161ec
call sub.rtl70.bpl__Variants__VarFromLStr_qqrr8TVarDatax17System_AnsiString
lea edx, [ebp - 0x170]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x160]
mov ecx, dword [eax]
call dword [ecx + 0x18]
push dword [ebp - 0x160]
push 0x5161fc
lea eax, [ebp - 0x158]
mov edx, 5
call sub.rtl70.bpl__System__LStrCatN_qqrv
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x318]
call sub.vcl70.bpl__Controls_TControl_SetText_qqrx17System_AnsiString
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0xec]
mov eax, dword [ebp - 0x28]
cmp byte [eax + 0x324], 0
jne 0x514dea
call sub.rtl70.bpl__System__TryFinallyExit_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call sub.rtl70.bpl__System__TryFinallyExit_qqrv
jmp 0x515a70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x514e07
mov eax, dword [ebp - 0x40]
call sub.rtl70.bpl__System_TObject_Free_qqrv
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x90]
test eax, eax
je 0x5158de
xor edx, edx
call sub.vcl70.bpl__Comctrls_TProgressBar_SetPosition_qqri
call sub.myfanwait.dll_DelBox
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x515930
lea edx, [ebp - 0x3f0]
mov eax, 0x5164ac
call sym.P_Interface.bpl__Publicutil_ReadRegString_qqr17System_AnsiString
mov eax, dword [ebp - 0x3f0]
mov edx, 0x516074
call sub.rtl70.bpl__System__LStrCmp_qqrv
je 0x515930
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
call sub.rtl70.bpl__System__LStrCmp_qqrv
je 0x515930
push 0
push 0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
push 0x5164bc
push 0x5164dc
push 0x516068
push 0x5164f0
push 0
push 0
lea eax, [ebp - 0x3f4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x50]
mov eax, dword [sym.P_Interface.bpl__Publicutil_GL_STRNSDJH]
mov eax, dword [eax]
xor ecx, ecx
call sym.P_Interface.bpl__Publicutil_ReadXMLConfig_qqr17System_AnsiStringt1t1t1t1t1t1ot1
mov eax, dword [ebp - 0x3f4]
mov edx, 0x516074
call sub.rtl70.bpl__System__LStrCmp_qqrv
jne 0x515993
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x515993
push 0
push 0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5159e2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x515a70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x90]
test eax, eax
je 0x515a06
xor edx, edx
call sub.vcl70.bpl__Comctrls_TProgressBar_SetPosition_qqri
mov eax, dword [ebp - 0x28]
call sub.rtl70.bpl__System_TObject_Free_qqrv
call sub.myfanwait.dll_DelBox
lea eax, [ebp - 0xc]
call sub.rtl70.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x10]
call sub.rtl70.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
mov eax, dword [ebp - 0x34]
call sub.rtl70.bpl__System_TObject_Free_qqrv
mov eax, dword [ebp - 0x38]
call sub.rtl70.bpl__System_TObject_Free_qqrv
mov eax, dword [ebp - 0x44]
call sub.rtl70.bpl__System_TObject_Free_qqrv
mov eax, dword [ebp - 0x48]
call sub.rtl70.bpl__System_TObject_Free_qqrv
mov eax, dword [ebp - 0x54]
call sub.dbrtl70.bpl__Db_TDataSet_Close_qqrv
mov eax, dword [ebp - 0x54]
call sub.rtl70.bpl__System_TObject_Free_qqrv
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, 0x516510
mov edx, 0x516024
call sym.P_Interface.bpl__Fpinterface_TFPINTERFACE_mymessagebox_qqr17System_AnsiStringt1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x515f27
lea eax, [ebp - 0x3f8]
mov edx, 3
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x3ec]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x3dc]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x3d8]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x3c8]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x3c0]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x3b0]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x3ac]
call sub.rtl70.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0x3a8]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x398]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x394]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x384]
mov edx, 4
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x374]
call sub.rtl70.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0x370]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x36c]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x35c]
mov edx, 3
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x350]
call sub.rtl70.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0x34c]
mov edx, dword [sym.imp.rtl70.bpl___xp_17System_OleVariant]
mov ecx, 2
call sub.rtl70.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0x32c]
mov edx, 3
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x320]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x310]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x308]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x2f8]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x2f0]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x2e0]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x2d8]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x2c8]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x2c4]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x2b4]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x2b0]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x2a0]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x298]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x288]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x284]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x274]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x26c]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x25c]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x258]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x248]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x244]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x234]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x230]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x220]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x218]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x208]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x200]
call sub.rtl70.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0x1fc]
call sub.rtl70.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x1f8]
call sub.rtl70.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x1f4]
call sub.rtl70.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x1f0]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x1e0]
call sub.rtl70.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x1dc]
call sub.rtl70.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0x1d8]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x1d4]
call sub.rtl70.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0x1d0]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x1c0]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x1b8]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x1a8]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x1a0]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x190]
mov edx, 6
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x178]
call sub.rtl70.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0x174]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x170]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x160]
mov edx, 3
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x154]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x144]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x13c]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x12c]
mov edx, 3
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x120]
call sub.rtl70.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0x104]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x11c]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x10c]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x100]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0xf0]
mov edx, 4
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0xe0]
call sub.rtl70.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0xdc]
call sub.rtl70.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0xd8]
call sub.rtl70.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0xd4]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0xc4]
call sub.rtl70.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0xc0]
mov edx, dword [sym.imp.xmlrtl70.bpl___xp_16Xmlintf_IXMLNode]
mov ecx, 2
call sub.rtl70.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0xb8]
mov edx, dword [sym.imp.xmlrtl70.bpl___xp_20Xmlintf_IXMLNodeList]
mov ecx, 2
call sub.rtl70.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0xb0]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0xac]
call sub.rtl70.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0xa8]
call sub.rtl70.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
lea eax, [ebp - 0xa4]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0xa0]
call sub.rtl70.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0x9c]
mov edx, 0xf
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x60]
call sub.rtl70.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0x5c]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x50]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x3c]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x24]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x1c]
mov edx, dword [sym.imp.xmlrtl70.bpl___xp_16Xmlintf_IXMLNode]
mov ecx, 3
call sub.rtl70.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0x10]
mov edx, dword [sym.imp.xmlrtl70.bpl___xp_20Xmlintf_IXMLDocument]
mov ecx, 2
call sub.rtl70.bpl__System__FinalizeArray_qqrpvt1ui
ret