Function at 0x40dae6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x40dce6
lea eax, [ebp + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x40dc9d
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x40dc68
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x40db8a
mov dword [ebp - 0x54], 0x5b3b9da4
push 0
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 4]
push dword [ebp - 0x10]
call fcn.00416c0e
add esp, 0x10
jmp 0x40dc66
mov dword [ebp - 8], 4
mov dword [ebp - 0x58], 0x3bcf59f8
push 0
push 0x47a5
call fcn.00416397
pop ecx
pop ecx
cmp dword [ebp - 8], 0
je 0x40dbbd
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x40dbbd
mov dword [ebp - 0xc], 1
jmp 0x40dbc1
and dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0xfffffffc
je 0x40dbd0
mov dword [ebp - 0x24], 1
jmp 0x40dbd4
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jbe 0x40dbe5
mov dword [ebp - 0x14], 1
jmp 0x40dbe9
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
imul eax, dword [ebp - 0x14]
test eax, eax
jne 0x40dc00
xor eax, eax
jne 0x40dc00
and dword [ebp - 0x18], 0
jmp 0x40dc07
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jne 0x40dc1a
mov dword [ebp - 0x1c], 1
jmp 0x40dc1e
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0xe85f
jge 0x40dc30
mov dword [ebp - 0x20], 1
jmp 0x40dc34
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0xffff
jne 0x40dc47
cmp dword [ebp - 8], 0
jne 0x40dc47
cmp dword [ebp - 8], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x24], eax
je 0x40dc58
mov dword [ebp - 0x28], 1
jmp 0x40dc5c
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x28]
mov dword [ebp - 0x58], eax
jmp 0x40dc9b
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x40dc9b
push 0
push 0
push 0
push 0
push 0xb3b
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x40dce4
push 1
push 0x6226
push 0x46de
push 1
push 0x197d
push 0
push 0x58c0
push 0x5598
push 0x6fd0
push 0x5ac0
push 0xb54
push 0x18eb
push 0x326
push 0x7a4f
push 0
call fcn.004172a1
add esp, 0x3c
jmp 0x40dd03
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
push 1
push 0x50c1
push dword [ebp - 0x68]
push 0x388d
call fcn.0040812f
add esp, 0x10
mov esp, ebp
pop ebp
ret