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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, dword [0x102afd7c]
sub esp, 0x208
mov dword [0x102afd80], eax
push esi
mov esi, dword [0x102afd84]
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 0x1003cb10
push ecx
call fcn.1003ef90
mov ecx, dword [0x102afd6c]
call fcn.10034cc0
mov ecx, dword [0x102999e4]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x6c], eax
mov eax, dword [0x10297b24]
mov dword [esp + 0x58], eax
mov eax, dword fs:[0x2c]
movq qword [esp + 0x64], xmm0
movq xmm0, qword [0x10297b1c]
movq qword [esp + 0x50], xmm0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1029a1c4]
cmp eax, dword [ecx + 4]
jle 0x1003cba0
push 0x1029a1c4
call fcn.101e23b9
add esp, 4
cmp dword [0x1029a1c4], 0xffffffff
jne 0x1003cba0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 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 [0x102afd78]
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 [0x102afd5c]
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x44], xmm1
movss xmm0, dword [eax + 8]
mov eax, dword [ecx]
movss dword [esp + 0x3c], xmm0
mov eax, dword [eax + 0x50]
call eax
mov ecx, eax
mov eax, 1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x20], eax
cmp ecx, eax
jl 0x1003d37f
push eax
call fcn.100042a0
mov edi, eax
test edi, edi
je 0x1003d36c
mov ecx, edi
call fcn.101758d0
test al, al
je 0x1003d36c
cmp edi, dword [0x102afd6c]
je 0x1003d36c
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x1003d36c
mov ecx, edi
call fcn.10004070
cmp byte [eax], 0
jne 0x1003d36c
mov ecx, edi
call fcn.10176800
test al, al
je 0x1003d36c
mov ecx, dword [0x102afd6c]
push edi
call fcn.10178a30
test al, al
je 0x1003d36c
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xc]
call eax
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
mov esi, eax
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
call eax
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movss xmm0, dword [esi]
mov ecx, edi
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [eax]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esi + 4]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 8]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x5c], xmm0
call fcn.10034cc0
movss xmm3, dword [esp + 0x18]
lea edx, [esp + 0x24]
addss xmm3, dword [esp + 0x1c]
movss xmm4, dword [0x1026ba54]
lea ecx, [esp + 0xa0]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
mulss xmm3, xmm4
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
addss xmm3, xmm0
movss xmm0, dword [esp + 0xc]
addss xmm0, dword [esp + 0x14]
subss xmm3, dword [esp + 0x50]
mulss xmm0, xmm4
addss xmm0, xmm1
movss dword [esp + 0xa0], xmm3
subss xmm0, dword [esp + 0x54]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [esp + 0x5c]
addss xmm0, dword [esp + 0x10]
mulss xmm0, xmm4
addss xmm0, xmm2
subss xmm0, dword [esp + 0x58]
movss dword [esp + 0xa8], xmm0
call fcn.1011dde0
movss xmm0, dword [esp + 0x24]
movss xmm2, dword [0x1026bca4]
comiss xmm0, xmm2
movss xmm1, dword [0x1026bd04]
jbe 0x1003cdd1
subss xmm0, xmm1
comiss xmm0, xmm2
ja 0x1003cdc2
movss dword [esp + 0x24], xmm0
movss xmm2, dword [0x1026be78]
comiss xmm2, xmm0
jbe 0x1003cdef
nop
addss xmm0, xmm1
comiss xmm2, xmm0
ja 0x1003cde0
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x28]
comiss xmm0, xmm1
movss xmm2, dword [0x1026bd68]
jbe 0x1003ce11
subss xmm0, xmm2
comiss xmm0, xmm1
ja 0x1003ce02
movss dword [esp + 0x28], xmm0
movss xmm1, dword [0x1026be90]
comiss xmm1, xmm0
jbe 0x1003ce2f
nop
addss xmm0, xmm2
comiss xmm1, xmm0
ja 0x1003ce20
movss dword [esp + 0x28], 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 0x1003ce7c
sqrtsd xmm0, xmm0
jmp 0x1003ce81
call fcn.1020bb20
movss xmm2, dword [esp + 0x24]
movss xmm1, dword [esp + 0x28]
subss xmm2, dword [esp + 0x44]
subss xmm1, dword [esp + 0x48]
movss xmm5, dword [0x1026bca4]
cvtsd2ss xmm0, xmm0
comiss xmm2, xmm5
movss dword [esp + 0x18], xmm0
movss xmm0, dword [0x1026bd04]
movss dword [esp + 0xc], xmm1
jbe 0x1003cec9
nop
subss xmm2, xmm0
comiss xmm2, xmm5
ja 0x1003cec0
movss xmm4, dword [0x1026be78]
comiss xmm4, xmm2
jbe 0x1003cedf
addss xmm2, xmm0
comiss xmm4, xmm2
ja 0x1003ced6
comiss xmm1, xmm0
movss xmm3, dword [0x1026bd68]
jbe 0x1003ceff
nop dword [eax]
subss xmm1, xmm3
comiss xmm1, xmm0
ja 0x1003cef0
movss dword [esp + 0xc], xmm1
movss xmm0, dword [0x1026be90]
comiss xmm0, xmm1
jbe 0x1003cf1f
nop dword [eax]
addss xmm1, xmm3
comiss xmm0, xmm1
ja 0x1003cf10
movss dword [esp + 0xc], 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 + 0xc]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x1026bd04]
minss xmm0, xmm1
movsd xmm1, qword [0x1026bb68]
cvtps2pd xmm0, xmm0
call fcn.1020ae00
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1003cf92
sqrtsd xmm0, xmm0
jmp 0x1003cf97
call fcn.1020bb20
cvtsd2ss xmm0, xmm0
lea edx, [esp + 0x24]
lea ecx, [esp + 0x44]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x18]
call fcn.1011e380
mov eax, dword [0x102afd5c]
movaps xmm1, xmm0
movss dword [esp + 0xc], xmm1
cmp byte [eax + 0x64], 0
je 0x1003d252
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
push eax
call fcn.100363f0
cmp dword [eax + 0x10], 0
je 0x1003d24c
mov ecx, dword [eax + 8]
lea edx, [esp + 0x30]
dec ecx
and ecx, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
lea ecx, [esp + 0xac]
movss xmm3, dword [eax + 0x34]
movss xmm6, dword [eax + 0x28]
movss xmm0, dword [eax + 0x30]
addss xmm6, xmm3
movss xmm3, dword [0x1026ba54]
movss xmm4, dword [eax + 0x38]
movss xmm7, dword [eax + 0x2c]
movss xmm5, dword [eax + 0x3c]
addss xmm7, xmm4
movss xmm1, dword [eax + 0x14]
movss xmm2, dword [eax + 0x18]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 0x10]
mulss xmm6, xmm3
mov dword [esp + 0x30], 0
mulss xmm7, xmm3
mov dword [esp + 0x34], 0
addss xmm6, xmm0
mov dword [esp + 0x38], 0
movss xmm0, dword [esp + 0x10]
addss xmm0, xmm5
addss xmm7, xmm1
subss xmm6, dword [esp + 0x50]
mulss xmm0, xmm3
subss xmm7, dword [esp + 0x54]
movss dword [esp + 0xac], xmm6
addss xmm0, xmm2
movss dword [esp + 0xb0], xmm7
subss xmm0, dword [esp + 0x58]
movss dword [esp + 0xb4], xmm0
call fcn.1011dde0
movss xmm2, dword [esp + 0x30]
movss xmm6, dword [0x1026bca4]
comiss xmm2, xmm6
movss xmm1, dword [0x1026bd04]
jbe 0x1003d0df
nop word [eax + eax]
subss xmm2, xmm1
comiss xmm2, xmm6
ja 0x1003d0d0
movss dword [esp + 0x30], xmm2
movss xmm4, dword [0x1026be78]
comiss xmm4, xmm2
jbe 0x1003d0ff
nop dword [eax]
addss xmm2, xmm1
comiss xmm4, xmm2
ja 0x1003d0f0
movss dword [esp + 0x30], xmm2
movss xmm0, dword [esp + 0x34]
comiss xmm0, xmm1
movss xmm3, dword [0x1026bd68]
jbe 0x1003d121
subss xmm0, xmm3
comiss xmm0, xmm1
ja 0x1003d112
movss dword [esp + 0x34], xmm0
movss xmm5, dword [0x1026be90]
comiss xmm5, xmm0
jbe 0x1003d13f
nop
addss xmm0, xmm3
comiss xmm5, xmm0
ja 0x1003d130
movss dword [esp + 0x34], xmm0
subss xmm2, dword [esp + 0x44]
subss xmm0, dword [esp + 0x48]
comiss xmm2, xmm6
movss dword [esp + 0x1c], xmm0
jbe 0x1003d15f
subss xmm2, xmm1
comiss xmm2, xmm6
ja 0x1003d156
comiss xmm4, xmm2
jbe 0x1003d16d
addss xmm2, xmm1
comiss xmm4, xmm2
ja 0x1003d164
comiss xmm0, xmm1
jbe 0x1003d181
subss xmm0, xmm3
comiss xmm0, xmm1
ja 0x1003d172
movss dword [esp + 0x1c], xmm0
comiss xmm5, xmm0
jbe 0x1003d195
addss xmm0, xmm3
comiss xmm5, xmm0
ja 0x1003d186
movss dword [esp + 0x1c], 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 + 0x1c]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x1026bd04]
minss xmm0, xmm1
movsd xmm1, qword [0x1026bb68]
cvtps2pd xmm0, xmm0
call fcn.1020ae00
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1003d208
sqrtsd xmm0, xmm0
jmp 0x1003d20d
call fcn.1020bb20
cvtsd2ss xmm0, xmm0
lea edx, [esp + 0x30]
lea ecx, [esp + 0x44]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x18]
call fcn.1011e380
movss xmm2, dword [esp + 0x14]
movaps xmm1, xmm0
movss xmm0, dword [esp + 0x10]
comiss xmm2, xmm0
jbe 0x1003d24c
movss dword [esp + 0x14], xmm0
movss dword [esp + 0xc], xmm1
jmp 0x1003d258
movss xmm1, dword [esp + 0xc]
movss xmm0, dword [esp + 0x14]
mov eax, dword [0x102afd5c]
mov eax, dword [eax + 4]
test eax, eax
jne 0x1003d26b
comiss xmm0, dword [esp + 0x3c]
jmp 0x1003d275
cmp eax, 1
jne 0x1003d27b
comiss xmm1, dword [esp + 0x3c]
ja 0x1003d36c
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 0x1003d2de
cmp byte [esp + 0x1f4], 0
jne 0x1003d2de
cmp byte [esp + 0x1f5], 0
jne 0x1003d2de
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 0x1003d2e0
xor esi, esi
mov ecx, edi
call fcn.10003ec0
movss xmm0, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
movss xmm2, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x74], ecx
mov ecx, dword [0x102afd80]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0xc]
mov dword [esp + 0x70], edi
mov dword [esp + 0x78], eax
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0x84], xmm0
mov dword [esp + 0x88], esi
cmp ecx, dword [0x102afd84]
je 0x1003d361
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 [0x102afd80], 0x1c
jmp 0x1003d36c
lea eax, [esp + 0x70]
push eax
push ecx
call fcn.1003f120
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x40]
jle 0x1003cc22
mov esi, dword [0x102afd80]
mov eax, 0x92492493
mov ecx, dword [0x102afd7c]
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 [0x102afd80]
push eax
call fcn.1003f350
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret