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

Disassembly:
sub esp, 0x58
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push ebx
push ebp
push esi
push edi
push eax
push ecx
call fcn.0044eeb0
mov edx, dword [0x4b603c]
mov ebp, eax
mov eax, dword [0x4b6038]
push edx
push eax
call fcn.0044eeb0
mov ebx, dword [esp + 0x84]
mov ecx, dword [ebp + 0x2c]
push ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
call fcn.00418f00
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x6c], eax
push edx
call fcn.00418f00
fld dword [esp + 0x98]
fmul dword [0x49f4e8]
add esp, 0x18
mov dword [esp + 0x44], eax
call fcn.004922ac
fld dword [esp + 0x7c]
mov edi, eax
test edi, edi
mov dword [esp + 0x54], edi
jge 0x457c16
fadd dword [0x49f4c4]
neg edi
mov dword [esp + 0x54], edi
fld dword [esp + 0x84]
fmul dword [0x49f4e8]
call fcn.004922ac
test eax, eax
mov dword [esp + 0x34], eax
jge 0x457c3c
fadd dword [0x49f4c4]
neg eax
mov dword [esp + 0x34], eax
test edi, edi
je 0x45851a
test eax, eax
je 0x45851a
fcom dword [0x49f2e4]
fnstsw ax
test ah, 1
je 0x457c84
fld st(0)
fmul dword [0x49f4e4]
call fcn.004922ac
mov ecx, eax
neg ecx
shl ecx, 2
sub ecx, eax
lea eax, [ecx + ecx*8]
mov ecx, 0x168
shl eax, 3
sub ecx, eax
mov dword [esp + 0x7c], ecx
fiadd dword [esp + 0x7c]
fmul dword [0x49f4e0]
call fcn.004922ac
cdq
mov ecx, 0xb40
idiv ecx
mov esi, edx
test esi, esi
jne 0x457ce1
fld dword [esp + 0x84]
fmul dword [esp + 0x8c]
push ecx
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x74]
fstp dword [esp]
fld dword [esp + 0x84]
fmul dword [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x74]
fstp dword [esp]
push edx
push ebx
push eax
push ecx
call fcn.00450450
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
cmp esi, 0x5a0
jne 0x457d31
fld dword [esp + 0x84]
fmul dword [esp + 0x8c]
push ecx
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x74]
fchs
fstp dword [esp]
fld dword [esp + 0x84]
fmul dword [esp + 0x8c]
mov word [esp + ecx*4], fs
add byte [eax], al
add byte [ecx - 0x75], dl
dec esp
and al, 0x74
mov eax, dword [ebp + 4]
mov edx, dword [ebp]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
lea eax, [esi + 0x2d0]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
mov ecx, 0xb40
cdq
idiv ecx
mov eax, dword [0x4b5510]
mov ebx, dword [ebp + 8]
mov ecx, dword [eax + edx*4]
mov eax, esi
mov dword [esp + 0x74], ecx
mov ecx, 0xb40
cdq
fild dword [esp + 0x74]
idiv ecx
fst dword [esp + 0x4c]
fmul dword [0x49f4dc]
fstp dword [esp + 0x7c]
mov eax, dword [0x4b5510]
mov ecx, dword [eax + edx*4]
mov eax, dword [esp + 0x74]
shl eax, 0x10
cdq
idiv edi
mov dword [esp + 0x50], ecx
fild dword [esp + 0x50]
fst dword [esp + 0x48]
fmul dword [0x49f4dc]
fstp dword [esp + 0x78]
mov dword [esp + 0x74], eax
fild dword [esp + 0x74]
fdiv dword [esp + 0x88]
call fcn.004922ac
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
shl eax, 0x10
cdq
idiv dword [esp + 0x34]
mov dword [esp + 0x74], eax
fild dword [esp + 0x74]
fdiv dword [esp + 0x88]
call fcn.004922ac
cmp esi, 0x2d0
mov dword [esp + 0x38], eax
jge 0x457e52
mov eax, dword [esp + 0x30]
mov edx, ebx
neg edx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x2c]
fild dword [esp + 0x74]
mov ecx, eax
sub edx, ebx
neg ecx
fst dword [esp + 0x18]
mov dword [esp + 0x74], ecx
je 0x457e58
cmp esi, 0x5a0
fstp st(0)