Function at 0x45bfe0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x45eecb
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x472100]
xor eax, esp
mov dword [esp + 0x1f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x472100]
xor eax, esp
push eax
lea eax, [esp + 0x210]
mov dword fs:[0], eax
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0x30]
push ecx
lea ebx, [esp + 0x228]
mov dword [esp + 0x220], 1
call fcn.00402a70
add esp, 8
lea edx, [esp + 0x88]
push edx
mov byte [esp + 0x21c], 2
call fcn.00452290
xor ebx, ebx
mov dword [esp + 0x100], ebx
mov byte [esp + 0x218], 3
mov eax, dword [esp + 0x2c]
push eax
lea edi, [esp + 0x8c]
call fcn.00458bb0
push 0x40
lea ecx, [esp + 0x4c]
push ebx
push ecx
call fcn.00413cc0
xor eax, eax
add esp, 0xc
mov ecx, edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x44
call fcn.00458e90
xor edx, edx
cmp eax, ebx
setne dl
mov dword [esp + 0x100], eax
mov esi, edx
cmp esi, ebx
mov dword [esp + 0x30], esi
je 0x45c390
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esp, [esp]
mov eax, dword [0x474db4]
mov edx, dword [eax + 0xc]
mov ecx, 0x474db4
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x218], 4
mov eax, dword [0x474db4]
mov edx, dword [eax + 0xc]
mov ecx, 0x474db4
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x218], 5
mov eax, dword [0x474db4]
mov edx, dword [eax + 0xc]
mov ecx, 0x474db4
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x218], 6
mov eax, dword [0x474db4]
mov edx, dword [eax + 0xc]
mov ecx, 0x474db4
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
push str.path
lea ecx, [esp + 0x90]
push ecx
mov byte [esp + 0x224], 7
call fcn.00458cc0
lea edx, [esp + 0x18]
push edx
push str.param
lea eax, [esp + 0x90]
push eax
call fcn.00458cc0
lea ecx, [esp + 0x1c]
push ecx
push str.Mode
lea edx, [esp + 0x90]
push edx
call fcn.00458cc0
lea eax, [esp + 0x24]
push eax
push str.EntryName
lea ecx, [esp + 0x90]
push ecx
call fcn.00458cc0
lea esi, [esp + 0x1c]
call fcn.00402b30
test al, al
mov edi, dword [esp + 0x24]
lea ebx, [esp + 0x220]
je 0x45c21c
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00402a70
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
add esp, 8
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x48]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x45c213
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x34]
push edx
call ebp
mov eax, dword [esp + 0x38]
push eax
call ebp
mov eax, dword [esp + 0x28]
jmp 0x45c2b0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00402a70
add esp, 8
mov byte [esp + 0x218], 8
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, dword [esp + 0x18]
mov esi, eax
test esi, esi
je 0x45c2a4
push 0x104
lea ecx, [esp + 0x109]
push 0
push ecx
mov byte [esp + 0x110], 0
call fcn.00413cc0
mov eax, dword [edi - 0xc]
add esp, 0xc
push 0
push 0
push 0x104
lea edx, [esp + 0x110]
push edx
push eax
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x45c2a4
lea eax, [esp + 0x104]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45c2a4
push ebx
call eax
mov byte [esp + 0x218], 7
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c2cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x218], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c2f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x218], 5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c318
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x218], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c33c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x218], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c364
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x100]
mov esi, dword [ecx + 0x40]
test esi, esi
je 0x45c38a
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x45c451
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x45c372
mov esi, dword [esp + 0x30]
xor ebx, ebx
lea ecx, [esp + 0x88]
push ecx
mov byte [esp + 0x21c], 2
call fcn.00402860
mov byte [esp + 0x218], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45c3cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x218], bl
mov eax, dword [esp + 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c3f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x218], 0xffffffff
mov eax, dword [esp + 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c425
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1f8]
xor ecx, esp
call fcn.00410ae1
add esp, 0x208
ret 8
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
je 0x45c38a
mov dword [esp + 0x100], eax
jmp 0x45c0d0