Function at 0x56b2b0
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.00582540
mov ecx, edi
mov ebx, eax
call fcn.00576360
cdq
and edx, 0xf
add eax, edx
mov ecx, eax
sar ecx, 4
test ecx, ecx
je 0x56ba3e
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.005d2950
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
mov ecx, ebx
fld1
fdivrp st(1)
fstp dword [esp + 0x40]
call fcn.00415d30
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 [0x682888]
fstp dword [esp + 0x18]
fld dword [esi + 0x20]
fmul qword [0x6766b0]
fstp dword [esp + 0x44]
fld dword [esi + 0x14]
fld qword [0x676648]
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 [0x676650]
test ah, 0x41
jp 0x56b3f7
mov edi, 0xff
jmp 0x56b432
fxch st(3)
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x56b407
xor edi, edi
jmp 0x56b430
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 0x56b445
mov edx, 0xff
jmp 0x56b480
fxch st(3)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x56b455
xor edx, edx
jmp 0x56b47e
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 0x56b491
mov ecx, 0xff
jmp 0x56b4cc
fxch st(3)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x56b4a1
xor ecx, ecx
jmp 0x56b4ca
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 0x56b4dd
mov eax, 0xff
jmp 0x56b518
fxch st(3)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x56b4ed
xor eax, eax
jmp 0x56b516
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 0x56b57d
mov edi, 0xff
jmp 0x56b5b8
fxch st(1)
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x56b58d
xor edi, edi
jmp 0x56b5b6
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 0x56b5c9
mov edx, 0xff
jmp 0x56b604
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x56b5d9
xor edx, edx
jmp 0x56b602
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 0x56b615
mov ecx, 0xff
jmp 0x56b650
fxch st(1)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x56b625
xor ecx, ecx
jmp 0x56b64e
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 0x56b661
mov eax, 0xff
jmp 0x56b69c
fxch st(1)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x56b671
xor eax, eax
jmp 0x56b69a
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 0x56b714
mov edi, 0xff
jmp 0x56b74f
fxch st(1)
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x56b724
xor edi, edi
jmp 0x56b74d
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 0x56b760
mov edx, 0xff
jmp 0x56b79b
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x56b770
xor edx, edx
jmp 0x56b799
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 0x56b7ac
mov ecx, 0xff
jmp 0x56b7e7
fxch st(1)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x56b7bc
xor ecx, ecx
jmp 0x56b7e5
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 0x56b7f8
mov eax, 0xff
jmp 0x56b833
fxch st(1)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x56b808
xor eax, eax
jmp 0x56b831
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 0x56b89b
mov edi, 0xff
jmp 0x56b8d6
fxch st(2)
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x56b8ab
xor edi, edi
jmp 0x56b8d4
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 0x56b8e7
mov edx, 0xff
jmp 0x56b922
fxch st(2)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x56b8f7
xor edx, edx
jmp 0x56b920
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 0x56b933
mov ecx, 0xff
jmp 0x56b96e
fxch st(2)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x56b943
xor ecx, ecx
jmp 0x56b96c
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 0x56b985
fstp st(2)
mov eax, 0xff
fstp st(0)
fstp st(0)
jmp 0x56b9c0
fxch st(1)
fcomp dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x56b999
fstp st(1)
xor eax, eax
fstp st(0)
jmp 0x56b9c0
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.0055c760
add esp, 8
test al, al
je 0x56ba3e
push 5
call fcn.0055c4e0
mov esi, dword [0x70f780]
add esp, 4
mov ecx, ebx
call fcn.0056a9c0
push eax
push 0
mov ecx, esi
call fcn.00556d30
mov ecx, dword [0x70f780]
push 0
push 1
call fcn.00556d30
mov ecx, dword [0x70f780]
push 0x142
call fcn.00556dc0
mov ecx, dword [0x70f780]
push 2
push 0
push 4
push 0
push 4
call fcn.00557010
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret