Function at 0x413590
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480b6f
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4a0234]
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 eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x88], ebx
xor ecx, ecx
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
push edi
mov dword [ebp - 4], ebx
call fcn.0040d79d
add esp, 4
test al, al
je 0x41361e
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x413600
sub eax, edx
sar eax, 1
mov ecx, edi
lea esi, [ebp - 0x48]
call fcn.00401fe9
jmp 0x4137e5
mov esi, 0xf
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 1
cmp byte [ebp + 0xc], bl
je 0x4136e8
lea edx, [ebp - 0x2c]
push edx
call fcn.00410a4d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xcc], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00402aa8
lea esi, [ebp - 0x64]
call fcn.00410b3d
add esp, 0x1c
mov esi, eax
lea ecx, [ebp - 0x2c]
cmp ecx, esi
je 0x4136cd
cmp dword [ebp - 0x18], 0x10
jb 0x413687
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042cb00
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [esi + 0x14], 0x10
jae 0x4136ae
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.0042cdb0
add esp, 0xc
jmp 0x4136b5
mov ecx, dword [esi]
mov dword [ebp - 0x2c], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], 0x10
jb 0x4136e3
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0042cb00
add esp, 4
cmp dword [ebp - 0x1c], ebx
jne 0x4136ec
xor eax, eax
jmp 0x413717
lea edx, [ebp - 0x80]
push edx
lea edi, [ebp - 0x2c]
call fcn.0040d640
add esp, 4
mov edi, dword [ebp - 0x84]
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x88], 1
jb 0x413717
mov eax, dword [eax]
mov edx, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
call fcn.00413340
add esp, 8
mov esi, eax
lea ecx, [ebp - 0x48]
cmp ecx, esi
je 0x413795
cmp dword [ebp - 0x34], 8
jb 0x413747
mov edx, dword [ebp - 0x48]
push edx
call fcn.0042cb00
add esp, 4
xor eax, eax
mov edi, 7
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [esi + 0x14], 8
jae 0x413775
mov ecx, dword [esi + 0x10]
lea edx, [ecx + ecx + 2]
push edx
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.0042cdb0
add esp, 0xc
jmp 0x41377c
mov ecx, dword [esi]
mov dword [ebp - 0x48], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x38], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x34], eax
xor ecx, ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov word [esi], cx
jmp 0x41379a
mov edi, 7
cmp dword [ebp - 0x50], 8
jb 0x4137ac
mov edx, dword [ebp - 0x64]
push edx
call fcn.0042cb00
add esp, 4
xor eax, eax
test byte [ebp - 0x88], 1
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
je 0x4137d3
cmp dword [ebp - 0x6c], 8
jb 0x4137d3
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.0042cb00
add esp, 4
cmp dword [ebp - 0x18], 0x10
jb 0x4137e5
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042cb00
add esp, 4
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0xc8], 0x3c
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xbc], ebx
jb 0x413812
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xb8], eax
jmp 0x41381b
lea ecx, [ebp - 0x48]
mov dword [ebp - 0xb8], ecx
xor eax, eax
lea edx, [ebp - 0xc8]
push edx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], 5
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x34], 8
jb 0x41387c
mov eax, dword [ebp - 0x48]
push eax
call fcn.0042cb00
add esp, 4
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.0042cb0b
mov esp, ebp
pop ebp
ret