Function at 0x10061350
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a611d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10115040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [0x10118d98]
mov dword [ebp - 0x18], eax
mov eax, dword [0x10118d8c]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [0x10118d8c]
push eax
call esi
mov edi, eax
test edi, edi
je 0x10061791
mov ecx, dword fs:[0x2c]
mov edx, dword [0x10118d50]
mov ebx, dword [ecx + edx*4]
mov ecx, dword [0x10118f68]
cmp ecx, dword [ebx + 4]
jle 0x1006140c
push 0x10118f68
call fcn.100a102d
add esp, 4
cmp dword [0x10118f68], 0xffffffff
jne 0x1006140c
mov edx, str.deadflag
mov dword [ebp - 4], 0
mov ecx, str.CBasePlayer
call fcn.1009c920
push 0x10118f68
mov dword [0x10118f80], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100a0fdc
add esp, 4
mov eax, dword [0x10118f80]
cmp dword [eax + edi], 0
jne 0x10061791
mov ecx, edi
call fcn.10025a60
test al, al
jne 0x10061791
push 0x4e
mov ecx, edi
call fcn.10023680
test al, al
jne 0x10061791
push 0x1f
mov ecx, edi
call fcn.10023680
test al, al
jne 0x10061791
push 0x13
mov ecx, edi
call fcn.10023680
test al, al
jne 0x10061791
mov eax, dword [0x10119fb0]
cmp eax, dword [ebx + 4]
jle 0x100614b0
push 0x10119fb0
call fcn.100a102d
add esp, 4
cmp dword [0x10119fb0], 0xffffffff
jne 0x100614b0
mov dword [ebp - 4], 1
mov ecx, dword [0x10118d80]
push str.tf_weapon_criticals
mov eax, dword [ecx]
call dword [eax + 0x34]
push 0x10119fb0
mov dword [0x10119f90], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100a0fdc
add esp, 4
mov eax, dword [0x10119f90]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x30], 0
je 0x10061791
call fcn.1009ac90
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10061791
mov ecx, dword [eax]
mov edx, dword [ecx + 0x5f4]
mov ecx, eax
call edx
cmp eax, 7
je 0x10061791
mov esi, dword [ebp - 0x1c]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 2
je 0x1006158c
mov ecx, esi
call fcn.10025460
test al, al
je 0x10061791
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x18
je 0x10061752
cmp eax, 0x5b
je 0x10061752
mov eax, dword [0x10118f7c]
cmp eax, dword [ebx + 4]
jle 0x1006157e
push 0x10118f7c
call fcn.100a102d
add esp, 4
cmp dword [0x10118f7c], 0xffffffff
jne 0x1006157e
mov edx, str.m_iItemDefinitionIndex
mov dword [ebp - 4], 2
mov ecx, str.CEconEntity
call fcn.1009c920
push 0x10118f7c
mov dword [0x10118f4c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100a0fdc
add esp, 4
mov eax, dword [0x10118f4c]
cmp dword [eax + esi], 0x2da
je 0x10061599
mov eax, dword [ebp - 0x18]
test byte [eax + 0x24], 1
je 0x10061791
cmp byte [0x10119442], 0
je 0x10061791
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 2
jne 0x10061769
mov eax, dword [0x10119f84]
cmp eax, dword [ebx + 4]
jle 0x1006161b
push 0x10119f84
call fcn.100a102d
add esp, 4
cmp dword [0x10119f84], 0xffffffff
jne 0x1006161b
mov dword [ebp - 4], 3
mov ecx, dword [0x10118d80]
push str.tf_weapon_criticals_melee
mov eax, dword [ecx]
call dword [eax + 0x34]
push 0x10119f84
mov dword [0x10119fac], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100a0fdc
add esp, 4
mov eax, dword [0x10119fac]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x30], 0
je 0x10061791
movsx eax, word [0x10118e10]
mov eax, dword [eax*4 + 0x10118ff0]
cmp eax, 1
je 0x10061649
cmp eax, 2
jne 0x10061745
mov edx, dword [0x101153d0]
test edx, edx
je 0x10061781
mov ecx, dword [0x10118d8c]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x10061781
mov edx, dword [esi + 8]
lea ecx, [esi + 8]
call dword [edx + 8]
test eax, eax
je 0x10061781
cmp dword [eax + 0x14], 0xf7
jne 0x10061781
mov ecx, dword [0x1011947c]
cmp ecx, dword [ebx + 4]
jle 0x100616e6
push 0x1011947c
call fcn.100a102d
mov ecx, dword [0x1011947c]
add esp, 4
cmp ecx, 0xffffffff
jne 0x100616e6
mov edx, str.m_iTeamNum
mov dword [ebp - 4], 4
mov ecx, str.CBaseEntity
call fcn.1009c920
push 0x1011947c
mov dword [0x10119474], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100a0fdc
mov ecx, dword [0x1011947c]
add esp, 4
add esi, dword [0x10119474]
cmp ecx, dword [ebx + 4]
jle 0x10061739
push 0x1011947c
call fcn.100a102d
add esp, 4
cmp dword [0x1011947c], 0xffffffff
jne 0x10061739
mov edx, str.m_iTeamNum
mov dword [ebp - 4], 5
mov ecx, str.CBaseEntity
call fcn.1009c920
push 0x1011947c
mov dword [0x10119474], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100a0fdc
add esp, 4
mov eax, dword [0x10119474]
mov ecx, dword [esi]
cmp ecx, dword [eax + edi]
jne 0x10061781
cmp byte [0x101152ec], 0
je 0x10061791
push 0
jmp 0x10061783
test byte [0x10119444], 1
je 0x10061791
mov eax, dword [ebp - 0x18]
test byte [eax + 0x24], 1
jne 0x10061791
jmp 0x100615a6
movsx eax, word [0x10118e6c]
mov eax, dword [eax*4 + 0x10118ff0]
cmp eax, 1
je 0x10061781
cmp eax, 2
jne 0x10061745
push 1
lea ecx, [ebp - 0x24]
call fcn.100617b0
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100a0c1e
mov esp, ebp
pop ebp
ret 4