Function at 0x10099dd0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1029912c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], 9
xor ecx, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 4
mov al, byte [edi + 0x4b8]
cmp al, 3
jne 0x10099e0f
cmp byte [edi + 0x4b9], al
jb 0x10099e29
jmp 0x10099e1c
cmp al, 0xfe
jne 0x10099e29
cmp byte [edi + 0x4b9], 0xfd
ja 0x10099e29
mov eax, dword [edi + 4]
movzx edx, word [eax + 2]
add edx, 6
mov dword [ebp - 0x1c], edx
mov eax, dword [edi]
mov ebx, dword [eax + 0x3c]
test ebx, ebx
je 0x10099e5c
mov eax, dword [ebx + 8]
lea edx, [ebp - 0xb]
mov esi, dword [eax + 0x10a4]
mov ecx, esi
call fcn.100a70a0
mov ecx, dword [ebp - 0x18]
add eax, esi
mov ebx, dword [ebx + 0x120]
add ecx, 3
add ecx, eax
mov dword [ebp - 0x18], ecx
test ebx, ebx
jne 0x10099e32
mov ebx, dword [ebp - 0x1c]
add ebx, ecx
test byte [edi + 0x630], 3
jne 0x1009a1ae
test byte [edi + 0x62e], 2
mov al, byte [edi + 0x624]
jne 0x10099e8e
test al, al
mov ecx, 0x6f
mov edx, 9
cmove ecx, edx
jmp 0x10099e9a
mov dword [ebp - 0x24], 0x19
mov ecx, 0x19
lea edx, [ebx + ecx]
mov dword [ebp - 0x28], edx
test al, al
je 0x10099ed4
movzx eax, byte [edi + 0x4c9]
movzx ecx, byte [edi + 0x4ca]
add ecx, eax
movzx eax, word [edi + 0x4c2]
add ecx, eax
movzx eax, word [edi + 0x4c0]
add eax, edx
movzx edx, word [edi + 0x4be]
add eax, ecx
add edx, eax
mov dword [ebp - 0x28], edx
mov ecx, edi
call fcn.10092550
test eax, eax
jne 0x1009a1b0
mov esi, dword [edi + 0x210]
mov edx, ebx
mov eax, dword [edi + 0x214]
add esi, eax
push edi
push 0xd
mov ecx, esi
mov dword [ebp - 0x1c], esi
call fcn.10092330
mov ecx, dword [ebp - 0x24]
add esp, 8
mov byte [esi + ecx], 1
mov al, byte [edi + 0x635]
cmp al, 0xc0
je 0x10099f18
cmp al, 0xcc
jne 0x10099f23
cmp byte [edi + 0x4c8], 3
mov al, 0x40
je 0x10099f25
mov al, 1
mov byte [ecx + esi + 1], al
lea ebx, [ecx + 2]
mov al, byte [edi + 0x4b8]
cmp al, 3
jne 0x10099f40
cmp byte [edi + 0x4b9], al
jb 0x10099f87
jmp 0x10099f4d
cmp al, 0xfe
jne 0x10099f87
cmp byte [edi + 0x4b9], 0xfd
ja 0x10099f87
mov eax, dword [edi + 4]
movzx ecx, word [eax + 2]
mov eax, ecx
mov byte [ebx + esi + 1], cl
shr eax, 8
mov byte [ebx + esi], al
add ebx, 2
mov ecx, dword [edi + 4]
movzx eax, word [ecx + 2]
push eax
lea eax, [ecx + 0x130]
push eax
lea eax, [esi + ebx]
push eax
call fcn.101ec960
mov eax, dword [edi + 4]
add esp, 0xc
movzx eax, word [eax + 2]
add ebx, eax
mov ecx, dword [ebp - 0x18]
mov eax, ecx
shr eax, 8
mov byte [esi + ebx], al
mov byte [esi + ebx + 1], cl
add ebx, 2
mov eax, dword [edi]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1009a036
mov edi, esi
mov esi, eax
nop dword [eax]
mov eax, dword [esi + 8]
lea edx, [ebp - 0x13]
mov esi, dword [eax + 0x10a4]
mov ecx, esi
call fcn.100a70a0
inc esi
add eax, esi
mov esi, dword [ebp - 0x18]
movzx ecx, ax
mov eax, ecx
mov byte [edi + ebx + 1], cl
shr eax, 8
mov byte [edi + ebx], al
add ebx, 2
mov eax, dword [esi + 8]
lea edx, [edi + ebx]
mov ecx, dword [eax + 0x10a4]
test edx, edx
je 0x10099fee
mov byte [edx], 0x30
lea eax, [edx + 1]
neg edx
sbb edx, edx
and edx, eax
call fcn.100a70a0
inc eax
add ebx, eax
mov eax, dword [esi + 8]
push dword [eax + 0x10a4]
add eax, 0xf78
push eax
lea eax, [edi + ebx]
push eax
call fcn.101ec960
mov eax, dword [esi + 8]
add esp, 0xc
mov esi, dword [esi + 0x120]
mov dword [ebp - 0x18], esi
add ebx, dword [eax + 0x10a4]
test esi, esi
jne 0x10099fb0
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
cmp byte [edi + 0x624], 0
movzx eax, word [edi + 0x62e]
je 0x1009a117
and eax, 2
shl eax, 2
or eax, 5
sub ebx, eax
mov dword [ebp - 0x20], eax
mov eax, dword [0x102a8bb8]
push ebx
test eax, eax
je 0x1009a06b
call eax
mov ecx, eax
mov dword [ebp - 0x18], ecx
jmp 0x1009a075
call fcn.101f2716
mov ecx, eax
mov dword [ebp - 0x18], eax
add esp, 4
test ecx, ecx
jne 0x1009a090
lea eax, [ecx - 0x7d]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101d506b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
push ebx
add eax, esi
push eax
push ecx
call fcn.101ec960
add esp, 0xc
mov ecx, edi
call fcn.1008e6a0
test eax, eax
je 0x1009a0dc
mov edx, dword [ebp - 0x18]
push 0xd
push ebx
call fcn.10091be0
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1009a0dc
mov ecx, dword [ebp - 0x18]
call fcn.100d1c70
mov eax, dword [ebp - 0x20]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101d506b
mov esp, ebp
pop ebp
ret
sub esp, 0xc
mov edx, esi
mov ecx, edi
push 1
push 0x16
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x28]
call fcn.100990d0
mov ecx, dword [ebp - 0x18]
add esp, 0x20
mov ebx, eax
call fcn.100d1c70
test ebx, ebx
jns 0x1009a16d
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101d506b
mov esp, ebp
pop ebp
ret
test al, 2
je 0x1009a137
test byte [edi + 0x632], 8
jne 0x1009a137
push 0xd
push ebx
mov edx, esi
mov ecx, edi
call fcn.10091be0
add esp, 8
test eax, eax
jne 0x1009a1b0
test byte [edi + 0x62e], 2
je 0x1009a15a
mov ecx, dword [edi + 0x60c]
lea eax, [ecx + 1]
mov dword [edi + 0x60c], eax
cmp ecx, eax
jbe 0x1009a15a
inc word [edi + 0x60a]
push 0
push ebx
mov edx, esi
mov ecx, edi
call fcn.10092170
add esp, 8
test eax, eax
jne 0x1009a1b0
cmp byte [edi + 0x73d], 0
je 0x1009a187
push ecx
push 1
push ebx
push esi
push 0x16
mov ecx, edi
call fcn.1009b320
add esp, 0x14
add dword [edi + 0x214], ebx
test byte [edi + 0x630], 0x80
jne 0x1009a1ae
mov ecx, edi
call fcn.10092480
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101d506b
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101d506b
mov esp, ebp
pop ebp
ret