Function at 0x574a24
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1a
push 0
push 0
dec ecx
jne 0x574a2c
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x575018
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 - 0x28]
mov eax, 0x575038
call sub.rtl70.bpl__Sysutils_FormatDateTime_qqrx17System_AnsiString16System_TDateTime
push 0
lea edx, [ebp - 0x34]
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 - 0x34]
mov edx, 0x575054
call sub.rtl70.bpl__System__LStrCat_qqrv
mov eax, dword [ebp - 0x34]
call sub.rtl70.bpl__System__LStrToPChar_qqrx17System_AnsiString
push eax
call sub.kernel32.dll_CreateDirectoryA
mov byte [ebp - 5], 0
lea edx, [ebp - 0x38]
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 - 0x38]
mov edx, 0x575060
call sub.rtl70.bpl__System__LStrCat_qqrv
mov eax, dword [ebp - 0x38]
call sub.rtl70.bpl__Sysutils_FileExists_qqrx17System_AnsiString
test al, al
je 0x574f21
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 0x574ad6
sub edx, 0xffffff34
lea eax, [ebp - 0xc]
call sub.rtl70.bpl__System__IntfCopy_qqrr45System__DelphiInterface_t17System_IInterface_x45System__DelphiInterface_t17System_IInter
mov dl, 1
mov eax, dword [sym.imp.rtl70.bpl__Classes_TStringList_]
call sub.rtl70.bpl__System_TObject__bctr_qqrv
mov dword [ebp - 0x30], eax
xor edx, edx
push ebp
push 0x574f1a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x574ea3
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x40]
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 - 0x40]
mov edx, 0x575060
call sub.rtl70.bpl__System__LStrCat_qqrv
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
call sub.rtl70.bpl__System__WStrFromLStr_qqrr17System_WideStringx17System_AnsiString
mov edx, dword [ebp - 0x3c]
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, 0x575070
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x58]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x90]
test ebx, ebx
je 0x574bbd
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, eax
mov eax, ebx
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 - 0x48]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
call dword [edx + 0xc]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x574e28
inc ebx
xor esi, esi
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
mov edx, esi
mov cl, 0xfc
call sub.rtl70.bpl__Variants__OleVarFromInt_qqrr8TVarDataxixzc
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x14]
pop eax
mov edi, dword [eax]
call dword [edi + 0x10]
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x18]
mov edx, 0x575084
mov edi, dword [eax]
call dword [edi + 0x38]
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x1c]
mov edx, 0x575098
mov edi, dword [eax]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x90]
test eax, eax
je 0x574c6d
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
push 0x5750ac
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, 0x5750d0
call sub.rtl70.bpl__System__LStrCat_qqrv
mov eax, dword [ebp - 0x68]
call sub.rtl70.bpl__System__LStrToPChar_qqrx17System_AnsiString
push eax
call sub.myfanwait.dll_OpenBox
lea eax, [ebp - 0x20]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x24]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call sym.P_Interface.bpl__Skhtkpserver_SKHT20_KPSERVER_SendToServer_qqr44System__DelphiInterface_t16Xmlintf_IXMLNode_t1r17System_AnsiSt
test al, al
je 0x574e20
lea ecx, [ebp - 0x80]
mov edx, 0x5750e0
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x70]
xor edx, edx
call sub.rtl70.bpl__Variants_VarToStrDef_qqrrx14System_Variantx17System_AnsiString
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call sub.rtl70.bpl__Sysutils_Trim_qqrx17System_AnsiString
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x2c]
mov edx, 0x575104
call sub.rtl70.bpl__System__LStrLAsg_qqrpvpxv
cmp word [ebp + 0xa], 0
je 0x574e20
mov eax, dword [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 0x24]
call sub.rtl70.bpl__Sysutils_StrToDate_qqrx17System_AnsiString
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0
push 0
push 0
lea ecx, [ebp - 0x98]
mov edx, 0x57510c
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x88]
xor edx, edx
call sub.rtl70.bpl__Variants_VarToStrDef_qqrrx14System_Variantx17System_AnsiString
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call sub.rtl70.bpl__Sysutils_Trim_qqrx17System_AnsiString
mov eax, dword [ebp - 0x84]
call sub.rtl70.bpl__Sysutils_StrToFloatDef_qqrx17System_AnsiStringxg
add esp, 0xfffffff4
fstp xword [esp]
wait
push 0
push 0
push 0
lea ecx, [ebp - 0xb0]
mov edx, 0x575120
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xa0]
xor edx, edx
call sub.rtl70.bpl__Variants_VarToStrDef_qqrrx14System_Variantx17System_AnsiString
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x9c]
call sub.rtl70.bpl__Sysutils_Trim_qqrx17System_AnsiString
mov eax, dword [ebp - 0x9c]
call sub.rtl70.bpl__Sysutils_StrToFloatDef_qqrx17System_AnsiStringxg
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
push 0
push 0x575104
push 0
push 0
lea ecx, [ebp - 0xc8]
mov edx, 0x5750e0
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xc8]
lea ecx, [ebp - 0xb8]
xor edx, edx
call sub.rtl70.bpl__Variants_VarToStrDef_qqrrx14System_Variantx17System_AnsiString
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xb4]
call sub.rtl70.bpl__Sysutils_Trim_qqrx17System_AnsiString
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
inc esi
dec ebx
jne 0x574bde
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x90]
test eax, eax
je 0x574e3f
xor edx, edx
call sub.vcl70.bpl__Comctrls_TProgressBar_SetPosition_qqri
call sub.myfanwait.dll_DelBox
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x574e95
lea edx, [ebp - 0xcc]
mov eax, 0x57513c
call sym.P_Interface.bpl__Publicutil_ReadRegString_qqr17System_AnsiString
mov eax, dword [ebp - 0xcc]
mov edx, 0x57514c
call sub.rtl70.bpl__System__LStrCmp_qqrv
je 0x574e95
mov cl, 1
mov edx, 0x575158
mov eax, 0x575178
call sym.P_Interface.bpl__Publicutil_MessageBox_qqr17System_AnsiStringt1o
dec eax
jne 0x574e95
push 0
push 0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x574ee0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x574f21
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x90]
test eax, eax
je 0x574f04
xor edx, edx
call sub.vcl70.bpl__Comctrls_TProgressBar_SetPosition_qqri
call sub.myfanwait.dll_DelBox
lea eax, [ebp - 0xc]
call sub.rtl70.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
mov eax, dword [ebp - 0x30]
call sub.rtl70.bpl__System_TObject_Free_qqrv
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x575022
lea eax, [ebp - 0xd0]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0xc8]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0xb8]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0xb0]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0xa0]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x98]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x88]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x80]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x70]
mov edx, 3
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x64]
mov edx, dword [sym.imp.xmlrtl70.bpl___xp_20Xmlintf_IXMLNodeList]
mov ecx, 2
call sub.rtl70.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0x5c]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x4c]
mov edx, dword [sym.imp.xmlrtl70.bpl___xp_20Xmlintf_IXMLNodeList]
mov ecx, 3
call sub.rtl70.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0x40]
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x3c]
call sub.rtl70.bpl__System__WStrClr_qqrpv
lea eax, [ebp - 0x38]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x2c]
mov edx, 4
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x1c]
mov edx, dword [sym.imp.xmlrtl70.bpl___xp_16Xmlintf_IXMLNode]
mov ecx, 4
call sub.rtl70.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0xc]
call sub.rtl70.bpl__System__IntfClear_qqrr45System__DelphiInterface_t17System_IInterface_
ret