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

Disassembly:
sub esp, 0x44
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0xc]
push ebx
mov ebx, dword [esp + 0x50]
fld dword [ebx + edx*4]
push ebp
fstp dword [esp + 8]
push esi
fld dword [ecx + edx*4]
push edi
fld dword [0x60477c]
fcomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x5a9d1d
fld dword [0x5f53f4]
fdiv st(1)
fstp dword [esp + 0x14]
jmp 0x5a9d25
mov dword [esp + 0x14], 0
fcomp dword [0x60477c]
mov byte [esp + 0x5c], 1
fnstsw ax
test ah, 5
jnp 0x5a9d3c
mov byte [esp + 0x5c], 0
mov ecx, edx
mov esi, 1
shl esi, cl
mov eax, 1
mov dword [esp + edx*4 + 0x18], 0
and esi, 3
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x70]
fld dword [ecx + esi*4]
fchs
and eax, 3
mov edx, dword [ecx + eax*4]
mov dword [esp + esi*4 + 0x18], edx
fstp dword [esp + eax*4 + 0x18]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
call fcn.005a7c60
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x64]
fld dword [ebx + edi*4]
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
fmul dword [esp + edi*4 + 0x30]
mov ecx, esi
mov eax, 1
shl eax, cl
fstp dword [esp + edi*4 + 0x30]
fld dword [ebx + ebp*4]
mov ecx, dword [esp + 0x60]
fmul dword [esp + ebp*4 + 0x30]
mov dword [esp + ecx*4 + 0x24], 0
mov ecx, dword [esp + 0x70]
and eax, 3
shl eax, 2
fstp dword [esp + ebp*4 + 0x30]
mov edx, dword [eax + ecx + 0xc]
fld dword [ecx + esi*4 + 0xc]
mov dword [esp + esi*4 + 0x24], edx
fchs
fstp dword [esp + eax + 0x24]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.005a7c60
fld dword [ebx + edi*4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
fmul dword [esp + edi*4 + 0x3c]
mov ecx, esi
mov eax, 1
shl eax, cl
fstp dword [esp + edi*4 + 0x3c]
fld dword [ebx + ebp*4]
mov ecx, dword [esp + 0x60]
fmul dword [esp + ebp*4 + 0x3c]
mov dword [esp + ecx*4 + 0x24], 0
mov ecx, dword [esp + 0x70]
and eax, 3
shl eax, 2
fstp dword [esp + ebp*4 + 0x3c]
mov edx, dword [eax + ecx + 0x18]
shl esi, 2
fld dword [esi + ecx + 0x18]
mov dword [esp + esi + 0x24], edx
fchs
lea ecx, [esp + 0x18]
fstp dword [esp + eax + 0x24]
lea eax, [esp + 0x24]
push eax
call fcn.005a7c60
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x48], ecx
fld dword [esp + edi*4 + 0x48]
fmul dword [ebx + edi*4]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x74]
mov dword [esp + ecx*4 + 0x18], 0
fstp dword [esp + edi*4 + 0x48]
fld dword [esp + ebp*4 + 0x48]
fmul dword [ebx + ebp*4]
fstp dword [esp + ebp*4 + 0x48]
fld dword [eax + edi*4]
fmul dword [ebx + edi*4]
fstp dword [esp + edi*4 + 0x18]
fld dword [eax + ebp*4]
fmul dword [ebx + ebp*4]
fstp dword [esp + 0x60]
fld dword [edx + ecx*4]
mov eax, dword [esp + 0x60]
fsub dword [esp + edi*4 + 0x30]
mov dword [esp + ebp*4 + 0x18], eax
fsub dword [esp + ebp*4 + 0x30]
fcomp dword [0x60477c]
fnstsw ax
test ah, 5
jp 0x5a9ee3
mov eax, 1
jmp 0x5a9ee5
xor eax, eax
movzx esi, byte [esp + 0x5c]
cmp eax, esi
mov edx, dword [esp + 0x58]
jne 0x5a9f92
mov eax, dword [esp + 0x74]
fld dword [eax + ecx*4 + 0xc]
fsub dword [esp + edi*4 + 0x3c]
fsub dword [esp + ebp*4 + 0x3c]
fcomp dword [0x60477c]
fnstsw ax
test ah, 5
jp 0x5a9f1a
mov eax, 1
jmp 0x5a9f1c
xor eax, eax
cmp eax, esi
jne 0x5a9f92
mov eax, dword [esp + 0x74]
fld dword [eax + ecx*4 + 0x18]
fsub dword [esp + edi*4 + 0x48]
fsub dword [esp + ebp*4 + 0x48]
fcomp dword [0x60477c]
fnstsw ax
test ah, 5
jp 0x5a9f44
mov eax, 1
jmp 0x5a9f46
xor eax, eax
cmp eax, esi
jne 0x5a9f92
fld dword [esp + 0x78]
fsub dword [esp + edi*4 + 0x18]
fsub dword [esp + 0x60]
fmul dword [esp + 0x14]
fld dword [esp + 0x10]
fchs
fld st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x5a9f90
fcom dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jp 0x5a9f90
mov eax, dword [edx]
fstp dword [eax + ecx*4]
mov eax, dword [edx]
mov esi, dword [ebx + edi*4]
mov dword [eax + edi*4], esi
mov eax, dword [edx]
mov esi, dword [ebx + ebp*4]
mov dword [eax + ebp*4], esi
add dword [edx], 0xc
jmp 0x5a9f92
fstp st(0)
mov eax, dword [esp + 0x74]
fld dword [eax + ecx*4]
fsub dword [esp + edi*4 + 0x30]
fadd dword [esp + ebp*4 + 0x30]
fcomp dword [0x60477c]
fnstsw ax
test ah, 5
jp 0x5a9fb5
mov eax, 1
jmp 0x5a9fb7
xor eax, eax
movzx esi, byte [esp + 0x5c]
cmp eax, esi
jne 0x5aa066
mov eax, dword [esp + 0x74]
fld dword [eax + ecx*4 + 0xc]
fsub dword [esp + edi*4 + 0x3c]
fadd dword [esp + ebp*4 + 0x3c]
fcomp dword [0x60477c]
fnstsw ax
test ah, 5
jp 0x5a9fe8
mov eax, 1
jmp 0x5a9fea
xor eax, eax
cmp eax, esi
jne 0x5aa066
mov eax, dword [esp + 0x74]
fld dword [eax + ecx*4 + 0x18]
fsub dword [esp + edi*4 + 0x48]
fadd dword [esp + ebp*4 + 0x48]
fcomp dword [0x60477c]
fnstsw ax
test ah, 5
jp 0x5aa012
mov eax, 1
jmp 0x5aa014
xor eax, eax
cmp eax, esi
jne 0x5aa066
fld dword [esp + 0x78]
fsub dword [esp + edi*4 + 0x18]
fadd dword [esp + ebp*4 + 0x18]
fmul dword [esp + 0x14]
fld dword [esp + 0x10]
fchs
fld st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x5aa064
fcom dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jp 0x5aa064
mov eax, dword [edx]
fstp dword [eax + ecx*4]
mov eax, dword [edx]
mov esi, dword [ebx + edi*4]
mov dword [eax + edi*4], esi
fld dword [ebx + ebp*4]
mov eax, dword [edx]
fchs
fstp dword [eax + ebp*4]
mov eax, dword [edx]
add eax, 0xc
mov dword [edx], eax
jmp 0x5aa066
fstp st(0)
mov eax, dword [esp + 0x74]
fld dword [eax + ecx*4]
fadd dword [esp + edi*4 + 0x30]
fadd dword [esp + ebp*4 + 0x30]
fcomp dword [0x60477c]
fnstsw ax
test ah, 5
jp 0x5aa089
mov eax, 1
jmp 0x5aa08b
xor eax, eax
movzx esi, byte [esp + 0x5c]
cmp eax, esi
jne 0x5aa13c
mov eax, dword [esp + 0x74]
fld dword [eax + ecx*4 + 0xc]
fadd dword [esp + edi*4 + 0x3c]
fadd dword [esp + ebp*4 + 0x3c]
fcomp dword [0x60477c]
fnstsw ax
test ah, 5
jp 0x5aa0bc
mov eax, 1
jmp 0x5aa0be
xor eax, eax
cmp eax, esi
jne 0x5aa13c
mov eax, dword [esp + 0x74]
fld dword [eax + ecx*4 + 0x18]
fadd dword [esp + edi*4 + 0x48]
fadd dword [esp + ebp*4 + 0x48]
fcomp dword [0x60477c]
fnstsw ax
test ah, 5
jp 0x5aa0e6
mov eax, 1
jmp 0x5aa0e8
xor eax, eax
cmp eax, esi
jne 0x5aa13c
fld dword [esp + ebp*4 + 0x18]
fadd dword [esp + edi*4 + 0x18]
fadd dword [esp + 0x78]
fmul dword [esp + 0x14]
fld dword [esp + 0x10]
fchs
fld st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x5aa13a
fcom dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jp 0x5aa13a
mov eax, dword [edx]
fstp dword [eax + ecx*4]
mov eax, dword [edx]
fld dword [ebx + edi*4]
fchs
fstp dword [eax + edi*4]
mov eax, dword [edx]
fld dword [ebx + ebp*4]
fchs
fstp dword [eax + ebp*4]
mov eax, dword [edx]
add eax, 0xc
mov dword [edx], eax
jmp 0x5aa13c
fstp st(0)
mov eax, dword [esp + 0x74]
fld dword [eax + ecx*4]
fadd dword [esp + edi*4 + 0x30]
fsub dword [esp + ebp*4 + 0x30]
fcomp dword [0x60477c]
fnstsw ax
test ah, 5
jp 0x5aa15f
mov eax, 1
jmp 0x5aa161
xor eax, eax
cmp eax, esi
jne 0x5aa211
mov eax, dword [esp + 0x74]
fld dword [eax + ecx*4 + 0xc]
fadd dword [esp + edi*4 + 0x3c]
fsub dword [esp + ebp*4 + 0x3c]
fcomp dword [0x60477c]
fnstsw ax
test ah, 5
jp 0x5aa18d
mov eax, 1
jmp 0x5aa18f
xor eax, eax
cmp eax, esi
jne 0x5aa211
mov eax, dword [esp + 0x74]
fld dword [eax + ecx*4 + 0x18]
fadd dword [esp + edi*4 + 0x48]
fsub dword [esp + ebp*4 + 0x48]
fcomp dword [0x60477c]
fnstsw ax
test ah, 5
jp 0x5aa1b7
mov eax, 1
jmp 0x5aa1b9
xor eax, eax
cmp eax, esi
jne 0x5aa211
fld dword [esp + 0x78]
fadd dword [esp + edi*4 + 0x18]
fsub dword [esp + ebp*4 + 0x18]
fmul dword [esp + 0x14]
fld dword [esp + 0x10]
fchs
fld st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x5aa20f
fcom dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jp 0x5aa20f
mov eax, dword [edx]
fstp dword [eax + ecx*4]
mov ecx, dword [edx]
fld dword [ebx + edi*4]
fchs
fstp dword [ecx + edi*4]
mov ecx, dword [ebx + ebp*4]
mov eax, dword [edx]
mov dword [eax + ebp*4], ecx
mov eax, dword [edx]
pop edi
pop esi
add eax, 0xc
pop ebp
mov dword [edx], eax
pop ebx
add esp, 0x44
ret
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret