Function at 0x417370
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x30
push 0
push 0
dec ecx
jne 0x417379
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call sub.RtlVcl160.bpl__System__UStrAddRef_qqrpv
mov eax, dword [ebp - 8]
call sub.RtlVcl160.bpl__System__UStrAddRef_qqrpv
mov eax, dword [ebp - 0xc]
call sub.RtlVcl160.bpl__System__UStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x4177d8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x417736
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [0x5ad050]
push 0x4177f4
push 0
push 0x417810
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call sub.RtlVcl160.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
push dword [ebp - 0x20]
push 0x417834
lea eax, [ebp - 0x10]
mov edx, 6
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [sym.imp.RtlVcl160.bpl__System_Inifiles_TIniFile_]
call sub.RtlVcl160.bpl__System_Inifiles_TCustomIniFile__bctr_qqrx20System_UnicodeString
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [sym.imp.PublicPkg160.bpl__Suputrans_TSpTrans_]
call sub.PublicPkg160.bpl__Suputrans_TSpCustomTrans__bctr_qqrp25System_Classes_TComponent
mov dword [ebp - 0x1c], eax
mov edx, 0x41784c
mov eax, dword [ebp - 0x1c]
call fcn.0040ff6c
lea ecx, [ebp - 0x10]
mov edx, 0x417868
mov eax, dword [ebp - 8]
call fcn.0041073c
xor ebx, ebx
jmp 0x4174c7
inc ebx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
call sub.RtlVcl160.bpl__System__WStrFromUStr_qqrr17System_WideStringx20System_UnicodeString
mov edx, dword [ebp - 0x2c]
mov eax, 0x417868
call fcn.0040fabc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call sub.RtlVcl160.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call sub.RtlVcl160.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
mov eax, dword [ebp - 0x24]
push eax
lea edx, [ebp - 0x34]
mov eax, ebx
call sub.RtlVcl160.bpl__System_Sysutils_IntToStr_qqri
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x417878
call sub.RtlVcl160.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 8]
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x10]
call sub.RtlVcl160.bpl__System__WStrFromUStr_qqrr17System_WideStringx20System_UnicodeString
mov edx, dword [ebp - 0x38]
mov eax, 0x417868
call fcn.0040fabc
mov ecx, eax
lea eax, [ebp - 0x10]
mov edx, 1
call sub.RtlVcl160.bpl__System__UStrDelete_qqrr20System_UnicodeStringii
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x10]
call sub.RtlVcl160.bpl__System__WStrFromUStr_qqrr17System_WideStringx20System_UnicodeString
mov edx, dword [ebp - 0x3c]
mov eax, 0x417868
call fcn.0040fabc
test eax, eax
jg 0x41743c
push dword [0x5ad050]
push 0x417890
push 0
push 0x4178ac
push dword [ebp - 4]
push 0x4178bc
lea eax, [ebp - 0x10]
mov edx, 6
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
mov dl, 1
mov eax, dword [ebp - 0x10]
call sub.RtlVcl160.bpl__System_Sysutils_FileExists_qqrx20System_UnicodeStringo
test al, al
je 0x417718
cmp dword [0x5ad06c], 0
je 0x41753e
mov eax, dword [0x5ad06c]
mov edx, 0x4178d4
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
jne 0x417636
push 0x4178e4
lea eax, [ebp - 0x14c]
push eax
lea edx, [ebp - 0x154]
mov eax, dword [0x5ad060]
call sub.RtlVcl160.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
push dword [ebp - 0x154]
push 0x417868
lea edx, [ebp - 0x158]
mov eax, dword [ebp - 4]
call sub.RtlVcl160.bpl__System_Sysutils_UpperCase_qqrx20System_UnicodeString
push dword [ebp - 0x158]
lea eax, [ebp - 0x150]
mov edx, 3
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
mov ecx, dword [ebp - 0x150]
mov edx, 0x4178fc
mov eax, 0x417920
call fcn.00413b58
lea edx, [ebp - 0x14c]
lea eax, [ebp - 0x13c]
call sub.RtlVcl160.bpl__System_Variants__VarToPStr_qqrpvrx8TVarData
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x12]
mov cl, 1
call sub.RtlVcl160.bpl__System__PStrNCpy_qqrp28System__SmallString_iuc_255_t1uc
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x12]
call sub.RtlVcl160.bpl__System__UStrFromString_qqrr20System_UnicodeStringrx28System__SmallString_iuc_255_
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 0x15c]
call sub.RtlVcl160.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
mov eax, dword [ebp - 0x15c]
mov edx, 0x417938
call sub.RtlVcl160.bpl__System__UStrEqual_qqrv
je 0x417636
push dword [ebp - 0x10]
push 0x417948
push 0x417958
lea ecx, [ebp - 0x168]
mov edx, 0x417968
mov eax, dword [ebp - 0x1c]
call sub.PublicPkg160.bpl__Suputrans_TSpCustomTrans_TMsg_qqrx20System_UnicodeString
push dword [ebp - 0x168]
lea eax, [ebp - 0x164]
mov edx, 4
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
mov eax, dword [ebp - 0x164]
call fcn.00410198
call sub.RtlVcl160.bpl__System_Sysutils_Abort_qqrv
lea edx, [ebp - 0x16c]
mov eax, dword [ebp - 0xc]
call sub.RtlVcl160.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
cmp dword [ebp - 0x16c], 0
jne 0x4176c3
mov eax, dword [sym.imp.RtlVcl160.bpl__Vcl_Forms_Application]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
push dword [ebp - 0x10]
push 0x417984
lea edx, [ebp - 0x17c]
mov eax, 2
call sub.RtlVcl160.bpl__System_ParamStr_qqri
mov eax, dword [ebp - 0x17c]
lea edx, [ebp - 0x178]
call sub.RtlVcl160.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
push dword [ebp - 0x178]
lea eax, [ebp - 0x174]
mov edx, 3
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
mov edx, dword [ebp - 0x174]
lea eax, [ebp - 0x170]
mov ecx, 0
call sub.RtlVcl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x170]
call sub.RtlVcl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_WinExec
jmp 0x417718
push 1
push dword [ebp - 0x10]
push 0x417984
lea edx, [ebp - 0x188]
mov eax, dword [ebp - 0xc]
call sub.RtlVcl160.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
push dword [ebp - 0x188]
lea eax, [ebp - 0x184]
mov edx, 3
call sub.RtlVcl160.bpl__System__UStrCatN_qqrv
mov edx, dword [ebp - 0x184]
lea eax, [ebp - 0x180]
mov ecx, 0
call sub.RtlVcl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x180]
call sub.RtlVcl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41773d
mov eax, dword [ebp - 0x18]
call sub.RtlVcl160.bpl__System_TObject_Free_qqrv
mov eax, dword [ebp - 0x1c]
call sub.RtlVcl160.bpl__System_TObject_Free_qqrv
ret