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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cfb3d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
mov eax, dword [0x623ec0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
cmp dword [edi + 0xa0], 0
je 0x5ab58c
mov eax, dword [edi]
mov eax, dword [eax + 0x38]
call eax
test eax, eax
je 0x5ab58c
mov ecx, dword [0x9c25b4]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov esi, eax
mov eax, dword [edi + 0xa4]
mov dword [ebp - 0x2c], esi
test eax, eax
je 0x5ab046
dec eax
cmp eax, 4
ja case.default.0x5aafd5
jmp dword [eax*4 + 0x5ab5b0]
mov eax, 0x1b4e81b5
mov ecx, esi
mul esi
shr edx, 5
imul eax, edx, 0x12c
sub ecx, eax
mov eax, 0x51eb851f
mul ecx
shr edx, 4
add edx, 0x3d
jmp 0x5ab067
mov eax, dword [edi + 0xa0]
mov dword [eax + 0xa4], 0x61
jmp case.default.0x5aafd5
mov eax, dword [edi + 0xa0]
mov dword [eax + 0xa4], 0xc8
jmp case.default.0x5aafd5
mov eax, 0x1b4e81b5
mov ecx, esi
mul esi
shr edx, 5
imul eax, edx, 0x12c
sub ecx, eax
mov eax, 0x51eb851f
mul ecx
shr edx, 4
add edx, 0x65
jmp 0x5ab067
mov eax, 0x88888889
mov ecx, esi
mul esi
shr edx, 7
imul eax, edx, 0xf0
sub ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 5
add edx, 0x14
mov eax, dword [edi + 0xa0]
mov dword [eax + 0xa4], edx
mov eax, esi
lea ecx, [edi + 0xa4]
sub eax, dword [edi + 0x80]
mov dword [ebp - 0x1c], ecx
movd xmm1, eax
mov eax, dword [edi + 0xb4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x604d04]
movss dword [ebp - 0x20], xmm1
movss dword [edi + 0xb0], xmm1
jbe 0x5ab0dc
cmp dword [edi + 0x1c], 0
mov dword [ebp - 0x1c], ecx
je 0x5ab0dc
lea eax, [edi + 0xa4]
mov dword [edi + 0x1c], 0
mov dword [ebp - 0x1c], eax
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x5ab10c
mov eax, dword [edx + 0x28]
mov dword [edi + 0x90], eax
mov eax, dword [edx + 0x2c]
mov dword [edi + 0x98], eax
movss xmm0, dword [edx + 0x30]
addss xmm0, dword [0x604dc4]
movss dword [edi + 0x94], xmm0
jmp 0x5ab10f
mov dword [ebp - 0x1c], ecx
movss xmm1, dword [edi + 0x84]
movss xmm0, dword [edi + 0x90]
movss dword [ebp - 0x18], xmm0
subss xmm0, xmm1
movaps xmmword [ebp - 0x40], xmm1
movss xmm1, dword [edi + 0x98]
subss xmm1, dword [edi + 0x8c]
call fcn.0045e630
subss xmm0, dword [0x604e1c]
movss xmm3, dword [ebp - 0x20]
movss dword [edi + 0xa8], xmm0
movss xmm0, dword [0x604dc4]
comiss xmm0, xmm3
jbe 0x5ab553
movaps xmm4, xmmword [ebp - 0x40]
lea edx, [edi + 0x74]
movaps xmm2, xmm0
mov ecx, dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x18]
subss xmm2, xmm3
mulss xmm0, xmm3
movaps xmm1, xmm3
mov dword [ebp - 0x20], edx
cmp dword [ecx], 3
mulss xmm1, dword [edi + 0x94]
mulss xmm4, xmm2
addss xmm4, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [edi + 0x88]
mulss xmm2, dword [edi + 0x8c]
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [edi + 0x98]
addss xmm2, xmm0
unpcklps xmm4, xmm1
movq qword [edx], xmm4
movss dword [ebp - 0x34], xmm2
mov eax, dword [ebp - 0x34]
mov dword [edx + 8], eax
jne 0x5ab20c
mulss xmm3, dword [0x605000]
mulss xmm3, dword [0x604fb8]
movaps xmm0, xmm3
call fcn.0044c230
addss xmm0, dword [edi + 0x74]
mov ecx, dword [ebp - 0x1c]
lea edx, [edi + 0x74]
lea eax, [edi + 0xa4]
mov dword [ebp - 0x30], eax
lea eax, [edi + 0x74]
mov dword [ebp - 0x18], eax
movss dword [edx], xmm0
jmp 0x5ab212
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x18], edx
mov eax, dword [edi + 0x9c]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x5ab24a
mov eax, dword [eax]
sub esp, 8
movss xmm1, dword [edi + 0x7c]
movss xmm0, dword [edi + 0x74]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + 0x3c]
mov eax, esp
movss dword [eax], xmm0
movss dword [eax + 4], xmm1
call edx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], edx
mov eax, esi
sub eax, dword [0x1ff9b94]
cmp eax, 0x1e
jbe 0x5ab4f9
mov eax, dword [ecx]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x5ab37b
mov dword [ebp - 0x18], 3
lea esi, [eax + 5]
call fcn.0046c00b
cdq
idiv esi
push 0x184
mov esi, edx
call fcn.0046677d
mov edi, eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
push 0x184
push 0
push edi
call fcn.00468b40
movd xmm2, esi
add esp, 0x10
cvtdq2ps xmm2, xmm2
mov ecx, edi
push 0x50
push 1
sub esp, 0xc
movaps xmm3, xmm2
mulss xmm3, dword [0x604ce8]
mov dword [esp + 8], 0x3a83126f
addss xmm3, dword [0x604d04]
movss dword [esp + 4], xmm3
movss dword [esp], xmm3
push 0x3e8
push 0
call fcn.004eb060
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x24]
test esi, esi
je 0x5ab367
mulss xmm2, dword [0x604ccc]
mov ecx, esi
mov eax, dword [ebp - 0x20]
movss xmm0, dword [edi + 0x78]
subss xmm0, dword [0x604dc4]
movaps xmm1, xmm2
addss xmm1, dword [eax]
addss xmm2, dword [edi + 0x7c]
mov dword [esi + 0x6c], 1
mov dword [esi + 0x100], 1
unpcklps xmm1, xmm0
movss dword [ebp - 0x34], xmm2
mov eax, dword [ebp - 0x34]
movq qword [esi + 0x74], xmm1
mov dword [esi + 0x7c], eax
mov eax, dword [esi]
push dword [edi + 0xbc]
call dword [eax + 0x3c]
mov eax, dword [0x9c25b0]
mov ecx, dword [eax + 0x2c]
mov dword [esi + 4], ecx
mov eax, dword [ecx + 0x10]
mov dword [esi + 0xc], eax
mov dword [ecx + 0x10], esi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x5ab367
mov dword [eax + 8], esi
sub dword [ebp - 0x18], 1
mov esi, 5
jne 0x5ab272
jmp 0x5ab4af
cmp eax, 3
je 0x5ab4b2
cmp eax, 4
je 0x5ab4b2
movss xmm1, dword [edi + 0x7c]
movss xmm0, dword [edx]
mov ecx, dword [0x9c25b0]
movss dword [ebp - 0x24], xmm1
push dword [ebp - 0x24]
movss dword [ebp - 0x28], xmm0
push dword [ebp - 0x28]
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x34], xmm1
call fcn.00592d40
push 0xa0
movd xmm0, eax
mov eax, dword [ebp - 0x18]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x604ccc]
addss xmm0, dword [0x604d20]
movss dword [ebp - 0x38], xmm0
cmp eax, 2
jne 0x5ab415
call fcn.0046677d
mov esi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 1
push 0xa0
push 0
push esi
call fcn.00468b40
add esp, 0x10
push 0x4488
push 0x4488
push 0
push 6
jmp 0x5ab47a
cmp eax, 5
jne 0x5ab44b
call fcn.0046677d
mov esi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 2
push 0xa0
push 0
push esi
call fcn.00468b40
add esp, 0x10
push 0x112211
push 0x112211
push 0
push 6
jmp 0x5ab47a
call fcn.0046677d
mov esi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 3
push 0xa0
push 0
push esi
call fcn.00468b40
add esp, 0x10
push 0x22331100
push 0x44444444
push 0
push 3
movq xmm0, qword [ebp - 0x3c]
sub esp, 0xc
mov eax, dword [ebp - 0x34]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, esi
call fcn.005a6ed0
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x5ab4af
mov ecx, dword [0x9c25b0]
push eax
mov ecx, dword [ecx + 0x2c]
call fcn.005bcdc0
mov esi, dword [ebp - 0x2c]
mov ecx, dword [edi + 0xa0]
test ecx, ecx
je 0x5ab4ea
mov eax, dword [edi + 0xa8]
mov dword [ecx + 0x8c], eax
mov ecx, dword [edi + 0xa0]
movq xmm0, qword [edi + 0x74]
push esi
movq qword [ecx + 0x74], xmm0
mov eax, dword [edi + 0x7c]
mov dword [ecx + 0x7c], eax
mov ecx, dword [edi + 0xa0]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [0x1ff9b94], esi
lea ecx, [edi + 0xa4]
lea edx, [edi + 0x74]
mov eax, dword [ecx]
cmp eax, 3
je 0x5ab509
cmp eax, 4
jne 0x5ab585
mov eax, dword [edi + 0xa0]
test eax, eax
je 0x5ab585
movss xmm0, dword [edi + 0xa8]
addss xmm0, dword [0x604fb8]
push esi
movss dword [eax + 0x8c], xmm0
mov ecx, dword [edi + 0xa0]
movq xmm0, qword [edx]
movq qword [ecx + 0x74], xmm0
mov eax, dword [edx + 8]
mov dword [ecx + 0x7c], eax
mov ecx, dword [edi + 0xa0]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov eax, 1
jmp 0x5ab58e
mov eax, dword [0x9c25ac]
mov byte [edi + 0x14], 1
mov dword [eax + 0x21a7c], 1
mov eax, dword [0x9c25b0]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x5ab585
cmp dword [eax + 0x1c], edi
jne 0x5ab57e
mov dword [eax + 0x1c], 0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x5ab572
mov eax, 1
jmp 0x5ab58e
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4