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

Disassembly:
sub esp, 0x94
push ebx
push ebp
mov ebp, dword [esp + 0xbc]
push esi
push edi
push fcn.005b6bc0
push 4
push 0x10
lea eax, [esp + 0x70]
mov bl, 0xf
push eax
mov dword [esp + 0x30], 0xff7fffff
mov dword [esp + 0x3c], 0x3f800000
mov byte [esp + 0x23], bl
call fcn.0059ee00
fld dword [ebp]
fabs
fstp dword [esp + 0x64]
fld dword [ebp + 4]
mov esi, dword [esp + 0xbc]
fabs
fstp dword [esp + 0x68]
fld dword [ebp + 8]
lea eax, [ebp + 0x30]
fabs
fstp dword [esp + 0x6c]
fld dword [ebp + 0x10]
xor ecx, ecx
fabs
fstp dword [esp + 0x74]
fld dword [ebp + 0x14]
sub eax, esi
fabs
fstp dword [esp + 0x78]
fld dword [ebp + 0x18]
mov edx, esi
fabs
fstp dword [esp + 0x7c]
fld dword [ebp + 0x20]
lea edi, [esp + 0x74]
fabs
fstp dword [esp + 0x84]
fld dword [ebp + 0x24]
mov dword [esp + 0x1c], eax
fabs
fstp dword [esp + 0x88]
fld dword [ebp + 0x28]
fabs
fstp dword [esp + 0x8c]
fld dword [esp + 0x44]
jmp 0x5b5b46
mov eax, dword [esp + 0x1c]
fld dword [eax + edx]
mov eax, dword [esp + 0xc0]
fst dword [esp + 0x14]
fabs
fld dword [edi + 0x10]
fmul dword [eax + 8]
fld dword [edi - 0x10]
fmul dword [eax]
faddp st(1)
fld dword [eax + 4]
fmul dword [edi]
faddp st(1)
fadd dword [edx]
fsubp st(1)
fst dword [esp + 0x18]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x5b5bb2
mov eax, dword [esp + 0x18]
fstp st(0)
fld dword [edx]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
fchs
fsub dword [esp + 0x18]
mov dword [esp + 0x2c], eax
fld dword [esp + 0x18]
mov bl, cl
fcomp dword [esp + 0xb8]
or bl, 0xc
fnstsw ax
test ah, 0x41
je 0x5b5dff
inc ecx
add edi, 4
add edx, 4
cmp ecx, 3
jl 0x5b5b42
lea eax, [esp + 0x64]
xor edx, edx
sub eax, ebp
mov byte [esp + 0x13], bl
lea edi, [esp + 0x64]
lea ecx, [ebp + 4]
mov dword [esp + 0x1c], eax
jmp 0x5b5be0
mov eax, dword [esp + 0x1c]
nop
lea esp, [esp]
fld dword [ecx - 4]
fmul dword [ebp + 0x30]
fld dword [ecx + 4]
fmul dword [ebp + 0x38]
faddp st(1)
fld dword [ecx]
fmul dword [ebp + 0x34]
faddp st(1)
fst dword [esp + 0x28]
fabs
fstp dword [esp + 0x14]
fld dword [ecx + eax]
mov eax, dword [esp + 0xc0]
fmul dword [esi + 4]
fld dword [edi + 8]
fmul dword [esi + 8]
faddp st(1)
fld dword [edi]
fmul dword [esi]
faddp st(1)
fadd dword [eax + edx*4]
fsubr dword [esp + 0x14]
fst dword [esp + 0x24]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x5b5c6e
mov eax, dword [esp + 0x24]
fstp st(0)
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xc0]
fld dword [eax + edx*4]
mov eax, dword [esp + 0x28]
fsub dword [esp + 0x14]
mov bl, dl
fld dword [esp + 0x24]
mov dword [esp + 0x2c], eax
fcomp dword [esp + 0xb8]
shl bl, 2
or bl, 3
fnstsw ax
test ah, 0x41
je 0x5b5dff
inc edx
add ecx, 0x10
add edi, 0x10
cmp edx, 3
jl 0x5b5bd7
fld dword [esp + 0x20]
xor ecx, ecx
fadd dword [esp + 0xb8]
lea eax, [esp + 0x64]
sub eax, ebp
mov byte [esp + 0x13], bl
fstp dword [esp + 0x48]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x44], eax
mov esi, 1
shl esi, cl
mov edi, 1
and esi, 3
mov ecx, esi
shl edi, cl
shl ecx, 4
lea edx, [esp + ecx + 0x64]
mov dword [esp + 0x1c], edx
and edi, 3
mov eax, edi
shl eax, 4
lea eax, [esp + eax + 0x64]
mov edx, ebp
sub edx, eax
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x1c]
xor ecx, ecx
sub edx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x60]
fld dword [edx + eax]
fld st(0)
fmulp st(1)
fsubr dword [0x5f53f4]
fcom dword [0x5da6c0]
fnstsw ax
test ah, 0x41
jne 0x5b5e12
mov ebx, dword [esp + 0x5c]
mov eax, 1
shl eax, cl
mov edx, 1
and eax, 3
mov ecx, eax
shl edx, cl
mov ecx, dword [esp + 0xc0]
fld dword [ecx + edi*4]
mov ecx, dword [esp + 0x18]
fmul dword [ebx + ecx]
mov ebx, dword [esp + 0xc0]
fld dword [ebx + esi*4]
mov ebx, dword [esp + 0xbc]
fmul dword [ecx]
mov ecx, dword [esp + 0xc4]
and edx, 3
add ecx, 0x30
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [ebp + eax*4]
fmul dword [ecx + edx*4]
fld dword [ebp + edx*4]
fmul dword [ecx + eax*4]
mov ecx, dword [esp + 0x44]
add ecx, ebp
fsubp st(1)
fst dword [esp + 0x40]
fabs
fstp dword [esp + 0x1c]
fld dword [ecx + eax*4]
fmul dword [ebx + edx*4]
fld dword [ecx + edx*4]
fmul dword [ebx + eax*4]
faddp st(1)
fsubr dword [esp + 0x1c]
fsub dword [esp + 0x4c]
fstp dword [esp + 0x24]
fsqrt
fst dword [esp + 0x3c]
fmul dword [esp + 0xb8]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 5
jnp 0x5b5e03
fld dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
fmul dword [esp + 0x48]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 5
jp 0x5b5e16
fstp st(0)
mov bl, byte [esp + 0x14]
fld dword [0x5f53f4]
mov edx, dword [esp + 0x40]
fdiv dword [esp + 0x3c]
shl bl, 2
or bl, cl
mov dword [esp + 0x2c], edx
mov byte [esp + 0x13], bl
fld dword [esp + 0x24]
fmul st(1)
fst dword [esp + 0x48]
fstp dword [esp + 0x20]
fld dword [esp + 0x4c]
fsub dword [esp + 0x1c]
fmulp st(1)
jmp 0x5b5e1a
mov byte [esp + 0x13], bl
pop edi
fstp st(0)
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x94
ret
fstp st(0)
jmp 0x5b5e1a
mov bl, byte [esp + 0x13]
mov edx, dword [esp + 0x18]
inc ecx
add edx, 4
cmp ecx, 3
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], edx
jl 0x5b5ce7
mov ecx, dword [esp + 0x14]
inc ecx
add ebp, 0x10
cmp ecx, 3
mov dword [esp + 0x14], ecx
jl 0x5b5ca1
fld dword [esp + 0x20]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xb0]
fstp dword [eax]
mov dl, bl
and dl, 0xc
fstp dword [ecx]
cmp dl, 0xc
jne 0x5b5f18
and bl, 3
movsx esi, bl
fld dword [esp + esi*4 + 0x64]
fcomp dword [0x5e1158]
fnstsw ax
test ah, 5
jp 0x5b5e8a
mov edx, 1
jmp 0x5b5e8c
xor edx, edx
fld dword [esp + esi*4 + 0x74]
fcomp dword [0x5e1158]
fnstsw ax
test ah, 5
jp 0x5b5ea4
mov ecx, 1
jmp 0x5b5ea6
xor ecx, ecx
fld dword [esp + esi*4 + 0x84]
fcomp dword [0x5e1158]
fnstsw ax
test ah, 5
jp 0x5b5ec1
mov eax, 1
jmp 0x5b5ec3
xor eax, eax
fld dword [esp + 0x2c]
add ecx, eax
fcomp dword [0x60477c]
xor eax, eax
add ecx, edx
mov edx, dword [esp + 0xac]
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
fnstsw ax
test ah, 5
jp 0x5b5ef1
fld dword [0x5f53f4]
jmp 0x5b5ef7
fld dword [0x5db050]
xor eax, eax
fstp dword [edx + esi*4]
mov ah, cl
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
or eax, 2
mov word [ecx], ax
mov al, 1
add esp, 0x94
ret
mov dl, bl
and dl, 3
cmp dl, 3
jne 0x5b5ff4
shr bl, 2
and bl, dl
movsx ecx, bl
shl ecx, 4
fld dword [esp + ecx + 0x64]
fcomp dword [0x5e1158]
fnstsw ax
test ah, 5
jp 0x5b5f49
mov esi, 1
jmp 0x5b5f4b
xor esi, esi
fld dword [esp + ecx + 0x68]
fcomp dword [0x5e1158]
fnstsw ax
test ah, 5
jp 0x5b5f63
mov edx, 1
jmp 0x5b5f65
xor edx, edx
fld dword [esp + ecx + 0x6c]
fcomp dword [0x5e1158]
fnstsw ax
test ah, 5
jp 0x5b5f7d
mov eax, 1
jmp 0x5b5f7f
xor eax, eax
fld dword [esp + 0x2c]
add edx, eax
fcomp dword [0x60477c]
add edx, esi
fnstsw ax
test ah, 0x41
mov eax, dword [esp + 0xc4]
jne 0x5b5fbe
fld dword [ecx + eax]
fchs
fstp dword [esp + 0x30]
fld dword [ecx + eax + 4]
fchs
fstp dword [esp + 0x34]
fld dword [ecx + eax + 8]
lea eax, [esp + 0x30]
fchs
fstp dword [esp + 0x38]
jmp 0x5b5fc0
add eax, ecx
mov esi, dword [eax]
mov ecx, dword [esp + 0xac]
mov dword [ecx], esi
mov esi, dword [eax + 4]
mov dword [ecx + 4], esi
mov eax, dword [eax + 8]
pop edi
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0xb0]
pop esi
or edx, 0x200
pop ebp
mov word [ecx], dx
mov al, 1
pop ebx
add esp, 0x94
ret
fld dword [esp + 0x2c]
mov esi, 1
fcomp dword [0x60477c]
mov edx, esi
fnstsw ax
test ah, 5
jp 0x5b6067
xor ecx, ecx
mov cl, bl
mov ebx, dword [esp + 0xc4]
mov eax, ecx
and ecx, 3
shl edx, cl
shr eax, 2
mov edi, ecx
and eax, 3
and edx, 3
mov ecx, edx
shl esi, cl
shl eax, 4
add eax, ebx
mov dword [esp + edi*4 + 0x30], 0
and esi, 3
fld dword [eax + esi*4]
fchs
fstp dword [esp + edx*4 + 0x30]
mov edx, dword [eax + edx*4]
mov dword [esp + esi*4 + 0x30], edx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
jmp 0x5b60c0
xor eax, eax
mov al, bl
mov ebx, dword [esp + 0xc4]
mov edi, eax
and edi, 3
mov ecx, edi
shl edx, cl
shr eax, 2
and eax, 3
shl eax, 4
and edx, 3
mov ecx, edx
shl esi, cl
add eax, ebx
fld dword [eax + edx*4]
mov dword [esp + edi*4 + 0x30], 0
fchs
and esi, 3
mov ecx, dword [eax + esi*4]
mov dword [esp + edx*4 + 0x30], ecx
fstp dword [esp + esi*4 + 0x30]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0xac]
lea eax, [esp + 0x50]
fld dword [eax]
mov edx, dword [eax + 4]
fld st(0)
mov dword [ecx + 4], edx
fstp dword [ecx]
mov dword [esp + 0x14], edx
fld dword [eax + 8]
fst dword [ecx + 8]
fld st(0)
fmul dword [ecx + 8]
fld st(2)
fmul dword [ecx]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [ecx + 4]
faddp st(1)
fsqrt
fcom dword [0x60477c]
fnstsw ax
test ah, 0x44
jnp 0x5b6120
fdivr dword [0x5f53f4]
fxch st(2)
fmul st(2)
fstp dword [ecx]
fld dword [esp + 0x14]
fmul st(2)
fstp dword [ecx + 4]
fmul st(1)
fstp dword [ecx + 8]
jmp 0x5b6124
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0xb4]
fstp st(0)
pop edi
pop esi
pop ebp
mov word [eax], 0x101
mov al, 1
pop ebx
add esp, 0x94
ret