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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cfccb
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x623ec0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x9c25b0]
cmp dword [eax + 0x24], 0x7534
jne 0x5ace62
mov dword [edi + 0x1c], 0
mov ecx, dword [0x9c25b4]
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [edi]
mov ebx, eax
mov ecx, edi
mov dword [ebp - 0x30], ebx
call dword [edx + 0x38]
test eax, eax
je 0x5ad78a
mov ecx, ebx
xorps xmm0, xmm0
sub ecx, dword [edi + 0x80]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x5ad783
mov eax, dword [edi + 0x9c]
mov esi, dword [0x9c25b0]
mov ebx, dword [0x9c25ac]
cmp eax, 9
je 0x5aceb8
cmp eax, 0xa
jne 0x5acee3
mov byte [edi + 0x14], 1
mov dword [ebx + 0x21a7c], 1
mov eax, dword [esi + 0x10]
test eax, eax
je 0x5acee3
nop dword [eax]
cmp dword [eax + 0x1c], edi
jne 0x5acedc
mov dword [eax + 0x1c], 0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x5aced0
mov ecx, dword [edi + 0x1c]
movss xmm1, dword [0x604dc4]
test ecx, ecx
je 0x5acf15
mov eax, dword [ecx + 0x28]
mov dword [edi + 0x90], eax
mov eax, dword [ecx + 0x2c]
mov dword [edi + 0x98], eax
movss xmm0, dword [ecx + 0x30]
addss xmm0, xmm1
movss dword [edi + 0x94], xmm0
movss xmm1, dword [edi + 0x98]
movss xmm0, dword [edi + 0x90]
subss xmm0, dword [edi + 0x84]
subss xmm1, dword [edi + 0x8c]
call fcn.0045e630
cmp dword [edi + 0x9c], 1
subss xmm0, dword [0x604e1c]
movss dword [edi + 0xa0], xmm0
jne 0x5ad01b
push 0x2bf20
push 1
push 0x2c4
call fcn.004abba0
mov esi, eax
test esi, esi
je 0x5ad78a
mov ecx, dword [esi + 0x318]
test ecx, ecx
je 0x5ad78a
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
push edx
push ecx
call dword [eax + 0x34]
mov ecx, dword [esi + 0x318]
lea edx, [ebp - 0x2c]
push 0
push edx
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x2c]
mov eax, 0xaaaaaaab
mul dword [ebp - 0x18]
shr edx, 4
test edx, edx
jle 0x5acfc4
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
lea ecx, [ecx + 0x18]
mov dword [ecx + eax - 0xc], 0xffffffff
sub edx, 1
jne 0x5acfb1
mov eax, dword [esi + 0x318]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov dword [esi + 0x298], 0x13
movss xmm1, dword [edi + 0x98]
movss xmm0, dword [edi + 0x90]
subss xmm0, dword [edi + 0x84]
subss xmm1, dword [edi + 0x8c]
call fcn.0045e630
subss xmm0, dword [0x604e1c]
mov esi, dword [0x9c25b0]
mov ebx, dword [0x9c25ac]
movss dword [edi + 0xa0], xmm0
cmp dword [edi + 0x9c], 2
jne 0x5ad0a9
movss xmm1, dword [0x605118]
comiss xmm1, dword [edi + 0xbc]
jae 0x5ad0a9
movss xmm0, dword [edi + 0xc0]
comiss xmm0, xmm1
jae 0x5ad0a9
mov edx, dword [ebp - 0x30]
mov eax, edx
shr eax, 0x1f
movd xmm1, edx
cvtdq2pd xmm1, xmm1
addsd xmm1, qword [eax*8 + 0x605750]
mov eax, dword [edi + 0x80]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
mov eax, dword [edi + 0xa8]
subsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
divsd xmm1, xmm0
cvtpd2ps xmm2, xmm1
addss xmm2, dword [0x604d7c]
jmp 0x5ad0fd
mov eax, dword [ebp - 0x30]
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm1, eax
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x605750]
mov eax, dword [edi + 0x80]
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
mov eax, dword [edi + 0xa8]
subsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
divsd xmm1, xmm0
cvtpd2ps xmm2, xmm1
mov ecx, 0xa4
mov eax, edi
movss dword [ecx + eax], xmm2
movss xmm4, dword [0x604dc4]
comiss xmm4, xmm2
jbe 0x5ad758
subss xmm4, xmm2
mov eax, dword [edi + 0x9c]
movaps xmm0, xmm2
mulss xmm0, dword [edi + 0x90]
movaps xmm3, xmm4
movaps xmm1, xmm4
mulss xmm3, dword [edi + 0x84]
mulss xmm1, dword [edi + 0x88]
mulss xmm4, dword [edi + 0x8c]
addss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [edi + 0x94]
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [edi + 0x98]
unpcklps xmm3, xmm1
addss xmm4, xmm0
movq qword [edi + 0x74], xmm3
movss dword [ebp - 0x3c], xmm4
mov ecx, dword [ebp - 0x3c]
mov dword [edi + 0x7c], ecx
test eax, eax
je 0x5ad1f8
cmp eax, 1
jne 0x5ad1ee
cmp dword [edi + 0xc4], 0
jne 0x5ad267
movss xmm0, dword [0x604ccc]
comiss xmm0, xmm2
jae 0x5ad267
mov ecx, dword [0x9c25cc]
mov dword [edi + 0xc4], eax
test ecx, ecx
je 0x5ad267
push 0xa1
call fcn.004a8da0
test eax, eax
je 0x5ad267
mov ecx, dword [0x9c25cc]
push 0xa1
call fcn.004a8da0
sub esp, 0xc
push 0
push ecx
mov ecx, eax
call fcn.004a86c0
jmp 0x5ad267
cmp eax, 4
je 0x5ad1f8
cmp eax, 6
jne 0x5ad267
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x5ad20a
movq qword [eax + 0x74], xmm3
mov dword [eax + 0x7c], ecx
mov ecx, dword [edi + 0xb4]
test ecx, ecx
je 0x5ad224
movq xmm0, qword [edi + 0x74]
movq qword [ecx + 0x74], xmm0
mov eax, dword [edi + 0x7c]
mov dword [ecx + 0x7c], eax
mov ecx, dword [edi + 0xb8]
test ecx, ecx
je 0x5ad23e
movq xmm0, qword [edi + 0x74]
movq qword [ecx + 0x74], xmm0
mov eax, dword [edi + 0x7c]
mov dword [ecx + 0x7c], eax
mov ecx, dword [edi + 0xac]
test ecx, ecx
je 0x5ad267
mov eax, dword [ecx]
sub esp, 8
movss xmm0, dword [edi + 0x74]
movss xmm1, dword [edi + 0x7c]
mov edx, dword [eax + 0x3c]
mov eax, esp
movss dword [eax], xmm0
movss dword [eax + 4], xmm1
call edx
mov eax, dword [edi + 0x9c]
sub eax, 2
je 0x5ad34a
sub eax, 1
je 0x5ad303
sub eax, 3
jne 0x5ad379
mov ecx, dword [ebp - 0x30]
mov eax, 0x10624dd3
mul ecx
shr edx, 4
imul eax, edx, 0xfa
sub ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x604fb8]
divss xmm0, dword [0x605188]
movss dword [edi + 0xa0], xmm0
movss xmm0, dword [edi + 0xa4]
mulss xmm0, dword [0x604fb8]
mulss xmm0, dword [0x6050e0]
call fcn.0044c230
movaps xmm1, xmm0
addss xmm1, dword [edi + 0x74]
addss xmm0, dword [edi + 0x7c]
movss dword [edi + 0x74], xmm1
movss dword [edi + 0x7c], xmm0
jmp 0x5ad379
mov ecx, dword [ebp - 0x30]
mov eax, 0x10624dd3
mul ecx
shr edx, 4
imul eax, edx, 0xfa
sub ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x605750]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x604fb8]
divss xmm0, dword [0x6051b0]
movss dword [edi + 0xa0], xmm0
jmp 0x5ad379
movss xmm0, dword [edi + 0xa4]
mulss xmm0, dword [0x604fb8]
call fcn.0044c230
mulss xmm0, dword [edi + 0xbc]
mulss xmm0, dword [0x604ce8]
addss xmm0, dword [edi + 0x78]
movss dword [edi + 0x78], xmm0
mov eax, dword [ebp - 0x30]
sub eax, dword [0x1ff9b98]
cmp eax, 0x14
jae 0x5ad390
mov dword [ebp - 0x38], 1
jmp 0x5ad3a3
mov dword [ebp - 0x38], 2
cmp eax, 0x1e
jb 0x5ad3a3
mov dword [ebp - 0x38], 4
xor ebx, ebx
lea esi, [ebx + 5]
call fcn.0046c00b
cdq
idiv esi
push 0x184
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x2c], xmm0
call fcn.0046677d
mov esi, eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 0
push 0x184
push 0
push esi
call fcn.00468b40
movss xmm1, dword [ebp - 0x2c]
add esp, 0x10
movaps xmm0, xmm1
mov ecx, esi
mulss xmm0, dword [0x604ccc]
push 0x50
push 1
sub esp, 0xc
movss dword [ebp - 0x34], xmm0
movaps xmm3, xmm0
addss xmm3, dword [0x604d20]
mov dword [esp + 8], 0x3a83126f
movss dword [esp + 4], xmm3
movss dword [esp], xmm3
push 0x3e8
push 0
call fcn.004eb060
mov esi, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x5ad73c
movss xmm0, dword [edi + 0x78]
mulss xmm1, dword [0x604c94]
subss xmm0, dword [0x604d5c]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x74]
addss xmm0, xmm1
addss xmm1, dword [edi + 0x7c]
mov dword [esi + 0x6c], 1
mov dword [esi + 0x100], 1
unpcklps xmm2, xmm0
movss dword [ebp - 0x3c], xmm1
mov eax, dword [ebp - 0x3c]
movq qword [esi + 0x74], xmm2
mov dword [esi + 0x7c], eax
mov eax, dword [edi + 0x9c]
test eax, eax
je case.0x5ad495.4
dec eax
cmp eax, 4
ja case.default.0x5ad495
jmp dword [eax*4 + 0x5ad7ac]
push 0xff3333ff
jmp 0x5ad4bd
push 0xffffee55
jmp 0x5ad4bd
push 0xff555555
jmp 0x5ad4bd
push 0xff6677ff
jmp 0x5ad4bd
push 0xffff7711
mov eax, dword [esi]
mov ecx, esi
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 0x5ad4e2
mov dword [eax + 8], esi
cmp ebx, 3
jne 0x5ad606
cmp dword [edi + 0x9c], 2
jne 0x5ad606
push 0x184
call fcn.0046677d
mov esi, eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 4], 1
push 0x184
push 0
push esi
call fcn.00468b40
movss xmm3, dword [ebp - 0x34]
add esp, 0x10
movss xmm2, dword [0x604d20]
movaps xmm0, xmm3
addss xmm0, xmm2
mov ecx, esi
push 0x50
push 1
sub esp, 0xc
mov dword [esp + 8], 0x3a83126f
movss dword [esp + 4], xmm0
movaps xmm0, xmm3
addss xmm0, xmm2
addss xmm3, xmm2
movss dword [esp], xmm0
push 0x320
push 0x3b
call fcn.004eb060
mov esi, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x5ad606
movss xmm2, dword [edi + 0x74]
movss xmm1, dword [edi + 0x78]
movss xmm0, dword [edi + 0x7c]
subss xmm2, dword [0x604c94]
subss xmm1, dword [0x604d5c]
subss xmm0, dword [0x604c94]
mov dword [esi + 0x6c], 0
unpcklps xmm2, xmm1
movss dword [ebp - 0x54], xmm0
mov eax, dword [ebp - 0x54]
movq qword [esi + 0x74], xmm2
mov dword [esi + 0x7c], eax
mov eax, dword [0x9c25a4]
cmp dword [eax + 0x350], 1
je 0x5ad5ce
cmp dword [eax + 0x35c], 1
jne 0x5ad5d5
mov dword [esi + 0x6c], 1
mov eax, dword [esi]
mov ecx, esi
push 0xffffffffffffffff
mov dword [esi + 0x100], 1
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 0x5ad606
mov dword [eax + 8], esi
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x5ad619
cmp eax, 4
jne 0x5ad73c
push 0x184
call fcn.0046677d
mov esi, eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 4], 2
push 0x184
push 0
push esi
call fcn.00468b40
movss xmm1, dword [ebp - 0x2c]
add esp, 0x10
movss xmm3, dword [0x604ccc]
movaps xmm0, xmm1
movss xmm2, dword [0x604d20]
mov ecx, esi
mulss xmm0, xmm3
push 0x50
push 1
sub esp, 0xc
addss xmm0, xmm2
mov dword [esp + 8], 0x3a83126f
movss dword [esp + 4], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm3
mulss xmm3, xmm1
addss xmm0, xmm2
addss xmm3, xmm2
movss dword [esp], xmm0
push 0x320
push 0x3b
call fcn.004eb060
mov esi, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x5ad73c
movss xmm2, dword [edi + 0x74]
mov ecx, esi
movss xmm1, dword [edi + 0x78]
movss xmm0, dword [edi + 0x7c]
mov dword [esi + 0x6c], 0
mov dword [esi + 0x100], 1
subss xmm2, dword [0x604c94]
subss xmm1, dword [0x604d2c]
subss xmm0, dword [0x604c94]
unpcklps xmm2, xmm1
movss dword [ebp - 0x14], xmm0
mov eax, dword [ebp - 0x14]
movq qword [esi + 0x74], xmm2
mov dword [esi + 0x7c], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x3c]
cmp ebx, 3
jne 0x5ad710
mov dword [esi + 0x6c], 2
push 0xffffff28
jmp 0x5ad71c
mov dword [esi + 0x6c], 1
push 0xffff7711
call eax
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 0x5ad73c
mov dword [eax + 8], esi
inc ebx
mov esi, 5
cmp ebx, dword [ebp - 0x38]
jl 0x5ad3a8
mov eax, dword [ebp - 0x30]
mov dword [0x1ff9b98], eax
lea eax, [esi - 4]
jmp 0x5ad78c
mov byte [edi + 0x14], 1
mov dword [ebx + 0x21a7c], 1
mov eax, dword [esi + 0x10]
test eax, eax
je 0x5ad783
nop dword [eax]
cmp dword [eax + 0x1c], edi
jne 0x5ad77c
mov dword [eax + 0x1c], 0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x5ad770
mov eax, 1
jmp 0x5ad78c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
ret 4