Function at 0x106c600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x109bf18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
push esi
xor ebx, ebx
mov esi, ecx
cmp ebp, ebx
push edi
mov dword [esp + 0x14], esi
je 0x106c848
mov edi, dword [esp + 0x78]
cmp edi, ebx
jle 0x106c848
mov eax, dword [esi + 4]
push eax
mov ecx, dword [eax]
lea eax, [esp + 0x7c]
push ecx
push eax
mov ecx, esi
call fcn.0106c860
cmp edi, 0xc
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
jae 0x106c672
lea ecx, [esp + 0x78]
push 0x10a4178
push ecx
mov byte [esp + 0x80], bl
call fcn.0104b59d
mov eax, ebp
push 4
sub edi, 0xc
push str.HELP
push eax
mov dword [esp + 0x80], eax
add ebp, 0xc
mov dword [esp + 0x84], edi
call fcn.010551a0
add esp, 0xc
test eax, eax
jne 0x106c848
mov edx, dword [esp + 0x74]
push 4
add edx, 4
push str.1000
push edx
call fcn.010551a0
add esp, 0xc
test eax, eax
jne 0x106c848
mov eax, dword [esp + 0x74]
mov dword [esp + 0x74], ebx
mov eax, dword [eax + 8]
cmp eax, ebx
mov dword [esp + 0x10], eax
jbe 0x106c824
add ebp, 4
jmp 0x106c6e3
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x78]
cmp edi, ebx
jle 0x106c824
mov eax, dword [ebp]
mov ecx, dword [esp + 0x18]
cmp eax, ebx
lea edx, [eax + ecx]
jl 0x106c848
mov eax, edx
sub eax, ecx
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jg 0x106c848
mov cl, byte [esp + 0x78]
mov edi, edx
mov byte [esp + 0x30], cl
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.0101af80
mov dl, byte [esp + 0x78]
push ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x44], dl
call fcn.0101a650
mov eax, dword [ebp - 4]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 1
mov dword [esp + 0x54], eax
call fcn.01018b10
lea edx, [esp + 0x50]
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x74], 2
call fcn.0106c990
lea ecx, [esp + 0x24]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.0105f830
mov esi, dword [esp + 0x28]
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 1
call fcn.0101a650
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x70], bl
call fcn.0101a650
mov eax, dword [0x100a5d0]
lea edx, [esp + 0x30]
push eax
push ebx
lea ecx, [esi + 0x10]
push edx
call fcn.0101a390
mov eax, dword [esp + 0x34]
mov dword [esp + 0x6c], 0xffffffff
cmp eax, ebx
je 0x106c7f5
mov cl, byte [eax - 1]
cmp cl, bl
je 0x106c7eb
cmp cl, 0xff
je 0x106c7eb
dec cl
mov byte [eax - 1], cl
jmp 0x106c7f5
dec eax
push eax
call fcn.0108e495
add esp, 4
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x10]
inc eax
add ebp, 8
sub edx, 8
cmp eax, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
jb 0x106c6db
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
xor eax, eax
pop edi
cmp edx, ecx
pop esi
pop ebp
pop ebx
sete al
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 8
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 8