Function at 0x5676a0
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.0057f620
mov ecx, edi
mov ebx, eax
call fcn.00572cd0
cdq
and edx, 0xf
add eax, edx
mov ecx, eax
sar ecx, 4
test ecx, ecx
je 0x567e2e
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.005cf570
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
mov ecx, ebx
fld1
fdivrp st(1)
fstp dword [esp + 0x40]
call fcn.00415c50
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 [0x67f1b0]
fstp dword [esp + 0x18]
fld dword [esi + 0x20]
fmul qword [0x673678]
fstp dword [esp + 0x44]
fld dword [esi + 0x14]
fld qword [0x673618]
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 [0x673620]
test ah, 0x41
jp 0x5677e7
mov edi, 0xff
jmp 0x567822
fxch st(3)
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x5677f7
xor edi, edi
jmp 0x567820
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 0x567835
mov edx, 0xff
jmp 0x567870
fxch st(3)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x567845
xor edx, edx
jmp 0x56786e
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 0x567881
mov ecx, 0xff
jmp 0x5678bc
fxch st(3)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x567891
xor ecx, ecx
jmp 0x5678ba
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 0x5678cd
mov eax, 0xff
jmp 0x567908
fxch st(3)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x5678dd
xor eax, eax
jmp 0x567906
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 0x56796d
mov edi, 0xff
jmp 0x5679a8
fxch st(1)
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x56797d
xor edi, edi
jmp 0x5679a6
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 0x5679b9
mov edx, 0xff
jmp 0x5679f4
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x5679c9
xor edx, edx
jmp 0x5679f2
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 0x567a05
mov ecx, 0xff
jmp 0x567a40
fxch st(1)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x567a15
xor ecx, ecx
jmp 0x567a3e
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 0x567a51
mov eax, 0xff
jmp 0x567a8c
fxch st(1)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x567a61
xor eax, eax
jmp 0x567a8a
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 0x567b04
mov edi, 0xff
jmp 0x567b3f
fxch st(1)
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x567b14
xor edi, edi
jmp 0x567b3d
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 0x567b50
mov edx, 0xff
jmp 0x567b8b
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x567b60
xor edx, edx
jmp 0x567b89
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 0x567b9c
mov ecx, 0xff
jmp 0x567bd7
fxch st(1)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x567bac
xor ecx, ecx
jmp 0x567bd5
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 0x567be8
mov eax, 0xff
jmp 0x567c23
fxch st(1)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x567bf8
xor eax, eax
jmp 0x567c21
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 0x567c8b
mov edi, 0xff
jmp 0x567cc6
fxch st(2)
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x567c9b
xor edi, edi
jmp 0x567cc4
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 0x567cd7
mov edx, 0xff
jmp 0x567d12
fxch st(2)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x567ce7
xor edx, edx
jmp 0x567d10
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 0x567d23
mov ecx, 0xff
jmp 0x567d5e
fxch st(2)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x567d33
xor ecx, ecx
jmp 0x567d5c
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 0x567d75
fstp st(2)
mov eax, 0xff
fstp st(0)
fstp st(0)
jmp 0x567db0
fxch st(1)
fcomp dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x567d89
fstp st(1)
xor eax, eax
fstp st(0)
jmp 0x567db0
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.00558d00
add esp, 8
test al, al
je 0x567e2e
push 5
call fcn.00558a80
mov esi, dword [0x70a5c0]
add esp, 4
mov ecx, ebx
call fcn.0052cea0
push eax
push 0
mov ecx, esi
call fcn.005532f0
mov ecx, dword [0x70a5c0]
push 0
push 1
call fcn.005532f0
mov ecx, dword [0x70a5c0]
push 0x142
call fcn.00553380
mov ecx, dword [0x70a5c0]
push 2
push 0
push 4
push 0
push 4
call fcn.005535d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret