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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x623ec0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x9c25b4]
push edi
mov eax, dword [ecx]
call dword [eax + 8]
push 0x2bf20
push 1
push 0x2c4
mov ebx, eax
call fcn.004abba0
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
call dword [edx + 0x38]
test eax, eax
jne 0x5a9808
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret 4
test edi, edi
je 0x5a987a
mov ecx, dword [edi + 0x318]
test ecx, ecx
je 0x5a987a
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
push ecx
call dword [eax + 0x34]
mov eax, dword [edi + 0x318]
lea edx, [esp + 0x28]
push 0
push edx
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x2c]
mov eax, 0xaaaaaaab
mul dword [esp + 0x3c]
shr edx, 4
test edx, edx
jle 0x5a9864
xor ecx, ecx
nop word [eax + eax]
mov eax, dword [esp + 0x28]
lea ecx, [ecx + 0x18]
mov dword [ecx + eax - 0xc], 0xffffffff
sub edx, 1
jne 0x5a9850
mov eax, dword [edi + 0x318]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov dword [edi + 0x298], 0x13
sub ebx, dword [esi + 0x80]
mov eax, dword [esi + 0xa8]
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
shr ebx, 0x1f
addsd xmm0, qword [ebx*8 + 0x605750]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x604d2c]
movss dword [esp + 0x1c], xmm1
movss dword [esi + 0xa4], xmm1
jbe 0x5a98de
cmp dword [esi + 0x1c], 0
je 0x5a98de
mov dword [esi + 0x1c], 0
mov ecx, dword [esi + 0x1c]
movss xmm1, dword [0x604dc4]
test ecx, ecx
je 0x5a9910
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x90], eax
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x98], eax
movss xmm0, dword [ecx + 0x30]
addss xmm0, xmm1
movss dword [esi + 0x94], xmm0
movss xmm0, dword [esi + 0x90]
movss xmm1, dword [esi + 0x84]
movss dword [esp + 0x24], xmm0
subss xmm0, xmm1
movss dword [esp + 0x20], xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0x98]
subss xmm0, dword [esi + 0x8c]
fld qword [esp + 0x10]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
fld qword [esp + 0x10]
call fcn.005bddd0
movss xmm4, dword [esp + 0x1c]
movss xmm5, dword [0x604dc4]
comiss xmm5, xmm4
fstp qword [esp + 0x10]
movsd xmm0, qword [esp + 0x10]
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x604e1c]
movss dword [esi + 0xa0], xmm0
jbe 0x5a9a1b
movss xmm2, dword [esi + 0x88]
subss xmm5, xmm4
movss xmm0, dword [esi + 0x94]
movss xmm3, dword [esi + 0x8c]
movss xmm1, dword [esi + 0x98]
movss xmm6, dword [esp + 0x20]
movss xmm7, dword [esp + 0x24]
mulss xmm6, xmm5
mulss xmm7, xmm4
mulss xmm0, xmm4
mulss xmm2, xmm5
addss xmm6, xmm7
mulss xmm1, xmm4
mulss xmm3, xmm5
addss xmm0, xmm2
movss dword [esi + 0x74], xmm6
addss xmm1, xmm3
movss dword [esi + 0x78], xmm0
movss dword [esi + 0x7c], xmm1
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x5a9a53
mov eax, dword [ecx]
sub esp, 8
movaps xmm0, xmm6
mov edx, dword [eax + 0x3c]
mov eax, esp
movss dword [eax], xmm0
movss dword [eax + 4], xmm1
call edx
jmp 0x5a9a53
mov eax, dword [0x9c25ac]
mov byte [esi + 0x14], 1
mov dword [eax + 0x21a7c], 1
mov eax, dword [0x9c25b0]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x5a9a53
nop word [eax + eax]
cmp dword [eax + 0x1c], esi
jne 0x5a9a4c
mov dword [eax + 0x1c], 0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x5a9a40
mov ecx, dword [esp + 0x44]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret 4