Function at 0x412f50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5b1c24
mov eax, dword fs:[0]
push eax
sub esp, 0x86c
mov eax, dword [0x62c930]
xor eax, esp
mov dword [esp + 0x868], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62c930]
xor eax, esp
push eax
lea eax, [esp + 0x880]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x890]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x888], ebx
mov eax, dword [esp + 0x894]
push ebx
push eax
call fcn.00584007
add esp, 8
test eax, eax
jne 0x413250
mov ecx, dword [ebp + 8]
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x40
lea edx, [esp + 0x3c]
push ebx
push edx
mov dword [esp + 0x40], ebx
call fcn.00587fb0
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov edi, 1
mov eax, edi
mov word [esp + 0x70], ax
mov eax, dword [esp + 0x8a0]
add eax, 0xfffffff0
add esp, 0xc
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x64], edi
call fcn.00401a10
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x20], esi
push 0x5c
push esi
mov byte [esp + 0x890], 1
call fcn.005844d3
add esp, 8
cmp eax, ebx
jne 0x413030
or eax, 0xffffffff
jmp 0x413034
sub eax, esi
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00407740
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x88c], 2
call fcn.00401a80
mov byte [esp + 0x888], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41307e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x20]
call fcn.004232c0
mov ecx, dword [esp + 0x894]
mov eax, dword [ecx - 0xc]
cmp eax, 4
jle 0x4130c3
push 4
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x89c]
call fcn.00405ab0
push str..lnk
push eax
mov dword [esp + 0x20], edi
call fcn.00405d50
add esp, 8
test al, al
je 0x4130c3
mov bl, 1
jmp 0x4130c5
xor bl, bl
test byte [esp + 0x18], 1
je 0x4130ec
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4130ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x413115
mov esi, dword [esp + 0x20]
mov eax, dword [ebp + 0x6b8]
mov ecx, dword [esp + 0x894]
push 5
push esi
push eax
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x41322a
call fcn.005759db
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41312f
push 0x80004005
call fcn.00401b20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x888], 3
mov ecx, dword [ebp + 0x6b8]
cmp dword [ecx - 0xc], 0
je 0x413172
mov eax, dword [esp + 0x894]
mov edx, ecx
push edx
push eax
lea ecx, [esp + 0x20]
push str.__s____s_
push ecx
call fcn.00407c30
add esp, 0x10
jmp 0x41318c
mov edx, dword [esp + 0x894]
push edx
lea eax, [esp + 0x1c]
push 0x603868
push eax
call fcn.00407c30
add esp, 0xc
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x86]
push edx
mov word [esp + 0x88], cx
call fcn.00587fb0
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x88]
add esp, 0xc
mov eax, edi
sub edx, edi
jmp 0x4131c0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4131c0
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x9c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x413206
mov eax, dword [esp + 0x24]
mov dword [ebp + 0x7b4], eax
lea eax, [edi - 0x10]
mov byte [esp + 0x888], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41322a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x888], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4132c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4132c1
lea ecx, [esp + 0x894]
push ecx
lea edx, [esp + 0x20]
push 0x603874
push edx
call fcn.00416f40
add esp, 0xc
push eax
lea ecx, [esp + 0x898]
mov byte [esp + 0x88c], 4
call fcn.00401a80
mov byte [esp + 0x888], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4132a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x894]
mov eax, dword [ebp + 8]
push ebx
push 0x60388c
push ecx
push eax
call section..text
add esp, 0x10
mov dword [esp + 0x888], 0xffffffff
mov eax, dword [esp + 0x894]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4132ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x880]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x868]
xor ecx, esp
call fcn.005832f8
add esp, 0x878
ret 8