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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x6993c0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
mov dword [esp + 0x20], ecx
mov ecx, dword [0x6ea878]
push edi
call fcn.004c4800
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov edx, dword [ecx + 0x24]
mov edi, dword [edx]
cmp edi, edx
je 0x4aa343
movss xmm4, dword [0x658a3c]
lea eax, [esp + 0x58]
mov dword [esp + 0x50], eax
nop dword [eax + eax]
mov esi, dword [edx]
mov ebx, dword [edi + 8]
mov dword [esp + 0x10], 0
cmp esi, edx
je 0x4aa24e
mov eax, ebx
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x20], ecx
cmp ecx, eax
je 0x4aa244
cmp dword [esp + 0x10], 0x14
jge 0x4aa24e
push ecx
push ebx
call fcn.004aaf60
test al, al
je 0x4aa240
mov eax, dword [esp + 0x20]
inc dword [esp + 0x10]
movss xmm0, dword [eax + 0x8c]
addss xmm0, dword [eax + 0x60]
mov eax, dword [esp + 0x24]
addss xmm0, xmm4
movss dword [ebx + 0x60], xmm0
mov edx, dword [eax + 0x24]
mov eax, dword [edi + 8]
mov esi, dword [edx]
jmp 0x4aa246
mov eax, dword [esp + 0x14]
mov esi, dword [esi]
mov dword [esp + 0x14], eax
cmp esi, edx
jne 0x4aa1f7
mov eax, dword [ebx + 0xc]
lea esi, [esp + 0x64]
mov dword [esp + 0x58], eax
xor cl, cl
mov eax, dword [ebx + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x58]
mov edx, eax
mov byte [esp + 0x1f], cl
mov dword [esp + 0x14], eax
cmp edx, esi
je 0x4aa332
mov edx, esi
mov esi, dword [eax]
test esi, esi
je 0x4aa31b
cmp esi, dword [ebx + 4]
jne 0x4aa2c6
movss xmm0, dword [ebx + 0x74]
sub esp, 0x10
mov ecx, esi
mov dword [esp + 0xc], 0x3f800000
movss dword [esp + 8], xmm0
movss xmm0, dword [ebx + 0x70]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebx + 0x6c]
movss dword [esp], xmm0
call fcn.004e1220
mov cl, byte [esp + 0x1f]
movss xmm0, dword [ebx + 0x64]
sub esp, 0xc
movzx eax, cl
inc cl
mov byte [esp + 0x2b], cl
mov ecx, esi
movss dword [esp + 8], xmm0
movss xmm0, dword [ebx + 0x5c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x658a54]
addss xmm1, dword [ebx + 0x60]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.004e14f0
mov ecx, esi
call fcn.004e1640
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x64]
mov cl, byte [esp + 0x1f]
add eax, 4
mov dword [esp + 0x14], eax
cmp eax, edx
jne 0x4aa281
movss xmm4, dword [0x658a3c]
mov ecx, dword [esp + 0x24]
mov edi, dword [edi]
mov edx, dword [ecx + 0x24]
cmp edi, edx
jne 0x4aa1e0
mov eax, dword [ecx + 0x1c]
mov esi, dword [eax]
mov dword [esp + 0x20], esi
cmp esi, eax
je 0x4aa846
mov ebx, dword [esi + 8]
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x4aa431
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4aa431
call fcn.004f1750
mov ecx, dword [esp + 0x18]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
lea eax, [esp + 0x44]
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x34]
push eax
addss xmm0, dword [0x6589fc]
cvttss2si edi, xmm0
call fcn.004e0430
mov eax, dword [esp + 0x30]
sub esp, 8
mov ecx, dword [esp + 0x30]
cdq
sub eax, edx
sar eax, 1
movss xmm0, dword [ebx + 0x60]
subss xmm0, dword [0x658a68]
movss xmm1, dword [ebx + 0x5c]
movd xmm2, edi
cvtdq2ps xmm2, xmm2
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm2
movss dword [esp], xmm1
call fcn.004e71d0
movss xmm0, dword [ebx + 0x64]
sub esp, 0xc
mov ecx, dword [esp + 0x24]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebx + 0x60]
subss xmm0, dword [0x658a54]
movss dword [esp + 4], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebx + 0x5c]
movss dword [esp], xmm0
call fcn.004e14f0
mov ecx, dword [esp + 0x18]
call fcn.004e1640
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004e0430
mov edi, dword [ebx + 0x18]
test edi, edi
je 0x4aa6f4
lea eax, [esp + 0x34]
mov ecx, edi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004e0430
movss xmm0, dword [0x658a44]
movss dword [esp + 0x28], xmm0
call fcn.0044b060
test al, al
je 0x4aa4cb
call fcn.004ecb90
movss xmm1, dword [ebx + 0x5c]
cmp eax, 0x4e8
mov eax, dword [esp + 0x10]
cdq
jne 0x4aa4b2
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movd xmm0, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [0x658a38]
jmp 0x4aa4ec
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x658a38]
subss xmm1, xmm0
jmp 0x4aa4ec
mov eax, dword [esp + 0x10]
movss xmm1, dword [ebx + 0x5c]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [0x658a44]
mov ecx, 0x64
mov dword [esp + 0x18], 0x60
mov eax, ebx
sub esp, 0xc
mov edx, ebx
movss xmm0, dword [eax + ecx]
mov ecx, edi
mov eax, dword [esp + 0x24]
movss dword [esp + 8], xmm0
movss xmm0, dword [edx + eax]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.004e14f0
mov ecx, edi
call fcn.004e1640
mov eax, dword [ebx + 0x28]
mov edi, dword [ebx + 0x24]
mov dword [esp + 0x18], eax
cmp edi, eax
je 0x4aa61a
mov esi, eax
mov eax, dword [edi]
movss xmm1, dword [ebx + 0x5c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
mov eax, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
subss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [0x658a60]
movss dword [esp + 0x18], xmm1
call fcn.004ecb90
cmp eax, 0x4e8
jne 0x4aa5c2
mov eax, dword [esp + 0x10]
movss xmm1, dword [ebx + 0x5c]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movd xmm0, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [0x658a38]
movss dword [esp + 0x18], xmm1
movd xmm0, dword [esp + 0x34]
sub esp, 8
movss xmm1, dword [ebx + 0x60]
cvtdq2ps xmm0, xmm0
mov ecx, dword [esp + 0x40]
subss xmm1, xmm0
subss xmm1, dword [0x658a48]
cvttss2si eax, xmm1
movd xmm0, eax
cvttss2si eax, dword [esp + 0x20]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.004e71d0
add edi, 4
cmp edi, esi
jne 0x4aa541
mov esi, dword [esp + 0x20]
mov edi, dword [ebx + 0x1c]
test edi, edi
je 0x4aa7c7
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004e0430
call fcn.0044b060
test al, al
je 0x4aa699
call fcn.004ecb90
movss xmm1, dword [ebx + 0x5c]
cmp eax, 0x4e8
mov eax, dword [esp + 0x10]
cdq
jne 0x4aa688
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movd xmm0, dword [esp + 0x3c]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movd xmm0, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [0x658a44]
jmp 0x4aa6c7
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
jmp 0x4aa6ba
mov eax, dword [esp + 0x10]
movss xmm1, dword [ebx + 0x5c]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [0x658a44]
movd xmm0, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
mov eax, ebx
mov dword [esp + 0x18], 0x60
mov ecx, 0x64
sub esp, 0xc
mov edx, ebx
movss xmm0, dword [eax + ecx]
mov eax, dword [esp + 0x24]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + edx]
jmp 0x4aa7ae
movss xmm0, dword [0x658a38]
mov edi, dword [ebx + 0x1c]
movss dword [esp + 0x28], xmm0
test edi, edi
je 0x4aa7c7
lea eax, [esp + 0x50]
mov ecx, edi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004e0430
call fcn.0044b060
test al, al
je 0x4aa765
call fcn.004ecb90
movss xmm1, dword [ebx + 0x5c]
cmp eax, 0x4e8
mov eax, dword [esp + 0x10]
cdq
jne 0x4aa754
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movd xmm0, dword [esp + 0x2c]
jmp 0x4aa777
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
jmp 0x4aa786
mov eax, dword [esp + 0x10]
movss xmm1, dword [ebx + 0x5c]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [0x658a38]
mov eax, ebx
mov dword [esp + 0x18], 0x60
mov ecx, 0x64
sub esp, 0xc
mov edx, ebx
movss xmm0, dword [eax + ecx]
mov eax, dword [esp + 0x24]
movss dword [esp + 8], xmm0
movss xmm0, dword [edx + eax]
movss dword [esp + 4], xmm0
mov ecx, edi
movss dword [esp], xmm1
call fcn.004e14f0
mov ecx, edi
call fcn.004e1640
movss xmm0, dword [ebx + 0x74]
sub esp, 0x10
mov ecx, dword [ebx + 4]
mov dword [esp + 0xc], 0x3f800000
movss dword [esp + 8], xmm0
movss xmm0, dword [ebx + 0x70]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebx + 0x6c]
movss dword [esp], xmm0
call fcn.004e1220
movss xmm0, dword [ebx + 0x64]
sub esp, 0xc
mov ecx, dword [ebx + 4]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebx + 0x60]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [ebx + 0x5c]
movss dword [esp], xmm0
call fcn.004e14f0
mov ecx, dword [ebx + 4]
call fcn.004e1640
mov ecx, dword [esp + 0x24]
mov esi, dword [esi]
mov dword [esp + 0x20], esi
cmp esi, dword [ecx + 0x1c]
jne 0x4aa354
mov eax, dword [ecx + 0x14]
lea ebx, [ecx + 0x14]
mov dword [esp + 0x2c], ebx
mov esi, dword [eax]
mov dword [esp + 0x10], esi
cmp esi, eax
je 0x4aaa15
movss xmm2, dword [0x658ab0]
movss xmm3, dword [0x6589e4]
nop
mov edi, dword [esi + 0x14]
mov eax, dword [esp + 0x40]
cmp dword [edi + 0x90], eax
jae 0x4aa8b2
push edi
call fcn.004aca50
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.00446520
push esi
mov ecx, ebx
call fcn.00448c90
push 0x18
push eax
call fcn.0056b233
mov esi, dword [esp + 0x28]
add esp, 8
mov dword [esp + 0x10], esi
jmp 0x4aa9f9
lea ecx, [esp + 0x10]
call fcn.00446520
movss xmm0, dword [edi + 0x6c]
xorps xmm1, xmm1
comiss xmm0, dword [0x6589f0]
jb 0x4aa8d6
mov dword [esp + 0x14], 0xff
jmp 0x4aa909
comiss xmm1, xmm0
jb 0x4aa8e5
mov dword [esp + 0x14], 0
jmp 0x4aa909
mulss xmm0, xmm2
addss xmm0, xmm3
call fcn.0056bc40
movss xmm2, dword [0x658ab0]
xorps xmm1, xmm1
movss xmm3, dword [0x6589e4]
mov dword [esp + 0x14], eax
movss xmm0, dword [edi + 0x70]
comiss xmm0, dword [0x6589f0]
jb 0x4aa91e
mov ebx, 0xff
jmp 0x4aa936
comiss xmm1, xmm0
jb 0x4aa927
xor ebx, ebx
jmp 0x4aa936
mulss xmm0, xmm2
addss xmm0, xmm3
call fcn.0056bc40
mov ebx, eax
movss xmm0, dword [edi + 0x74]
xorps xmm1, xmm1
comiss xmm0, dword [0x6589f0]
jb 0x4aa94e
mov esi, 0xff
jmp 0x4aa971
comiss xmm1, xmm0
jb 0x4aa957
xor esi, esi
jmp 0x4aa971
mulss xmm0, dword [0x658ab0]
addss xmm0, dword [0x6589e4]
call fcn.0056bc40
mov esi, eax
xorps xmm1, xmm1
movss xmm0, dword [edi + 0x78]
comiss xmm0, dword [0x6589f0]
jb 0x4aa986
mov eax, 0xff
jmp 0x4aa9a4
comiss xmm1, xmm0
jb 0x4aa98f
xor eax, eax
jmp 0x4aa9a4
mulss xmm0, dword [0x658ab0]
addss xmm0, dword [0x6589e4]
call fcn.0056bc40
mov ecx, dword [edi + 4]
shl eax, 8
or eax, dword [esp + 0x14]
shl eax, 8
or eax, ebx
shl eax, 8
or eax, esi
push eax
call fcn.004e11d0
movss xmm0, dword [edi + 0x64]
sub esp, 0xc
mov ecx, dword [edi + 4]
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 0x60]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x5c]
movss dword [esp], xmm0
call fcn.004e14f0
mov ecx, dword [edi + 4]
call fcn.004e1640
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
movss xmm2, dword [0x658ab0]
movss xmm3, dword [0x6589e4]
mov ecx, dword [esp + 0x24]
cmp esi, dword [ebx]
jne 0x4aa870
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0056b225
mov esp, ebp
pop ebp
ret