Function at 0x566000
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.0057f620
mov ecx, ebx
mov ebp, eax
call fcn.00572cf0
mov ecx, ebp
mov edi, eax
call fcn.005cf570
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fld1
mov ecx, ebp
fdivrp st(1)
fstp dword [esp + 0x34]
call fcn.00415c50
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 [0x673618]
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 [0x673620]
test ah, 0x41
jp 0x56611e
mov edi, 0xff
jmp 0x566157
fldz
fcomp dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x56612e
xor edi, edi
jmp 0x566157
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 0x56616a
mov edx, 0xff
jmp 0x5661a3
fldz
fcomp dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x56617a
xor edx, edx
jmp 0x5661a3
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 0x5661b4
mov ecx, 0xff
jmp 0x5661ed
fldz
fcomp dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x5661c4
xor ecx, ecx
jmp 0x5661ed
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 0x5661fe
mov eax, 0xff
jmp 0x566237
fldz
fcomp dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x56620e
xor eax, eax
jmp 0x566237
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 0x566290
mov edi, 0xff
jmp 0x5662c7
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x56629e
xor edi, edi
jmp 0x5662c7
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 0x5662da
mov edx, 0xff
jmp 0x566315
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x5662ea
xor edx, edx
jmp 0x566313
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 0x566326
mov ecx, 0xff
jmp 0x566361
fxch st(1)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x566336
xor ecx, ecx
jmp 0x56635f
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 0x566372
mov eax, 0xff
jmp 0x5663ad
fxch st(1)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x566382
xor eax, eax
jmp 0x5663ab
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 0x566404
mov edi, 0xff
jmp 0x56643f
fxch st(1)
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x566414
xor edi, edi
jmp 0x56643d
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 0x566450
mov edx, 0xff
jmp 0x56648b
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x566460
xor edx, edx
jmp 0x566489
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 0x56649c
mov ecx, 0xff
jmp 0x5664d7
fxch st(1)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x5664ac
xor ecx, ecx
jmp 0x5664d5
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 0x5664e8
mov eax, 0xff
jmp 0x566523
fxch st(1)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x5664f8
xor eax, eax
jmp 0x566521
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 0x566589
mov edi, 0xff
jmp 0x5665c4
fxch st(1)
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x566599
xor edi, edi
jmp 0x5665c2
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 0x5665d5
mov edx, 0xff
jmp 0x566610
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x5665e5
xor edx, edx
jmp 0x56660e
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 0x566621
mov ecx, 0xff
jmp 0x56665c
fxch st(1)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x566631
xor ecx, ecx
jmp 0x56665a
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 0x566673
fstp st(2)
mov eax, 0xff
fstp st(0)
fstp st(0)
jmp 0x5666ac
fcomp dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x566685
fstp st(1)
xor eax, eax
fstp st(0)
jmp 0x5666ac
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 [0x673288]
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 0x5667f4
call fcn.00572cd0
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
mov ecx, ebx
fmul dword [esi + 0x2c]
fstp dword [esp + 0x18]
call fcn.00572ce0
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 0x5667aa
fld dword [esi + 0x30]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x5667de
fld dword [esi + 0x2c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x56697b
fld dword [esi + 0x30]
fcompp
fnstsw ax
test ah, 0x41
jne 0x56697d
mov ecx, dword [0x70a5c0]
push 3
push 0x16
call fcn.005532b0
jmp 0x56697d
mov ecx, dword [0x70a5c0]
fstp st(0)
push 3
push 0x16
call fcn.005532b0
jmp 0x56697d
call fcn.00572cd0
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
mov ecx, ebx
fmul qword [0x673618]
fmul dword [esi + 0x2c]
fstp dword [esp + 0x14]
call fcn.00572ce0
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul qword [0x673618]
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 [0x673388]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
call fcn.00612c10
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.00612d40
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 0x56697d
fstp st(0)
mov eax, dword [esi + 0x48]
test eax, eax
jle 0x5669bf
cmp eax, 2
jle 0x5669a1
cmp eax, 3
jne 0x5669bf
mov ecx, dword [0x70a5c0]
push 1
push 0x13
call fcn.005539f0
push 3
jmp 0x5669b2
mov ecx, dword [0x70a5c0]
push 0xa
push 0x13
call fcn.005539f0
push 2
mov ecx, dword [0x70a5c0]
push 0x14
call fcn.005539f0
lea eax, [esp + 0x38]
push 4
push eax
call fcn.00558d00
add esp, 8
test al, al
je 0x566a27
push 5
call fcn.00558a80
mov edi, dword [0x70a5c0]
add esp, 4
mov ecx, ebp
call fcn.0052cea0
push eax
push 0
mov ecx, edi
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
mov esi, dword [esi + 0x48]
dec esi
cmp esi, 2
ja 0x566a4a
mov ecx, dword [0x70a5c0]
push 0x13
call fcn.00553a10
mov ecx, dword [0x70a5c0]
push 0x14
call fcn.00553a10
mov ecx, dword [0x70a5c0]
push 2
push 0x16
call fcn.005532b0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret