Function at 0x1009ca90
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1019bb91
push eax
mov dword fs:[0], esp
sub esp, 0x84
cmp byte [0x1031bda0], 0
je 0x1009d3dc
cmp byte [0x1031697c], 0
je 0x1009d3dc
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x1009d3db
mov eax, dword [0x10253210]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x1009d3db
push esi
mov esi, dword [0x10253214]
mov dword [ebp - 0x78], esi
test esi, esi
je 0x1009d3da
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x550]
call eax
test al, 2
je 0x1009d3da
mov edx, esi
mov ecx, edi
call fcn.1009b860
test al, al
je 0x1009d3da
mov ecx, esi
call fcn.1009b3c0
xorps xmm1, xmm1
movss dword [ebp - 0x8c], xmm0
comiss xmm1, xmm0
movss dword [ebp - 0x24], xmm1
jae 0x1009d3da
mov ecx, esi
call fcn.1009b310
test eax, eax
je 0x1009d3da
mov edi, dword [eax + 0x6fc]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10255374]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102557bc]
mov dword [ebp - 0x20], ecx
cmp eax, dword [ecx + 4]
jle 0x1009cbbd
push 0x102557bc
call fcn.101987e8
add esp, 4
cmp dword [0x102557bc], 0xffffffff
jne 0x1009cbbd
mov dword [ebp - 4], 0
mov eax, dword [0x10252f0c]
test eax, eax
jne 0x1009cba4
mov ecx, 0x10252f0c
call fcn.10195870
mov eax, dword [0x10252f0c]
push 0x102557bc
mov dword [0x103166e8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10198797
add esp, 4
mov eax, dword [0x103166e8]
push 1
push 0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push esi
push str.mult_bullets_per_shot
push ecx
mov dword [ebp - 0x10], eax
movss dword [esp], xmm0
call dword [ebp - 0x10]
xor esi, esi
xor edi, edi
fstp dword [ebp - 0x3c]
cvttss2si eax, dword [ebp - 0x3c]
add esp, 0x14
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x38], esi
movss xmm3, dword [ebp - 0x24]
movss xmm0, dword [0x10316980]
movaps xmm5, xmm3
movss dword [ebp - 0x2c], xmm5
movaps xmm4, xmm3
movss dword [ebp - 0x28], xmm4
addss xmm0, dword [0x10316984]
addss xmm0, dword [0x10316978]
mulss xmm0, dword [0x1023d3a0]
movss dword [ebp - 0x10], xmm0
movzx ecx, byte [ebp - 0x10]
test eax, eax
jle 0x1009d23d
mov edi, dword [ebp - 0x20]
nop word [eax + eax]
mov eax, dword [0x103168ec]
mov dword [ebp - 0x10], ecx
inc ecx
mov dword [ebp - 0x30], ecx
cmp eax, dword [edi + 4]
jle 0x1009cca3
push 0x103168ec
call fcn.101987e8
add esp, 4
cmp dword [0x103168ec], 0xffffffff
jne 0x1009cca3
push str.RandomSeed
push str.vstdlib.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x103168ec
mov dword [0x103168a0], eax
call fcn.10198797
add esp, 4
push dword [ebp - 0x10]
call dword [0x103168a0]
add esp, 4
cmp dword [ebp - 0x38], 0
jne 0x1009cdac
mov eax, dword [0x103168c0]
cmp eax, dword [edi + 4]
jle 0x1009cd05
push 0x103168c0
call fcn.101987e8
add esp, 4
cmp dword [0x103168c0], 0xffffffff
jne 0x1009cd05
mov edx, str.m_nTickBase
mov byte [ebp - 4], 2
mov ecx, str.CBasePlayer
call fcn.10078be0
push 0x103168c0
mov dword [0x103168d0], eax
mov byte [ebp - 4], 1
call fcn.10198797
add esp, 4
mov eax, dword [0x103168d0]
mov dword [ebp - 0x10], eax
mov eax, dword [0x103168c8]
cmp eax, dword [edi + 4]
jle 0x1009cd5e
push 0x103168c8
call fcn.101987e8
add esp, 4
cmp dword [0x103168c8], 0xffffffff
jne 0x1009cd5e
push str.m_flLastFireTime
push str.LocalActiveTFWeaponData
push str.DT_TFWeaponBase
mov byte [ebp - 4], 3
call fcn.1007c680
push 0x103168c8
mov dword [0x1031689c], eax
mov byte [ebp - 4], 1
call fcn.10198797
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x74]
movd xmm0, dword [eax + ecx]
mov eax, dword [0x10255740]
mov ecx, dword [ebp - 0x78]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x1c]
mov eax, dword [0x1031689c]
subss xmm0, dword [eax + ecx]
cvttss2si eax, dword [ebp - 0x3c]
cmp eax, 1
jle 0x1009cd9d
comiss xmm0, dword [0x1023d0a4]
ja 0x1009d3d2
cmp eax, 1
jne 0x1009cdac
comiss xmm0, dword [0x1023d144]
ja 0x1009d3d2
mov eax, dword [0x10316884]
cmp eax, dword [edi + 4]
jle 0x1009cdf8
push 0x10316884
call fcn.101987e8
add esp, 4
cmp dword [0x10316884], 0xffffffff
jne 0x1009cdf8
push str.RandomFloat
push str.vstdlib.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10316884
mov dword [0x103168e0], eax
call fcn.10198797
add esp, 4
mov eax, dword [0x103168e0]
sub esp, 8
mov dword [ebp - 0x10], eax
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [ebp - 0x10]
mov eax, dword [0x10316884]
add esp, 8
fstp dword [ebp - 0x14]
cmp eax, dword [edi + 4]
jle 0x1009ce67
push 0x10316884
call fcn.101987e8
add esp, 4
cmp dword [0x10316884], 0xffffffff
jne 0x1009ce67
push str.RandomFloat
push str.vstdlib.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10316884
mov dword [0x103168e0], eax
call fcn.10198797
add esp, 4
mov eax, dword [0x103168e0]
sub esp, 8
mov dword [ebp - 0x10], eax
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [ebp - 0x10]
fadd dword [ebp - 0x14]
mov eax, dword [0x10316884]
add esp, 8
fstp dword [ebp - 0x88]
cmp eax, dword [edi + 4]
jle 0x1009cedc
push 0x10316884
call fcn.101987e8
add esp, 4
cmp dword [0x10316884], 0xffffffff
jne 0x1009cedc
push str.RandomFloat
push str.vstdlib.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10316884
mov dword [0x103168e0], eax
call fcn.10198797
add esp, 4
mov eax, dword [0x103168e0]
sub esp, 8
mov dword [ebp - 0x10], eax
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [ebp - 0x10]
mov eax, dword [0x10316884]
add esp, 8
fstp dword [ebp - 0x14]
cmp eax, dword [edi + 4]
jle 0x1009cf4b
push 0x10316884
call fcn.101987e8
add esp, 4
cmp dword [0x10316884], 0xffffffff
jne 0x1009cf4b
push str.RandomFloat
push str.vstdlib.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10316884
mov dword [0x103168e0], eax
call fcn.10198797
add esp, 4
mov eax, dword [0x103168e0]
sub esp, 8
mov dword [ebp - 0x10], eax
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
fadd dword [ebp - 0x14]
add esp, 8
add ecx, 0xc
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x10], ecx
movss xmm1, dword [0x1023d058]
movss xmm0, dword [ecx]
mulss xmm0, xmm1
mov dword [ebp - 0x18], eax
fstp dword [ebp - 0x40]
movss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
fsincos
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [ecx + 4]
lea eax, [ebp - 0x7c]
mulss xmm0, xmm1
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x18], eax
movss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
fsincos
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [ecx + 8]
lea eax, [ebp - 0x34]
mulss xmm0, xmm1
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x18], eax
movss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
fsincos
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
fstp dword [edx]
fstp dword [eax]
movss xmm7, dword [ebp - 0x7c]
movss xmm5, dword [ebp - 0x20]
movaps xmm0, xmm7
movss xmm6, dword [ebp - 0x80]
mulss xmm0, xmm5
movaps xmm3, xmm6
xorps xmm3, xmmword [0x1023da60]
movss xmm4, dword [ebp - 0x84]
movss dword [ebp - 0x90], xmm0
movaps xmm1, xmm4
mulss xmm1, dword [ebp - 0x58]
movaps xmm0, xmm6
mulss xmm0, xmm5
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [ebp - 0x58]
xorps xmm0, xmmword [0x1023da60]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [ebp - 0x34]
mulss xmm0, dword [0x1023d440]
movss dword [ebp - 0x18], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [ebp - 0x18]
mulss xmm3, xmm4
movss dword [ebp - 0x1c], xmm0
movaps xmm0, xmm1
movss xmm2, dword [ebp - 0x1c]
mulss xmm0, xmm7
mulss xmm1, xmm6
subss xmm2, xmm0
movss xmm0, dword [ebp - 0x18]
mulss xmm0, xmm7
subss xmm0, xmm1
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x18], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x1023d440]
mulss xmm0, xmm5
movss xmm5, dword [ebp - 0x34]
mulss xmm5, dword [ebp - 0x58]
movss dword [ebp - 0x14], xmm0
movaps xmm2, xmm5
mulss xmm5, xmm6
mulss xmm2, xmm7
subss xmm2, xmm3
movss xmm1, dword [ebp - 0x88]
movss xmm0, dword [ebp - 0x40]
movss xmm6, dword [ebp - 0x18]
mulss xmm4, xmm7
movss xmm7, dword [ebp - 0x8c]
movss xmm3, dword [ebp - 0x34]
mulss xmm3, dword [ebp - 0x20]
subss xmm5, xmm4
movss xmm4, dword [ebp - 0x1c]
mulss xmm4, xmm1
mulss xmm2, xmm0
mulss xmm4, xmm7
mulss xmm6, xmm1
addss xmm4, dword [ebp - 0x90]
mulss xmm2, xmm7
mulss xmm5, xmm0
addss xmm4, xmm2
mulss xmm6, xmm7
movss xmm2, dword [ebp - 0x14]
mulss xmm2, xmm1
addss xmm6, dword [ebp - 0x44]
mulss xmm3, xmm0
movaps xmm1, xmm4
mulss xmm5, xmm7
mulss xmm2, xmm7
addss xmm6, xmm5
mulss xmm3, xmm7
addss xmm2, dword [ebp - 0x48]
mulss xmm1, xmm4
movaps xmm0, xmm6
movss dword [ebp - 0x1c], xmm4
mulss xmm0, xmm6
addss xmm2, xmm3
movss dword [ebp - 0x18], xmm6
addss xmm0, xmm1
movaps xmm1, xmm2
movss dword [ebp - 0x14], xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.10076060
addss xmm0, dword [0x1023cff4]
movss xmm1, dword [0x1023d120]
movss xmm3, dword [ebp - 0x24]
divss xmm1, xmm0
movaps xmm2, xmm1
movaps xmm4, xmm1
mulss xmm2, dword [ebp - 0x1c]
mulss xmm4, dword [ebp - 0x18]
movaps xmm0, xmm2
mulss xmm1, dword [ebp - 0x14]
addss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x54], xmm2
movss dword [ebp - 0x50], xmm4
movss dword [ebp - 0x4c], xmm1
movss dword [ebp - 0x28], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ebp - 0x2c]
movss dword [ebp - 0x2c], xmm0
movaps xmm0, xmm1
addss xmm3, xmm0
movss dword [ebp - 0x24], xmm3
cmp esi, dword [ebp - 0x68]
je 0x1009d202
movss dword [esi], xmm2
movss dword [esi + 4], xmm4
movss dword [esi + 8], xmm1
add esi, 0xc
mov dword [ebp - 0x6c], esi
jmp 0x1009d212
lea eax, [ebp - 0x54]
push eax
push esi
lea ecx, [ebp - 0x70]
call fcn.1009dd40
mov esi, dword [ebp - 0x6c]
cvttss2si eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
inc ecx
mov dword [ebp - 0x38], ecx
cmp ecx, eax
mov ecx, dword [ebp - 0x30]
jl 0x1009cc50
mov edi, dword [ebp - 0x70]
movss xmm3, dword [ebp - 0x24]
movss xmm4, dword [ebp - 0x28]
movss xmm5, dword [ebp - 0x2c]
jmp 0x1009d246
mov ecx, dword [ebp + 8]
add ecx, 0xc
mov dword [ebp - 0x10], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm4, xmm0
divss xmm5, xmm0
movss dword [ebp - 0x28], xmm4
movss dword [ebp - 0x2c], xmm5
divss xmm3, xmm0
movss xmm0, dword [0x1023d408]
movss dword [ebp - 0x24], xmm3
movaps xmm1, xmm0
movss dword [ebp - 0x20], xmm0
movaps xmm2, xmm0
movss dword [ebp - 0x64], xmm0
movss dword [ebp - 0x60], xmm1
movss dword [ebp - 0x5c], xmm2
cmp edi, esi
je 0x1009d368
subss xmm0, xmm4
subss xmm2, xmm3
subss xmm1, xmm5
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [edi]
movss dword [ebp - 0x44], xmm2
subss xmm0, xmm4
movss xmm2, dword [edi + 4]
subss xmm2, xmm5
movss dword [ebp - 0x30], xmm1
movss xmm1, dword [edi + 8]
subss xmm1, xmm3
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.10076060
movss xmm1, dword [ebp - 0x30]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x48]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x44]
mulss xmm0, xmm0
addss xmm0, xmm1
call fcn.10076060
comiss xmm0, dword [ebp - 0x40]
jbe 0x1009d337
movss xmm0, dword [edi]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi + 8]
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0x64], xmm0
movss dword [ebp - 0x60], xmm1
movss dword [ebp - 0x5c], xmm2
jmp 0x1009d346
movss xmm0, dword [ebp - 0x20]
movss xmm1, dword [ebp - 0x60]
movss xmm2, dword [ebp - 0x5c]
movss xmm3, dword [ebp - 0x24]
add edi, 0xc
movss xmm4, dword [ebp - 0x28]
movss xmm5, dword [ebp - 0x2c]
cmp edi, esi
jne 0x1009d292
mov esi, dword [ebp + 8]
add esi, 0xc
jmp 0x1009d36b
mov esi, dword [ebp - 0x10]
lea edx, [ebp - 0x54]
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
call fcn.10085e60
movss xmm0, dword [esi]
mov ecx, esi
subss xmm0, dword [ebp - 0x54]
addss xmm0, dword [esi]
movss dword [esi], xmm0
movss xmm0, dword [esi + 4]
subss xmm0, dword [ebp - 0x50]
addss xmm0, dword [esi + 4]
movss dword [esi + 4], xmm0
movss xmm0, dword [esi + 8]
subss xmm0, dword [ebp - 0x4c]
addss xmm0, dword [esi + 8]
movss dword [esi + 8], xmm0
call fcn.1009b0f0
mov byte [0x103168e5], 1
lea ecx, [ebp - 0x70]
call fcn.1009d430
pop esi
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4