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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [0x4c8bb0]
xor eax, esp
mov dword [esp + 0x70], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x10], eax
cmp ecx, 2
jne 0x46453b
mov eax, dword [0x4d2ef4]
lea edx, [ebx + ebx*4]
mov edx, dword [eax + edx*8 + 0x10]
jmp 0x464567
test ecx, ecx
jne 0x46454f
mov eax, dword [0x4d2f10]
mov edx, ebx
shl edx, 6
mov edx, dword [edx + eax + 0x30]
jmp 0x464567
cmp ecx, 1
jne 0x464564
mov eax, dword [0x4d2f1c]
mov edx, ebx
imul edx, edx, 0x68
mov edx, dword [edx + eax + 0x5c]
jmp 0x464567
or edx, 0xffffffff
lea eax, [edx + edx*2]
shl eax, 4
add eax, dword [0x4d2eb8]
cmp dword [eax + 0xc], ebx
jne 0x464582
cmp dword [eax + 0x14], ecx
jne 0x464582
mov ecx, dword [eax + 4]
jmp 0x464584
mov ecx, dword [eax]
mov edi, edx
jmp 0x464590
mov esi, dword [0x4d2eac]
lea edx, [ecx + ecx*2]
add edx, edx
cmp dword [esi + edx*8 + 0x18], 3
jne 0x4649b2
cmp dword [eax], ecx
jne 0x4645af
mov edx, dword [eax + 0x18]
jmp 0x4645b2
mov edx, dword [eax + 0x20]
lea eax, [edx + edx*2]
shl eax, 4
add eax, dword [0x4d2eb8]
mov esi, dword [eax]
cmp esi, ecx
jne 0x4645c9
mov ecx, dword [eax + 4]
jmp 0x4645cb
mov ecx, esi
cmp edx, edi
jne 0x464590
mov ecx, dword [esp + 0x10]
shl ecx, 6
add ecx, dword [0x4d2f10]
mov edx, dword [ecx]
cmp edx, ebx
je 0x4649c6
cmp dword [ecx + 4], ebx
je 0x4649c6
mov edi, dword [0x4d2ef4]
lea esi, [ebx + ebx*4]
add esi, esi
add esi, esi
add esi, esi
fld qword [esi + edi]
fst qword [esp + 0x40]
fld qword [esi + edi + 8]
fst qword [esp + 0x48]
fld qword [ecx + 0x10]
fst qword [esp + 0x28]
fld qword [ecx + 0x18]
fst qword [esp + 0x18]
fld st(2)
fmul st(1)
fld st(4)
fmul st(3)
faddp st(1)
fadd qword [ecx + 0x20]
fst qword [esp + 0x30]
fld qword [0x4b94e0]
fcom st(1)
fnstsw ax
test ah, 1
jne 0x46471a
fld qword [0x4b9518]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x4646fd
fld qword [ecx + 0x28]
lea eax, [edx + edx*4]
fstp qword [esp + 0x20]
lea eax, [edi + eax*8]
fld qword [eax]
fld qword [eax + 8]
fld st(6)
fsubrp st(2)
fxch st(1)
fmul st(3)
fld st(5)
fsubrp st(2)
fxch st(1)
fmul st(4)
fsubp st(1)
fst qword [0x652208]
fld qword [esp + 0x20]
fadd st(2)
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x464716
fcomp qword [0x4b9518]
fnstsw ax
test ah, 5
jnp 0x4646fd
mov edi, dword [esp + 0x10]
fstp st(1)
push 2
fstp st(1)
push ebx
fstp st(0)
push 0
fstp st(1)
push edi
fstp st(0)
call fcn.00461840
push 1
push 0
push edi
call fcn.00461870
add esp, 0x1c
test al, al
je 0x4646e3
mov byte [0x4d2fbc], 1
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0049f322
mov esp, ebp
pop ebp
ret
fld qword [esp + 0x40]
fld qword [esp + 0x18]
fld qword [esp + 0x28]
fld qword [0x4b94e0]
fld qword [esp + 0x48]
fxch st(3)
fxch st(1)
fldz
fcomp qword [esp + 0x30]
fnstsw ax
fxch st(1)
test ah, 5
jp 0x46471e
fst qword [esp + 0x28]
fxch st(2)
fchs
jmp 0x464726
fstp st(0)
jmp 0x4646fd
fstp st(1)
jmp 0x4646fd
fchs
fst qword [esp + 0x28]
fxch st(2)
fst qword [esp + 0x30]
mov eax, dword [ebp + 0xc]
fld st(2)
fmulp st(5)
fxch st(4)
fchs
fld st(4)
fmulp st(4)
fsubrp st(3)
fxch st(2)
fst qword [esp + 0x40]
fld st(3)
fchs
fstp qword [esp + 0x58]
fxch st(1)
fst qword [esp + 0x60]
cmp eax, 2
jne 0x464760
mov ecx, dword [0x4d2ef4]
mov edi, dword [esi + ecx + 0x10]
jmp 0x46478d
test eax, eax
jne 0x464774
mov eax, dword [0x4d2f10]
mov edx, ebx
shl edx, 6
mov edi, dword [edx + eax + 0x30]
jmp 0x46478d
cmp eax, 1
jne 0x46478a
mov edx, dword [0x4d2f1c]
mov ecx, ebx
imul ecx, ecx, 0x68
mov edi, dword [ecx + edx + 0x5c]
jmp 0x46478d
or edi, 0xffffffff
mov eax, dword [0x4d2eb8]
lea esi, [edi + edi*2]
shl esi, 4
cmp dword [esi + eax + 0xc], ebx
jne 0x4647b0
mov ecx, dword [ebp + 0xc]
cmp dword [esi + eax + 0x14], ecx
jne 0x4647b0
mov ebx, dword [esi + eax + 4]
mov eax, dword [esi + eax]
jmp 0x4647bc
mov eax, dword [0x4d2eb8]
mov ebx, dword [esi + eax]
mov eax, dword [esi + eax + 4]
lea edx, [eax + eax*2]
mov eax, dword [0x4d2eac]
add edx, edx
fld qword [eax + edx*8]
fld qword [eax + edx*8 + 8]
fld qword [eax + edx*8 + 0x10]
fstp qword [esp + 0x18]
fmul st(5)
fxch st(1)
fmul st(2)
faddp st(1)
fadd st(2)
fst qword [0x6521a0]
fcom st(3)
fnstsw ax
test ah, 0x41
jp 0x464804
fcomp qword [0x4b9518]
fnstsw ax
test ah, 5
jp 0x464800
or edx, 0xffffffff
jmp 0x46480b
xor edx, edx
jmp 0x46480b
fstp st(0)
mov edx, 1
mov dword [esp + 0x10], edi
mov eax, dword [0x4d2eac]
lea ecx, [ebx + ebx*2]
add ecx, ecx
fld qword [eax + ecx*8]
fld qword [eax + ecx*8 + 8]
fld qword [eax + ecx*8 + 0x10]
fst qword [esp + 0x50]
fld st(3)
fmulp st(3)
fld st(6)
fmulp st(2)
fxch st(2)
faddp st(1)
fadd st(3)
fst qword [0x6521a0]
fcom st(4)
fnstsw ax
test ah, 0x41
jp 0x46485b
fcomp qword [0x4b9518]
fnstsw ax
test ah, 5
jp 0x464857
or eax, 0xffffffff
jmp 0x464862
xor eax, eax
jmp 0x464862
fstp st(0)
mov eax, 1
neg edx
mov dword [esp + 0x14], eax
cmp eax, edx
jne 0x464910
fcom st(3)
fnstsw ax
test ah, 0x41
jnp 0x464910
fxch st(3)
fcom qword [esp + 0x18]
fnstsw ax
test ah, 1
je 0x464929
fstp st(1)
lea ecx, [esp + 0x20]
fstp st(3)
push ecx
fstp st(2)
lea edx, [esp + 0x6c]
push edx
fstp st(1)
push edi
fstp st(0)
fld qword [esp + 0x64]
sub esp, 0x10
mov eax, esp
fstp qword [eax]
fld qword [esp + 0x7c]
fstp qword [eax + 8]
mov eax, dword [esp + 0x58]
push eax
call fcn.0046d520
add esp, 0x20
test al, al
je 0x4648f6
fld qword [0x4d30f0]
sub esp, 8
fstp qword [esp]
push 0
fld qword [esp + 0x74]
sub esp, 0x10
mov eax, esp
fstp qword [eax]
push edi
fld qword [esp + 0x90]
fstp qword [eax + 8]
call fcn.0045f230
add esp, 0x20
test al, al
jne 0x46496c
fld qword [esp + 0x50]
fld qword [0x4b94e0]
fld qword [esp + 0x40]
fld qword [esp + 0x30]
fld qword [esp + 0x28]
fxch st(1)
fxch st(4)
mov ecx, dword [0x4d2eb8]
fstp qword [esp + 0x18]
mov edx, dword [esp + 0x14]
cmp dword [esi + ecx], ebx
jne 0x46492d
mov edi, dword [esi + ecx + 0x18]
jmp 0x464931
fxch st(3)
jmp 0x464910
mov edi, dword [esi + ecx + 0x20]
lea esi, [edi + edi*2]
shl esi, 4
mov eax, dword [esi + ecx]
cmp eax, ebx
jne 0x464944
mov ebx, dword [esi + ecx + 4]
jmp 0x464946
mov ebx, eax
cmp edi, dword [esp + 0x10]
jne 0x46480f
fstp st(0)
xor al, al
fstp st(2)
fstp st(0)
fstp st(0)
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0049f322
mov esp, ebp
pop ebp
ret
fld qword [esp + 0x20]
sub esp, 0x18
fstp qword [esp + 0x10]
fld qword [esp + 0x88]
fstp qword [esp + 8]
fld qword [esp + 0x80]
fstp qword [esp]
call fcn.00451160
mov esi, eax
push 1
push esi
push edi
call fcn.00451b00
mov edx, dword [0x4d2eac]
lea ecx, [esi + esi*2]
add esp, 0x24
add ecx, ecx
mov dword [edx + ecx*8 + 0x18], 4
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0049f322
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 2
jne 0x4649dd
mov ecx, dword [0x4d2ef4]
lea eax, [ebx + ebx*4]
mov esi, dword [ecx + eax*8 + 0x10]
jmp 0x464a0a
test eax, eax
jne 0x4649f1
mov eax, dword [0x4d2f10]
mov edx, ebx
shl edx, 6
mov esi, dword [edx + eax + 0x30]
jmp 0x464a0a
cmp eax, 1
jne 0x464a07
mov edx, dword [0x4d2f1c]
mov ecx, ebx
imul ecx, ecx, 0x68
mov esi, dword [ecx + edx + 0x5c]
jmp 0x464a0a
or esi, 0xffffffff
mov ecx, dword [0x4d2eb8]
lea eax, [esi + esi*2]
shl eax, 4
add ecx, eax
cmp dword [ecx + 0xc], ebx
jne 0x464a2a
mov edx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], edx
jne 0x464a2a
mov eax, dword [ecx + 4]
jmp 0x464a2c
mov eax, dword [ecx]
mov edi, dword [0x4d2eac]
mov dword [esp + 0x10], esi
lea edx, [eax + eax*2]
add edx, edx
cmp ebx, dword [edi + edx*8 + 0x20]
je 0x464a80
cmp dword [ecx], eax
jne 0x464a4a
mov esi, dword [ecx + 0x18]
jmp 0x464a4d
mov esi, dword [ecx + 0x20]
lea ecx, [esi + esi*2]
shl ecx, 4
add ecx, dword [0x4d2eb8]
mov edx, dword [ecx]
cmp edx, eax
jne 0x464a64
mov eax, dword [ecx + 4]
jmp 0x464a66
mov eax, edx
cmp esi, dword [esp + 0x10]
jne 0x464a36
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0049f322
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4d2eac]
lea eax, [eax + eax*2]
add eax, eax
fld qword [ecx + eax*8]
sub esp, 0x18
fld qword [ecx + eax*8 + 8]
fld qword [ecx + eax*8 + 0x10]
fstp qword [esp + 0x38]
fldz
fstp qword [esp + 0x10]
fstp qword [esp + 8]
fstp qword [esp]
call fcn.00451160
mov edi, eax
push 0
push edi
push esi
call fcn.00451b00
mov edx, dword [0x4d2eac]
lea eax, [edi + edi*2]
add eax, eax
mov dword [edx + eax*8 + 0x18], 0
mov ecx, dword [0x4d2eac]
mov dword [ecx + eax*8 + 0x20], ebx
mov edx, dword [0x4d2ef4]
lea ecx, [ebx + ebx*4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov dword [ecx + edx + 0x14], edi
mov edx, dword [0x4d2ef4]
mov dword [ecx + edx + 0x10], esi
mov esi, dword [0x4d2ef4]
add esp, 0x24
mov edx, 1
mov byte [ecx + esi + 0x19], dl
mov ecx, dword [0x4d2eac]
pop edi
mov dword [ecx + eax*8 + 0x18], edx
mov ecx, dword [esp + 0x78]
pop esi
pop ebx
xor ecx, esp
mov al, dl
call fcn.0049f322
mov esp, ebp
pop ebp
ret