Function at 0x40210a
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x184
lea ebp, [esp - 4]
mov eax, dword [0x44d104]
xor eax, ebp
mov dword [ebp + 0x184], eax
push 0x78
mov eax, 0x43d8ea
call fcn.0042cbb7
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x190]
mov dword [ebp - 4], 1
call fcn.004023c8
pop ecx
pop ecx
lea eax, [ebp]
push eax
mov byte [ebp - 4], 2
call fcn.00404269
xor ebx, ebx
mov dword [ebp + 0x78], ebx
mov byte [ebp - 4], 3
push dword [ebp - 0x1c]
lea ecx, [ebp]
call fcn.004028d2
push 0x40
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.0042af20
xor eax, eax
mov dword [ebp - 0x40], ebx
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp - 0x84], 0x44
call fcn.00402941
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [ebp + 0x78], eax
cmp ecx, ebx
mov dword [ebp - 0x20], ecx
je 0x402368
mov esi, 0x44fc0c
mov eax, dword [0x44fc0c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
mov eax, dword [0x44fc0c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
mov eax, dword [0x44fc0c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 6
mov eax, dword [0x44fc0c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x10]
push eax
push str.path
lea eax, [ebp]
push eax
mov byte [ebp - 4], 7
call fcn.00402a55
lea eax, [ebp - 0x14]
push eax
push str.param
lea eax, [ebp]
push eax
call fcn.00402a55
lea eax, [ebp - 0x18]
push eax
push str.Mode
lea eax, [ebp]
push eax
call fcn.00402a55
lea eax, [ebp - 0x2c]
push eax
push str.EntryName
lea eax, [ebp]
push eax
call fcn.00402a55
lea eax, [ebp - 0x18]
push eax
call fcn.00402419
mov edi, dword [ebp - 0x2c]
pop ecx
test al, al
lea eax, [ebp - 0x10]
lea ecx, [ebp + 0x190]
push eax
je 0x4022b6
lea eax, [ebp - 0x28]
push eax
call fcn.004023c8
pop ecx
pop ecx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x84]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4022b1
push 0xffffffffffffffff
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
jmp 0x40231f
lea eax, [ebp - 0x24]
push eax
call fcn.004023c8
pop ecx
pop ecx
mov byte [ebp - 4], 8
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x30], eax
je 0x40231c
push 0x104
lea eax, [ebp + 0x7d]
push ebx
push eax
mov byte [ebp + 0x7c], bl
call fcn.0042af20
mov eax, dword [edi - 0xc]
add esp, 0xc
push ebx
push ebx
push 0x104
lea ecx, [ebp + 0x7c]
push ecx
push eax
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x40231c
lea eax, [ebp + 0x7c]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x40231c
push dword [ebp - 0x14]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00401a94
lea eax, [edi - 0x10]
call fcn.00401a94
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401a94
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401a94
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401a94
mov eax, dword [ebp + 0x78]
call fcn.00403533
cmp eax, ebx
je 0x402368
mov dword [ebp + 0x78], eax
jmp 0x4021b5
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00402507
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00401a94
mov eax, dword [ebp + 0x190]
add eax, 0xfffffff0
call fcn.00401a94
mov eax, dword [ebp + 0x194]
add eax, 0xfffffff0
call fcn.00401a94
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x184]
xor ecx, ebp
call fcn.004279c4
add ebp, 0x188
leave
ret 8