Function at 0x42561a
Capabilities:
Create process on windows

Disassembly:
push 0x94
mov eax, 0x59fd0d
call fcn.005980e1
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x44
pop edi
mov dword [ebp - 0x4c], eax
xor eax, eax
push edi
push eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0x48], ebx
call fcn.00443040
mov dword [ebp - 0xa0], edi
lea eax, [ebp - 0x5c]
push 0x10
xor edi, edi
push edi
push eax
call fcn.00443040
add esp, 0x18
mov dword [ebp - 0x18], edi
xor eax, eax
mov word [ebp - 0x28], ax
push 7
pop ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
call fcn.0042b9a9
test al, al
je 0x4256a8
push ecx
push ecx
push esi
pop ebp
pop ebx
push esp
push ebx
push ecx
pop eax
pop ebp
pop ebp
pop ecx
pop edx
pop edi
push edi
push esi
push esp
push ebp
push eax
pop eax
pop edx
mov ebx, dword [ebp - 0x48]
xor edi, edi
test ebx, ebx
je 0x4256c6
cmp word [ebx], di
jne 0x4256b5
mov eax, edi
jmp 0x4256bc
push ebx
call fcn.00452872
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x40]
call fcn.00401d80
or edi, 0xffffffff
cmp dword [ebp - 0x30], 0
jne 0x4256ed
xor ebx, ebx
cmp word [esi], bx
jne 0x4256da
mov eax, ebx
jmp 0x4256e1
push esi
call fcn.00452872
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401d80
jmp 0x425743
mov ebx, 0x61d1dc
push ebx
call fcn.00452872
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00401d80
xor ebx, ebx
cmp word [esi], bx
jne 0x42570e
mov eax, ebx
jmp 0x425715
push esi
call fcn.00452872
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004024d0
mov esi, 0x61d1e0
push esi
call fcn.00452872
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004024d0
push edi
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402600
call fcn.0042be83
test al, al
je 0x42575e
push ecx
pop edx
pop ecx
pop esi
push ebx
pop ebp
pop eax
push eax
pop esi
pop esi
push ecx
pop ebx
push ebx
push esp
push esp
pop ebp
push eax
push ebx
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x67
call fcn.0042c875
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
xor ebx, ebx
pop ecx
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0xa0]
push ecx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4257a5
mov esi, ebx
jmp 0x42582d
cmp byte [ebp + 0x10], bl
je 0x4257bb
cmp dword [ebp + 0x14], ebx
cmovg edi, dword [ebp + 0x14]
push edi
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x4257d8
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4257d8
mov eax, dword [ebp - 0x44]
mov dword [esi], eax
call fcn.0042bf52
test al, al
je 0x4257f2
push edx
pop ebp
pop edi
push edx
push ebx
push edi
pop ebx
push edi
push edx
push esp
pop esp
push edx
push edx
pop ebx
push ecx
pop edx
push eax
call fcn.0042bbd1
test al, al
je 0x425818
pop esp
push esi
pop eax
pop ebx
pop edx
pop esi
pop edx
push ebp
pop esp
push edx
pop ebp
push esi
push edi
pop ebx
push esp
push ebp
push ecx
push eax
push ecx
pop esp
pop esp
push esp
push esp
push esp
push ebp
push ebx
push ecx
push esp
push edx
push dword [ebp - 0x5c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x58]
call esi
xor esi, esi
inc esi
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00401d10
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00401d10
mov eax, esi
call fcn.0059809c
ret