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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, dword [0x102afd48]
sub esp, 0x208
mov dword [0x102afd4c], eax
push esi
mov esi, dword [0x102afd50]
sub esi, eax
mov eax, 0x92492493
imul esi
push edi
add edx, esi
mov edi, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x40
jae 0x10039b90
push ecx
call fcn.1003a3f0
mov ecx, dword [0x102afd14]
call fcn.10034cc0
mov ecx, dword [0x102999e4]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x6c], eax
mov eax, dword [0x10297b00]
mov dword [esp + 0x58], eax
mov eax, dword fs:[0x2c]
movq qword [esp + 0x64], xmm0
movq xmm0, qword [0x10297af8]
movq qword [esp + 0x50], xmm0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1029a1c4]
cmp eax, dword [ecx + 4]
jle 0x10039c20
push 0x1029a1c4
call fcn.101e23b9
add esp, 4
cmp dword [0x1029a1c4], 0xffffffff
jne 0x10039c20
lea eax, [esp + 0x14]
mov dword [esp + 0x14], str.viewangles
push eax
mov ecx, 0x102a57b4
call fcn.100060c0
push 0x1029a1c4
mov eax, dword [eax]
mov dword [0x1029a1c0], eax
call fcn.101e236f
add esp, 4
movss xmm1, dword [0x102afd20]
mov eax, dword [0x1029a1c0]
movaps xmm0, xmm1
mulss xmm0, dword [0x102a56f0]
movaps xmm2, xmm1
mov ecx, dword [0x1029a414]
mulss xmm2, dword [0x102a56ec]
addss xmm0, dword [eax + edi + 8]
mulss xmm1, dword [0x102a56e8]
addss xmm2, dword [eax + edi + 4]
addss xmm1, dword [eax + edi]
mov eax, dword [0x102afd54]
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x44], xmm1
movss xmm0, dword [eax + 4]
mov eax, dword [ecx]
movss dword [esp + 0x60], xmm0
mov eax, dword [eax + 0x50]
call eax
mov ecx, eax
mov eax, 1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x18], eax
cmp ecx, eax
jl 0x1003a2e4
push eax
call fcn.100042a0
mov edi, eax
test edi, edi
je 0x1003a2d1
mov ecx, edi
call fcn.101758d0
test al, al
je 0x1003a2d1
cmp edi, dword [0x102afd14]
je 0x1003a2d1
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x1003a2d1
mov ecx, edi
call fcn.10004070
cmp byte [eax], 0
jne 0x1003a2d1
mov ecx, edi
call fcn.10176800
test al, al
je 0x1003a2d1
mov ecx, dword [0x102afd14]
push edi
call fcn.10178a30
test al, al
je 0x1003a2d1
movss xmm0, dword [0x10297af8]
lea edx, [esp + 0x1c]
subss xmm0, dword [esp + 0x50]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [0x10297afc]
subss xmm0, dword [esp + 0x54]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [0x10297b00]
subss xmm0, dword [esp + 0x58]
movss dword [esp + 0xa8], xmm0
call fcn.1011dde0
movss xmm0, dword [esp + 0x1c]
movss xmm2, dword [0x1026bca4]
comiss xmm0, xmm2
movss xmm1, dword [0x1026bd04]
jbe 0x10039daf
nop dword [eax + eax]
subss xmm0, xmm1
comiss xmm0, xmm2
ja 0x10039da0
movss dword [esp + 0x1c], xmm0
movss xmm2, dword [0x1026be78]
comiss xmm2, xmm0
jbe 0x10039dcf
nop dword [eax]
addss xmm0, xmm1
comiss xmm2, xmm0
ja 0x10039dc0
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x20]
comiss xmm0, xmm1
movss xmm2, dword [0x1026bd68]
jbe 0x10039df1
subss xmm0, xmm2
comiss xmm0, xmm1
ja 0x10039de2
movss dword [esp + 0x20], xmm0
movss xmm1, dword [0x1026be90]
comiss xmm1, xmm0
jbe 0x10039e0f
nop
addss xmm0, xmm2
comiss xmm1, xmm0
ja 0x10039e00
movss dword [esp + 0x20], xmm0
mov ecx, edi
call fcn.10034cc0
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
subss xmm2, dword [esp + 0x68]
subss xmm1, dword [esp + 0x64]
movss xmm0, dword [eax + 8]
subss xmm0, dword [esp + 0x6c]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
ucomisd xmm1, xmm0
ja 0x10039e5c
sqrtsd xmm0, xmm0
jmp 0x10039e61
call fcn.1020bb20
movss xmm2, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x20]
subss xmm2, dword [esp + 0x44]
subss xmm1, dword [esp + 0x48]
movss xmm5, dword [0x1026bca4]
cvtsd2ss xmm0, xmm0
comiss xmm2, xmm5
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [0x1026bd04]
movss dword [esp + 0x10], xmm1
jbe 0x10039ea9
nop
subss xmm2, xmm0
comiss xmm2, xmm5
ja 0x10039ea0
movss xmm4, dword [0x1026be78]
comiss xmm4, xmm2
jbe 0x10039ebf
addss xmm2, xmm0
comiss xmm4, xmm2
ja 0x10039eb6
comiss xmm1, xmm0
movss xmm3, dword [0x1026bd68]
jbe 0x10039edf
nop dword [eax]
subss xmm1, xmm3
comiss xmm1, xmm0
ja 0x10039ed0
movss dword [esp + 0x10], xmm1
movss xmm0, dword [0x1026be90]
comiss xmm0, xmm1
jbe 0x10039eff
nop dword [eax]
addss xmm1, xmm3
comiss xmm0, xmm1
ja 0x10039ef0
movss dword [esp + 0x10], xmm1
movaps xmm1, xmm4
movaps xmm0, xmm5
maxss xmm1, xmm2
minss xmm0, xmm1
movsd xmm1, qword [0x1026bb68]
cvtss2sd xmm0, xmm0
call fcn.1020ae00
movss xmm1, dword [0x1026be90]
maxss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x14], xmm0
movss xmm0, dword [0x1026bd04]
minss xmm0, xmm1
movsd xmm1, qword [0x1026bb68]
cvtps2pd xmm0, xmm0
call fcn.1020ae00
movss xmm1, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x10039f72
sqrtsd xmm0, xmm0
jmp 0x10039f77
call fcn.1020bb20
cvtsd2ss xmm0, xmm0
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x44]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x2c]
call fcn.1011e380
mov eax, dword [0x102afd54]
movss dword [esp + 0x14], xmm0
cmp byte [eax + 0x24], 0
je 0x1003a1cf
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
push eax
call fcn.100363f0
cmp dword [eax + 0x10], 0
je 0x1003a1cf
mov ecx, dword [eax + 8]
lea edx, [esp + 0x34]
dec ecx
and ecx, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
lea ecx, [esp + 0xac]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esp + 0x50]
movss dword [esp + 0xac], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, dword [esp + 0x54]
movss dword [esp + 0xb0], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [esp + 0x58]
movss dword [esp + 0xb4], xmm0
call fcn.1011dde0
movss xmm2, dword [esp + 0x34]
movss xmm6, dword [0x1026bca4]
comiss xmm2, xmm6
movss xmm1, dword [0x1026bd04]
jbe 0x1003a060
subss xmm2, xmm1
comiss xmm2, xmm6
ja 0x1003a051
movss dword [esp + 0x34], xmm2
movss xmm4, dword [0x1026be78]
comiss xmm4, xmm2
jbe 0x1003a07f
nop dword [eax]
addss xmm2, xmm1
comiss xmm4, xmm2
ja 0x1003a070
movss dword [esp + 0x34], xmm2
movss xmm0, dword [esp + 0x38]
comiss xmm0, xmm1
movss xmm3, dword [0x1026bd68]
jbe 0x1003a0a1
subss xmm0, xmm3
comiss xmm0, xmm1
ja 0x1003a092
movss dword [esp + 0x38], xmm0
movss xmm5, dword [0x1026be90]
comiss xmm5, xmm0
jbe 0x1003a0bf
nop
addss xmm0, xmm3
comiss xmm5, xmm0
ja 0x1003a0b0
movss dword [esp + 0x38], xmm0
subss xmm2, dword [esp + 0x44]
subss xmm0, dword [esp + 0x48]
comiss xmm2, xmm6
movss dword [esp + 0x28], xmm0
jbe 0x1003a0df
subss xmm2, xmm1
comiss xmm2, xmm6
ja 0x1003a0d6
comiss xmm4, xmm2
jbe 0x1003a0ed
addss xmm2, xmm1
comiss xmm4, xmm2
ja 0x1003a0e4
comiss xmm0, xmm1
jbe 0x1003a101
subss xmm0, xmm3
comiss xmm0, xmm1
ja 0x1003a0f2
movss dword [esp + 0x28], xmm0
comiss xmm5, xmm0
jbe 0x1003a115
addss xmm0, xmm3
comiss xmm5, xmm0
ja 0x1003a106
movss dword [esp + 0x28], xmm0
movaps xmm1, xmm4
movaps xmm0, xmm6
maxss xmm1, xmm2
minss xmm0, xmm1
movsd xmm1, qword [0x1026bb68]
cvtss2sd xmm0, xmm0
call fcn.1020ae00
movss xmm1, dword [0x1026be90]
maxss xmm1, dword [esp + 0x28]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x30], xmm0
movss xmm0, dword [0x1026bd04]
minss xmm0, xmm1
movsd xmm1, qword [0x1026bb68]
cvtps2pd xmm0, xmm0
call fcn.1020ae00
movss xmm1, dword [esp + 0x30]
cvtsd2ss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1003a188
sqrtsd xmm0, xmm0
jmp 0x1003a18d
call fcn.1020bb20
cvtsd2ss xmm0, xmm0
lea edx, [esp + 0x34]
lea ecx, [esp + 0x44]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x2c]
call fcn.1011e380
movss xmm2, dword [esp + 0x10]
movaps xmm1, xmm0
movss xmm0, dword [esp + 0x30]
comiss xmm2, xmm0
jbe 0x1003a1d5
movaps xmm2, xmm0
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x10], xmm2
jmp 0x1003a1d5
movss xmm2, dword [esp + 0x10]
comiss xmm2, dword [esp + 0x60]
ja 0x1003a2d1
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
lea ecx, [esp + 0xb8]
push ecx
push eax
call fcn.100043c0
test al, al
je 0x1003a243
cmp byte [esp + 0x1f4], 0
jne 0x1003a243
cmp byte [esp + 0x1f5], 0
jne 0x1003a243
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x9c], ecx
mov ecx, 0x102a5700
push eax
call fcn.100f7520
mov esi, dword [eax]
jmp 0x1003a245
xor esi, esi
mov ecx, edi
call fcn.10003ec0
movss xmm0, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x2c]
mov dword [esp + 0x74], ecx
mov ecx, dword [0x102afd4c]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x14]
mov dword [esp + 0x70], edi
mov dword [esp + 0x78], eax
movss dword [esp + 0x84], xmm0
mov dword [esp + 0x88], esi
cmp ecx, dword [0x102afd50]
je 0x1003a2c6
movups xmm0, xmmword [esp + 0x70]
movups xmmword [ecx], xmm0
movq xmm0, qword [esp + 0x80]
movq qword [ecx + 0x10], xmm0
mov eax, dword [esp + 0x88]
mov dword [ecx + 0x18], eax
add dword [0x102afd4c], 0x1c
jmp 0x1003a2d1
lea eax, [esp + 0x70]
push eax
push ecx
call fcn.1003a5e0
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x40]
jle 0x10039ca2
mov esi, dword [0x102afd4c]
mov eax, 0x92492493
mov ecx, dword [0x102afd48]
sub esi, ecx
push dword [esp + 0x40]
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x102afd4c]
push eax
call fcn.1003a9e0
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret