Function at 0x46a9c4
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.00462a74
test eax, eax
je 0x46a9fe
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 0x46aa0f
mov eax, dword [edi]
mov ebx, dword [eax + 0x3c]
jmp 0x46aa3d
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x46aa37
mov esi, dword [esi + 0x4c8]
lea eax, [ebp - 0xc]
push eax
mov edx, esi
mov cl, 0x30
call fcn.0048ba09
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 0x46aa0f
mov esi, dword [ebp - 0x1c]
add esi, edx
test byte [edi + 0x410], 3
jne 0x46ac85
test byte [edi + 0x40e], 4
lea ebx, [esi + 9]
mov dword [ebp - 0x1c], ebx
jne 0x46aa76
xor edx, edx
mov ecx, edi
inc edx
call fcn.00462aa9
test eax, eax
je 0x46aa76
add ebx, 0x66
mov dword [ebp - 0x1c], ebx
xor edx, edx
mov ecx, edi
inc edx
call fcn.00462aa9
test eax, eax
je 0x46aa8e
call fcn.0046a4f3
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov edx, ebx
mov ecx, edi
call fcn.00465683
test eax, eax
jne 0x46ac87
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.0046510e
mov byte [ebx + 9], 1
mov al, byte [edi + 0x415]
pop ecx
pop ecx
cmp al, 0xc0
je 0x46aacd
cmp al, 0xcc
jne 0x46aad8
cmp byte [edi + 0x2dc], 3
mov al, 0x40
je 0x46aada
mov al, 1
push 0xb
pop esi
mov ecx, edi
mov byte [ebx + 0xa], al
call fcn.00462a74
test eax, eax
je 0x46ab22
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.004cc9b0
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 0x46ab48
mov eax, dword [edi]
mov eax, dword [eax + 0x3c]
jmp 0x46abc1
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x46abbb
mov edx, dword [ecx + 0x4c8]
lea eax, [ebp - 0x14]
push eax
mov cl, 0x30
call fcn.0048ba09
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.0048ba09
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.004cc9b0
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 0x46ab48
xor edx, edx
mov ecx, edi
inc edx
call fcn.00462aa9
test eax, eax
je 0x46ac43
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 0x46abf8
mov eax, 0xffffff7c
jmp 0x46ac87
mov ecx, esi
call fcn.0049945a
mov ecx, eax
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x46ac0d
push 0xffffffffffffff83
pop eax
jmp 0x46ac87
mov eax, dword [ebp - 0x18]
push esi
add eax, ebx
push eax
push ecx
call fcn.004cc9b0
push 1
push 0x16
push esi
push dword [ebp - 0xc]
mov edx, ebx
mov ecx, edi
push dword [ebp - 0x1c]
call fcn.0046a032
mov ecx, dword [ebp - 0xc]
add esp, 0x20
mov esi, eax
call fcn.0049946f
test esi, esi
jns 0x46ac53
mov eax, esi
jmp 0x46ac87
push 0
push esi
mov edx, ebx
call fcn.00465053
pop ecx
pop ecx
test eax, eax
jne 0x46ac87
cmp byte [edi + 0x4e1], 0
je 0x46ac6d
push ecx
push 1
push esi
push ebx
push 0x16
mov ecx, edi
call fcn.0046be54
add esp, 0x14
add dword [edi + 0x20c], esi
test byte [edi + 0x410], 0x80
jne 0x46ac85
mov ecx, edi
call fcn.0046543f
jmp 0x46ac87
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004caa72
leave
ret