Function at 0x1001c085
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push esi
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1001c281
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xc], eax
push 5
pop eax
test eax, eax
je 0x1001c130
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 8]
call fcn.10016738
add esi, dword [eax]
push 0
mov ecx, dword [ebp - 8]
call fcn.10016738
sub esi, dword [eax]
mov eax, dword [ebp - 0x1c]
mov dword [eax], esi
push 0
mov ecx, dword [ebp - 8]
call fcn.10016738
cmp dword [eax], 0
jne 0x1001c13e
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x1001c13e
and dword [ebp - 0x20], 0
jmp 0x1001c145
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jge 0x1001c158
mov dword [ebp - 0x24], 1
jmp 0x1001c15c
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
imul eax, dword [ecx]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx]
jg 0x1001c17a
mov dword [ebp - 0x28], 1
jmp 0x1001c17e
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
je 0x1001c191
mov dword [ebp - 0x2c], 1
jmp 0x1001c195
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0xffffffff
jg 0x1001c1b3
push 0
mov ecx, dword [ebp - 0x38]
call fcn.10016738
cmp dword [eax], 0
je 0x1001c1b3
mov dword [ebp - 0x30], 1
jmp 0x1001c1b7
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jle 0x1001c1ca
mov dword [ebp - 0x34], 1
jmp 0x1001c1ce
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1001c1dd
mov dword [ebp - 0x3c], 1
jmp 0x1001c1e1
and dword [ebp - 0x3c], 0
push 2
mov ecx, dword [ebp - 0x38]
call fcn.10016738
mov esi, dword [ebp - 0x3c]
imul esi, dword [eax]
push 0
mov ecx, dword [ebp - 8]
call fcn.10016738
cmp esi, dword [eax]
jne 0x1001c208
mov dword [ebp - 0x40], 1
jmp 0x1001c20c
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jg 0x1001c21f
mov dword [ebp - 0x44], 1
jmp 0x1001c223
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx]
jl 0x1001c23b
mov dword [ebp - 0x48], 1
jmp 0x1001c23f
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x48], eax
jg 0x1001c252
mov dword [ebp - 0x74], 1
jmp 0x1001c256
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x1001c273
mov dword [ebp - 0x4c], 1
jmp 0x1001c277
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
jmp 0x1001c297
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001c297
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
pop esi
mov esp, ebp
pop ebp
ret