Function at 0x46a94e
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], 4
mov edi, ecx
mov dword [ebp - 0x18], edx
call fcn.004629fe
test eax, eax
je 0x46a988
mov eax, dword [edi + 4]
movzx edx, word [eax + 2]
add edx, 6
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x18]
mov ebx, dword [edi + 0x1220]
test ebx, ebx
jne 0x46a999
mov eax, dword [edi]
mov ebx, dword [eax + 0x3c]
jmp 0x46a9c7
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x46a9c1
mov esi, dword [esi + 0x4c8]
lea eax, [ebp - 0xc]
push eax
mov edx, esi
mov cl, 0x30
call fcn.0048b996
mov edx, dword [ebp - 0x18]
add eax, esi
add edx, 2
add edx, eax
pop ecx
mov dword [ebp - 0x18], edx
mov ebx, dword [ebx + 0x128]
test ebx, ebx
jne 0x46a999
mov esi, dword [ebp - 0x1c]
add esi, edx
test byte [edi + 0x410], 3
jne 0x46ac0f
test byte [edi + 0x40e], 4
lea ebx, [esi + 9]
mov dword [ebp - 0x1c], ebx
jne 0x46aa00
xor edx, edx
mov ecx, edi
inc edx
call fcn.00462a33
test eax, eax
je 0x46aa00
add ebx, 0x66
mov dword [ebp - 0x1c], ebx
xor edx, edx
mov ecx, edi
inc edx
call fcn.00462a33
test eax, eax
je 0x46aa18
call fcn.0046a47d
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov edx, ebx
mov ecx, edi
call fcn.0046560d
test eax, eax
jne 0x46ac11
mov ebx, dword [edi + 0x208]
mov edx, esi
mov eax, dword [edi + 0x20c]
add ebx, eax
push edi
push 0xd
mov ecx, ebx
call fcn.00465098
mov byte [ebx + 9], 1
mov al, byte [edi + 0x415]
pop ecx
pop ecx
cmp al, 0xc0
je 0x46aa57
cmp al, 0xcc
jne 0x46aa62
cmp byte [edi + 0x2dc], 3
mov al, 0x40
je 0x46aa64
mov al, 1
push 0xb
pop esi
mov ecx, edi
mov byte [ebx + 0xa], al
call fcn.004629fe
test eax, eax
je 0x46aaac
mov eax, dword [edi + 4]
movzx ecx, word [eax + 2]
mov eax, ecx
mov byte [ebx + 0xc], cl
shr eax, 8
mov byte [ebx + 0xb], al
mov ecx, dword [edi + 4]
movzx eax, word [ecx + 2]
push eax
lea eax, [ecx + 0x130]
push eax
lea eax, [ebx + 0xd]
push eax
call fcn.004cc940
mov eax, dword [edi + 4]
add esp, 0xc
movzx esi, word [eax + 2]
add esi, 0xd
mov ecx, dword [ebp - 0x18]
mov eax, ecx
shr eax, 8
mov byte [ebx + esi], al
mov byte [ebx + esi + 1], cl
add esi, 2
mov eax, dword [edi + 0x1220]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x46aad2
mov eax, dword [edi]
mov eax, dword [eax + 0x3c]
jmp 0x46ab4b
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x46ab45
mov edx, dword [ecx + 0x4c8]
lea eax, [ebp - 0x14]
push eax
mov cl, 0x30
call fcn.0048b996
mov edx, dword [ebp - 0x18]
pop ecx
add ax, word [edx + 0x4c8]
movzx ecx, ax
mov eax, ecx
mov byte [ebx + esi + 1], cl
shr eax, 8
mov cl, 0x30
mov byte [ebx + esi], al
add esi, 2
mov edx, dword [edx + 0x4c8]
lea eax, [ebx + esi]
push eax
call fcn.0048b996
add esi, eax
mov eax, dword [ebp - 0x18]
pop ecx
push dword [eax + 0x4c8]
add eax, 0x37c
push eax
lea eax, [ebx + esi]
push eax
call fcn.004cc940
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov eax, dword [ebp - 0xc]
add esi, dword [edx + 0x4c8]
mov eax, dword [eax + 0x128]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x46aad2
xor edx, edx
mov ecx, edi
inc edx
call fcn.00462a33
test eax, eax
je 0x46abcd
movzx eax, word [edi + 0x40e]
and eax, 4
add eax, eax
or eax, 5
sub esi, eax
mov dword [ebp - 0x18], eax
test esi, esi
jg 0x46ab82
mov eax, 0xffffff7c
jmp 0x46ac11
mov ecx, esi
call fcn.004993e8
mov ecx, eax
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x46ab97
push 0xffffffffffffff83
pop eax
jmp 0x46ac11
mov eax, dword [ebp - 0x18]
push esi
add eax, ebx
push eax
push ecx
call fcn.004cc940
push 1
push 0x16
push esi
push dword [ebp - 0xc]
mov edx, ebx
mov ecx, edi
push dword [ebp - 0x1c]
call fcn.00469fbc
mov ecx, dword [ebp - 0xc]
add esp, 0x20
mov esi, eax
call fcn.004993fd
test esi, esi
jns 0x46abdd
mov eax, esi
jmp 0x46ac11
push 0
push esi
mov edx, ebx
call fcn.00464fdd
pop ecx
pop ecx
test eax, eax
jne 0x46ac11
cmp byte [edi + 0x4e1], 0
je 0x46abf7
push ecx
push 1
push esi
push ebx
push 0x16
mov ecx, edi
call fcn.0046bdde
add esp, 0x14
add dword [edi + 0x20c], esi
test byte [edi + 0x410], 0x80
jne 0x46ac0f
mov ecx, edi
call fcn.004653c9
jmp 0x46ac11
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ca9ff
leave
ret