Function at 0x4029b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f9705
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x675978]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x124], 0
push 0xb0
lea eax, [ebp - 0xc8]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004867e0
add esp, 4
lea ecx, [ebp - 0xc8]
call fcn.004030b0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 1
push str.reg
push eax
call fcn.00404680
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
push dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
push ecx
push eax
call fcn.00404e40
mov edi, dword [ebp + 0x24]
add esp, 0x14
mov esi, dword [ebp + 0x20]
cmp esi, edi
je 0x402a91
nop word [eax + eax]
lea eax, [ebp - 0xb8]
push 0x64e37c
push eax
call fcn.00404680
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x402a6e
mov ecx, dword [esi]
push 0x64e378
push ecx
push dword [esi + 0x10]
push ecx
push eax
call fcn.00404e40
add esp, 0x10
push eax
call fcn.00404680
add esi, 0x18
add esp, 8
cmp esi, edi
jne 0x402a50
push 0x40
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x110], 0x44
push 0
push eax
call fcn.004867e0
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0xf
mov byte [ebp - 0x13c], 0
mov dword [ebp - 0x124], 2
test cl, 2
jne 0x402afe
mov eax, dword [ebp - 0x90]
mov edx, dword [eax]
test edx, edx
je 0x402afe
mov eax, dword [ebp - 0xa0]
cmp edx, dword [ebp - 0x78]
cmovb edx, dword [ebp - 0x78]
mov ecx, dword [eax]
sub edx, ecx
jmp 0x402b21
test cl, 4
jne 0x402b2e
mov eax, dword [ebp - 0x94]
mov edx, dword [eax]
test edx, edx
je 0x402b2e
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax]
sub edx, ecx
mov eax, dword [ebp - 0x84]
add edx, dword [eax]
push edx
push ecx
lea ecx, [ebp - 0x13c]
call fcn.00403eb0
cmp dword [ebp - 0x128], 0x10
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0
push 0x8000000
push 1
push 0
lea eax, [ebp - 0x13c]
cmovae eax, dword [ebp - 0x13c]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [ebp - 0x128]
mov esi, eax
cmp edx, 0x10
jb 0x402ba4
mov ecx, dword [ebp - 0x13c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402b9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402c37
push edx
push ecx
call fcn.005b6a56
add esp, 8
test esi, esi
je 0x402bdc
push 0xffffffffffffffff
push dword [ebp - 0x120]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x120]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x120]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x11c]
call esi
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0xc8]
call fcn.00402c50
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x402c1a
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402c10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402c3c
push edx
push ecx
call fcn.005b6a56
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b6a10
mov esp, ebp
pop ebp
ret
call fcn.005c73c8
call fcn.005c73c8
int3