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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [esi + 0x1c]
push edi
mov ecx, ebx
call fcn.00508920
mov ecx, ebx
mov ebp, eax
call fcn.00508930
mov ecx, ebp
mov edi, eax
call fcn.004fd3c0
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fld1
mov ecx, ebp
fdivrp st(1)
fstp dword [esp + 0x34]
call fcn.00413e00
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fld1
mov eax, dword [edi]
fdivrp st(1)
sub eax, dword [esi + 0x38]
mov ecx, dword [edi + 4]
sub ecx, dword [esi + 0x3c]
mov edx, dword [edi + 8]
add edx, dword [esi + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0xc]
add eax, dword [esi + 0x44]
fstp dword [esp + 0x30]
fild dword [esp + 0x18]
fld dword [esp + 0x34]
fld st(0)
mov dword [esp + 0x18], ecx
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x34]
fild dword [esp + 0x18]
mov dword [esp + 0x18], edx
fld dword [esp + 0x30]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x30]
fimul dword [esp + 0x18]
fstp dword [esp + 0x20]
fld dword [esi + 0x14]
fld qword [0x5fe2b8]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [esp + 0x38]
fld dword [esi + 0x18]
fsub st(2)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [esp + 0x3c]
fld dword [esi + 0x20]
fstp dword [esp + 0x40]
fld dword [esp + 0x34]
fst dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld dword [esp + 0x14]
mov dword [esp + 0x48], ecx
fst dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
fld1
mov dword [esp + 0x4c], edx
fcom dword [esi + 4]
fnstsw ax
fld qword [0x5fe2c0]
test ah, 0x41
jp 0x4fc78e
mov edi, 0xff
jmp 0x4fc7c7
fldz
fcomp dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x4fc79e
xor edi, edi
jmp 0x4fc7c7
fld dword [esi + 4]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(1)
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(7)
fldcw word [esp + 0x18]
fistp qword [esp + 0x28]
mov edi, dword [esp + 0x28]
fldcw word [esp + 0x14]
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 0x41
jp 0x4fc7da
mov edx, 0xff
jmp 0x4fc813
fldz
fcomp dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x4fc7ea
xor edx, edx
jmp 0x4fc813
fld dword [esi + 8]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(2)
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(7)
fldcw word [esp + 0x18]
fistp qword [esp + 0x28]
mov edx, dword [esp + 0x28]
fldcw word [esp + 0x14]
fcom dword [esi + 0xc]
fnstsw ax
test ah, 0x41
jp 0x4fc824
mov ecx, 0xff
jmp 0x4fc85d
fldz
fcomp dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x4fc834
xor ecx, ecx
jmp 0x4fc85d
fld dword [esi + 0xc]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(2)
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(7)
fldcw word [esp + 0x18]
fistp qword [esp + 0x28]
mov ecx, dword [esp + 0x28]
fldcw word [esp + 0x14]
fcom dword [esi + 0x10]
fnstsw ax
test ah, 0x41
jp 0x4fc86e
mov eax, 0xff
jmp 0x4fc8a7
fldz
fcomp dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x4fc87e
xor eax, eax
jmp 0x4fc8a7
fld dword [esi + 0x10]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(2)
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(7)
fldcw word [esp + 0x18]
fistp qword [esp + 0x28]
mov eax, dword [esp + 0x28]
fldcw word [esp + 0x14]
shl eax, 8
fxch st(5)
fst dword [esp + 0x50]
or eax, edi
fxch st(4)
shl eax, 8
fst dword [esp + 0x54]
or eax, edx
fld dword [esi + 0x20]
shl eax, 8
fstp dword [esp + 0x58]
or eax, ecx
fld dword [esp + 0x30]
mov dword [esp + 0x44], eax
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fxch st(2)
mov dword [esp + 0x60], eax
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
fxch st(4)
mov dword [esp + 0x64], ecx
fcom dword [esi + 4]
fnstsw ax
fldz
test ah, 0x41
jp 0x4fc900
mov edi, 0xff
jmp 0x4fc937
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x4fc90e
xor edi, edi
jmp 0x4fc937
fld dword [esi + 4]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(6)
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(7)
fldcw word [esp + 0x18]
fistp qword [esp + 0x28]
mov edi, dword [esp + 0x28]
fldcw word [esp + 0x14]
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 0x41
jp 0x4fc94a
mov edx, 0xff
jmp 0x4fc985
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x4fc95a
xor edx, edx
jmp 0x4fc983
fld dword [esi + 8]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(6)
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(7)
fldcw word [esp + 0x18]
fistp qword [esp + 0x28]
mov edx, dword [esp + 0x28]
fldcw word [esp + 0x14]
fxch st(1)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 0x41
jp 0x4fc996
mov ecx, 0xff
jmp 0x4fc9d1
fxch st(1)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x4fc9a6
xor ecx, ecx
jmp 0x4fc9cf
fld dword [esi + 0xc]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(6)
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(7)
fldcw word [esp + 0x18]
fistp qword [esp + 0x28]
mov ecx, dword [esp + 0x28]
fldcw word [esp + 0x14]
fxch st(1)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 0x41
jp 0x4fc9e2
mov eax, 0xff
jmp 0x4fca1d
fxch st(1)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x4fc9f2
xor eax, eax
jmp 0x4fca1b
fld dword [esi + 0x10]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(6)
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(7)
fldcw word [esp + 0x18]
fistp qword [esp + 0x28]
mov eax, dword [esp + 0x28]
fldcw word [esp + 0x14]
fxch st(1)
shl eax, 8
fxch st(4)
fst dword [esp + 0x68]
or eax, edi
fxch st(2)
shl eax, 8
fst dword [esp + 0x6c]
or eax, edx
fld dword [esi + 0x20]
shl eax, 8
fstp dword [esp + 0x70]
or eax, ecx
fxch st(3)
mov dword [esp + 0x5c], eax
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fld dword [esp + 0x20]
mov dword [esp + 0x78], edx
fst dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
fxch st(4)
mov dword [esp + 0x7c], eax
fcom dword [esi + 4]
fnstsw ax
test ah, 0x41
jp 0x4fca74
mov edi, 0xff
jmp 0x4fcaaf
fxch st(1)
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x4fca84
xor edi, edi
jmp 0x4fcaad
fld dword [esi + 4]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(6)
or eax, 0xc00
mov dword [esp + 0x20], eax
fadd st(7)
fldcw word [esp + 0x20]
fistp qword [esp + 0x28]
mov edi, dword [esp + 0x28]
fldcw word [esp + 0x14]
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 0x41
jp 0x4fcac0
mov edx, 0xff
jmp 0x4fcafb
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x4fcad0
xor edx, edx
jmp 0x4fcaf9
fld dword [esi + 8]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(6)
or eax, 0xc00
mov dword [esp + 0x20], eax
fadd st(7)
fldcw word [esp + 0x20]
fistp qword [esp + 0x28]
mov edx, dword [esp + 0x28]
fldcw word [esp + 0x14]
fxch st(1)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 0x41
jp 0x4fcb0c
mov ecx, 0xff
jmp 0x4fcb47
fxch st(1)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x4fcb1c
xor ecx, ecx
jmp 0x4fcb45
fld dword [esi + 0xc]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(6)
or eax, 0xc00
mov dword [esp + 0x20], eax
fadd st(7)
fldcw word [esp + 0x20]
fistp qword [esp + 0x28]
mov ecx, dword [esp + 0x28]
fldcw word [esp + 0x14]
fxch st(1)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 0x41
jp 0x4fcb58
mov eax, 0xff
jmp 0x4fcb93
fxch st(1)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x4fcb68
xor eax, eax
jmp 0x4fcb91
fld dword [esi + 0x10]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(6)
or eax, 0xc00
mov dword [esp + 0x20], eax
fadd st(7)
fldcw word [esp + 0x20]
fistp qword [esp + 0x28]
mov eax, dword [esp + 0x28]
fldcw word [esp + 0x14]
fxch st(1)
fxch st(2)
shl eax, 8
fstp dword [esp + 0x80]
or eax, edi
fxch st(2)
shl eax, 8
fstp dword [esp + 0x84]
or eax, edx
fld dword [esi + 0x20]
shl eax, 8
fstp dword [esp + 0x88]
or eax, ecx
fld dword [esp + 0x30]
mov dword [esp + 0x74], eax
fstp dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
fxch st(2)
mov dword [esp + 0x90], ecx
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
fxch st(1)
mov dword [esp + 0x94], edx
fcom dword [esi + 4]
fnstsw ax
test ah, 0x41
jp 0x4fcbf9
mov edi, 0xff
jmp 0x4fcc34
fxch st(1)
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x4fcc09
xor edi, edi
jmp 0x4fcc32
fld dword [esi + 4]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(3)
or eax, 0xc00
mov dword [esp + 0x20], eax
fadd st(4)
fldcw word [esp + 0x20]
fistp qword [esp + 0x28]
mov edi, dword [esp + 0x28]
fldcw word [esp + 0x14]
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 0x41
jp 0x4fcc45
mov edx, 0xff
jmp 0x4fcc80
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x4fcc55
xor edx, edx
jmp 0x4fcc7e
fld dword [esi + 8]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(3)
or eax, 0xc00
mov dword [esp + 0x20], eax
fadd st(4)
fldcw word [esp + 0x20]
fistp qword [esp + 0x28]
mov edx, dword [esp + 0x28]
fldcw word [esp + 0x14]
fxch st(1)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 0x41
jp 0x4fcc91
mov ecx, 0xff
jmp 0x4fcccc
fxch st(1)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x4fcca1
xor ecx, ecx
jmp 0x4fccca
fld dword [esi + 0xc]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(3)
or eax, 0xc00
mov dword [esp + 0x20], eax
fadd st(4)
fldcw word [esp + 0x20]
fistp qword [esp + 0x28]
mov ecx, dword [esp + 0x28]
fldcw word [esp + 0x14]
fxch st(1)
fcomp dword [esi + 0x10]
fnstsw ax
test ah, 0x41
jp 0x4fcce3
fstp st(2)
mov eax, 0xff
fstp st(0)
fstp st(0)
jmp 0x4fcd1c
fcomp dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x4fccf5
fstp st(1)
xor eax, eax
fstp st(0)
jmp 0x4fcd1c
fmul dword [esi + 0x10]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
faddp st(1)
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x28]
mov eax, dword [esp + 0x28]
fldcw word [esp + 0x14]
fld dword [esi + 0x34]
shl eax, 8
fcomp qword [0x5fe250]
or eax, edi
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
mov dword [esp + 0x8c], eax
fnstsw ax
mov ecx, ebx
test ah, 0x44
jp 0x4fce64
call fcn.00508900
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
mov ecx, ebx
fmul dword [esi + 0x2c]
fstp dword [esp + 0x18]
call fcn.00508910
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [esi + 0x30]
fstp dword [esp + 0x34]
fild dword [esi + 0x38]
fstp dword [esp + 0x20]
fld dword [esp + 0x38]
fld dword [esp + 0x20]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x38]
fild dword [esi + 0x3c]
fstp dword [esp + 0x20]
fld dword [esp + 0x3c]
fld dword [esp + 0x20]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x3c]
fild dword [esi + 0x40]
fadd dword [esp + 0x18]
fld dword [esp + 0x50]
fadd st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x54]
fld dword [esp + 0x68]
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x68]
fild dword [esi + 0x44]
fadd dword [esp + 0x34]
fld dword [esp + 0x6c]
fadd st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x80]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x80]
fadd dword [esp + 0x84]
fstp dword [esp + 0x84]
fld dword [esi + 0x2c]
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x4fce1a
fld dword [esi + 0x30]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x4fce4e
fld dword [esi + 0x2c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4fcfeb
fld dword [esi + 0x30]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4fcfed
mov ecx, dword [0x67ace0]
push 3
push 0x16
call fcn.004ea990
jmp 0x4fcfed
mov ecx, dword [0x67ace0]
fstp st(0)
push 3
push 0x16
call fcn.004ea990
jmp 0x4fcfed
call fcn.00508900
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
mov ecx, ebx
fmul qword [0x5fe2b8]
fmul dword [esi + 0x2c]
fstp dword [esp + 0x14]
call fcn.00508910
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul qword [0x5fe2b8]
fmul dword [esi + 0x30]
fstp dword [esp + 0x20]
fld dword [esp + 0x38]
fadd dword [esi + 0x24]
fstp dword [esp + 0x38]
fld dword [esi + 0x28]
fadd dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x50]
fadd dword [esi + 0x24]
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fadd dword [esi + 0x28]
fstp dword [esp + 0x54]
fld dword [esp + 0x68]
fadd dword [esi + 0x24]
fstp dword [esp + 0x68]
fld dword [esp + 0x6c]
fadd dword [esi + 0x28]
fstp dword [esp + 0x6c]
fld dword [esp + 0x80]
fadd dword [esi + 0x24]
fstp dword [esp + 0x80]
fld dword [esp + 0x84]
fadd dword [esi + 0x28]
fstp dword [esp + 0x84]
fld dword [esi + 0x34]
fmul qword [0x5fe260]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
call fcn.005a0f30
fstp dword [esp + 0x34]
fld dword [esp + 0x14]
fchs
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul dword [esp + 0x34]
fstp qword [esp + 0x28]
fld dword [esp + 0x30]
call fcn.005a1060
fstp dword [esp + 0x30]
fld dword [esp + 0x20]
fld st(0)
fchs
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld st(0)
fld dword [esp + 0x30]
fld st(0)
fmulp st(2)
fld qword [esp + 0x28]
fsub st(2)
fadd dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x34]
fld st(0)
fmulp st(4)
fld st(1)
fmul dword [esp + 0x18]
fld st(0)
fadd st(5)
fadd dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fld st(1)
fmul dword [esp + 0x14]
fld st(0)
fsubrp st(5)
fld dword [esp + 0x50]
faddp st(5)
fxch st(4)
fstp dword [esp + 0x50]
fld st(2)
fmul dword [esp + 0x14]
fld st(0)
faddp st(6)
fld dword [esp + 0x54]
faddp st(6)
fxch st(5)
fstp dword [esp + 0x54]
fld st(5)
fmulp st(3)
fld qword [esp + 0x28]
fsub st(3)
fadd dword [esp + 0x68]
fstp dword [esp + 0x68]
fxch st(1)
fmulp st(5)
fadd st(4)
fadd dword [esp + 0x6c]
fstp dword [esp + 0x6c]
fsubp st(1)
fadd dword [esp + 0x80]
fstp dword [esp + 0x80]
faddp st(1)
fadd dword [esp + 0x84]
fstp dword [esp + 0x84]
jmp 0x4fcfed
fstp st(0)
mov eax, dword [esi + 0x48]
test eax, eax
jle 0x4fd02f
cmp eax, 2
jle 0x4fd011
cmp eax, 3
jne 0x4fd02f
mov ecx, dword [0x67ace0]
push 1
push 0x13
call fcn.004eb0d0
push 3
jmp 0x4fd022
mov ecx, dword [0x67ace0]
push 0xa
push 0x13
call fcn.004eb0d0
push 2
mov ecx, dword [0x67ace0]
push 0x14
call fcn.004eb0d0
lea eax, [esp + 0x38]
push 4
push eax
call fcn.004f0030
add esp, 8
test al, al
je 0x4fd097
push 5
call fcn.004efdb0
mov edi, dword [0x67ace0]
add esp, 4
mov ecx, ebp
call fcn.00429920
push eax
push 0
mov ecx, edi
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
mov esi, dword [esi + 0x48]
dec esi
cmp esi, 2
ja 0x4fd0ba
mov ecx, dword [0x67ace0]
push 0x13
call fcn.004eb0f0
mov ecx, dword [0x67ace0]
push 0x14
call fcn.004eb0f0
mov ecx, dword [0x67ace0]
push 2
push 0x16
call fcn.004ea990
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret