Function at 0x50174c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x501754
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x501d40
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, 0x501d60
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, 0x501d7c
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, 0x501d88
call sub.rtl70.bpl__System__LStrCat_qqrv
mov eax, dword [ebp - 0x38]
call sub.rtl70.bpl__Sysutils_FileExists_qqrx17System_AnsiString
test al, al
je 0x501c49
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 0x5017ff
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 0x501c42
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x501bcb
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, 0x501d88
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, 0x501d98
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 0x5018e6
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
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x50]
mov edx, 0x501db0
call sub.rtl70.bpl__System__LStrCmp_qqrv
je 0x50191e
xor ecx, ecx
mov edx, 0x501dbc
mov eax, 0x501ddc
call sym.P_Interface.bpl__Publicutil_MessageBox_qqr17System_AnsiStringt1o
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call sub.rtl70.bpl__System__TryFinallyExit_qqrv
jmp 0x501c49
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 0x501b54
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, 0x501de8
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, 0x501dfc
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 0x5019ce
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
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__Skbwdzfpserver_SKBW20_DZFPSERVER_SendToServer_qqr44System__DelphiInterface_t16Xmlintf_IXMLNode_t1r17System_An
test al, al
je 0x501b4c
lea ecx, [ebp - 0x7c]
mov edx, 0x501e14
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x6c]
xor edx, edx
call sub.rtl70.bpl__Variants_VarToStrDef_qqrrx14System_Variantx17System_AnsiString
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call sub.rtl70.bpl__Sysutils_Trim_qqrx17System_AnsiString
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x2c]
mov edx, 0x501e38
call sub.rtl70.bpl__System__LStrLAsg_qqrpvpxv
cmp word [ebp + 0xa], 0
je 0x501b4c
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 - 0x94]
mov edx, 0x501e40
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x84]
xor edx, edx
call sub.rtl70.bpl__Variants_VarToStrDef_qqrrx14System_Variantx17System_AnsiString
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
call sub.rtl70.bpl__Sysutils_Trim_qqrx17System_AnsiString
mov eax, dword [ebp - 0x80]
call sub.rtl70.bpl__Sysutils_StrToFloatDef_qqrx17System_AnsiStringxg
add esp, 0xfffffff4
fstp xword [esp]
wait
push 0
push 0
push 0
lea ecx, [ebp - 0xac]
mov edx, 0x501e54
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0x9c]
xor edx, edx
call sub.rtl70.bpl__Variants_VarToStrDef_qqrrx14System_Variantx17System_AnsiString
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call sub.rtl70.bpl__Sysutils_Trim_qqrx17System_AnsiString
mov eax, dword [ebp - 0x98]
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 0x501e38
push 0
push 0
lea ecx, [ebp - 0xc4]
mov edx, 0x501e14
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xc4]
lea ecx, [ebp - 0xb4]
xor edx, edx
call sub.rtl70.bpl__Variants_VarToStrDef_qqrrx14System_Variantx17System_AnsiString
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0xb0]
call sub.rtl70.bpl__Sysutils_Trim_qqrx17System_AnsiString
mov edx, dword [ebp - 0xb0]
xor ecx, ecx
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
inc esi
dec ebx
jne 0x50193f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x90]
test eax, eax
je 0x501b6b
xor edx, edx
call sub.vcl70.bpl__Comctrls_TProgressBar_SetPosition_qqri
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x501bbd
lea edx, [ebp - 0xc8]
mov eax, 0x501e70
call sym.P_Interface.bpl__Publicutil_ReadRegString_qqr17System_AnsiString
mov eax, dword [ebp - 0xc8]
mov edx, 0x501e80
call sub.rtl70.bpl__System__LStrCmp_qqrv
je 0x501bbd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x50]
mov edx, 0x501db0
call sub.rtl70.bpl__System__LStrCmp_qqrv
je 0x501bbd
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 0x501c08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x501c49
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x90]
test eax, eax
je 0x501c2c
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 0x501d4a
lea eax, [ebp - 0xcc]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0xc4]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0xb4]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0xac]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x9c]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x94]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x84]
mov edx, 2
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x7c]
call sub.rtl70.bpl__Variants__VarClr_qqrr8TVarData
lea eax, [ebp - 0x6c]
mov edx, 2
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