Function at 0x10017ef0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10122c4e
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x10167c60]
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]
add eax, 0xfffffff0
mov dword [ebp - 4], 0
push eax
call fcn.10008570
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x308], esi
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 1
jne 0x10017f51
mov edi, 1
jmp 0x10018338
lea eax, [ebp - 0x300]
mov dword [ebp - 0x300], 0x168
push eax
lea eax, [ebp - 0x2e0]
push eax
push str.open
push 0x10131240
push 1
push 0
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
test eax, eax
js 0x10018319
xor eax, eax
mov dword [ebp - 0x2e8], 0
lea edi, [ebp - 0x2e0]
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
lea ecx, [edi + 2]
nop dword [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x10017fb0
sub edi, ecx
sar edi, 1
cmp edi, 7
ja 0x10017ff8
mov dword [ebp - 0x2e8], edi
lea eax, [ebp - 0x2e0]
add edi, edi
push edi
push eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.100e6240
add esp, 0xc
xor eax, eax
mov word [ebp + edi - 0x2f8], ax
mov eax, dword [ebp - 0x2f8]
jmp 0x100180ce
mov dword [ebp - 0x30c], SysReAllocString
mov dword [ebp - 0x310], 8
mov dword [ebp - 0x314], SysReAllocString
mov dword [ebp - 0x318], SysReAllocString
cmp edi, 0x7ffffffe
ja 0x10018393
mov ebx, edi
mov dword [ebp - 0x31c], SysReAllocString
or ebx, 7
mov dword [ebp - 0x320], 8
mov dword [ebp - 0x324], SysReAllocString
mov dword [ebp - 0x328], SysReAllocString
mov dword [ebp - 0x32c], ebx
cmp ebx, 0x7ffffffe
jbe 0x1001806e
mov ebx, SysReAllocString
jmp 0x10018082
mov eax, 0xa
mov dword [ebp - 0x330], 0xa
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.10018830
mov dword [ebp - 0x2e8], edi
lea ecx, [ebp - 0x2e0]
add edi, edi
mov dword [ebp - 0x2fc], eax
push edi
push ecx
push eax
mov dword [ebp - 0x334], eax
mov dword [ebp - 0x2e4], ebx
call fcn.100e5cc0
mov eax, dword [ebp - 0x2fc]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax], cx
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2e4], 8
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 2
cmovae ecx, eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x304], ecx
cmp eax, 2
jb 0x10018118
dec eax
lea eax, [ecx + eax*2]
mov dword [ebp - 0x2fc], eax
nop dword [eax]
sub eax, ecx
sar eax, 1
je 0x10018118
cmp word [ecx], 0x25
je 0x10018216
add ecx, 2
sub eax, 1
jne 0x10018106
push 1
push 0x10131254
lea ecx, [ebp - 0x2f8]
call fcn.10018a00
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018130
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2f8]
call fcn.10018a00
mov ecx, 0x44
lea eax, [ebp - 0x388]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10018157
mov ecx, 0x10
lea eax, [ebp - 0x344]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10018170
cmp dword [ebp - 0x2e4], 8
lea ecx, [ebp - 0x344]
push ecx
lea ecx, [ebp - 0x388]
mov dword [ebp - 0x388], 0x44
push ecx
lea eax, [ebp - 0x2f8]
cmovae eax, dword [ebp - 0x2f8]
push 0
push eax
push 0
call fcn.10018560
add esp, 0x14
test eax, eax
je 0x100182b8
push dword [ebp - 0x344]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x340]
call edi
mov edx, dword [ebp - 0x2e4]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x10018293
mov ecx, dword [ebp - 0x2f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018289
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018398
jmp 0x10018289
test ecx, ecx
je 0x10018118
mov edx, 0x1013124c
mov ebx, ecx
mov edi, 2
sub ebx, edx
nop dword [eax]
mov ax, word [ebx + edx]
cmp ax, word [edx]
jne 0x1001827b
add edx, 2
sub edi, 1
jne 0x10018230
sub ecx, dword [ebp - 0x304]
sar ecx, 1
cmp ecx, 0xffffffff
je 0x10018118
mov edx, esi
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10018257
sub edx, edi
sar edx, 1
push edx
push esi
push 2
push ecx
lea ecx, [ebp - 0x2f8]
call fcn.10018c70
jmp 0x1001814c
mov eax, dword [ebp - 0x2fc]
add ecx, 2
jmp 0x10018100
push edx
push ecx
call fcn.100c459e
add esp, 8
xor eax, eax
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
lea edi, [eax + 1]
jmp 0x10018338
mov edx, dword [ebp - 0x2e4]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x100182fc
mov ecx, dword [ebp - 0x2f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100182f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001839d
push edx
push ecx
call fcn.100c459e
add esp, 8
xor eax, eax
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
push 0xa
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x20
cmp ecx, eax
sbb edi, edi
neg edi
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10018356
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10018375
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.100c495f
mov esp, ebp
pop ebp
ret
call fcn.1000bdb0
call fcn.100e9c89
call fcn.100e9c89
int3