Function at 0x1012adc0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101782cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1029b784]
push esi
mov esi, dword [eax + ecx*4]
mov eax, dword [0x102a61a0]
mov dword [ebp - 0x38], esi
cmp eax, dword [esi + 4]
jle 0x1012ae3b
push 0x102a61a0
call fcn.1016f60a
add esp, 4
cmp dword [0x102a61a0], 0xffffffff
jne 0x1012ae3b
push str.sv_usercmd_custom_random_seed
mov dword [ebp - 4], 0
call fcn.1016afc0
push 0x102a61a0
mov dword [0x102a6194], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1016f5b9
add esp, 4
mov eax, dword [0x102a6194]
test eax, eax
je 0x1012ae55
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x30], 1
je 0x1012ae55
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x34]
jmp 0x1012ae77
call fcn.1012a420
cvtsd2ss xmm0, xmm0
addss xmm0, dword [0x1029d138]
mulss xmm0, dword [0x10285c1c]
movss dword [ebp - 0x3c], xmm0
movzx eax, byte [ebp - 0x3c]
cmp dword [0x1029d12c], 0
mov dword [0x1029d13c], eax
je 0x1012b762
cmp dword [0x1029cde0], 1
jne 0x1012b762
mov eax, dword [0x10298ea0]
test eax, eax
jne 0x1012aeae
mov ecx, 0x10298ea0
call fcn.1016e320
mov eax, dword [0x10298ea0]
push edi
mov edi, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 0x3c], eax
call dword [ebp - 0x3c]
xorps xmm0, xmm0
fstp dword [ebp - 0x3c]
comiss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x14], xmm0
jae 0x1012b761
cmp byte [0x1029cddc], 0
je 0x1012b761
mov eax, dword [0x10298ea0]
test eax, eax
jne 0x1012aef4
mov ecx, 0x10298ea0
call fcn.1016e320
mov eax, dword [0x10298ea0]
mov ecx, edi
mov dword [ebp - 0x3c], eax
call dword [ebp - 0x3c]
mov eax, dword [0x102991dc]
mov dword [ebp - 0x34], eax
fstp dword [ebp - 0x50]
test eax, eax
jne 0x1012af1d
mov ecx, 0x102991dc
call fcn.1016e320
mov eax, dword [0x102991dc]
mov dword [ebp - 0x34], eax
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x5f4]
call eax
push eax
call dword [ebp - 0x34]
add esp, 4
test eax, eax
je 0x1012af3f
mov ecx, dword [eax + 0x6fc]
mov dword [ebp - 0x34], ecx
jmp 0x1012af46
mov dword [ebp - 0x34], 1
mov eax, dword [0x1029cf1c]
cmp eax, dword [esi + 4]
jle 0x1012afa1
push 0x1029cf1c
call fcn.1016f60a
add esp, 4
cmp dword [0x1029cf1c], 0xffffffff
jne 0x1012afa1
mov dword [ebp - 4], 1
mov eax, dword [0x102988f0]
test eax, eax
jne 0x1012af88
mov ecx, 0x102988f0
call fcn.1016e320
mov eax, dword [0x102988f0]
push 0x1029cf1c
mov dword [0x1029cefc], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1016f5b9
add esp, 4
movd xmm0, dword [ebp - 0x34]
mov eax, dword [0x1029cefc]
push 1
push 0
cvtdq2ps xmm0, xmm0
push edi
push str.mult_bullets_per_shot
push ecx
mov dword [ebp - 0x3c], eax
movss dword [esp], xmm0
call dword [ebp - 0x3c]
xor esi, esi
xor edi, edi
fstp dword [ebp - 0x34]
cvttss2si eax, dword [ebp - 0x34]
add esp, 0x14
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], esi
xor ecx, ecx
mov dword [ebp - 4], 2
mov dword [ebp - 0x30], ecx
movss xmm4, dword [ebp - 0x14]
movss dword [ebp - 0x20], xmm4
movaps xmm5, xmm4
movss dword [ebp - 0x1c], xmm5
movaps xmm6, xmm4
test eax, eax
jle 0x1012b5ec
mov esi, dword [ebp - 0x38]
nop dword [eax + eax]
mov eax, dword [0x1029d13c]
add eax, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [0x1029d06c]
cmp eax, dword [esi + 4]
jle 0x1012b066
push 0x1029d06c
call fcn.1016f60a
add esp, 4
cmp dword [0x1029d06c], 0xffffffff
jne 0x1012b066
push str.RandomSeed
push str.vstdlib.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1029d06c
mov dword [0x1029d03c], eax
call fcn.1016f5b9
add esp, 4
push dword [ebp - 0x2c]
call dword [0x1029d03c]
add esp, 4
cmp dword [ebp - 0x30], 0
jne 0x1012b171
push ecx
call fcn.1013c110
test eax, eax
jne 0x1012b171
mov eax, dword [0x1029cebc]
cmp eax, dword [esi + 4]
jle 0x1012b0d6
push 0x1029cebc
call fcn.1016f60a
add esp, 4
cmp dword [0x1029cebc], 0xffffffff
jne 0x1012b0d6
push str.m_flLastFireTime
push str.CTFWeaponBase
mov byte [ebp - 4], 3
call fcn.1016e290
push 0x1029cebc
mov dword [0x1029cee0], eax
mov byte [ebp - 4], 2
call fcn.1016f5b9
add esp, 4
mov eax, dword [0x1029cee0]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x1029ce98]
cmp eax, dword [esi + 4]
jle 0x1012b12a
push 0x1029ce98
call fcn.1016f60a
add esp, 4
cmp dword [0x1029ce98], 0xffffffff
jne 0x1012b12a
push str.m_nTickBase
push str.CBasePlayer
mov byte [ebp - 4], 4
call fcn.1016e290
push 0x1029ce98
mov dword [0x1029ceb0], eax
mov byte [ebp - 4], 2
call fcn.1016f5b9
add esp, 4
mov eax, dword [0x1029ceb0]
mov ecx, dword [ebp + 8]
movd xmm0, dword [eax + ecx]
mov eax, dword [0x1029ce20]
mov ecx, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x1c]
mov eax, dword [ebp - 0x2c]
subss xmm0, dword [eax + ecx]
cvttss2si eax, dword [ebp - 0x34]
cmp eax, 1
jne 0x1012b162
comiss xmm0, dword [0x102859dc]
jmp 0x1012b16b
jle 0x1012b171
comiss xmm0, dword [0x1028594c]
ja 0x1012b759
mov eax, dword [0x1029d0e0]
cmp eax, dword [esi + 4]
jle 0x1012b1bd
push 0x1029d0e0
call fcn.1016f60a
add esp, 4
cmp dword [0x1029d0e0], 0xffffffff
jne 0x1012b1bd
push str.RandomFloat
push str.vstdlib.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1029d0e0
mov dword [0x1029d0ec], eax
call fcn.1016f5b9
add esp, 4
mov eax, dword [0x1029d0ec]
sub esp, 8
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [ebp - 0x2c]
mov eax, dword [0x1029d0e0]
add esp, 8
fstp dword [ebp - 0x24]
cmp eax, dword [esi + 4]
jle 0x1012b22c
push 0x1029d0e0
call fcn.1016f60a
add esp, 4
cmp dword [0x1029d0e0], 0xffffffff
jne 0x1012b22c
push str.RandomFloat
push str.vstdlib.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1029d0e0
mov dword [0x1029d0ec], eax
call fcn.1016f5b9
add esp, 4
mov eax, dword [0x1029d0ec]
sub esp, 8
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [ebp - 0x2c]
fadd dword [ebp - 0x24]
mov eax, dword [0x1029d0e0]
add esp, 8
fstp dword [ebp - 0x4c]
cmp eax, dword [esi + 4]
jle 0x1012b29e
push 0x1029d0e0
call fcn.1016f60a
add esp, 4
cmp dword [0x1029d0e0], 0xffffffff
jne 0x1012b29e
push str.RandomFloat
push str.vstdlib.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1029d0e0
mov dword [0x1029d0ec], eax
call fcn.1016f5b9
add esp, 4
mov eax, dword [0x1029d0ec]
sub esp, 8
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [ebp - 0x2c]
mov eax, dword [0x1029d0e0]
add esp, 8
fstp dword [ebp - 0x24]
cmp eax, dword [esi + 4]
jle 0x1012b30d
push 0x1029d0e0
call fcn.1016f60a
add esp, 4
cmp dword [0x1029d0e0], 0xffffffff
jne 0x1012b30d
push str.RandomFloat
push str.vstdlib.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1029d0e0
mov dword [0x1029d0ec], eax
call fcn.1016f5b9
add esp, 4
mov eax, dword [0x1029d0ec]
sub esp, 8
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [ebp - 0x2c]
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x3c]
fadd dword [ebp - 0x24]
add esp, 8
add ecx, 0xc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x24], ecx
movss xmm1, dword [0x102858e4]
movss xmm0, dword [ecx]
mulss xmm0, xmm1
mov dword [ebp - 0x10], eax
fstp dword [ebp - 0x58]
movss dword [ebp - 0x2c], xmm0
fld dword [ebp - 0x2c]
fsincos
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [ecx + 4]
lea eax, [ebp - 0x40]
mulss xmm0, xmm1
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x10], eax
movss dword [ebp - 0x2c], xmm0
fld dword [ebp - 0x2c]
fsincos
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [ecx + 8]
lea eax, [ebp - 0x28]
mulss xmm0, xmm1
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x10], eax
movss dword [ebp - 0x2c], xmm0
fld dword [ebp - 0x2c]
fsincos
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
fstp dword [edx]
fstp dword [eax]
movss xmm7, dword [ebp - 0x40]
movss xmm5, dword [ebp - 0x3c]
movaps xmm0, xmm7
movss xmm6, dword [ebp - 0x44]
mulss xmm0, xmm5
movaps xmm3, xmm6
xorps xmm3, xmmword [0x10286000]
movss xmm4, dword [ebp - 0x48]
movss dword [ebp - 0x54], xmm0
movaps xmm1, xmm4
mulss xmm1, dword [ebp - 0x38]
movaps xmm0, xmm6
mulss xmm0, xmm5
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [ebp - 0x38]
xorps xmm0, xmmword [0x10286000]
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [ebp - 0x28]
mulss xmm0, dword [0x10285ca4]
movss dword [ebp - 0x10], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [ebp - 0x10]
mulss xmm3, xmm4
movss dword [ebp - 0x18], xmm0
movaps xmm0, xmm1
movss xmm2, dword [ebp - 0x18]
mulss xmm0, xmm7
mulss xmm1, xmm6
subss xmm2, xmm0
movss xmm0, dword [ebp - 0x10]
mulss xmm0, xmm7
subss xmm0, xmm1
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x10], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x10285ca4]
mulss xmm0, xmm5
movss xmm5, dword [ebp - 0x28]
mulss xmm5, dword [ebp - 0x38]
movss dword [ebp - 0x2c], xmm0
movaps xmm2, xmm5
mulss xmm5, xmm6
mulss xmm2, xmm7
subss xmm2, xmm3
movss xmm1, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x58]
movss xmm6, dword [ebp - 0x10]
mulss xmm4, xmm7
movss xmm7, dword [ebp - 0x50]
movss xmm3, dword [ebp - 0x28]
mulss xmm3, dword [ebp - 0x3c]
subss xmm5, xmm4
movss xmm4, dword [ebp - 0x18]
mulss xmm4, xmm1
mulss xmm2, xmm0
mulss xmm4, xmm7
mulss xmm6, xmm1
addss xmm4, dword [ebp - 0x54]
mulss xmm2, xmm7
mulss xmm5, xmm0
addss xmm4, xmm2
mulss xmm6, xmm7
movss xmm2, dword [ebp - 0x2c]
mulss xmm2, xmm1
addss xmm6, dword [ebp - 0x5c]
mulss xmm3, xmm0
movaps xmm1, xmm4
mulss xmm5, xmm7
mulss xmm2, xmm7
addss xmm6, xmm5
mulss xmm3, xmm7
addss xmm2, dword [ebp - 0x60]
mulss xmm1, xmm4
movaps xmm0, xmm6
movss dword [ebp - 0x18], xmm4
mulss xmm0, xmm6
addss xmm2, xmm3
movss dword [ebp - 0x10], xmm6
addss xmm0, xmm1
movaps xmm1, xmm2
movss dword [ebp - 0x2c], xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.1003cac0
addss xmm0, dword [0x10285860]
movss xmm1, dword [0x102859c8]
movss xmm5, dword [ebp - 0x1c]
movss xmm6, dword [ebp - 0x20]
movss xmm4, dword [ebp - 0x14]
divss xmm1, xmm0
movaps xmm2, xmm1
movaps xmm3, xmm1
mulss xmm2, dword [ebp - 0x18]
mulss xmm3, dword [ebp - 0x10]
addss xmm5, xmm2
mulss xmm1, dword [ebp - 0x2c]
addss xmm6, xmm3
movss dword [ebp - 0x78], xmm2
movss dword [ebp - 0x74], xmm3
addss xmm4, xmm1
movss dword [ebp - 0x70], xmm1
movss dword [ebp - 0x1c], xmm5
movss dword [ebp - 0x20], xmm6
movss dword [ebp - 0x14], xmm4
cmp edi, dword [ebp - 0x64]
je 0x1012b5b1
movss dword [edi], xmm2
movss dword [edi + 4], xmm3
movss dword [edi + 8], xmm1
add edi, 0xc
mov dword [ebp - 0x68], edi
jmp 0x1012b5c1
lea eax, [ebp - 0x78]
push eax
push edi
lea ecx, [ebp - 0x6c]
call fcn.100c0af0
mov edi, dword [ebp - 0x68]
cvttss2si eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
inc ecx
mov dword [ebp - 0x30], ecx
cmp ecx, eax
jl 0x1012b010
mov esi, dword [ebp - 0x6c]
movss xmm4, dword [ebp - 0x14]
movss xmm5, dword [ebp - 0x1c]
movss xmm6, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
jmp 0x1012b5f5
mov ecx, dword [ebp + 0x10]
add ecx, 0xc
mov dword [ebp - 0x24], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm5, xmm0
divss xmm6, xmm0
movss dword [ebp - 0x1c], xmm5
movss dword [ebp - 0x20], xmm6
divss xmm4, xmm0
movss dword [ebp - 0x14], xmm4
cmp esi, edi
je 0x1012b759
lea eax, [esi + 0xc]
mov dword [ebp - 0x24], ecx
mov dword [ebp + 0xc], eax
cmp eax, edi
je 0x1012b6ec
movss xmm0, dword [esi]
movss xmm3, dword [eax + 4]
subss xmm0, xmm5
movss xmm2, dword [eax]
subss xmm3, xmm6
movss xmm1, dword [eax + 8]
subss xmm2, xmm5
subss xmm1, xmm4
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [esi + 4]
subss xmm0, xmm6
mulss xmm3, xmm3
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm3, xmm2
movss dword [ebp + 8], xmm0
movss xmm0, dword [esi + 8]
subss xmm0, xmm4
addss xmm3, xmm1
movss dword [ebp - 0x5c], xmm0
movaps xmm0, xmm3
call fcn.1003cac0
movss xmm1, dword [ebp + 8]
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [ebp - 0x60]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x5c]
mulss xmm0, xmm0
addss xmm0, xmm1
call fcn.1003cac0
comiss xmm0, dword [ebp - 0x58]
mov eax, dword [ebp + 0xc]
movss xmm4, dword [ebp - 0x14]
movss xmm5, dword [ebp - 0x1c]
movss xmm6, dword [ebp - 0x20]
cmova esi, eax
add eax, 0xc
mov dword [ebp + 0xc], eax
cmp eax, edi
jne 0x1012b630
mov ecx, dword [ebp + 0x10]
add ecx, 0xc
mov dword [ebp - 0x24], ecx
cmp esi, edi
je 0x1012b759
lea edx, [ebp - 0x78]
mov dword [ebp - 0x70], 0
mov ecx, esi
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x78], 0
call fcn.100aadf0
mov eax, dword [ebp - 0x24]
mov ecx, eax
movss xmm0, dword [eax]
subss xmm0, dword [ebp - 0x78]
addss xmm0, dword [eax]
movss dword [eax], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [ebp - 0x74]
addss xmm0, dword [eax + 4]
movss dword [eax + 4], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, dword [ebp - 0x70]
addss xmm0, dword [eax + 8]
movss dword [eax + 8], xmm0
call fcn.100aaa70
mov byte [0x1029cecc], 1
lea ecx, [ebp - 0x6c]
call fcn.10090d00
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc