Function at 0x46a933
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.004629e3
test eax, eax
je 0x46a96d
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 0x46a97e
mov eax, dword [edi]
mov ebx, dword [eax + 0x3c]
jmp 0x46a9ac
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x46a9a6
mov esi, dword [esi + 0x4c8]
lea eax, [ebp - 0xc]
push eax
mov edx, esi
mov cl, 0x30
call fcn.0048b978
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 0x46a97e
mov esi, dword [ebp - 0x1c]
add esi, edx
test byte [edi + 0x410], 3
jne 0x46abf4
test byte [edi + 0x40e], 4
lea ebx, [esi + 9]
mov dword [ebp - 0x1c], ebx
jne 0x46a9e5
xor edx, edx
mov ecx, edi
inc edx
call fcn.00462a18
test eax, eax
je 0x46a9e5
add ebx, 0x66
mov dword [ebp - 0x1c], ebx
xor edx, edx
mov ecx, edi
inc edx
call fcn.00462a18
test eax, eax
je 0x46a9fd
call fcn.0046a462
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov edx, ebx
mov ecx, edi
call fcn.004655f2
test eax, eax
jne 0x46abf6
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.0046507d
mov byte [ebx + 9], 1
mov al, byte [edi + 0x415]
pop ecx
pop ecx
cmp al, 0xc0
je 0x46aa3c
cmp al, 0xcc
jne 0x46aa47
cmp byte [edi + 0x2dc], 3
mov al, 0x40
je 0x46aa49
mov al, 1
push 0xb
pop esi
mov ecx, edi
mov byte [ebx + 0xa], al
call fcn.004629e3
test eax, eax
je 0x46aa91
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.004cc920
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 0x46aab7
mov eax, dword [edi]
mov eax, dword [eax + 0x3c]
jmp 0x46ab30
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x46ab2a
mov edx, dword [ecx + 0x4c8]
lea eax, [ebp - 0x14]
push eax
mov cl, 0x30
call fcn.0048b978
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.0048b978
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.004cc920
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 0x46aab7
xor edx, edx
mov ecx, edi
inc edx
call fcn.00462a18
test eax, eax
je 0x46abb2
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 0x46ab67
mov eax, 0xffffff7c
jmp 0x46abf6
mov ecx, esi
call fcn.004993ca
mov ecx, eax
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x46ab7c
push 0xffffffffffffff83
pop eax
jmp 0x46abf6
mov eax, dword [ebp - 0x18]
push esi
add eax, ebx
push eax
push ecx
call fcn.004cc920
push 1
push 0x16
push esi
push dword [ebp - 0xc]
mov edx, ebx
mov ecx, edi
push dword [ebp - 0x1c]
call fcn.00469fa1
mov ecx, dword [ebp - 0xc]
add esp, 0x20
mov esi, eax
call fcn.004993df
test esi, esi
jns 0x46abc2
mov eax, esi
jmp 0x46abf6
push 0
push esi
mov edx, ebx
call fcn.00464fc2
pop ecx
pop ecx
test eax, eax
jne 0x46abf6
cmp byte [edi + 0x4e1], 0
je 0x46abdc
push ecx
push 1
push esi
push ebx
push 0x16
mov ecx, edi
call fcn.0046bdc3
add esp, 0x14
add dword [edi + 0x20c], esi
test byte [edi + 0x410], 0x80
jne 0x46abf4
mov ecx, edi
call fcn.004653ae
jmp 0x46abf6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ca9dc
leave
ret