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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x28]
mov ecx, edi
call fcn.00508920
mov ecx, edi
mov ebx, eax
call fcn.00508900
cdq
and edx, 0xf
add eax, edx
mov ecx, eax
sar ecx, 4
test ecx, ecx
je 0x4fe44e
mov eax, dword [esi + 0x1c]
xor edx, edx
div ecx
mov ecx, ebx
lea eax, [eax + eax*2]
add eax, eax
shl edx, 4
add eax, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
add edx, 0x10
add eax, 0xc
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call fcn.004fd3c0
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
mov ecx, ebx
fld1
fdivrp st(1)
fstp dword [esp + 0x40]
call fcn.00413e00
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
fld1
fdivrp st(1)
fstp dword [esp + 0x3c]
fild dword [esp + 0x20]
fld dword [esp + 0x40]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x40]
fild dword [esp + 0x24]
fld dword [esp + 0x3c]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x30]
fild dword [esp + 0x28]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x3c]
fimul dword [esp + 0x2c]
fstp dword [esp + 0x20]
fld dword [esi + 0x20]
fmul qword [0x607fb0]
fstp dword [esp + 0x18]
fld dword [esi + 0x20]
fmul qword [0x5fe540]
fstp dword [esp + 0x44]
fld dword [esi + 0x14]
fld qword [0x5fe2b8]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fstp dword [esp + 0x50]
fld dword [esi + 0x18]
fsub st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esp + 0x54]
fldz
fst dword [esp + 0x58]
fld dword [esp + 0x40]
fstp dword [esp + 0x10]
fld dword [esp + 0x30]
mov eax, dword [esp + 0x10]
fst dword [esp + 0x14]
mov dword [esp + 0x60], eax
fld1
mov ecx, dword [esp + 0x14]
fcom dword [esi + 4]
mov dword [esp + 0x64], ecx
fnstsw ax
fld qword [0x5fe2c0]
test ah, 0x41
jp 0x4fde07
mov edi, 0xff
jmp 0x4fde42
fxch st(3)
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x4fde17
xor edi, edi
jmp 0x4fde40
fld dword [esi + 4]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(4)
or eax, 0xc00
mov dword [esp + 0x30], eax
fadd st(6)
fldcw word [esp + 0x30]
fistp qword [esp + 0x30]
mov edi, dword [esp + 0x30]
fldcw word [esp + 0x10]
fxch st(3)
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 0x41
jp 0x4fde55
mov edx, 0xff
jmp 0x4fde90
fxch st(3)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x4fde65
xor edx, edx
jmp 0x4fde8e
fld dword [esi + 8]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(2)
or eax, 0xc00
mov dword [esp + 0x30], eax
fadd st(6)
fldcw word [esp + 0x30]
fistp qword [esp + 0x30]
mov edx, dword [esp + 0x30]
fldcw word [esp + 0x10]
fxch st(3)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 0x41
jp 0x4fdea1
mov ecx, 0xff
jmp 0x4fdedc
fxch st(3)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x4fdeb1
xor ecx, ecx
jmp 0x4fdeda
fld dword [esi + 0xc]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(2)
or eax, 0xc00
mov dword [esp + 0x30], eax
fadd st(6)
fldcw word [esp + 0x30]
fistp qword [esp + 0x30]
mov ecx, dword [esp + 0x30]
fldcw word [esp + 0x10]
fxch st(3)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 0x41
jp 0x4fdeed
mov eax, 0xff
jmp 0x4fdf28
fxch st(3)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x4fdefd
xor eax, eax
jmp 0x4fdf26
fld dword [esi + 0x10]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(2)
or eax, 0xc00
mov dword [esp + 0x30], eax
fadd st(6)
fldcw word [esp + 0x30]
fistp qword [esp + 0x30]
mov eax, dword [esp + 0x30]
fldcw word [esp + 0x10]
fxch st(3)
fld dword [esi + 0x14]
shl eax, 8
fadd dword [esp + 0x18]
or eax, edi
shl eax, 8
or eax, edx
fsub st(6)
shl eax, 8
or eax, ecx
mov dword [esp + 0x5c], eax
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [esp + 0x68]
fxch st(5)
fstp dword [esp + 0x6c]
fxch st(3)
fst dword [esp + 0x70]
fld dword [esp + 0x3c]
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fxch st(2)
mov dword [esp + 0x78], edx
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
fxch st(2)
mov dword [esp + 0x7c], eax
fcom dword [esi + 4]
fnstsw ax
test ah, 0x41
jp 0x4fdf8d
mov edi, 0xff
jmp 0x4fdfc8
fxch st(1)
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x4fdf9d
xor edi, edi
jmp 0x4fdfc6
fld dword [esi + 4]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(3)
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(5)
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov edi, dword [esp + 0x18]
fldcw word [esp + 0x10]
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 0x41
jp 0x4fdfd9
mov edx, 0xff
jmp 0x4fe014
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x4fdfe9
xor edx, edx
jmp 0x4fe012
fld dword [esi + 8]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(3)
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(5)
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov edx, dword [esp + 0x18]
fldcw word [esp + 0x10]
fxch st(1)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 0x41
jp 0x4fe025
mov ecx, 0xff
jmp 0x4fe060
fxch st(1)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x4fe035
xor ecx, ecx
jmp 0x4fe05e
fld dword [esi + 0xc]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(3)
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(5)
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fldcw word [esp + 0x10]
fxch st(1)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 0x41
jp 0x4fe071
mov eax, 0xff
jmp 0x4fe0ac
fxch st(1)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x4fe081
xor eax, eax
jmp 0x4fe0aa
fld dword [esi + 0x10]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(3)
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(5)
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
fldcw word [esp + 0x10]
fxch st(1)
fld dword [esp + 0x4c]
shl eax, 8
fstp dword [esp + 0x80]
or eax, edi
fld dword [esi + 0x18]
shl eax, 8
fadd dword [esp + 0x44]
or eax, edx
shl eax, 8
or eax, ecx
fsub st(5)
mov dword [esp + 0x74], eax
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fst dword [esp + 0x84]
fxch st(2)
fst dword [esp + 0x88]
fld dword [esp + 0x40]
fstp dword [esp + 0x44]
mov ecx, dword [esp + 0x44]
fld dword [esp + 0x20]
mov dword [esp + 0x90], ecx
fst dword [esp + 0x48]
mov edx, dword [esp + 0x48]
fxch st(2)
mov dword [esp + 0x94], edx
fcom dword [esi + 4]
fnstsw ax
test ah, 0x41
jp 0x4fe124
mov edi, 0xff
jmp 0x4fe15f
fxch st(1)
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x4fe134
xor edi, edi
jmp 0x4fe15d
fld dword [esi + 4]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(5)
or eax, 0xc00
mov dword [esp + 0x20], eax
fadd st(7)
fldcw word [esp + 0x20]
fistp qword [esp + 0x20]
mov edi, dword [esp + 0x20]
fldcw word [esp + 0x10]
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 0x41
jp 0x4fe170
mov edx, 0xff
jmp 0x4fe1ab
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x4fe180
xor edx, edx
jmp 0x4fe1a9
fld dword [esi + 8]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(5)
or eax, 0xc00
mov dword [esp + 0x20], eax
fadd st(7)
fldcw word [esp + 0x20]
fistp qword [esp + 0x20]
mov edx, dword [esp + 0x20]
fldcw word [esp + 0x10]
fxch st(1)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 0x41
jp 0x4fe1bc
mov ecx, 0xff
jmp 0x4fe1f7
fxch st(1)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x4fe1cc
xor ecx, ecx
jmp 0x4fe1f5
fld dword [esi + 0xc]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(5)
or eax, 0xc00
mov dword [esp + 0x20], eax
fadd st(7)
fldcw word [esp + 0x20]
fistp qword [esp + 0x20]
mov ecx, dword [esp + 0x20]
fldcw word [esp + 0x10]
fxch st(1)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 0x41
jp 0x4fe208
mov eax, 0xff
jmp 0x4fe243
fxch st(1)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x4fe218
xor eax, eax
jmp 0x4fe241
fld dword [esi + 0x10]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(5)
or eax, 0xc00
mov dword [esp + 0x20], eax
fadd st(7)
fldcw word [esp + 0x20]
fistp qword [esp + 0x20]
mov eax, dword [esp + 0x20]
fldcw word [esp + 0x10]
fxch st(1)
shl eax, 8
fxch st(5)
fstp dword [esp + 0x98]
or eax, edi
fxch st(2)
shl eax, 8
fstp dword [esp + 0x9c]
or eax, edx
fxch st(1)
shl eax, 8
fst dword [esp + 0xa0]
or eax, ecx
fld dword [esp + 0x3c]
mov dword [esp + 0x8c], eax
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
fxch st(1)
mov dword [esp + 0xa8], eax
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
fxch st(2)
mov dword [esp + 0xac], ecx
fcom dword [esi + 4]
fnstsw ax
test ah, 0x41
jp 0x4fe2ab
mov edi, 0xff
jmp 0x4fe2e6
fxch st(2)
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x4fe2bb
xor edi, edi
jmp 0x4fe2e4
fld dword [esi + 4]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(2)
or eax, 0xc00
mov dword [esp + 0x20], eax
fadd st(4)
fldcw word [esp + 0x20]
fistp qword [esp + 0x20]
mov edi, dword [esp + 0x20]
fldcw word [esp + 0x10]
fxch st(2)
fcom dword [esi + 8]
fnstsw ax
test ah, 0x41
jp 0x4fe2f7
mov edx, 0xff
jmp 0x4fe332
fxch st(2)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x4fe307
xor edx, edx
jmp 0x4fe330
fld dword [esi + 8]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(2)
or eax, 0xc00
mov dword [esp + 0x20], eax
fadd st(4)
fldcw word [esp + 0x20]
fistp qword [esp + 0x20]
mov edx, dword [esp + 0x20]
fldcw word [esp + 0x10]
fxch st(2)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 0x41
jp 0x4fe343
mov ecx, 0xff
jmp 0x4fe37e
fxch st(2)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x4fe353
xor ecx, ecx
jmp 0x4fe37c
fld dword [esi + 0xc]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(2)
or eax, 0xc00
mov dword [esp + 0x20], eax
fadd st(4)
fldcw word [esp + 0x20]
fistp qword [esp + 0x20]
mov ecx, dword [esp + 0x20]
fldcw word [esp + 0x10]
fxch st(2)
fcomp dword [esi + 0x10]
fnstsw ax
test ah, 0x41
jp 0x4fe395
fstp st(2)
mov eax, 0xff
fstp st(0)
fstp st(0)
jmp 0x4fe3d0
fxch st(1)
fcomp dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x4fe3a9
fstp st(1)
xor eax, eax
fstp st(0)
jmp 0x4fe3d0
fmul dword [esi + 0x10]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
or eax, 0xc00
faddp st(1)
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x20]
mov eax, dword [esp + 0x20]
fldcw word [esp + 0x10]
shl eax, 8
or eax, edi
shl eax, 8
or eax, edx
shl eax, 8
lea edx, [esp + 0x50]
or eax, ecx
push 4
push edx
mov dword [esp + 0xac], eax
call fcn.004f0030
add esp, 8
test al, al
je 0x4fe44e
push 5
call fcn.004efdb0
mov esi, dword [0x67ace0]
add esp, 4
mov ecx, ebx
call fcn.00429920
push eax
push 0
mov ecx, esi
call fcn.004ea9d0
mov ecx, dword [0x67ace0]
push 0
push 1
call fcn.004ea9d0
mov ecx, dword [0x67ace0]
push 0x142
call fcn.004eaa60
mov ecx, dword [0x67ace0]
push 2
push 0
push 4
push 0
push 4
call fcn.004eacb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret