Function at 0x46b630
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5bdbf1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x36c
push ebx
push ebp
mov ebp, dword [esp + 0x384]
push esi
mov esi, ecx
push edi
mov eax, dword [esi + ebp*4 + 0xa4cc]
lea ecx, [esi + ebp*4 + 0xa4f4]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], eax
call fcn.00593450
mov eax, dword [esi + ebp*4 + 0xa544]
mov edx, dword [esi + ebp*4 + 0xa51c]
mov edi, dword [esi + ebp*4 + 0xa56c]
mov ebx, dword [esi + ebp*4 + 0xa594]
test eax, eax
mov dword [esp + 0x384], 0
mov dword [esp + 0x10], edx
je 0x46b6b5
lea ecx, [esi + 0x158]
call fcn.004d7a70
mov ecx, esi
call fcn.00453d80
test edi, edi
je 0x46b6c0
mov ecx, esi
call fcn.00453db0
test ebx, ebx
je 0x46b6d3
mov ecx, dword [esi + 0xa84c]
test ecx, ecx
je 0x46b6d3
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x46b886
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x38]
lea edx, [esp + 0x27c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x17c]
lea eax, [esp + 0x7c]
push ecx
push edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x28]
push eax
mov ebx, 1
push ecx
push edx
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0x78], ebx
mov word [esp + 0x7c], 0xa
call fcn.005746ca
add esp, 0x14
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
call fcn.00593749
lea ecx, [esp + 0x7c]
mov byte [esp + 0x384], bl
push ecx
lea ecx, [esp + 0x18]
call fcn.00593ab7
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
lea eax, [esp + 0x38]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push 0
push 0
push ebx
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x46b828
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push 0
lea eax, [esp + 0x14]
push 0
push eax
push 0x400
push edi
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [0x639698]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push edi
push str.Could_not_start_external_program_nError__i:_n_s
push eax
mov byte [esp + 0x394], 2
call fcn.0058aded
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [esp + 0x1c]
push 0
push 0x30
push edx
call fcn.0059bd71
mov ecx, esi
call fcn.00453820
mov ecx, esi
call fcn.00453d70
mov ecx, dword [esi + 0xa84c]
test ecx, ecx
je 0x46b816
cmp dword [esi + 0xa7a8], 0xffffffff
jne 0x46b816
mov eax, dword [ecx]
call dword [eax + 0x24]
lea ecx, [esi + 0xa850]
push ecx
mov ecx, esi
call fcn.00456750
lea ecx, [esp + 0x1c]
mov byte [esp + 0x384], bl
call fcn.005936db
jmp 0x46b873
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov dword [esi + 0xa5c4], edx
mov dword [esi + 0xa5c8], eax
call fcn.005aa82c
mov ecx, dword [eax + 4]
call fcn.005931aa
mov ecx, dword [esi + 0xa5c4]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46b866
mov dword [esi + 0xa5bc], ebp
call fcn.005aa82c
mov ecx, dword [eax + 4]
call fcn.005931bf
lea ecx, [esp + 0x14]
mov byte [esp + 0x384], 0
call fcn.005936db
jmp 0x46b8ce
push 0
push 1
push str.VOID
mov ecx, esi
call fcn.00488440
mov ecx, dword [esi + 0xa648]
mov eax, dword [esi + ebp*4 + 0xa47c]
push 0
push 0
mov edx, dword [ecx]
push eax
push 0x15
call dword [edx + 4]
mov ecx, dword [esi + 0xa648]
mov eax, dword [esi + ebp*4 + 0xa47c]
push 0
push 0
mov edx, dword [ecx]
push eax
push 0x16
call dword [edx + 4]
mov dword [esi + 0xa5c0], ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x384], 0xffffffff
call fcn.005936db
mov ecx, dword [esp + 0x37c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x378
ret 4