Function at 0x846f9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
call fcn.0040ab34
mov ebx, 0x8c5078
xor eax, eax
push ebp
push 0x8471ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x8bd42c]
mov eax, dword [eax]
mov eax, dword [eax + 0x3fc]
mov edx, dword [eax]
call dword [edx + 0x124]
test al, al
je 0x84701e
mov edx, 0x1b
mov eax, 0x8bca24
mov ecx, dword [eax]
cmp ecx, dword [ebp - 8]
jne 0x847018
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
movzx ecx, word [0x8471fc]
mov dl, 1
mov eax, 0x84720c
call fcn.0058ae70
xor ebx, ebx
jmp 0x8471c7
add eax, 4
dec edx
jne 0x846fef
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
movzx ecx, word [0x847244]
mov dl, 2
mov eax, 0x847254
call fcn.0058ae70
cmp eax, 6
jne 0x84705b
push 0xa
push 0x8473d0
push 0x8473d0
push 0x8473d4
push 0x847414
push 0
call sub.shell32.dll_ShellExecuteW
mov esi, dword [ebx]
test esi, esi
je 0x847066
sub esi, 4
mov esi, dword [esi]
inc esi
push esi
mov eax, ebx
mov ecx, 1
mov edx, dword [0x845e70]
call fcn.0040d568
add esp, 4
mov eax, dword [ebx]
test eax, eax
je 0x847088
sub eax, 4
mov eax, dword [eax]
imul eax, eax, 0x1e
mov edx, dword [ebx]
mov dword [edx + eax*8 - 0xf0], 1
mov edx, dword [ebx]
mov eax, edx
test eax, eax
je 0x8470a5
sub eax, 4
mov eax, dword [eax]
test edx, edx
je 0x8470ae
sub edx, 4
mov edx, dword [edx]
imul eax, eax, 0x1e
mov ecx, dword [ebx]
dec edx
mov dword [ecx + eax*8 - 0xec], edx
mov esi, dword [ebx]
test esi, esi
je 0x8470c6
sub esi, 4
mov esi, dword [esi]
imul eax, esi, 0x1e
mov edx, dword [ebx]
lea eax, [edx + eax*8 - 0xe8]
mov edx, dword [ebp - 4]
call fcn.0040ae30
mov eax, dword [ebx]
test eax, eax
je 0x8470e5
sub eax, 4
mov eax, dword [eax]
imul eax, eax, 0x1e
mov edx, dword [ebx]
mov ecx, dword [ebp - 8]
mov dword [edx + eax*8 - 0xc8], ecx
mov eax, dword [ebx]
test eax, eax
je 0x8470ff
sub eax, 4
mov eax, dword [eax]
imul eax, eax, 0x1e
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + eax*8 - 0xc], ecx
mov eax, dword [ebx]
test eax, eax
je 0x847115
sub eax, 4
mov eax, dword [eax]
imul eax, eax, 0x1e
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + eax*8 - 0xc4], ecx
mov esi, dword [ebx]
test esi, esi
je 0x84712e
sub esi, 4
mov esi, dword [esi]
lea ecx, [ebp - 0xc]
mov edx, 0x84742c
mov eax, dword [0x8c5074]
call fcn.00846b54
mov edx, dword [ebp - 0xc]
imul eax, esi, 0x1e
mov ecx, dword [ebx]
lea eax, [ecx + eax*8 - 0xd4]
mov ecx, 0x84744c
call fcn.0040bb90
mov esi, dword [ebx]
test esi, esi
je 0x847164
sub esi, 4
mov esi, dword [esi]
lea ecx, [ebp - 0x10]
mov edx, 0x84742c
mov eax, dword [0x8c5074]
call fcn.00846b54
mov edx, dword [ebp - 0x10]
imul eax, esi, 0x1e
mov ecx, dword [ebx]
lea eax, [ecx + eax*8 - 0xcc]
mov ecx, 0x84744c
call fcn.0040bb90
mov esi, dword [ebx]
test esi, esi
je 0x84719a
sub esi, 4
mov esi, dword [esi]
lea ecx, [ebp - 0x14]
mov edx, 0x84742c
mov eax, dword [0x8c5074]
call fcn.00846b54
mov edx, dword [ebp - 0x14]
imul eax, esi, 0x1e
mov ecx, dword [ebx]
lea eax, [ecx + eax*8 - 0xd0]
mov ecx, 0x84744c
call fcn.0040bb90
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8471f1
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040aab0
lea eax, [ebp - 4]
call fcn.0040aa50
ret