Function at 0x40ae90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474f16
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x499694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [ebp - 0x84], ebx
xor ecx, ecx
push ebx
mov word [ebp - 0x48], cx
mov edi, 7
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.004013e0
push 0xffffffffffffffff
mov dword [ebp - 4], ebx
push ebx
xor edx, edx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.004013e0
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x88], 0x5c
call fcn.00403b70
mov edi, eax
cmp edi, ebx
je 0x40b028
push 0xffffffffffffffff
lea ecx, [edi + 1]
push ecx
lea edx, [ebp - 0x64]
push edx
mov ecx, esi
call fcn.00403a70
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00401360
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], 8
jb 0x40af65
mov eax, dword [ebp - 0x64]
push eax
call fcn.0040f3f1
add esp, 4
mov ecx, dword [ebp - 0x1c]
push 0xc
push str.explorer.exe
push ecx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00401df0
test eax, eax
jne 0x40afaf
push 0x13
xor edx, edx
push str.c:windows_system32
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
call fcn.00401540
mov byte [ebp - 4], 3
lea eax, [ebp - 0x80]
mov dword [ebp - 0x84], 1
jmp 0x40afcd
push edi
push ebx
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
call fcn.00403a70
mov dword [ebp - 4], 4
mov dword [ebp - 0x84], 2
push eax
lea ecx, [ebp - 0x48]
call fcn.00401360
test byte [ebp - 0x84], 2
mov edi, 8
je 0x40b00c
and dword [ebp - 0x84], 0xfffffffd
cmp dword [ebp - 0x50], edi
jb 0x40affc
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0040f3f1
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
test byte [ebp - 0x84], 1
je 0x40b02d
cmp dword [ebp - 0x6c], edi
jb 0x40b02d
mov eax, dword [ebp - 0x80]
push eax
call fcn.0040f3f1
add esp, 4
jmp 0x40b02d
mov edi, 8
push 0x38
lea ecx, [ebp - 0xc4]
push ebx
push ecx
call fcn.00419530
add esp, 0xc
mov dword [ebp - 0xc8], 0x3c
mov dword [ebp - 0xc4], 0x40
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xbc], ebx
cmp dword [esi + 0x14], edi
jb 0x40b06e
mov edx, dword [esi]
mov dword [ebp - 0xb8], edx
jmp 0x40b074
mov dword [ebp - 0xb8], esi
mov eax, dword [ebp - 0x8c]
cmp dword [eax + 0x14], edi
jb 0x40b081
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0x34], edi
jb 0x40b097
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0xb0], ecx
jmp 0x40b0a0
lea edx, [ebp - 0x48]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xc8]
push ecx
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp byte [ebp + 0x10], bl
je 0x40b0d0
mov edx, dword [ebp - 0x90]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x18], edi
jb 0x40b0e1
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0040f3f1
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], edi
jb 0x40b102
mov edx, dword [ebp - 0x48]
push edx
call fcn.0040f3f1
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ecc7
mov esp, ebp
pop ebp
ret