Function at 0x435800
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5be748
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x633ef8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 4], 2
call fcn.004555ae
mov ecx, eax
test ecx, ecx
jne 0x43584d
push 0x80004005
call fcn.00416970
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.__s___s
push eax
call fcn.00415ec0
push 0x40
lea eax, [ebp - 0x58]
mov dword [ebp - 0x5c], 0x44
push 0
push eax
call fcn.0058f590
add esp, 0x1c
mov dword [ebp - 0x30], 1
mov eax, 1
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
mov word [ebp - 0x2c], ax
push 0x6097b3
call fcn.004160f0
mov byte [ebp - 4], 4
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x74], 0
mov edx, dword [esi - 0xc]
test edx, edx
js 0x435a57
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4358ed
push edx
lea ecx, [ebp - 0x14]
call fcn.004165b0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x43592f
push 0x3e8
call ebx
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [ebp - 0x78]
push dword [ebp - 0x68]
mov dword [ecx], eax
call edi
push dword [ebp - 0x6c]
call edi
jmp 0x43593a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x7c]
mov dword [ecx], eax
xor edi, edi
nop dword [eax]
push ecx
mov ecx, esp
lea eax, [ebp + 0x10]
push eax
mov dword [ebp - 0x70], ecx
call fcn.004163d0
call fcn.00435670
add esp, 4
test eax, eax
jne 0x435968
push 0xc8
call ebx
inc edi
cmp edi, 0xa
jl 0x435940
push ecx
mov ecx, esp
lea eax, [ebp + 0x10]
push eax
mov dword [ebp - 0x70], ecx
call fcn.004163d0
call fcn.00435670
add esp, 4
test eax, eax
jne 0x43599d
mov eax, dword [ebp - 0x74]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
inc eax
mov dword [ebp - 0x74], eax
cmp eax, 5
jl 0x4358c5
xor ebx, ebx
jmp 0x4359a2
mov ebx, 1
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4359c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4359de
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4359fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x435a1a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x435a39
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005892bc
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00416970
int3