Function at 0x10018d75
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10071662
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x12c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100193ec
mov dword [ebp - 0x5c], 0x4fcc
mov dword [ebp - 0x118], 0x10009858
cmp dword [ebp - 0x5c], 0x51a3
jle 0x10018e62
and dword [ebp - 0x38], 0
jmp 0x10018dd1
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x3c66
jge 0x10018e58
and dword [ebp - 0x24], 0
jmp 0x10018de7
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6b2c
jge 0x10018e53
and dword [ebp - 0x30], 0
jmp 0x10018dfd
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x51af
jge 0x10018e51
and dword [ebp - 0x2c], 0
jmp 0x10018e13
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x73d4
jge 0x10018e4f
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
sar eax, cl
and eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edx
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
mov ecx, 0x10619858
call fcn.10024898
jmp 0x10018e0c
jmp 0x10018df6
jmp 0x10018de0
jmp 0x10018dca
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc4], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x5c], 0x4c4a
jge 0x10018e88
mov edx, dword [ebp - 0x118]
mov ecx, 0x10619858
call fcn.100265af
jmp 0x10018ea4
or dword [ebp - 4], 0xffffffff
jmp 0x10018eae
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xfc], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xa0]
movzx eax, byte [eax]
test eax, eax
je 0x10018f62
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x10018f49
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x1c
jge 0x10018f5d
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x10018f5b
jmp 0x10018f5d
jmp 0x10018f3e
jmp 0x100193ea
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xb4], 0x1c84
cmp dword [ebp - 0xb4], 0x67a
jge 0x1001912f
lea eax, [ebp - 0x3c]
push eax
push 0x10008fc0
call fcn.100592cb
pop ecx
pop ecx
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x124]
call fcn.100249ad
mov dword [ebp - 4], 2
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x130]
call fcn.10024adc
mov byte [ebp - 4], 3
or dword [ebp - 0x34], 0xffffffff
and dword [ebp - 0x1c], 0
and dword [ebp - 0x14], 0
jmp 0x10018fd4
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x3c]
jge 0x10019038
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x100098a0
call fcn.100592cb
add esp, 0xc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x124]
call fcn.10024a2b
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x74]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x4c], 0
jne 0x1001901b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
jmp 0x10019036
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x4c]
dec eax
push eax
lea ecx, [ebp - 0x130]
call fcn.10024b48
mov ecx, eax
call fcn.10024a89
jmp 0x10018fcd
mov eax, dword [ebp - 0x1c]
cdq
push 3
pop ecx
idiv ecx
test edx, edx
je 0x10019055
push 0x100098a8
call fcn.10059751
pop ecx
jmp 0x10019111
lea ecx, [ebp - 0x9c]
call fcn.10024a51
mov byte [ebp - 4], 4
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x130]
push eax
mov eax, dword [ebp - 0x1c]
cdq
push 3
pop ecx
idiv ecx
push eax
push dword [ebp - 0x34]
call fcn.10018cbc
add esp, 0x14
lea ecx, [ebp - 0x9c]
call fcn.10024a80
cmp eax, 2
jb 0x100190f7
push 0
lea ecx, [ebp - 0x9c]
call fcn.10024a2b
mov eax, dword [eax]
cmp eax, dword [ebp - 0x34]
je 0x100190f7
push 1
lea ecx, [ebp - 0x9c]
call fcn.10024a2b
mov eax, dword [eax]
cmp eax, dword [ebp - 0x34]
je 0x100190f7
push 1
lea ecx, [ebp - 0x9c]
call fcn.10024a2b
mov eax, dword [eax]
inc eax
push eax
push 0
lea ecx, [ebp - 0x9c]
call fcn.10024a2b
mov eax, dword [eax]
inc eax
push eax
push 0x100098ac
call fcn.100594e6
add esp, 0xc
jmp 0x10019102
push 0x100098a8
call fcn.10059751
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9c]
call fcn.10024a0f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x130]
call fcn.10024b43
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.10024a0f
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0xffffffff
jbe 0x10019225
mov dword [ebp - 0x58], 1
jmp 0x10019229
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0xfffe
je 0x1001923e
mov dword [ebp - 0x84], 1
jmp 0x10019245
and dword [ebp - 0x84], 0
push 0
mov ecx, dword [ebp - 0x80]
call fcn.10024a2b
mov ecx, dword [ebp - 0x84]
cmp ecx, dword [eax]
je 0x10019267
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0
jne 0x10019267
and dword [ebp - 0x64], 0
jmp 0x1001926e
mov dword [ebp - 0x64], 1
cmp dword [ebp - 0x64], 4
ja 0x1001927d
mov dword [ebp - 0x7c], 1
jmp 0x10019281
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
cmp dword [ebp - 0x7c], eax
jg 0x10019294
mov dword [ebp - 0x6c], 1
jmp 0x10019298
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
cmp dword [ebp - 0x6c], eax
jg 0x100192b1
mov dword [ebp - 0x8c], 1
jmp 0x100192b8
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
imul eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
inc ecx
mov edx, dword [ebp - 0x40]
mov dword [edx], ecx
test eax, eax
je 0x100192e4
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
je 0x100192e4
mov dword [ebp - 0x50], 1
jmp 0x100192e8
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
cmp dword [ebp - 0x50], eax
jle 0x100192fb
mov dword [ebp - 0x54], 1
jmp 0x100192ff
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x54]
sub esi, dword [eax]
push 2
mov ecx, dword [ebp - 0x70]
call fcn.10024a2b
cmp esi, dword [eax]
jg 0x1001931e
mov dword [ebp - 0x60], 1
jmp 0x10019322
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, dword [ebp - 0x60]
jne 0x1001933a
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
jne 0x1001933a
and dword [ebp - 0x68], 0
jmp 0x10019341
mov dword [ebp - 0x68], 1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
add ecx, dword [ebp - 0x68]
cmp ecx, dword [eax]
je 0x10019359
mov dword [ebp - 0x78], 1
jmp 0x1001935d
and dword [ebp - 0x78], 0
push 2
mov ecx, dword [ebp - 0x70]
call fcn.10024a2b
mov ecx, dword [ebp - 0x78]
cmp ecx, dword [eax]
jle 0x1001937a
mov dword [ebp - 0xe0], 1
jmp 0x10019381
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0xe8]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x80]
call fcn.10024a2b
cmp dword [eax], esi
jle 0x100193ae
mov dword [ebp - 0x88], 1
jmp 0x100193b5
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp dword [ebp - 0x88], eax
jle 0x100193ce
mov dword [ebp - 0x90], 1
jmp 0x100193d5
and dword [ebp - 0x90], 0
push 0
mov ecx, dword [ebp - 0xf0]
call fcn.10024a2b
mov ecx, dword [ebp - 0x90]
mov dword [eax], ecx
jmp 0x100193f4
push 1
call fcn.10015d72
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret