Function at 0x454626
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x573510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], esi
cmp dword [edi + 0x14], esi
jne 0x454659
xor al, al
jmp 0x45485c
push 0x4e132c
lea ecx, [ebp - 0x78]
call fcn.0040aa70
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, edi
call fcn.0040e6c0
push eax
lea ecx, [ebp - 0xb4]
call fcn.0040bea0
lea ecx, [ebp - 0x5c]
call fcn.0040e510
push esi
push 1
lea ecx, [ebp - 0x78]
call fcn.00402ea0
push esi
push ebx
lea ecx, [ebp - 0xb4]
call fcn.0040cc60
push 0x40
lea eax, [ebp - 0xf4]
push esi
push eax
mov byte [ebp - 0x21], 0
mov dword [ebp - 0xf8], 0x44
call fcn.004561f0
xor eax, eax
mov dword [ebp - 0x40], esi
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 - 0x20]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0040c2c0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0040c5f0
cmp dword [eax + 0x18], 8
jb 0x4546f5
mov edi, dword [eax + 4]
jmp 0x4546f8
lea edi, [eax + 4]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xf8]
push eax
push esi
push esi
push 0x8000000
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x20]
call fcn.00405450
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x5c]
inc bl
call fcn.0040e510
test bl, bl
je 0x4547b8
call fcn.00410f60
cmp eax, 2
jg 0x454789
push 3
pop ebx
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x59
push 0x4e2e68
lea ecx, [ebp - 0x194]
call fcn.00411750
mov edi, eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0040c2c0
push eax
push 0x4e2e54
add edi, 0xc
push edi
call fcn.00403df0
pop ecx
pop ecx
push eax
call fcn.0040b710
pop ecx
pop ecx
jmp 0x45478c
mov ebx, dword [ebp - 0x28]
test bl, 2
je 0x45479f
lea ecx, [ebp - 0x194]
and ebx, 0xfffffffd
call fcn.004117b0
test bl, 1
je 0x454843
push esi
push 1
lea ecx, [ebp - 0x5c]
call fcn.00402ea0
jmp 0x454843
push dword [ebp - 0x3c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push 0xffffffffffffffff
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4547f4
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x21], 1
cmp eax, esi
je 0x45483e
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
jmp 0x45483e
call fcn.00410f60
cmp eax, 2
push 0x10
pop ebx
jg 0x45482e
mov dword [ebp - 0x28], ebx
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x66
push 0x4e2e68
lea ecx, [ebp - 0x194]
call fcn.00411750
add eax, 0xc
push 0x4e2e38
push eax
call fcn.00403df0
pop ecx
pop ecx
test byte [ebp - 0x28], bl
je 0x45483e
lea ecx, [ebp - 0x194]
call fcn.004117b0
push dword [ebp - 0x40]
call edi
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.00402ea0
lea ecx, [ebp - 0xb4]
call fcn.0040bf00
mov al, byte [ebp - 0x21]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045633d
leave
ret 0xc