Function at 0x420490
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0xffffffffffffffff
push 0x50f6e7
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov eax, dword [esp + 0x28c]
mov ebp, dword [esp + 0x280]
mov ebx, dword [esp + 0x288]
mov edi, ecx
mov dword [esp + 0x18], edi
mov esi, edx
mov dword [esp + 0x1c], eax
call fcn.0041d570
cmp byte [eax + 0x96a], 0
je 0x42078c
cmp byte [0x571bc5], 0
jne 0x42078c
mov ecx, ebp
call fcn.0041e510
test al, al
jne 0x42059a
mov ecx, ebp
call fcn.0041e4d0
test al, al
jne 0x42059a
cmp byte [ebp + 0x11c], al
je 0x420532
add ebp, 0xc
jmp 0x420535
mov ebp, dword [ebp + 8]
lea ecx, [esp + 0x20]
call fcn.004174b0
lea eax, [ebp + 4]
lea edx, [esp + 0x20]
call fcn.00417710
push 0x54acc4
mov ecx, edi
mov dword [esp + 0x27c], 1
call fcn.00416430
mov esi, eax
lea eax, [esp + 0x24]
call fcn.004172c0
cmp byte [esp + 0x13c], 0
mov dword [esp + 0x20], vtable.t_str.0
jne 0x420593
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x420593
push eax
call fcn.004ed7b6
add esp, 4
xor al, al
jmp 0x42078e
lea ecx, [esp + 0x144]
call fcn.004174b0
mov dword [esp + 0x278], 2
cmp byte [ebp + 0x11c], 0
lea edi, [ebp + 0xc]
jne 0x4205c0
mov edi, dword [ebp + 8]
push 0x22
push 0x549848
lea edx, [esp + 0x14c]
call fcn.00417ed0
add edi, 4
push edi
push 0x549858
lea edx, [esp + 0x154]
call fcn.00417ed0
push 0x54b2d4
push 0x549858
lea edx, [esp + 0x15c]
call fcn.00417ed0
push esi
push 0x549858
lea edx, [esp + 0x164]
call fcn.00417ed0
mov ecx, dword [esp + 0x168]
inc ecx
add esp, 0x20
lea esi, [esp + 0x14c]
mov dword [esp + 0x264], ecx
call fcn.00418590
cmp byte [esp + 0x260], 0
lea ecx, [esp + 0x150]
jne 0x420646
mov ecx, dword [esp + 0x14c]
cmp byte [ebp + 0x11c], 0
lea eax, [ebp + 0xc]
jne 0x420655
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x288]
push ebx
push 0
push 0
push edx
push 0
push 0
push 0
add ecx, 4
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea edi, [esp + 0x144]
test eax, eax
jne 0x420757
call fcn.00417b30
cmp byte [ebp + 0x11c], 0
je 0x42069d
add ebp, 0xc
jmp 0x4206a0
mov ebp, dword [ebp + 8]
lea ecx, [esp + 0x20]
call fcn.004174b0
lea eax, [ebp + 4]
lea edx, [esp + 0x20]
call fcn.00417710
mov ebx, dword [esp + 0x18]
push 0x54b2dc
mov ecx, ebx
mov byte [esp + 0x27c], 4
call fcn.00416430
mov esi, eax
lea eax, [esp + 0x24]
call fcn.004172c0
mov byte [esp + 0x278], 2
cmp byte [esp + 0x13c], 0
mov ebp, vtable.t_str.0
mov dword [esp + 0x20], ebp
jne 0x420708
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x420708
push eax
call fcn.004ed7b6
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov edi, eax
call fcn.00416430
mov esi, eax
call fcn.004170f0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebx
call fcn.00416430
cmp byte [esp + 0x260], 0
mov dword [esp + 0x144], ebp
jne 0x420593
mov eax, dword [esp + 0x14c]
lea edx, [esp + 0x150]
cmp eax, edx
jmp 0x420588
call fcn.00417b30
cmp byte [esp + 0x260], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x42078c
mov eax, dword [esp + 0x14c]
lea ecx, [esp + 0x150]
cmp eax, ecx
je 0x42078c
push eax
call fcn.004ed7b6
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.004ecddb
add esp, 0x268
ret 0x10