Function at 0x486524
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x48652c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x48677d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x324], 0
xor edx, edx
mov eax, dword [ebx + 0x314]
call fcn.00485088
xor edx, edx
mov eax, dword [ebx + 0x300]
mov ecx, dword [eax]
call dword [ecx + 0x64]
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x22c]
call fcn.0043bab4
dec eax
test eax, eax
jl 0x4866b8
inc eax
mov dword [ebp - 0x14], eax
xor esi, esi
mov dword [ebx + 0x318], esi
xor edx, edx
mov eax, dword [ebx + 0x314]
call fcn.00485088
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x22c]
mov edx, esi
call fcn.0043bae4
mov edx, dword [eax + 0x24]
lea eax, [ebp - 0x10]
call fcn.00404174
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.00402a24
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00408c70
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.004043e8
mov eax, dword [ebp - 0xc]
call fcn.00408b10
test al, al
je 0x48668e
lea ecx, [ebp - 8]
mov edx, 0x486794
mov eax, dword [ebp - 0x10]
call fcn.00408bdc
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.00402a24
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408c70
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.004043e8
mov eax, dword [ebp - 8]
call fcn.00408b10
test al, al
je 0x486638
mov eax, dword [ebp - 8]
call fcn.00408b20
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00408b38
test al, al
je 0x486669
lea ecx, [ebp - 0x28]
mov edx, esi
mov eax, dword [ebx + 0x31c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00486820
inc dword [ebp - 4]
jmp 0x4866ae
mov dl, 1
mov eax, dword [ebx + 0x300]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov ecx, 0x4867a4
mov dl, 1
mov eax, dword [0x407484]
call fcn.0040bf64
call fcn.00403a94
jmp 0x4866ae
lea ecx, [ebp - 0x2c]
mov edx, esi
mov eax, dword [ebx + 0x31c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00486820
inc dword [ebp - 4]
inc esi
dec dword [ebp - 0x14]
jne 0x48658d
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x22c]
call fcn.0043bab4
cmp eax, dword [ebp - 4]
jne 0x486755
push 0x40
mov ecx, 0x4867c4
mov edx, 0x4867d8
mov eax, dword [0x489cac]
mov eax, dword [eax]
call fcn.0046aca0
mov eax, dword [0x489cac]
mov eax, dword [eax]
call fcn.0046abfc
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x22c]
xor edx, edx
call fcn.0043bae4
mov eax, dword [eax + 0x24]
push eax
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.00402a24
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00408c70
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0xc]
pop ecx
call fcn.004043e8
push 5
push 0x48680c
push 0x48680c
mov eax, dword [ebp - 0xc]
call fcn.0040459c
push eax
push 0x486810
mov eax, ebx
call fcn.00451624
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486784
lea eax, [ebp - 0x34]
mov edx, 8
call fcn.00404100
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404100
ret