Function at 0x403620
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4387d8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44c538]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov esi, 1
mov dword [esp + 0x7c], esi
call fcn.00415e0b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40366a
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x7c], 2
call fcn.00415e0b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403699
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov ebp, dword [esp + 0x84]
push ebp
lea ecx, [esp + 0x18]
push str.__s_
mov bl, 3
push ecx
mov byte [esp + 0x88], bl
call fcn.00403220
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00402f80
add esp, 0x18
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 4
call fcn.00403160
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x7c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403719
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x44
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.004276e0
add esp, 0xc
cmp dword [esp + 0x94], 0
mov dword [esp + 0x30], 0x44
je 0x403747
mov dword [esp + 0x5c], esi
mov word [esp + 0x60], 0
mov ebx, dword [esp + 0x14]
xor eax, eax
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x34]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4037c5
cmp dword [esp + 0x90], 0
je 0x4037aa
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x24]
push edx
call esi
mov esi, 1
jmp 0x4037d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x8c]
mov dword [ecx], eax
xor esi, esi
lea eax, [edi - 0x10]
mov byte [esp + 0x7c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4037f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x7c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403818
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x7c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403839
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
mov dword [esp + 0x7c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403864
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0x14