Function at 0x62d0a0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], ecx
mov byte [ebp - 5], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x62d31a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
cmp dword [0x78c9ac], 0
je 0x62d2fc
mov eax, dword [0x78c9ac]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x62d2fc
test ebx, ebx
je 0x62d2fc
mov edx, ebx
mov eax, dword [0x78c9ac]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
je 0x62d2fc
mov eax, dword [0x78c9b0]
call sub.rtl120.bpl__Sysutils_FileExists_qqrx20System_UnicodeString
test al, al
je 0x62d2fc
mov eax, dword [0x78c9b4]
call sub.rtl120.bpl__Sysutils_FileExists_qqrx20System_UnicodeString
test al, al
je 0x62d169
mov ecx, dword [0x78c9b4]
mov dl, 1
mov eax, dword [0x408858]
call fcn.0040891c
mov esi, eax
push 0
lea edx, [ebp - 0x64]
mov eax, dword [0x78c9b0]
call fcn.0062cdec
mov ecx, dword [ebp - 0x64]
mov edx, dword [0x78c9b8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov edi, eax
mov eax, esi
call sub.rtl120.bpl__System_TObject_Free_qqrv
test edi, edi
jg 0x62d2fc
cmp byte [ebp - 5], 0
je 0x62d178
mov byte [ebp - 6], 1
jmp 0x62d2fc
lea eax, [ebp - 4]
push eax
mov eax, dword [0x78c9b0]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 0x11
mov eax, dword [0x78c9b8]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0x11
mov eax, dword [0x78c9bc]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0x11
mov eax, dword [0x78c9c0]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 0x68], 0x11
lea edx, [ebp - 0x8c]
mov ecx, 4
mov eax, 0x62d338
call sub.rtl120.bpl__Sysutils_Format_qqrx20System_UnicodeStringpx14System_TVarRecxi
mov eax, dword [ebp - 4]
call sub.rtl120.bpl__System__UStrLen_qqrx20System_UnicodeString
mov ebx, eax
inc ebx
mov eax, ebx
call sub.rtl120.bpl__Sysutils_StrAlloc_qqrui
mov dword [ebp - 0xc], eax
mov edx, ebx
add edx, edx
mov eax, dword [ebp - 0xc]
call fcn.004024a4
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call sub.rtl120.bpl__Sysutils_StrPLCopy_qqrpbx20System_UnicodeStringui
lea eax, [ebp - 0x50]
mov edx, 0x44
call fcn.004024a4
lea eax, [ebp - 0x60]
mov edx, 0x10
call fcn.004024a4
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x24], 1
mov word [ebp - 0x20], 1
xor edx, edx
push ebp
push 0x62d2f5
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
push ebp
push 0x62d2bb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.kernel32.dll_CreateProcessW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 6], al
cmp byte [ebp - 6], 0
je 0x62d2b1
mov byte [0x78c9c4], 1
push 0
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov ebx, eax
cmp ebx, 0x102
jne 0x62d2b1
cmp byte [0x78c9c4], 0
je 0x62d2b1
mov eax, dword [sym.imp.vcl120.bpl__Forms_Application]
mov eax, dword [eax]
call sub.vcl120.bpl__Forms_TApplication_ProcessMessages_qqrv
push 0xa
call sub.kernel32.dll_Sleep_1
jmp 0x62d27e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x62d2c5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62d2fc
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x62d2df
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x62d2ec
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0xc]
call sub.rtl120.bpl__Sysutils_StrDispose_qqrpb
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62d321
lea eax, [ebp - 0x64]
call sub.rtl120.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 4]
call sub.rtl120.bpl__System__UStrClr_qqrpv
ret