Function at 0x1006ce60
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
jmp 0x1006ce91
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp + 0xc], 0
jle 0x1006d186
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
sub ecx, dword [eax + 8]
cmp ecx, 0xf
jge 0x1006d186
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 0x26
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0xcd
ja case.0x1006ced6.1
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x1006d37c]
jmp dword [eax*4 + 0x1006d348]
cmp dword [ebp + 0x14], 2
jne 0x1006cf34
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
or edx, 0x2000000
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
and edx, 0xf
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x28], edx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x18], 1
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1006cd40
add esp, 8
xor edx, edx
shl edx, 2
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax + edx + 0x2c], ecx
jmp 0x1006cf3b
mov dword [ebp - 0x10], 1
jmp 0x1006d179
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
or eax, 0x10
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push 1
mov edx, dword [ebp + 0x10]
push edx
call fcn.1006cd40
add esp, 8
mov eax, 1
shl eax, 2
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov dword [ecx + eax + 0x2c], edx
jmp 0x1006d179
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
or ecx, 0x20
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
push 1
mov eax, dword [ebp + 0x10]
push eax
call fcn.1006cd40
add esp, 8
mov ecx, 1
shl ecx, 2
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
mov dword [edx + ecx + 0x2c], eax
jmp 0x1006d179
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
or edx, 0x40
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
push 1
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1006cd40
add esp, 8
mov edx, 1
shl edx, 2
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax + edx + 0x2c], ecx
jmp 0x1006d179
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
or eax, 0x80
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push 2
mov edx, dword [ebp + 0x10]
push edx
call fcn.1006cd40
add esp, 8
mov eax, 2
shl eax, 2
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov dword [ecx + eax + 0x2c], edx
jmp 0x1006d179
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
or ecx, 0x100
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
push 2
mov eax, dword [ebp + 0x10]
push eax
call fcn.1006cd40
add esp, 8
mov ecx, 2
shl ecx, 2
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
mov dword [edx + ecx + 0x2c], eax
jmp 0x1006d179
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
or edx, 0x200
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
push 2
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1006cd40
add esp, 8
mov edx, 2
shl edx, 2
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax + edx + 0x2c], ecx
jmp 0x1006d179
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
or eax, 0x400
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push 2
mov edx, dword [ebp + 0x10]
push edx
call fcn.1006cd40
add esp, 8
mov eax, 2
shl eax, 2
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov dword [ecx + eax + 0x2c], edx
jmp 0x1006d179
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
or ecx, 0x800
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
push 2
mov eax, dword [ebp + 0x10]
push eax
call fcn.1006cd40
add esp, 8
mov ecx, 2
shl ecx, 2
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
mov dword [edx + ecx + 0x2c], eax
jmp 0x1006d179
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
or edx, 0x1000
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
push 2
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1006cd40
add esp, 8
mov edx, 2
shl edx, 2
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax + edx + 0x2c], ecx
jmp 0x1006d179
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
or eax, 0x2000
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push 3
mov edx, dword [ebp + 0x10]
push edx
call fcn.1006cd40
add esp, 8
mov eax, 3
shl eax, 2
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov dword [ecx + eax + 0x2c], edx
jmp 0x1006d179
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
or ecx, 0x4000
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
push 4
mov eax, dword [ebp + 0x10]
push eax
call fcn.1006cd40
add esp, 8
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
mov dword [edx + ecx + 0x2c], eax
jmp 0x1006d179
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 0
je 0x1006d181
jmp 0x1006d186
jmp 0x1006ce76
cmp dword [ebp + 0xc], 2
jl 0x1006d23d
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
cmp edx, 0xc5
jne 0x1006d23d
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
sub ecx, dword [eax + 8]
cmp ecx, 0xd
jg 0x1006d23d
cmp dword [ebp + 0x14], 2
je 0x1006d1c8
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 1]
cmp eax, 0xc0
jl 0x1006d23d
mov ecx, dword [ebp + 8]
add ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x10], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
or ecx, 0x20000000
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x18], 2
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x10]
mov al, byte [edx]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
not ecx
and ecx, 0x80
je 0x1006d21c
cmp dword [ebp + 0x14], 2
jne 0x1006d21c
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x28]
or eax, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x28], eax
movzx edx, byte [ebp - 1]
and edx, 4
je 0x1006d234
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x28]
or ecx, 0x10
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x28], ecx
mov eax, dword [ebp + 8]
add eax, 2
mov dword [ebp + 8], eax
cmp dword [ebp + 0xc], 3
jl 0x1006d33b
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
cmp edx, 0xc4
jne 0x1006d33b
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
sub ecx, dword [eax + 8]
cmp ecx, 0xc
jg 0x1006d33b
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
not eax
and eax, 0x20000000
je 0x1006d33b
cmp dword [ebp + 0x14], 2
je 0x1006d296
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 1]
cmp edx, 0xc0
jl 0x1006d33b
mov eax, dword [ebp + 8]
add eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
or eax, 0x20000000
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x18], 3
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x10]
mov dl, byte [ecx]
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
not eax
sar eax, 5
and eax, 7
mov ecx, dword [ebp + 0x10]
or eax, dword [ecx + 0x28]
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x28], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x10]
mov dl, byte [ecx + 1]
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
and eax, 4
je 0x1006d302
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x28]
or edx, 0x10
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x28], edx
movzx ecx, byte [ebp - 1]
and ecx, 0x80
je 0x1006d31d
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x28]
or eax, 8
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x28], eax
cmp dword [ebp + 0x14], 2
je 0x1006d332
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x28]
and eax, 0xfffffff0
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp + 8]
add edx, 3
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov esp, ebp
pop ebp
ret