Function at 0x10061715
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1006187e
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x1006184e
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0xfffffff3
jmp 0x10061796
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xd
jl 0x1006184c
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x18], 0xfffffffe
mov dword [ebp - 0x30], 0xfffffffd
xor eax, eax
jne 0x100617d1
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x100617d1
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x100617d1
and dword [ebp - 0x20], 0
jmp 0x100617d8
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jge 0x100617f1
mov dword [ebp - 0x28], 1
jmp 0x100617f5
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0
jne 0x10061804
mov dword [ebp - 0x10], 1
jmp 0x10061808
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
mov eax, 0x6ee4
sub eax, dword [ebp - 0x30]
imul ecx, dword [ebp - 0x24], 0xfffffffd
sub ecx, eax
sub ecx, 0x208a
cmp ecx, 0xb7a7
jl 0x10061833
mov dword [ebp - 0x1c], 1
jmp 0x10061837
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax]
add ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x58]
mov dword [eax], ecx
jmp 0x1006178b
jmp 0x10061879
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x54]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x1006192b
mov dword [ebp - 0x34], 0x1c86
mov dword [ebp - 0x64], 0x1000ced0
cmp dword [ebp - 0x34], 0x1d78
jle 0x1006190b
and dword [ebp - 8], 0
jmp 0x100618a2
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x2114
jge 0x1006190b
and dword [ebp - 0xc], 0
jmp 0x100618b8
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x5f34
jge 0x10061909
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0xc]
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x7c], eax
push dword [ebp - 0x70]
push dword [ebp - 0x74]
lea ecx, [ebp - 0x94]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x94]
call fcn.100252df
jmp 0x100618b1
jmp 0x1006189b
push 0x13a7
push 1
call fcn.1005419b
pop ecx
pop ecx
cmp dword [ebp - 0x34], 0x1ac6
jge 0x1006192b
push dword [ebp - 0x64]
call fcn.1008287d
pop ecx
mov esp, ebp
pop ebp
ret