Function at 0x1009b5b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push edi
lea edi, [ebp - 0x6c]
mov ecx, 0x1b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x29], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov byte [ebp - 0xb], 0
mov dword [ebp - 0x10], 0x100ba000
mov byte [ebp - 0x14], 0
mov edi, dword [ebp + 0xc]
xor al, al
mov ecx, 0x1c
rep stosb byte es:[edi], al
mov byte [ebp - 1], 0x10
jmp 0x1009b5fa
mov cl, byte [ebp - 1]
sub cl, 1
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
je 0x1009b75f
mov byte [ebp - 0x29], 1
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 2], cl
cmp byte [ebp - 0x29], 0
jne 0x1009b625
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
movzx edx, byte [ebp - 2]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
sub edx, 0x26
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0xcd
ja case.0x1009b65b.1
mov eax, dword [ebp - 0x34]
movzx ecx, byte [eax + 0x1009c1dc]
jmp dword [ecx*4 + 0x1009c1c0]
cmp byte [ebp - 0x29], 0
jne 0x1009b675
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 2]
mov byte [edx + 1], al
movzx ecx, byte [ebp - 0xb]
or ecx, 4
mov byte [ebp - 0xb], cl
jmp 0x1009b75a
cmp byte [ebp - 0x29], 0
jne 0x1009b6a0
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 2]
mov byte [edx + 1], al
movzx ecx, byte [ebp - 0xb]
or ecx, 2
mov byte [ebp - 0xb], cl
jmp 0x1009b75a
cmp byte [ebp - 0x29], 0
jne 0x1009b6cb
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 2]
mov byte [edx + 2], al
movzx ecx, byte [ebp - 0xb]
or ecx, 0x20
mov byte [ebp - 0xb], cl
jmp 0x1009b75a
cmp byte [ebp - 0x29], 0
jne 0x1009b6f3
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 2]
mov byte [edx + 3], al
movzx ecx, byte [ebp - 0xb]
or ecx, 0x40
mov byte [ebp - 0xb], cl
jmp 0x1009b75a
cmp byte [ebp - 0x29], 0
jne 0x1009b71b
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 2]
mov byte [edx + 4], al
movzx ecx, byte [ebp - 0xb]
or ecx, 8
mov byte [ebp - 0xb], cl
jmp 0x1009b75a
cmp byte [ebp - 0x29], 0
jne 0x1009b743
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 2]
mov byte [edx + 5], al
movzx ecx, byte [ebp - 0xb]
or ecx, 0x10
mov byte [ebp - 0xb], cl
jmp 0x1009b75a
jmp 0x1009b75f
jmp 0x1009b5f1
movzx edx, byte [ebp - 0xb]
shl edx, 0x17
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
movzx ecx, byte [ebp - 0xb]
test ecx, ecx
jne 0x1009b77e
movzx edx, byte [ebp - 0xb]
or edx, 1
mov byte [ebp - 0xb], dl
cmp byte [ebp - 0x29], 0
jne 0x1009b791
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 2]
mov byte [eax + 6], cl
cmp byte [ebp - 0x29], 0
jne 0x1009b7ad
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
movzx edx, byte [ebp - 2]
cmp edx, 0xf
jne 0x1009b7f2
mov byte [ebp - 0x29], 1
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 2], cl
cmp byte [ebp - 0x29], 0
jne 0x1009b7d5
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 2]
mov byte [edx + 7], al
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x4a
mov dword [ebp - 0x10], edx
jmp 0x1009b84e
cmp byte [ebp - 0x29], 0
jne 0x1009b805
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
movzx eax, byte [ebp - 2]
cmp eax, 0xa0
jl 0x1009b84e
cmp byte [ebp - 0x29], 0
jne 0x1009b823
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
movzx ecx, byte [ebp - 2]
cmp ecx, 0xa3
jg 0x1009b84e
movzx edx, byte [ebp - 0xb]
and edx, 0x10
je 0x1009b844
movzx eax, byte [ebp - 0xb]
or eax, 8
mov byte [ebp - 0xb], al
jmp 0x1009b84e
movzx ecx, byte [ebp - 0xb]
and ecx, 0xfffffff7
mov byte [ebp - 0xb], cl
cmp byte [ebp - 0x29], 0
jne 0x1009b861
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
mov dl, byte [ebp - 2]
mov byte [ebp - 0xa], dl
movzx eax, byte [ebp - 0xa]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax]
movzx eax, byte [ebp - 0xa]
and eax, 0x80000003
jns 0x1009b88b
dec eax
or eax, 0xfffffffc
inc eax
add eax, dword [ebp - 0x10]
mov cl, byte [eax + edx]
mov byte [ebp - 9], cl
movzx edx, byte [ebp - 9]
cmp edx, 0xff
jne 0x1009b8cb
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x3000
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov byte [ebp - 9], 0
movzx eax, byte [ebp - 0xa]
and eax, 0xfffffffd
cmp eax, 0x24
jne 0x1009b8cb
mov cl, byte [ebp - 9]
add cl, 1
mov byte [ebp - 9], cl
mov byte [ebp - 1], 0
movzx edx, byte [ebp - 9]
and edx, 0x80
je 0x1009b8fd
movzx eax, byte [ebp - 9]
and eax, 0x7f
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx + eax]
mov word [ebp - 0x18], dx
mov al, byte [ebp - 0x18]
mov byte [ebp - 9], al
movzx ecx, word [ebp - 0x18]
sar ecx, 8
mov byte [ebp - 1], cl
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 7]
test eax, eax
je 0x1009b954
mov dword [ebp - 0x10], str.JJJJKRJJJJOLJJJJJJJJUE_JJJEYMFJ_JJJJJJJJJJJJJJacgNJJkmJJEmJJDEJJ
movzx eax, byte [ebp - 0xa]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax]
movzx eax, byte [ebp - 0xa]
and eax, 0x80000003
jns 0x1009b933
dec eax
or eax, 0xfffffffc
inc eax
add eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx]
movzx edx, byte [ebp - 0xb]
and ecx, edx
je 0x1009b954
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x3000
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
movzx eax, byte [ebp - 9]
and eax, 1
je 0x1009bfa8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
or edx, 1
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
mov byte [ebp - 0x29], 1
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [ebp - 2], dl
cmp byte [ebp - 0x29], 0
jne 0x1009b98f
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 2]
mov byte [eax + 8], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp byte [ebp - 0x29], 0
jne 0x1009b9b4
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
movzx eax, byte [ebp - 2]
sar eax, 6
mov byte [ebp - 0x11], al
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x11]
mov byte [ecx + 9], dl
cmp byte [ebp - 0x29], 0
jne 0x1009b9da
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
movzx eax, byte [ebp - 2]
and eax, 7
mov byte [ebp - 0x13], al
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x13]
mov byte [ecx + 0xb], dl
cmp byte [ebp - 0x29], 0
jne 0x1009ba00
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
movzx eax, byte [ebp - 2]
and eax, 0x3f
sar eax, 3
mov byte [ebp - 0x12], al
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x12]
mov byte [ecx + 0xa], dl
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1009ba42
movzx edx, byte [ebp - 1]
movzx ecx, byte [ebp - 0x12]
shl edx, cl
and edx, 0x80
je 0x1009ba42
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x3000
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 7]
test ecx, ecx
jne 0x1009bada
movzx edx, byte [ebp - 0xa]
cmp edx, 0xd9
jl 0x1009bada
movzx eax, byte [ebp - 0xa]
cmp eax, 0xdf
jg 0x1009bada
movzx ecx, byte [ebp - 0xa]
sub ecx, 0xd9
mov byte [ebp - 0x19], cl
movzx edx, byte [ebp - 0x11]
cmp edx, 3
jne 0x1009baa2
movzx eax, byte [ebp - 0x19]
lea ecx, [eax*8 + 0x100ba0f8]
mov dword [ebp - 0x10], ecx
movzx edx, byte [ebp - 0x12]
mov eax, dword [ebp - 0x10]
movzx edx, byte [eax + edx]
movzx ecx, byte [ebp - 0x13]
shl edx, cl
mov byte [ebp - 0x19], dl
jmp 0x1009babd
mov dword [ebp - 0x10], 0x100ba0f1
movzx eax, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax]
movzx ecx, byte [ebp - 0x12]
shl edx, cl
mov byte [ebp - 0x19], dl
movzx eax, byte [ebp - 0x19]
and eax, 0x80
je 0x1009bada
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
or edx, 0x3000
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
movzx ecx, byte [ebp - 0xb]
and ecx, 0x20
je 0x1009bbbc
movzx edx, byte [ebp - 0x11]
cmp edx, 3
jne 0x1009bb07
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x9000
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
jmp 0x1009bbbc
mov al, byte [ebp - 0xa]
mov byte [ebp - 0x21], al
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 7]
test edx, edx
je 0x1009bb2a
mov dword [ebp - 0x10], 0x100ba1b9
mov eax, dword [ebp - 0x10]
add eax, 0x12
mov dword [ebp - 0x20], eax
jmp 0x1009bb44
mov dword [ebp - 0x10], 0x100ba1a1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov dword [ebp - 0x20], ecx
movzx edx, byte [ebp - 0x21]
and edx, 0xfffffffe
mov byte [ebp - 0x21], dl
jmp 0x1009bb4f
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x20]
je 0x1009bbaa
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
mov dword [ebp - 0x38], eax
movzx ecx, byte [ebp - 0x21]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x3c]
jne 0x1009bb81
mov dword [ebp - 0x40], 1
jmp 0x1009bb88
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0
je 0x1009bba8
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx]
movzx ecx, byte [ebp - 0x12]
shl edx, cl
and edx, 0x80
jne 0x1009bba6
jmp 0x1009bbbc
jmp 0x1009bbaa
jmp 0x1009bb46
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x9000
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 7]
test ecx, ecx
je 0x1009bc2d
movzx edx, byte [ebp - 0xa]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
sub eax, 0x20
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
ja case.default.0x1009bbe0
mov ecx, dword [ebp - 0x44]
jmp dword [ecx*4 + 0x1009c2ac]
mov byte [ebp - 0x11], 3
movzx edx, byte [ebp - 0x12]
cmp edx, 4
jg 0x1009bbfd
movzx eax, byte [ebp - 0x12]
cmp eax, 1
jne 0x1009bc04
jmp 0x1009bd8f
jmp 0x1009bda1
mov byte [ebp - 0x11], 3
movzx ecx, byte [ebp - 0x12]
cmp ecx, 4
je 0x1009bc1f
movzx edx, byte [ebp - 0x12]
cmp edx, 5
jne 0x1009bc26
jmp 0x1009bd8f
jmp 0x1009bda1
jmp 0x1009bc74
mov al, byte [ebp - 0xa]
mov byte [ebp - 0x48], al
cmp byte [ebp - 0x48], 0x8c
je 0x1009bc41
cmp byte [ebp - 0x48], 0x8e
je 0x1009bc56
jmp 0x1009bc74
movzx ecx, byte [ebp - 0x12]
cmp ecx, 5
jle 0x1009bc51
jmp 0x1009bd8f
jmp 0x1009bda1
movzx edx, byte [ebp - 0x12]
cmp edx, 1
je 0x1009bc68
movzx eax, byte [ebp - 0x12]
cmp eax, 5
jle 0x1009bc6f
jmp 0x1009bd8f
jmp 0x1009bda1
movzx ecx, byte [ebp - 0x11]
cmp ecx, 3
jne 0x1009bd38
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 7]
test eax, eax
je 0x1009bc9e
mov dword [ebp - 0x10], 0x100ba1da
mov ecx, dword [ebp - 0x10]
add ecx, 0x2a
mov dword [ebp - 0x28], ecx
jmp 0x1009bcae
mov dword [ebp - 0x10], 0x100ba1cb
mov edx, dword [ebp - 0x10]
add edx, 0xf
mov dword [ebp - 0x28], edx
jmp 0x1009bcb9
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x28]
je 0x1009bd34
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
mov dword [ebp - 0x4c], eax
movzx ecx, byte [ebp - 0xa]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x50]
jne 0x1009bceb
mov dword [ebp - 0x54], 1
jmp 0x1009bcf2
mov dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0
je 0x1009bd2f
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx]
movzx eax, byte [ebp - 0xb]
and edx, eax
mov dword [ebp - 0x58], edx
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x58], 0
je 0x1009bd2d
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 0x12]
shl eax, cl
and eax, 0x80
jne 0x1009bd2d
jmp 0x1009bd8f
jmp 0x1009bd34
jmp 0x1009bcb0
jmp 0x1009bda1
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 7]
test edx, edx
je 0x1009bd8d
movzx eax, byte [ebp - 0xa]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
sub ecx, 0x50
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x5c], 0xa7
ja case.0x1009bd66.1
mov edx, dword [ebp - 0x5c]
movzx eax, byte [edx + 0x1009c2cc]
jmp dword [eax*4 + 0x1009c2bc]
movzx ecx, byte [ebp - 0xb]
and ecx, 9
je 0x1009bd78
jmp 0x1009bd8f
jmp case.0x1009bd66.1
movzx edx, byte [ebp - 0xb]
and edx, 6
je 0x1009bd85
jmp 0x1009bd8f
jmp case.0x1009bd66.1
jmp 0x1009bd8f
jmp 0x1009bda1
jmp 0x1009bda1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x11000
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov byte [ebp - 0x29], 1
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 2], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
movzx eax, byte [ebp - 0x12]
cmp eax, 1
jg 0x1009bdec
movzx ecx, byte [ebp - 0xa]
cmp ecx, 0xf6
jne 0x1009bdd7
movzx edx, byte [ebp - 9]
or edx, 2
mov byte [ebp - 9], dl
jmp 0x1009bdec
movzx eax, byte [ebp - 0xa]
cmp eax, 0xf7
jne 0x1009bdec
movzx ecx, byte [ebp - 9]
or ecx, 0x10
mov byte [ebp - 9], cl
mov dl, byte [ebp - 0x11]
mov byte [ebp - 0x60], dl
cmp byte [ebp - 0x60], 0
je 0x1009be06
cmp byte [ebp - 0x60], 1
je 0x1009be2d
cmp byte [ebp - 0x60], 2
je 0x1009be33
jmp 0x1009be48
movzx eax, byte [ebp - 0xb]
and eax, 0x10
je 0x1009be1e
movzx ecx, byte [ebp - 0x13]
cmp ecx, 6
jne 0x1009be1c
mov byte [ebp - 0x14], 2
jmp 0x1009be2b
movzx edx, byte [ebp - 0x13]
cmp edx, 5
jne 0x1009be2b
mov byte [ebp - 0x14], 4
jmp 0x1009be48
mov byte [ebp - 0x14], 1
jmp 0x1009be48
mov byte [ebp - 0x14], 2
movzx eax, byte [ebp - 0xb]
and eax, 0x10
jne 0x1009be48
mov cl, byte [ebp - 0x14]
shl cl, 1
mov byte [ebp - 0x14], cl
movzx edx, byte [ebp - 0x11]
cmp edx, 3
je 0x1009bf22
movzx eax, byte [ebp - 0x13]
cmp eax, 4
jne 0x1009bf22
movzx ecx, byte [ebp - 0xb]
and ecx, 0x10
jne 0x1009bf22
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
or eax, 2
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp byte [ebp - 0x29], 0
jne 0x1009be9a
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 2]
mov byte [eax + 0xc], cl
cmp byte [ebp - 0x29], 0
jne 0x1009beb6
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
movzx edx, byte [ebp - 2]
sar edx, 6
mov eax, dword [ebp + 0xc]
mov byte [eax + 0xd], dl
cmp byte [ebp - 0x29], 0
jne 0x1009bed6
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
movzx ecx, byte [ebp - 2]
and ecx, 0x3f
sar ecx, 3
mov edx, dword [ebp + 0xc]
mov byte [edx + 0xe], cl
cmp byte [ebp - 0x29], 0
jne 0x1009bef9
push 0x1009c1bc
call fcn.1009d46d
add esp, 4
movzx eax, byte [ebp - 2]
and eax, 7
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x64]
mov byte [ecx + 0xf], dl
movzx eax, byte [ebp - 0x64]
cmp eax, 5
jne 0x1009bf22
movzx ecx, byte [ebp - 0x11]
and ecx, 1
jne 0x1009bf22
mov byte [ebp - 0x14], 4
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
mov al, byte [ebp - 0x14]
mov byte [ebp - 0x68], al
cmp byte [ebp - 0x68], 1
je 0x1009bf45
cmp byte [ebp - 0x68], 2
je 0x1009bf61
cmp byte [ebp - 0x68], 4
je 0x1009bf7f
jmp 0x1009bf9c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
or edx, 0x20
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ecx + 0x14], al
jmp 0x1009bf9c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
or edx, 0x40
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ecx + 0x14], ax
jmp 0x1009bf9c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
or edx, 0x80
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ecx + 0x14], eax
movzx ecx, byte [ebp - 0x14]
add ecx, dword [ebp - 8]
mov dword [ebp - 8], ecx
jmp 0x1009bfc3
movzx edx, byte [ebp - 0xb]
and edx, 0x20
je 0x1009bfc3
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x9000
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
movzx eax, byte [ebp - 9]
and eax, 0x10
je 0x1009c067
movzx ecx, byte [ebp - 9]
and ecx, 0x40
je 0x1009c014
movzx edx, byte [ebp - 0xb]
and edx, 8
je 0x1009c00f
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x108
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dx, word [ecx]
mov word [eax + 0x10], dx
mov eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 8], eax
jmp 0x1009c176
jmp 0x1009c11f
movzx ecx, byte [ebp - 0xb]
and ecx, 8
je 0x1009c044
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
or eax, 8
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov cx, word [eax]
mov word [edx + 0x10], cx
mov edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 8], edx
jmp 0x1009c067
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x10
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
movzx ecx, byte [ebp - 9]
and ecx, 4
je 0x1009c0ea
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
and eax, 0x10
je 0x1009c099
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
or edx, 8
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ecx + 0x14], ax
jmp 0x1009c0e1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
and edx, 8
je 0x1009c0c5
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x800
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dx, word [ecx]
mov word [eax + 0x14], dx
jmp 0x1009c0e1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 8
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dx, word [ecx]
mov word [eax + 0x10], dx
mov eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 8], eax
movzx ecx, byte [ebp - 9]
and ecx, 2
je 0x1009c116
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
or eax, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [edx + 0x10], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
movzx eax, byte [ebp - 9]
and eax, 0x40
je 0x1009c147
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
or edx, 0x110
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
jmp 0x1009c176
movzx edx, byte [ebp - 9]
and edx, 0x20
je 0x1009c176
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x104
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [eax + 0x10], dl
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp + 8]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 0x6c]
mov byte [edx], al
movzx ecx, byte [ebp - 0x6c]
cmp ecx, 0xf
jle 0x1009c1a7
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
or eax, 0x5000
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp + 0xc]
mov byte [edx], 0xf
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
pop edi
add esp, 0x6c
cmp ebp, esp
call fcn.1009d156
mov esp, ebp
pop ebp
ret