Function at 0x414ca7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49139a
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x4b14c4]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
push edi
mov eax, dword [0x4b14c4]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
push 0x44
pop ebx
push ebx
lea eax, [esp + 0x30]
push 0
push eax
mov edi, ecx
mov esi, edx
call fcn.00474d90
add esp, 0xc
push 0x10
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00474d90
mov dword [esp + 0x38], ebx
add esp, 0xc
mov ebx, 0x49c1d8
lea eax, [esp + 0xcc]
push ebx
push eax
call fcn.004069ac
and dword [esp + 0x138], 0
lea ecx, [esp + 0x9c]
push esi
push ecx
mov ecx, eax
call fcn.004102d8
add esp, 0x10
push 1
xor edi, edi
lea esi, [esp + 0xd0]
mov byte [esp + 0x134], 2
call fcn.0040162a
lea eax, [esp + 0x78]
push ebx
push eax
lea edi, [esp + 0x9c]
call fcn.004069ac
pop ecx
pop ecx
mov byte [esp + 0x130], 3
cmp dword [esp + 0x8c], 8
mov ecx, dword [esp + 0x78]
mov edx, ecx
jae 0x414feb
lea edx, [esp + 0x78]
mov eax, edx
cmp dword [esp + 0x8c], 8
mov esi, dword [esp + 0x88]
lea eax, [eax + esi*2]
jae 0x414da7
lea ecx, [esp + 0x78]
push edx
push eax
push ecx
lea eax, [esp + 0x20]
push eax
call fcn.0041f1d2
add esp, 0x10
mov dword [esp + 0x14], 0xa
push str.cmhua3VdZ2tfZF9uYmlb
lea eax, [esp + 0xb4]
call fcn.00401556
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0x134], 4
call fcn.0041fe3a
cmp dword [eax + 0x14], 8
pop ecx
mov ecx, dword [eax + 0x10]
jb 0x414df8
mov eax, dword [eax]
push ecx
push eax
xor eax, eax
lea ecx, [esp + 0x80]
call fcn.004062f4
push 1
xor edi, edi
lea esi, [esp + 0xd0]
mov dword [esp + 0x14], eax
call fcn.0040162a
push 1
lea esi, [esp + 0xb4]
mov byte [esp + 0x134], 3
call fcn.0040162a
cmp dword [esp + 0x10], 0xffffffff
je 0x414f1c
push ebx
call fcn.0047519c
pop ecx
push eax
push ebx
xor eax, eax
lea ecx, [esp + 0x80]
call fcn.004062f4
cmp eax, 0xffffffff
je 0x414e61
mov eax, dword [esp + 0x88]
dec eax
sub eax, dword [esp + 0x10]
lea esi, [esp + 0xe8]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x9c]
push eax
call fcn.00405b79
push ebx
lea eax, [esp + 0xb4]
mov byte [esp + 0x134], 5
call fcn.00401556
lea eax, [esp + 0xb0]
push eax
sub esp, 0x1c
lea eax, [esp + 0xb4]
mov edi, esi
mov esi, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x154], 6
call fcn.00405b15
lea eax, [esp + 0x124]
push eax
mov ecx, edi
call fcn.00415310
add esp, 0x24
mov ebx, eax
lea eax, [esp + 0x94]
mov byte [esp + 0x130], 7
call fcn.004062ac
push 1
xor edi, edi
lea esi, [esp + 0x108]
call fcn.0040162a
push 1
lea esi, [esp + 0xb4]
call fcn.0040162a
push 1
lea esi, [esp + 0xec]
mov byte [esp + 0x134], 3
call fcn.0040162a
mov ebx, 0x49c1d8
dec dword [esp + 0x14]
jne 0x414dbf
cmp dword [esp + 0xa8], 8
mov eax, dword [esp + 0x94]
jae 0x414f3e
lea eax, [esp + 0x94]
lea ecx, [esp + 0x1c]
push ecx
xor edi, edi
lea ecx, [esp + 0x30]
push ecx
push edi
push edi
push 0x4000000
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x414f75
cmp byte [ebp + 8], 0
je 0x414f75
push 0x16e360
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x20]
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x20]
call esi
cmp byte [ebp + 0xc], 0
je 0x414ff2
mov ebx, dword [esp + 0x18]
push 1
xor edi, edi
lea esi, [esp + 0x7c]
call fcn.0040162a
push 1
lea esi, [esp + 0x98]
call fcn.0040162a
mov eax, ebx
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00474c58
mov esp, ebp
pop ebp
ret
mov eax, ecx
jmp 0x414d8f
xor ebx, ebx
cmp dword [esp + 0x18], edi
setne bl
jmp 0x414faa