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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6a8dcd
mov eax, dword fs:[0]
push eax
sub esp, 0xb30
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0xb28], eax
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0xb40]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 8], 1
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
jne 0x5a0ef8
and edi, 0xfffffffe
test edi, edi
jle 0x5a16e5
mov eax, dword [esi + 0x28]
mov al, byte [eax + 0x2a]
test al, al
jne 0x5a16e5
lea ecx, [esp + 0x118]
call fcn.005b0ea0
mov dword [esp + 0xb48], 1
cmp byte [ebp + 0x18], 0
jne 0x5a1031
push dword [esi + 0x28]
lea ecx, [esp + 0x108]
push dword [esi + 0x20]
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.005a35f0
test al, al
je 0x5a1031
push 0
push dword [esp + 0x14]
lea ecx, [esp + 0x574]
push dword [esi + 0x20]
push esi
call fcn.0059e350
mov byte [esp + 0xb48], 2
lea ecx, [esp + 0x104]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x56c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
call fcn.0059f8e0
xor edx, edx
mov dword [esp + 0x28], eax
cmp dword [ebp + 8], 2
mov ecx, 0x20
sete dl
mov dword [esp + 0x18], edx
cmp edi, 0x20
mov esi, edi
cmovg esi, ecx
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x24], 0x80
je 0x5a0fc8
call fcn.00573320
mov ecx, dword [esp + 0x10]
movzx eax, al
mov dword [ecx + 0x24], eax
mov eax, dword [ecx + 0x24]
lea edx, [esp + 0xa34]
push esi
and eax, 0xf
push ebx
push edx
push ecx
mov eax, dword [eax*4 + 0x6cde60]
call eax
push dword [esp + 0x24]
lea eax, [esp + 0xa48]
push esi
push eax
lea eax, [esp + 0x120]
push eax
call dword [esp + 0x48]
mov edx, dword [esp + 0x38]
mov eax, esi
sub eax, edx
add esp, 0x20
lea ebx, [ebx + eax*8]
sub edi, esi
je 0x5a100f
add edi, edx
mov ecx, 0x20
test edi, edi
jne 0x5a0fa7
mov byte [esp + 0xb48], 1
lea ecx, [esp + 0x570]
call fcn.0059e560
jmp 0x5a16a1
mov eax, dword [ebp + 8]
sub eax, 0
je 0x5a14ae
dec eax
je 0x5a104c
dec eax
je 0x5a1391
jmp 0x5a16a1
cmp edi, 2
jne 0x5a1391
mov eax, dword [esp + 0x10]
cmp dword [eax + 4], 0
je 0x5a1391
push ecx
mov dword [esp], 0x3f800000
lea ecx, [esp + 0xe0]
push eax
call fcn.005a9110
lea ecx, [esp + 0x74]
call fcn.0059e1b0
mov byte [esp + 0xb48], 6
lea ecx, [esp + 0x1c]
call fcn.005836a0
mov byte [esp + 0xb48], 7
sub esp, 8
movss xmm0, dword [ebx + 4]
lea ecx, [esp + 0x24]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebx]
movss dword [esp], xmm0
call fcn.00587580
movss xmm0, dword [ebx + 0xc]
lea ecx, [esp + 0x1c]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ebx + 8]
movss dword [esp], xmm0
call fcn.00587470
mov ecx, dword [esi + 0x28]
call fcn.005b10d0
lea edx, [esp + 0xcc]
push edx
push dword [esi + 0x20]
movd xmm0, dword [eax]
lea edx, [esp + 0xe4]
movd xmm1, dword [eax + 4]
movd xmm2, dword [eax + 8]
movd xmm3, dword [eax + 0xc]
mov eax, dword [esp + 0x18]
cvtdq2ps xmm0, xmm0
push edx
lea edx, [esp + 0x28]
mov ecx, dword [eax + 4]
push edx
cvtdq2ps xmm1, xmm1
lea edx, [esp + 0x84]
push edx
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm3, xmm3
movss dword [esp + 0xe0], xmm0
movss dword [esp + 0xe4], xmm1
movss dword [esp + 0xe8], xmm2
movss dword [esp + 0xec], xmm3
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x5a136f
push dword [esp + 0x10]
lea ecx, [esp + 0x30]
call fcn.005757d0
mov byte [esp + 0xb48], 8
lea ecx, [esp + 0x2c]
push 0
call fcn.005784e0
push 0
lea ecx, [esp + 0x30]
call fcn.00578600
mov eax, dword [esp + 0xa4]
cmp dword [eax + 0x24], 0
je 0x5a11cc
mov ecx, dword [esi + 0x30]
push 0
push 0
test ecx, ecx
je 0x5a11b4
mov eax, dword [ecx]
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0xb0]
push edx
push esi
call dword [eax + 0x38]
jmp 0x5a11cc
push 0
push 0
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.005a0aa0
mov eax, dword [esp + 0xb0]
cmp dword [eax + 0x24], 0
je 0x5a1211
mov ecx, dword [esi + 0x30]
push 0
push 0
test ecx, ecx
je 0x5a11f9
mov eax, dword [ecx]
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0xbc]
push edx
push esi
call dword [eax + 0x38]
jmp 0x5a1211
push 0
push 0
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.005a0aa0
movss xmm4, dword [esp + 0x80]
movss xmm5, dword [esp + 0x84]
ucomiss xmm4, xmm5
lahf
test ah, 0x44
jp 0x5a12be
test byte [esp + 0x74], 1
lea ecx, [esp + 0x2c]
je 0x5a123f
push 1
jmp 0x5a1241
push 0
call fcn.00578580
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x5a1267
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
push dword [esp + 0x7c]
push dword [esp + 0x84]
push 0
push esi
call dword [eax + 0x24]
jmp 0x5a1286
push dword [ebp + 0x18]
lea eax, [esp + 0x30]
mov ecx, esi
push eax
push dword [esp + 0x80]
push dword [esp + 0x88]
push 0
call fcn.005a0ea0
mov byte [esp + 0xb48], 7
lea ecx, [esp + 0x2c]
call fcn.00575e00
mov byte [esp + 0xb48], 6
lea ecx, [esp + 0x1c]
call fcn.00633560
mov byte [esp + 0xb48], 1
lea ecx, [esp + 0x74]
call fcn.0059e5b0
jmp 0x5a16a1
xor edi, edi
cmp dword [esp + 0x7c], edi
jle 0x5a1286
jmp 0x5a12d0
mov eax, dword [esp + 0x78]
mov ecx, dword [esi + 0x30]
movss xmm3, dword [eax + edi*8]
movss xmm2, dword [eax + edi*8 + 4]
movaps xmm1, xmm3
subss xmm1, xmm4
movaps xmm0, xmm2
subss xmm0, xmm5
addss xmm3, xmm4
addss xmm2, xmm5
movss dword [esp + 0xbc], xmm1
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xc4], xmm3
movss dword [esp + 0xc8], xmm2
test ecx, ecx
je 0x5a1335
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0xc0]
push edx
push esi
call dword [eax + 0x28]
jmp 0x5a134d
push 0
push 0
lea eax, [esp + 0x34]
mov ecx, esi
push eax
lea eax, [esp + 0xc8]
push eax
call fcn.005a2040
inc edi
cmp edi, dword [esp + 0x7c]
jge 0x5a1286
movss xmm5, dword [esp + 0x84]
movss xmm4, dword [esp + 0x80]
jmp 0x5a12d0
mov byte [esp + 0xb48], 6
lea ecx, [esp + 0x1c]
call fcn.00633560
mov byte [esp + 0xb48], 1
lea ecx, [esp + 0x74]
call fcn.0059e5b0
lea ecx, [esp + 0x1c]
call fcn.005836a0
mov byte [esp + 0xb48], 9
lea ecx, [esp + 0x2c]
push dword [esp + 0x10]
call fcn.005757d0
mov byte [esp + 0xb48], 0xa
lea ecx, [esp + 0x2c]
push 1
call fcn.00578600
mov eax, dword [ebp + 8]
dec eax
mov byte [esp + 0x27], 1
neg eax
mov dword [esp + 0x14], 0
sbb eax, eax
add eax, 2
mov dword [ebp + 8], eax
dec edi
je 0x5a1487
shl eax, 3
add ebx, 4
mov dword [esp + 0x18], eax
mov edi, edi
movss xmm0, dword [ebx]
lea ecx, [esp + 0x1c]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ebx - 4]
movss dword [esp], xmm0
call fcn.00587580
movss xmm0, dword [ebx + 8]
lea ecx, [esp + 0x1c]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ebx + 4]
movss dword [esp], xmm0
call fcn.00587470
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x5a144e
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push 1
push 0
push edx
lea edx, [esp + 0x28]
push edx
push esi
call dword [eax + 0x38]
jmp 0x5a1467
push 0
push 0
push 1
push 0
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.005a0aa0
lea ecx, [esp + 0x1c]
call fcn.00588190
mov eax, dword [esp + 0x14]
add eax, dword [ebp + 8]
add ebx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
cmp eax, edi
jb 0x5a13f0
mov byte [esp + 0xb48], 9
lea ecx, [esp + 0x2c]
call fcn.00575e00
mov byte [esp + 0xb48], 1
lea ecx, [esp + 0x1c]
call fcn.00633560
jmp 0x5a16a1
push dword [esp + 0x10]
lea ecx, [esp + 0x30]
call fcn.005757d0
mov byte [esp + 0xb48], 4
lea ecx, [esp + 0x2c]
push 0
call fcn.00578600
movss xmm3, dword [esp + 0x64]
mov eax, dword [esp + 0x6c]
movaps xmm2, xmm3
mulss xmm2, dword [0x6f8778]
and eax, 0xc0000
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x10], xmm2
cmp eax, 0x40000
jne 0x5a15e6
lea ecx, [esp + 0x1c]
call fcn.005836a0
mov byte [esp + 0xb48], 5
lea ecx, [esp + 0x1c]
movss xmm0, dword [esp + 0x10]
push 0
sub esp, 0xc
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00583c20
xor eax, eax
mov dword [esp + 0x10], eax
test edi, edi
je 0x5a15d0
jmp 0x5a1550
movss xmm0, dword [ebx + eax*8 + 4]
lea ecx, [esp + 0xdc]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ebx + eax*8]
movss dword [esp], xmm0
call fcn.005752f0
mov ecx, dword [esi + 0x30]
lea eax, [edi - 1]
cmp eax, dword [esp + 0x10]
sete dl
mov byte [esp + 0x27], dl
test ecx, ecx
je 0x5a15a5
mov eax, dword [ecx]
push edx
lea edx, [esp + 0xe0]
push edx
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x28]
push edx
push esi
call dword [eax + 0x38]
jmp 0x5a15c3
push 0
push 0
push edx
lea eax, [esp + 0xe8]
mov ecx, esi
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.005a0aa0
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, edi
jb 0x5a1550
mov byte [esp + 0xb48], 4
lea ecx, [esp + 0x1c]
call fcn.00633560
jmp 0x5a1690
xor eax, eax
mov dword [esp + 0x14], eax
test edi, edi
je 0x5a1690
jmp 0x5a1600
movss xmm1, dword [ebx + eax*8]
movss xmm0, dword [ebx + eax*8 + 4]
subss xmm1, xmm2
mov ecx, dword [esi + 0x30]
subss xmm0, xmm2
movss dword [esp + 0xbc], xmm1
addss xmm1, xmm3
movss dword [esp + 0xc0], xmm0
addss xmm0, xmm3
movss dword [esp + 0xc4], xmm1
movss dword [esp + 0xc8], xmm0
test ecx, ecx
je 0x5a165b
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0xc0]
push edx
push esi
call dword [eax + 0x28]
jmp 0x5a1673
push 0
push 0
lea eax, [esp + 0x34]
mov ecx, esi
push eax
lea eax, [esp + 0xc8]
push eax
call fcn.005a2040
mov eax, dword [esp + 0x14]
movss xmm2, dword [esp + 0x10]
inc eax
movss xmm3, dword [esp + 0x18]
mov dword [esp + 0x14], eax
cmp eax, edi
jb 0x5a1600
mov byte [esp + 0xb48], 1
lea ecx, [esp + 0x2c]
call fcn.00575e00
mov dword [esp + 0xb48], 0xffffffff
lea eax, [esp + 0x118]
mov dword [esp + 0x18], eax
mov dword [esp + 0xb48], 0xc
lea ecx, [esp + 0x12c]
call fcn.005ae0d0
mov dword [esp + 0xb48], 0xffffffff
lea ecx, [esp + 0x118]
call fcn.0058f120
mov ecx, dword [esp + 0xb40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb28]
xor ecx, esp
call fcn.005472b9
mov esp, ebp
pop ebp
ret 0x14