Function at 0x10009a10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a214e
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x100c60c0]
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 ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebx + 8]
mov dword [ebp - 0x22c], eax
mov esi, dword [eax]
mov ecx, eax
mov dword [ebp - 4], 0
push dword [esi + 4]
call fcn.1000a530
mov eax, dword [ebx + 8]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 4], esi
mov eax, dword [ebx + 8]
mov dword [eax], esi
mov eax, dword [ebx + 8]
mov dword [eax + 8], esi
mov dword [ebx + 0xc], 0
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x10009a8d
xor eax, eax
jmp 0x1000a003
push edi
lea ecx, [ebx + 4]
call fcn.10009080
push dword [edi]
lea ecx, [ebp - 0x218]
call fcn.10008f10
push dword [eax]
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 1
call fcn.10008df0
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 3
cmp eax, ecx
je 0x10009ad4
push eax
call fcn.10081120
add esp, 4
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0x248]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
or ebx, 0xffffffff
mov dword [ebp - 0x244], eax
test eax, eax
je 0x10009fdd
call fcn.10009700
mov ecx, eax
test ecx, ecx
je 0x1000a021
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x220], edi
mov byte [ebp - 4], 4
call fcn.10009700
mov ecx, eax
test ecx, ecx
je 0x1000a02b
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x224], esi
xor eax, eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x240], eax
jle 0x10009f94
nop
mov ecx, dword [ebp - 0x244]
mov edi, dword [ecx + eax*4]
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], eax
test edi, edi
jne 0x10009b73
xor esi, esi
mov dword [ebp - 0x114], esi
jmp 0x10009be6
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009b80
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
test esi, esi
js 0x1000a03f
cmp esi, 0x80
jle 0x10009bbf
push 2
push esi
call fcn.10081115
mov ecx, eax
add esp, 8
mov dword [ebp - 0x114], ecx
test ecx, ecx
je 0x1000a035
jmp 0x10009bcb
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x114], ecx
lea eax, [esi + esi]
push eax
push edi
push eax
push ecx
call fcn.1000a710
push eax
call fcn.100093e0
mov esi, dword [ebp - 0x114]
add esp, 0x14
mov byte [ebp - 4], 6
call fcn.10009700
mov ecx, eax
test ecx, ecx
je 0x1000a021
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
push esi
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 7
call fcn.100094a0
test al, al
jne 0x10009c4c
test esi, esi
jne 0x10009c23
xor ecx, ecx
jmp 0x10009c3f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009c30
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x228]
call fcn.1000a190
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 9
cmp eax, ecx
je 0x10009c69
push eax
call fcn.10081120
add esp, 4
mov edi, dword [ebp - 0x228]
push 0x100a8424
push edi
call fcn.1008126c
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10009dc4
sub ebx, edi
sar ebx, 1
cmp ebx, 0xffffffff
je 0x10009dc4
xor esi, esi
test ebx, ebx
cmovns esi, ebx
cmp esi, dword [edi - 0xc]
jl 0x10009cb7
lea eax, [edi - 0x10]
push eax
call fcn.100095d0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x234], esi
jmp 0x10009ce7
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x10009cc7
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x10009cd3
call fcn.10009700
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push esi
push edi
lea ecx, [ebp - 0x234]
call fcn.10008e90
mov esi, dword [ebp - 0x234]
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x220]
call fcn.10009080
mov byte [ebp - 4], 9
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10009d19
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x220]
call fcn.1000a2d0
mov esi, dword [edi - 0xc]
mov eax, esi
sub eax, ebx
xor ebx, ebx
add eax, 0xffffffff
cmovns ebx, eax
cmp ebx, esi
jl 0x10009d4e
lea eax, [edi - 0x10]
push eax
call fcn.100095d0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x238], esi
jmp 0x10009d83
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x10009d5e
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x10009d6a
call fcn.10009700
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
sub esi, ebx
lea ecx, [ebp - 0x238]
push eax
push ebx
lea eax, [edi + esi*2]
push eax
call fcn.10008e90
mov esi, dword [ebp - 0x238]
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x224]
call fcn.10009080
or ebx, 0xffffffff
mov byte [ebp - 4], 9
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10009db7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x224]
call fcn.1000a2d0
jmp 0x10009df6
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x220]
call fcn.10009080
lea ecx, [ebp - 0x220]
call fcn.1000a2d0
push 0
push 0x100a83e4
lea ecx, [ebp - 0x224]
call fcn.1000a190
or ebx, 0xffffffff
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
push eax
call fcn.100095d0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x21c], eax
mov esi, dword [eax - 0xc]
mov byte [ebp - 4], 0xc
test esi, esi
js 0x1000a03f
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x10009e43
push esi
lea ecx, [ebp - 0x21c]
call fcn.1000a050
mov eax, dword [ebp - 0x21c]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.1008143a
mov eax, dword [ebp - 0x21c]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x1000a03f
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x21c]
mov word [eax + esi*2], cx
lea eax, [ebp - 0x21c]
mov ecx, dword [ebp - 0x22c]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.1000a680
mov eax, dword [ebp - 0x22c]
mov esi, dword [ebp - 0x24c]
cmp esi, dword [eax]
je 0x10009ee0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1000a021
mov ecx, dword [ebp - 0x21c]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10009ece
test dx, dx
je 0x10009eca
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10009ece
add ecx, 4
add eax, 4
test dx, dx
jne 0x10009ea8
xor eax, eax
jmp 0x10009ed3
sbb eax, eax
or eax, 1
shr eax, 0x1f
test al, al
je 0x10009f24
mov eax, dword [ebp - 0x22c]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x250], ecx
lea ecx, [ebp - 0x22d]
push ecx
lea ecx, [ebp - 0x250]
push ecx
push 0x100a83e0
mov ecx, eax
call fcn.10008870
mov ecx, dword [ebp - 0x22c]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x254]
push eax
call fcn.10008a80
mov esi, dword [ebp - 0x254]
lea eax, [ebp - 0x224]
lea ecx, [esi + 0x14]
push eax
call fcn.10009080
mov edx, dword [ebp - 0x21c]
mov eax, ebx
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10009f54
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10009f6f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x23c]
inc eax
mov dword [ebp - 0x23c], eax
cmp eax, dword [ebp - 0x240]
jl 0x10009b50
mov esi, dword [ebp - 0x224]
mov edi, dword [ebp - 0x220]
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10009fbb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10009fd6
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x10009fdf
xor esi, esi
mov eax, dword [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1000a001
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.1003ff0d
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10009480
push 0x80004005
call fcn.10009480
push 0x8007000e
call fcn.10009480
push 0x80070057
call fcn.10009480
int3