Function at 0x4af450
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
mov dword [ebp - 8], ebx
call fcn.0042f510
test eax, eax
jne 0x4af5b0
cmp word [esi + 0x191dc], ax
je 0x4af489
mov dword [esi + 0x19e7c], 3
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x4af49d
cmp byte [ebx], 0x2d
jne 0x4af49d
lea edi, [esi + 0x19e7c]
jmp 0x4af51f
push ebx
lea edx, [esi + 0x17594]
mov ecx, esi
call fcn.004279f0
add esp, 4
mov dword [esi + 0x19e7c], eax
lea ecx, [esi + 0x19e7c]
test eax, eax
jne 0x4af515
mov word [esi + 0x191ec], ax
cmp word [esi + 0x191e4], ax
je 0x4af4e4
test dword [esi + 4], 0x1000
je 0x4af4e4
mov dword [ecx], 0x17
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [esi + 0x656a], ax
je 0x4af50d
inc dword [esi + 0x656c]
mov eax, dword [esi + 0x656c]
cmp eax, dword [esi + 0x60]
jbe 0x4af50d
mov dword [ecx], 0x32
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ecx], 0
xor eax, eax
mov edi, ecx
test eax, eax
jne 0x4af480
push fcn.004626d0
push 0x45bfa0
lea eax, [esi + 0x18594]
mov ecx, esi
push eax
lea eax, [esi + 0x18194]
push eax
push 0xcc
push 0x17
push dword [ebp + 8]
lea edx, [esi + 0x17994]
call fcn.0042bab0
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x4af480
mov eax, dword [esi + 0x191f4]
test eax, eax
je 0x4af5ed
cmp eax, 0x17
je 0x4af5e5
cmp word [esi + 0x191ec], 0
jne 0x4af594
cmp word [esi + 0x656a], 0
mov eax, 1
mov word [esi + 0x191ec], ax
je 0x4af594
dec dword [esi + 0x656c]
push dword [ebp + 0xc]
mov byte [esi + 0x17994], 0
mov ecx, ebx
push dword [ebp - 8]
mov eax, dword [ebx]
push esi
call dword [eax + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x19e7c]
lea edi, [esi + 0x19e7c]
mov ecx, edi
mov eax, edx
cmp edx, 6
jne 0x4af515
test ebx, ebx
je 0x4af515
cmp byte [ebx], 0x2d
jne 0x4af515
mov dword [edi], 0
jmp 0x4af51f
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 8]
push ecx
push 4
mov edx, str.targetNamespace
mov ecx, esi
call fcn.0042e880
add esp, 8
test eax, eax
je 0x4af63b
push 0
sub esp, 8
mov edx, eax
mov ecx, esi
push 4
call fcn.00431d80
add esp, 0x10
test eax, eax
je 0x4af63b
mov edx, eax
mov ecx, esi
call fcn.00426d00
mov dword [ebx + 4], eax
test eax, eax
jne 0x4af63b
mov dword [esi + 0x19e7c], 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi], 0
jne 0x4af480
push ecx
push 1
mov edx, str.version
mov ecx, esi
call fcn.0042e880
add esp, 8
test eax, eax
je 0x4af690
push 0
sub esp, 8
mov edx, eax
mov ecx, esi
push 1
call fcn.00431d80
add esp, 0x10
test eax, eax
je 0x4af690
mov edx, eax
mov ecx, esi
call fcn.00426d00
mov dword [ebx + 8], eax
test eax, eax
jne 0x4af690
mov dword [edi], 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi], 0
jne 0x4af480
push ecx
push 5
mov edx, str.defaultAttributes
mov ecx, esi
call fcn.0042e880
add esp, 8
test eax, eax
je 0x4af6d9
push str._i__:___c__:__
sub esp, 8
mov edx, eax
mov ecx, esi
push 5
call fcn.00431d80
add esp, 0x10
test eax, eax
je 0x4af6d9
mov edx, eax
mov ecx, esi
call fcn.00426d00
mov dword [ebx + 0xc], eax
test eax, eax
je 0x4af681
cmp dword [edi], 0
jne 0x4af480
lea eax, [ebx + 0x10]
mov edx, str.attributeFormDefault
push eax
push ecx
push 5
mov ecx, esi
call fcn.0042e880
add esp, 8
mov edx, eax
mov ecx, esi
call fcn.00467e90
add esp, 4
test eax, eax
jne 0x4af480
lea eax, [ebx + 0x14]
mov edx, str.elementFormDefault
push eax
push ecx
push 5
mov ecx, esi
call fcn.0042e880
add esp, 8
mov edx, eax
mov ecx, esi
call fcn.00467e90
add esp, 4
test eax, eax
jne 0x4af480
cmp word [esi + 0x656a], 0
lea eax, [esi + 0x17d94]
mov ecx, 1
mov dword [ebp - 4], ecx
je 0x4af918
cmp byte [eax], 0x23
je 0x4af918
nop dword [eax + eax]
mov dword [edi], 3
test ecx, ecx
je 0x4af78b
push ecx
lea eax, [ebx + 0x18]
mov edx, str.xs:annotation
push eax
mov ecx, esi
call fcn.004c0220
add esp, 8
test eax, eax
je 0x4af78b
mov ecx, dword [ebp - 4]
dec ecx
mov dword [ebp - 4], ecx
jmp 0x4af760
cmp dword [edi], 3
jne 0x4af8d4
push ecx
lea eax, [ebx + 0x1c]
mov ecx, esi
push eax
call fcn.004d29d0
mov ecx, dword [ebp - 4]
add esp, 8
test eax, eax
jne 0x4af760
cmp dword [edi], 3
jne 0x4af8d4
push ecx
lea eax, [ebx + 0x28]
mov ecx, esi
push eax
call fcn.004d2300
mov ecx, dword [ebp - 4]
add esp, 8
test eax, eax
jne 0x4af760
cmp dword [edi], 3
jne 0x4af8d4
push ecx
lea eax, [ebx + 0x34]
mov ecx, esi
push eax
call fcn.004d1c60
mov ecx, dword [ebp - 4]
add esp, 8
test eax, eax
jne 0x4af760
cmp dword [edi], 3
jne 0x4af8d4
push ecx
lea eax, [ebx + 0x40]
mov ecx, esi
push eax
call fcn.004d15f0
mov ecx, dword [ebp - 4]
add esp, 8
test eax, eax
jne 0x4af760
cmp dword [edi], 3
jne 0x4af8d4
push ecx
lea eax, [ebx + 0x4c]
mov ecx, esi
push eax
call fcn.004d5fa0
mov ecx, dword [ebp - 4]
add esp, 8
test eax, eax
jne 0x4af760
cmp dword [edi], 3
jne 0x4af8d4
push ecx
lea eax, [ebx + 0x58]
mov ecx, esi
push eax
call fcn.004d6820
mov ecx, dword [ebp - 4]
add esp, 8
test eax, eax
jne 0x4af760
cmp dword [edi], 3
jne 0x4af8d4
push ecx
lea eax, [ebx + 0x64]
mov ecx, esi
push eax
call fcn.004d3840
mov ecx, dword [ebp - 4]
add esp, 8
test eax, eax
jne 0x4af760
cmp dword [edi], 3
jne 0x4af8d4
push ecx
lea eax, [ebx + 0x70]
mov ecx, esi
push eax
call fcn.004d5900
mov ecx, dword [ebp - 4]
add esp, 8
test eax, eax
jne 0x4af760
cmp dword [edi], 3
jne 0x4af8d4
push ecx
lea eax, [ebx + 0x7c]
mov ecx, esi
push eax
call fcn.004d3e90
mov ecx, dword [ebp - 4]
add esp, 8
test eax, eax
jne 0x4af760
cmp dword [edi], 3
jne 0x4af8d4
push ecx
lea eax, [ebx + 0x88]
mov ecx, esi
push eax
call fcn.004d3020
mov ecx, dword [ebp - 4]
add esp, 8
test eax, eax
jne 0x4af760
mov eax, dword [edi]
cmp eax, 3
jne 0x4af8e4
mov ecx, esi
call fcn.004587a0
mov dword [edi], eax
cmp eax, 6
je 0x4af8f9
test eax, eax
jne 0x4af480
mov ecx, dword [ebp - 4]
jmp 0x4af760
mov edx, dword [ebp - 8]
mov ecx, esi
call fcn.0042e6e0
test eax, eax
jne 0x4af480
push ecx
mov ecx, ebx
call fcn.00405460
jmp 0x4afa78
test eax, eax
je 0x4afa64
cmp byte [eax], 0
je 0x4afa64
mov edx, eax
mov ecx, esi
call fcn.0042b900
mov edi, eax
test edi, edi
jne 0x4af95a
push 0xcc
push 0x17
lea edx, [esi + 0x17d94]
mov ecx, esi
call fcn.0042b960
mov edi, eax
add esp, 8
test edi, edi
jne 0x4af971
jmp 0x4afa62
cmp dword [edi + 4], 0x17
jne 0x4afa55
cmp dword [edi + 8], 0xcc
jne 0x4afa55
push 0x18
call fcn.004fe9dc
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x4af991
mov dword [esi + 0x19e7c], 0x14
jmp 0x4afa62
push dword [edi + 4]
push 0x17
call fcn.004626d0
add esp, 8
test eax, eax
je 0x4af9cf
cmp dword [edi + 0xc], 0
jne 0x4af9cf
cmp dword [edi + 0x18], 0
jne 0x4af9cf
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4af9c1
cmp dword [eax + 0xc], 0
je 0x4af9cf
mov eax, dword [eax]
test eax, eax
jne 0x4af9b5
mov dword [edi + 4], 0x17
mov dword [edi + 8], 0xcc
mov eax, dword [edi + 4]
cmp eax, 0x17
jne 0x4af9e0
cmp dword [edi + 8], 0xcc
je case.0x4af9f3.488
add eax, 0xfffffef1
cmp eax, 0xd9
ja case.0x4af9f3.271
movzx eax, byte [eax + 0x4afa98]
jmp dword [eax*4 + 0x4afa8c]
mov ecx, dword [ebp - 4]
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x1c], ecx
cmp dword [esi + 0x90], 0
mov dword [ecx], eax
mov dword [ecx + 4], 0x17
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0x462820
jne 0x4afa3f
cmp word [esi + 0x5fde], 0
jne 0x4afa3f
xor eax, eax
mov word [edi + 0x24], ax
jmp 0x4afa64
mov eax, 1
mov word [edi + 0x24], ax
jmp 0x4afa64
push dword [ebp - 4]
call fcn.004f6893
add esp, 4
lea edx, [esi + 0x17d94]
mov ecx, esi
call fcn.0042bd90
xor ebx, ebx
cmp word [esi + 0x656a], 0
je 0x4afa80
mov edx, dword [ebp - 8]
mov ecx, esi
call fcn.0042e6e0
test eax, eax
jne 0x4af480
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret