Function at 0x62070c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x620714
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x620b2c
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x620b07
push dword fs:[edx]
mov dword fs:[edx], esp
test ebx, ebx
jne 0x62074f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x620b11
mov eax, dword [ebx + 0x90]
test eax, eax
jne 0x620807
push 0x620b48
push dword [ebx + 0x20]
push dword [ebx + 0xc]
lea eax, [ebp - 0x14]
mov edx, 3
call sub.rtl120.bpl__System__UStrCatN_qqrv
mov eax, dword [ebp - 0x14]
call fcn.00619a88
call sub.kernel32.dll_GetCurrentProcessId
lea edx, [ebp - 0x18]
call fcn.0060b9fc
mov eax, dword [ebp - 0x18]
mov edx, 0x620b90
call sub.rtl120.bpl__Sysutils_SameText_qqrx20System_UnicodeStringt1
test al, al
je 0x6207b6
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x20]
lea eax, [ebp - 0x1c]
call sub.rtl120.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x24]
call fcn.0061fd18
jmp 0x6207f8
push 1
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x20]
call sub.rtl120.bpl__Sysutils_ExcludeTrailingPathDelimiter_qqrx20System_UnicodeString
mov eax, dword [ebp - 0x20]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
mov eax, dword [ebx + 0x24]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x20]
lea eax, [ebp - 0x24]
call sub.rtl120.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
mov eax, dword [ebp - 0x24]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
push 0x620ba0
push 0
call sub.shell32.dll_ShellExecuteW
mov dword [ebx + 0x8c], 2
jmp 0x620ae5
cmp eax, 1
jne 0x6208a5
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x20]
lea eax, [ebp - 0x28]
call sub.rtl120.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
mov eax, dword [ebp - 0x28]
call sub.rtl120.bpl__Sysutils_FileExists_qqrx20System_UnicodeString
test al, al
je 0x620868
push 1
push 0x620bac
push 0x620bac
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x20]
lea eax, [ebp - 0x2c]
call sub.rtl120.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
mov eax, dword [ebp - 0x2c]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
push 0x620ba0
push 0
call sub.shell32.dll_ShellExecuteW
mov dword [ebx + 0x8c], 2
jmp 0x620ae5
cmp dword [ebx + 0x18], 0
je 0x620888
cmp dword [ebx + 0x98], 1
jne 0x620888
push 0
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x14]
mov eax, dword [esi]
call fcn.0061fb00
jmp 0x620896
push 0
mov edx, dword [ebx + 0x14]
mov eax, dword [esi]
xor ecx, ecx
call fcn.0061fb00
mov dword [ebx + 0x8c], 2
jmp 0x620ae5
cmp eax, 2
jne 0x6208d4
mov edx, ebx
mov eax, esi
call fcn.00621bac
push 0
mov ecx, dword [ebx + 0xb8]
mov edx, dword [ebx + 0x1c]
mov eax, dword [esi]
call fcn.0061fb00
mov dword [ebx + 0x8c], 2
jmp 0x620ae5
cmp eax, 3
jne 0x620ae5
cmp dword [ebx + 0x98], 1
jne 0x620944
cmp byte [ebx + 0x28], 0
je 0x6208f9
xor ecx, ecx
mov edx, ebx
mov eax, esi
call fcn.006210f4
jmp 0x62091e
cmp dword [ebx + 0x18], 0
je 0x620910
push 0
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x14]
mov eax, dword [esi]
call fcn.0061fb00
jmp 0x62091e
push 0
mov edx, dword [ebx + 0x14]
mov eax, dword [esi]
xor ecx, ecx
call fcn.0061fb00
mov dword [ebx + 0x8c], 2
cmp word [esi + 0x3a], 0
je 0x620937
mov edx, ebx
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x620b11
cmp byte [ebx + 0x28], 0
je 0x62095a
xor ecx, ecx
mov edx, ebx
mov eax, esi
call fcn.006210f4
jmp 0x620adb
lea edx, [ebp - 8]
mov eax, esi
call fcn.006231e0
mov eax, esi
call fcn.00623d8c
test al, al
je 0x62098e
lea eax, [ebp - 0xc]
mov edx, 0x620bbc
call sub.rtl120.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, 0x620bd8
call sub.rtl120.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
jmp 0x620998
lea eax, [ebp - 0xc]
xor edx, edx
call sub.rtl120.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
lea edx, [ebp - 0x34]
xor eax, eax
call sub.rtl120.bpl__System_ParamStr_qqri
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call sub.rtl120.bpl__Sysutils_ExtractFilePath_qqrx20System_UnicodeString
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
call sub.rtl120.bpl__System__UStrCat_qqrr20System_UnicodeStringx20System_UnicodeString
mov eax, dword [ebp - 0x30]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
mov edi, eax
push 0x620bf0
push dword [ebx + 4]
push 0x620bf0
push 0x620c00
push 0x620c10
mov eax, dword [esi + 4]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x38]
call sub.rtl120.bpl__Sysutils_IntToStr_qqrj
push dword [ebp - 0x38]
push dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 7
call sub.rtl120.bpl__System__UStrCatN_qqrv
mov eax, dword [ebx + 4]
mov edx, 0x620c44
call sub.rtl120.bpl__Sysutils_SameText_qqrx20System_UnicodeStringt1
test al, al
je 0x620a4c
lea eax, [ebp - 0x10]
call fcn.006136f8
mov edx, 0x620c6c
mov eax, dword [ebp - 0x10]
call sub.rtl120.bpl__Sysutils_SameText_qqrx20System_UnicodeStringt1
test al, al
je 0x620a4c
push 0x620c88
mov eax, dword [esi + 4]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x3c]
call sub.rtl120.bpl__Sysutils_IntToStr_qqrj
push dword [ebp - 0x3c]
push dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 3
call sub.rtl120.bpl__System__UStrCatN_qqrv
mov eax, dword [ebx + 4]
mov edx, 0x620cec
call sub.rtl120.bpl__Sysutils_SameText_qqrx20System_UnicodeStringt1
test al, al
je 0x620abe
lea eax, [ebp - 0x10]
call fcn.006136f8
mov edx, 0x620d04
mov eax, dword [ebp - 0x10]
call sub.rtl120.bpl__Sysutils_SameText_qqrx20System_UnicodeStringt1
test al, al
jne 0x620a87
mov edx, 0x620d18
mov eax, dword [ebp - 0x10]
call sub.rtl120.bpl__Sysutils_SameText_qqrx20System_UnicodeStringt1
test al, al
je 0x620abe
push dword [ebp - 4]
push 0x620d30
push 0x620d50
push 1
lea eax, [ebp - 0x40]
push eax
mov edx, dword [ebx + 4]
mov ecx, 0x620e54
mov eax, esi
call fcn.006203d8
push dword [ebp - 0x40]
push 0x620bf0
lea eax, [ebp - 4]
mov edx, 4
call sub.rtl120.bpl__System__UStrCatN_qqrv
mov eax, dword [ebp - 4]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push 1
push 0x620bac
push eax
push edi
push 0x620ba0
push 0
call sub.shell32.dll_ShellExecuteW
mov dword [ebx + 0x8c], 1
cmp dword [ebx + 0x90], 0
je 0x620afd
cmp word [esi + 0x3a], 0
je 0x620afd
mov edx, ebx
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x620b11
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x620b33
lea eax, [ebp - 0x40]
mov edx, 0x10
call sub.rtl120.bpl__System__UStrArrayClr_qqrpvi
ret