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

Disassembly:
sub esp, 0x48
movsx eax, word [0x753bec]
mov dword [esp + 0x50], eax
push ebx
fild dword [esp + 0x54]
push ebp
push esi
push edi
fmul dword [0x4a727c]
fmul dword [0x4a7360]
call fcn.0049da5c
movsx ecx, word [0x753c10]
mov dword [esp + 0x60], ecx
mov ebx, eax
fild dword [esp + 0x60]
mov dword [esp + 0x5c], ebx
fmul dword [0x4a7280]
fmul dword [0x4a73a8]
call fcn.0049da5c
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x64]
sar eax, 1
lea edi, [ebp*8]
cdq
sub edi, ebp
xor eax, edx
sar edi, 3
sub eax, edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x64], eax
je 0x48a533
mov dl, byte [0x4bf2d2]
and edx, 7
shl edx, 0xd
sar edx, 3
movsx ecx, word [edx*2 + 0x4b34d0]
lea edx, [eax - 0x1000]
shl ecx, 2
sar edx, 5
imul ecx, edx
sar ecx, 0xe
add eax, ecx
mov dword [esp + 0x64], eax
jns 0x48a533
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
sar edx, 1
sar ecx, 1
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
js 0x48a6ea
mov ebx, 0xffffc000
jmp 0x48a558
mov edi, dword [esp + 0x10]
mov esi, ebx
sar esi, 3
and esi, 0x1ffe
add esi, esi
movsx eax, word [esi + 0x4b34d0]
lea ecx, [eax*4]
mov eax, ecx
imul ecx, ebp
imul eax, edi
sar ecx, 0xd
mov edi, ecx
movsx ecx, word [0x753bec]
sar eax, 0xd
mov dword [esp + 0x70], ecx
mov edx, eax
fild dword [esp + 0x70]
sar edx, 2
sub eax, edx
fmul dword [0x4a727c]
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
fmul st(1)
call fcn.0049da5c
add eax, dword [esp + 0x5c]
mov dword [esp + 0x70], eax
movsx eax, word [esi + 0x4b34d2]
fild dword [esp + 0x70]
fstp dword [esp + 0x18]
lea esi, [eax*4]
movsx eax, word [0x753c10]
mov ecx, esi
mov dword [esp + 0x70], eax
imul ecx, dword [esp + 0x10]
fild dword [esp + 0x70]
fmul dword [0x4a7280]
fstp dword [esp + 0x70]
neg ecx
sar ecx, 0xe
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fmul dword [esp + 0x70]
call fcn.0049da5c
mov ecx, dword [esp + 0x60]
mov edx, dword [0x753ba4]
add eax, ecx
mov ecx, edi
mov dword [esp + 0x14], eax
mov eax, dword [0x753c28]
fild dword [esp + 0x14]
sar ecx, 2
sub edi, ecx
mov dword [esp + 0x20], edx
fstp dword [esp + 0x1c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], eax
fild dword [esp + 0x14]
fmul st(1)
call fcn.0049da5c
imul esi, ebp
fstp st(0)
add eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
neg esi
sar esi, 0xe
fstp dword [esp + 0x38]
mov dword [esp + 0x14], esi
fild dword [esp + 0x14]
fmul dword [esp + 0x70]
call fcn.0049da5c
mov ecx, dword [esp + 0x60]
mov edx, dword [0x753ba4]
add eax, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x70], eax
mov eax, dword [0x753c28]
fild dword [esp + 0x70]
mov dword [esp + 0x44], eax
fstp dword [esp + 0x3c]
mov edi, dword [esp + 0x68]
lea ecx, [ebx + 0x4000]
xor eax, eax
cmp ecx, edi
setle al
dec eax
mov edx, dword [esp + 0x2c]
and eax, 0xffff0001
push 6
dec eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x50], edx
push eax
push ecx
call dword [0x5339a0]
mov eax, dword [esp + 0x78]
add ebx, 0x800
add esp, 0xc
lea edx, [ebx + 0x4000]
cmp edx, eax
jle 0x48a554
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
lea esi, [eax - 0x4000]
mov ecx, ebp
sar esi, 3
and esi, 0x1ffe
add esi, esi
sar ecx, 4
movsx eax, word [esi + 0x4b34d0]
sub ebp, ecx
lea ecx, [eax*4]
mov edx, ecx
imul ecx, ebp
neg edx
sar ecx, 0xd
shl edx, 2
mov edi, ecx
mov eax, edx
movsx ecx, word [0x753bec]
sar eax, 0xd
mov dword [esp + 0x64], ecx
mov edx, eax
fild dword [esp + 0x64]
sar edx, 2
sub eax, edx
fmul dword [0x4a727c]
mov dword [esp + 0x64], eax
fild dword [esp + 0x64]
fmul st(1)
call fcn.0049da5c
add eax, ebx
mov dword [esp + 0x64], eax
movsx eax, word [esi + 0x4b34d2]
fild dword [esp + 0x64]
fstp dword [esp + 0x18]
lea esi, [eax*4]
movsx eax, word [0x753c10]
mov dword [esp + 0x64], eax
lea ecx, [esi*4]
fild dword [esp + 0x64]
sar ecx, 0xe
mov dword [esp + 0x64], ecx
fmul dword [0x4a7280]
fstp dword [esp + 0x70]
fild dword [esp + 0x64]
fmul dword [esp + 0x70]
call fcn.0049da5c
mov ecx, dword [esp + 0x60]
mov edx, dword [0x753ba4]
add eax, ecx
mov ecx, edi
mov dword [esp + 0x64], eax
mov eax, dword [0x753c28]
fild dword [esp + 0x64]
sar ecx, 2
sub edi, ecx
mov dword [esp + 0x20], edx
fstp dword [esp + 0x1c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x24], eax
fild dword [esp + 0x64]
fmul st(1)
call fcn.0049da5c
imul esi, ebp
fstp st(0)
add eax, ebx
mov dword [esp + 0x64], eax
fild dword [esp + 0x64]
neg esi
sar esi, 0xe
fstp dword [esp + 0x38]
mov dword [esp + 0x64], esi
fild dword [esp + 0x64]
fmul dword [esp + 0x70]
call fcn.0049da5c
mov ebx, dword [esp + 0x60]
mov edx, dword [0x753ba4]
add eax, ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x64], eax
mov eax, dword [0x753c28]
fild dword [esp + 0x64]
fstp dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
lea eax, [esp + 0x38]
push 6
lea ecx, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x58], edx
call dword [0x5339a0]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret