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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x1c]
mov ecx, edi
call fcn.0052b170
mov ecx, edi
mov ebx, eax
call fcn.0052b150
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
mov ecx, edi
fstp dword [esp + 0x28]
call fcn.0052b160
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
mov ecx, edi
fstp dword [esp + 0x3c]
call fcn.0052b180
mov ecx, ebx
mov edi, eax
call fcn.00494ee0
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
mov ecx, ebx
fld1
fdivrp st(1)
fstp dword [esp + 0x38]
call fcn.0056f330
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fld1
fdivrp st(1)
fstp dword [esp + 0x24]
fild dword [edi]
fld dword [esp + 0x38]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x38]
fild dword [edi + 4]
fld dword [esp + 0x24]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x30]
fild dword [edi + 8]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x24]
fimul dword [edi + 0xc]
fstp dword [esp + 0x18]
fld dword [esi + 0x14]
fld qword [0x6221e0]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fstp dword [esp + 0x48]
fld dword [esi + 0x18]
fsub st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esp + 0x4c]
fldz
fst dword [esp + 0x50]
fld dword [esp + 0x38]
fstp dword [esp + 0x10]
fld dword [esp + 0x30]
mov eax, dword [esp + 0x10]
fst dword [esp + 0x14]
mov dword [esp + 0x58], eax
fld1
mov ecx, dword [esp + 0x14]
fcom dword [esi + 4]
mov dword [esp + 0x5c], ecx
fnstsw ax
fld qword [0x6221e8]
test ah, 0x41
jp 0x51c5e6
mov edi, 0xff
jmp 0x51c621
fxch st(3)
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x51c5f6
xor edi, edi
jmp 0x51c61f
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 0x51c634
mov edx, 0xff
jmp 0x51c66f
fxch st(3)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x51c644
xor edx, edx
jmp 0x51c66d
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 0x51c680
mov ecx, 0xff
jmp 0x51c6bb
fxch st(3)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x51c690
xor ecx, ecx
jmp 0x51c6b9
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 0x51c6cc
mov eax, 0xff
jmp 0x51c707
fxch st(3)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x51c6dc
xor eax, eax
jmp 0x51c705
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 + 0x28]
or eax, edi
shl eax, 8
or eax, edx
fsub st(6)
shl eax, 8
or eax, ecx
mov dword [esp + 0x54], eax
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fst dword [esp + 0x60]
fxch st(5)
fstp dword [esp + 0x64]
fxch st(3)
fst dword [esp + 0x68]
fld dword [esp + 0x24]
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
fxch st(2)
mov dword [esp + 0x70], edx
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
fxch st(2)
mov dword [esp + 0x74], eax
fcom dword [esi + 4]
fnstsw ax
test ah, 0x41
jp 0x51c76c
mov edi, 0xff
jmp 0x51c7a7
fxch st(1)
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x51c77c
xor edi, edi
jmp 0x51c7a5
fld dword [esi + 4]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(3)
or eax, 0xc00
mov dword [esp + 0x28], eax
fadd st(5)
fldcw word [esp + 0x28]
fistp qword [esp + 0x28]
mov edi, dword [esp + 0x28]
fldcw word [esp + 0x10]
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 0x41
jp 0x51c7b8
mov edx, 0xff
jmp 0x51c7f3
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x51c7c8
xor edx, edx
jmp 0x51c7f1
fld dword [esi + 8]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(3)
or eax, 0xc00
mov dword [esp + 0x28], eax
fadd st(5)
fldcw word [esp + 0x28]
fistp qword [esp + 0x28]
mov edx, dword [esp + 0x28]
fldcw word [esp + 0x10]
fxch st(1)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 0x41
jp 0x51c804
mov ecx, 0xff
jmp 0x51c83f
fxch st(1)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x51c814
xor ecx, ecx
jmp 0x51c83d
fld dword [esi + 0xc]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(3)
or eax, 0xc00
mov dword [esp + 0x28], eax
fadd st(5)
fldcw word [esp + 0x28]
fistp qword [esp + 0x28]
mov ecx, dword [esp + 0x28]
fldcw word [esp + 0x10]
fxch st(1)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 0x41
jp 0x51c850
mov eax, 0xff
jmp 0x51c88b
fxch st(1)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x51c860
xor eax, eax
jmp 0x51c889
fld dword [esi + 0x10]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(3)
or eax, 0xc00
mov dword [esp + 0x28], eax
fadd st(5)
fldcw word [esp + 0x28]
fistp qword [esp + 0x28]
mov eax, dword [esp + 0x28]
fldcw word [esp + 0x10]
fxch st(1)
fld dword [esp + 0x44]
shl eax, 8
fstp dword [esp + 0x78]
or eax, edi
fld dword [esi + 0x18]
shl eax, 8
fadd dword [esp + 0x3c]
or eax, edx
shl eax, 8
or eax, ecx
fsub st(5)
mov dword [esp + 0x6c], eax
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fst dword [esp + 0x7c]
fxch st(2)
fst dword [esp + 0x80]
fld dword [esp + 0x38]
fstp dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
fld dword [esp + 0x18]
mov dword [esp + 0x88], ecx
fst dword [esp + 0x40]
mov edx, dword [esp + 0x40]
fxch st(2)
mov dword [esp + 0x8c], edx
fcom dword [esi + 4]
fnstsw ax
test ah, 0x41
jp 0x51c8fd
mov edi, 0xff
jmp 0x51c938
fxch st(1)
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x51c90d
xor edi, edi
jmp 0x51c936
fld dword [esi + 4]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(5)
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(7)
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 0x51c949
mov edx, 0xff
jmp 0x51c984
fxch st(1)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x51c959
xor edx, edx
jmp 0x51c982
fld dword [esi + 8]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(5)
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(7)
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 0x51c995
mov ecx, 0xff
jmp 0x51c9d0
fxch st(1)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x51c9a5
xor ecx, ecx
jmp 0x51c9ce
fld dword [esi + 0xc]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(5)
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(7)
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 0x51c9e1
mov eax, 0xff
jmp 0x51ca1c
fxch st(1)
fcom dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x51c9f1
xor eax, eax
jmp 0x51ca1a
fld dword [esi + 0x10]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(5)
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(7)
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
fldcw word [esp + 0x10]
fxch st(1)
shl eax, 8
fxch st(5)
fstp dword [esp + 0x90]
or eax, edi
fxch st(2)
shl eax, 8
fstp dword [esp + 0x94]
or eax, edx
fxch st(1)
shl eax, 8
fst dword [esp + 0x98]
or eax, ecx
fld dword [esp + 0x24]
mov dword [esp + 0x84], eax
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fxch st(1)
mov dword [esp + 0xa0], eax
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
fxch st(2)
mov dword [esp + 0xa4], ecx
fcom dword [esi + 4]
fnstsw ax
test ah, 0x41
jp 0x51ca84
mov edi, 0xff
jmp 0x51cabf
fxch st(2)
fcom dword [esi + 4]
fnstsw ax
test ah, 1
jne 0x51ca94
xor edi, edi
jmp 0x51cabd
fld dword [esi + 4]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(2)
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(4)
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov edi, dword [esp + 0x18]
fldcw word [esp + 0x10]
fxch st(2)
fcom dword [esi + 8]
fnstsw ax
test ah, 0x41
jp 0x51cad0
mov edx, 0xff
jmp 0x51cb0b
fxch st(2)
fcom dword [esi + 8]
fnstsw ax
test ah, 1
jne 0x51cae0
xor edx, edx
jmp 0x51cb09
fld dword [esi + 8]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(2)
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(4)
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov edx, dword [esp + 0x18]
fldcw word [esp + 0x10]
fxch st(2)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 0x41
jp 0x51cb1c
mov ecx, 0xff
jmp 0x51cb57
fxch st(2)
fcom dword [esi + 0xc]
fnstsw ax
test ah, 1
jne 0x51cb2c
xor ecx, ecx
jmp 0x51cb55
fld dword [esi + 0xc]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fmul st(2)
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(4)
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fldcw word [esp + 0x10]
fxch st(2)
fcomp dword [esi + 0x10]
fnstsw ax
test ah, 0x41
jp 0x51cb6e
fstp st(2)
mov eax, 0xff
fstp st(0)
fstp st(0)
jmp 0x51cba9
fxch st(1)
fcomp dword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x51cb82
fstp st(1)
xor eax, eax
fstp st(0)
jmp 0x51cba9
fmul dword [esi + 0x10]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
or eax, 0xc00
faddp st(1)
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
fldcw word [esp + 0x10]
shl eax, 8
or eax, edi
shl eax, 8
or eax, edx
shl eax, 8
lea edx, [esp + 0x48]
or eax, ecx
push 4
push edx
mov dword [esp + 0xa4], eax
call fcn.00513cd0
add esp, 8
test al, al
je 0x51cc27
push 5
call fcn.00513a50
mov esi, dword [0x6b1ff8]
add esp, 4
mov ecx, ebx
call fcn.004e59a0
push eax
push 0
mov ecx, esi
call fcn.0050e950
mov ecx, dword [0x6b1ff8]
push 0
push 1
call fcn.0050e950
mov ecx, dword [0x6b1ff8]
push 0x142
call fcn.0050e9e0
mov ecx, dword [0x6b1ff8]
push 2
push 0
push 4
push 0
push 4
call fcn.0050ec30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret