Function at 0x464cd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
mov eax, dword [eax + 0x78]
mov dword [esp + 0x1c], eax
push edi
test eax, eax
je 0x464f60
lea eax, [esp + 0x24]
push eax
call fcn.0047d7c0
mov ebx, dword [esp + 0x40]
add esp, 4
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebp, dword [eax + 8]
mov eax, dword [eax + 0xc]
push 0
push 0x3e8
push dword [esp + 0x48]
mov dword [esp + 0x28], eax
push ebx
call fcn.004bac20
mov ecx, edx
mov edx, eax
add edx, esi
mov dword [esp + 0x14], edx
adc ecx, edi
imul eax, eax, 0x3e8
mov dword [esp + 0x10], ecx
sub ebx, eax
imul eax, ebx, 0x3e8
add eax, ebp
mov dword [esp + 0x18], eax
cmp eax, 0xf4240
jl 0x464d5d
add edx, 1
mov dword [esp + 0x14], edx
adc ecx, 0
add eax, 0xfff0bdc0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x38]
mov eax, dword [ebx + 0xda0]
lea edi, [ebx + 0xda0]
mov esi, dword [esp + 0x44]
test eax, eax
je 0x464d99
mov ecx, dword [eax]
cmp dword [ecx + 0x20], esi
je 0x464d85
mov eax, dword [eax + 8]
test eax, eax
jne 0x464d75
jmp 0x464d95
push 0
push eax
push edi
call fcn.0047dac0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x10]
lea eax, [esi*4 + 0x1b6]
xor ebp, ebp
add eax, esi
lea edi, [ebx + eax*8]
mov eax, dword [esp + 0x18]
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x1c], eax
lea eax, [ebx + 0xda0]
push eax
mov dword [edi + 0x20], esi
call fcn.0047d960
add esp, 4
test eax, eax
je 0x464e35
mov esi, dword [ebx + 0xda0]
test esi, esi
je 0x464e35
jmp 0x464de0
mov eax, dword [edi + 0x10]
sub esp, 0x10
mov edx, dword [esi]
mov ecx, esp
sub esp, 0x10
mov dword [ecx], eax
mov eax, dword [edi + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x18]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x1c]
mov dword [ecx + 0xc], eax
mov ecx, esp
mov eax, dword [edx + 0x10]
mov dword [ecx], eax
mov eax, dword [edx + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [edx + 0x18]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0x1c]
mov dword [ecx + 0xc], eax
call fcn.0047d870
add esp, 0x20
test edx, edx
jg 0x464e35
jl 0x464e2c
test eax, eax
jne 0x464e35
mov ebp, esi
mov esi, dword [esi + 8]
test esi, esi
jne 0x464de0
push edi
push edi
push ebp
lea esi, [ebx + 0xda0]
push esi
call fcn.0047da40
mov eax, dword [ebx + 0xd68]
add esp, 0x10
or eax, dword [ebx + 0xd6c]
jne 0x464e61
cmp dword [ebx + 0xd70], eax
je 0x464ef1
mov eax, dword [ebx + 0xd68]
sub esp, 0x10
mov esi, dword [esp + 0x24]
mov ecx, esp
mov edi, dword [esp + 0x20]
sub esp, 0x10
mov dword [ecx], eax
mov eax, dword [ebx + 0xd6c]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 0xd70]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0xd74]
mov dword [ecx + 0xc], eax
mov eax, esp
mov ecx, dword [esp + 0x38]
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
call fcn.0047d870
add esp, 0x20
test edx, edx
jg 0x464f60
jl 0x464ec3
test eax, eax
jne 0x464f60
mov ebp, dword [esp + 0x20]
lea eax, [ebx + 0xd78]
lea ecx, [ebp + 0x5c]
push ecx
push eax
push dword [ecx]
call fcn.0047f030
add esp, 0xc
test eax, eax
je 0x464efd
push eax
push str.Internal_error_removing_splay_node___d_n
push ebx
call fcn.00477080
add esp, 0xc
jmp 0x464efd
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov dword [ebx + 0xd68], esi
mov dword [ebx + 0xd6c], edi
mov dword [ebx + 0xd70], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0xd74], eax
lea eax, [ebx + 0xd78]
push eax
mov dword [ebx + 0xd98], ebx
push dword [ebp + 0x5c]
mov eax, dword [ebx + 0xd68]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebx + 0xd6c]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 0xd70]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0xd74]
mov dword [ecx + 0xc], eax
call fcn.0047ef20
add esp, 0x18
mov dword [ebp + 0x5c], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret