Function at 0x10062810
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a63dd
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10112040]
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 [0x10115e34]
mov dword [ebp - 0x18], eax
mov eax, dword [0x10115e28]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [0x10115e28]
push eax
call esi
mov edi, eax
test edi, edi
je 0x10062cbd
mov edx, dword [0x10115de8]
mov ecx, dword fs:[0x2c]
mov eax, dword [0x10116020]
mov ebx, dword [ecx + edx*4]
cmp eax, dword [ebx + 4]
jle 0x100628cb
push 0x10116020
call fcn.100a0bb4
add esp, 4
cmp dword [0x10116020], 0xffffffff
jne 0x100628cb
mov edx, str.deadflag
mov dword [ebp - 4], 0
mov ecx, str.CBasePlayer
call fcn.1009c3f0
push 0x10116020
mov dword [0x10116038], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100a0b63
add esp, 4
mov eax, dword [0x10116038]
cmp dword [edi + eax], 0
jne 0x10062cbd
mov ecx, edi
call fcn.10025700
test al, al
jne 0x10062cbd
push 0x4e
mov ecx, edi
call fcn.10023170
test al, al
jne 0x10062cbd
push 0x1f
mov ecx, edi
call fcn.10023170
test al, al
jne 0x10062cbd
push 0x13
mov ecx, edi
call fcn.10023170
test al, al
jne 0x10062cbd
mov eax, dword [0x101188cc]
cmp eax, dword [ebx + 4]
jle 0x1006296f
push 0x101188cc
call fcn.100a0bb4
add esp, 4
cmp dword [0x101188cc], 0xffffffff
jne 0x1006296f
mov dword [ebp - 4], 1
mov ecx, dword [0x10115e1c]
push str.tf_weapon_criticals
mov eax, dword [ecx]
call dword [eax + 0x34]
push 0x101188cc
mov dword [0x101188ac], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100a0b63
add esp, 4
mov eax, dword [0x101188ac]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x30], 0
je 0x10062cbd
mov eax, dword [0x10115e28]
mov ecx, dword [0x10115e34]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [0x10115e28]
push eax
call esi
test eax, eax
je 0x10062cb6
mov ecx, eax
call fcn.10037c90
mov ecx, dword [0x10115e28]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x10]
mov ecx, dword [eax]
push ecx
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x10115e28]
call edx
test eax, eax
je 0x10062cb6
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x5f4]
mov ecx, eax
call edx
cmp eax, 7
je 0x10062cbd
mov esi, dword [ebp - 0x1c]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 2
je 0x10062a8d
mov ecx, esi
call fcn.10025100
test al, al
je 0x10062cbd
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x18
je 0x10062b68
cmp eax, 0x5b
je 0x10062b68
mov eax, dword [0x10116034]
cmp eax, dword [ebx + 4]
jle 0x10062a7f
push 0x10116034
call fcn.100a0bb4
add esp, 4
cmp dword [0x10116034], 0xffffffff
jne 0x10062a7f
mov edx, str.m_iItemDefinitionIndex
mov dword [ebp - 4], 2
mov ecx, str.CEconEntity
call fcn.1009c3f0
push 0x10116034
mov dword [0x10116004], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100a0b63
add esp, 4
mov eax, dword [0x10116004]
cmp dword [eax + esi], 0x2da
je 0x10062a9a
mov eax, dword [ebp - 0x18]
test byte [eax + 0x24], 1
je 0x10062cbd
cmp byte [0x101164fa], 0
je 0x10062cbd
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 0x10062c88
mov eax, dword [0x101188a0]
cmp eax, dword [ebx + 4]
jle 0x10062b1c
push 0x101188a0
call fcn.100a0bb4
add esp, 4
cmp dword [0x101188a0], 0xffffffff
jne 0x10062b1c
mov dword [ebp - 4], 3
mov ecx, dword [0x10115e1c]
push str.tf_weapon_criticals_melee
mov eax, dword [ecx]
call dword [eax + 0x34]
push 0x101188a0
mov dword [0x101188c8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100a0b63
add esp, 4
mov eax, dword [0x101188c8]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x30], 0
je 0x10062cbd
movsx eax, word [0x10115eb4]
mov eax, dword [eax*4 + 0x101160a8]
cmp eax, 1
je 0x10062b87
cmp eax, 2
je 0x10062b87
cmp byte [0x1011231c], 0
je 0x10062cbd
push 0
lea ecx, [ebp - 0x24]
call fcn.10062ce0
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], eax
jmp 0x10062cbd
test byte [0x101164fc], 1
je 0x10062cbd
mov eax, dword [ebp - 0x18]
test byte [eax + 0x24], 1
jne 0x10062cbd
jmp 0x10062aa7
mov edx, dword [0x10112400]
test edx, edx
je 0x10062ca4
mov ecx, dword [0x10115e28]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x10062ca4
mov edx, dword [esi + 8]
lea ecx, [esi + 8]
call dword [edx + 8]
test eax, eax
je 0x10062ca4
cmp dword [eax + 0x14], 0xf7
jne 0x10062ca4
mov ecx, dword [0x10116534]
cmp ecx, dword [ebx + 4]
jle 0x10062c24
push 0x10116534
call fcn.100a0bb4
mov ecx, dword [0x10116534]
add esp, 4
cmp ecx, 0xffffffff
jne 0x10062c24
mov edx, str.m_iTeamNum
mov dword [ebp - 4], 4
mov ecx, str.CBaseEntity
call fcn.1009c3f0
push 0x10116534
mov dword [0x1011652c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100a0b63
mov ecx, dword [0x10116534]
add esp, 4
add esi, dword [0x1011652c]
cmp ecx, dword [ebx + 4]
jle 0x10062c77
push 0x10116534
call fcn.100a0bb4
add esp, 4
cmp dword [0x10116534], 0xffffffff
jne 0x10062c77
mov edx, str.m_iTeamNum
mov dword [ebp - 4], 5
mov ecx, str.CBaseEntity
call fcn.1009c3f0
push 0x10116534
mov dword [0x1011652c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100a0b63
add esp, 4
mov eax, dword [0x1011652c]
mov ecx, dword [esi]
cmp ecx, dword [edi + eax]
jne 0x10062ca4
jmp 0x10062b46
movsx eax, word [0x10115f10]
mov eax, dword [eax*4 + 0x101160a8]
cmp eax, 1
je 0x10062ca4
cmp eax, 2
jne 0x10062b46
push 1
lea ecx, [ebp - 0x24]
call fcn.10062ce0
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], eax
jmp 0x10062cbd
mov dword [ebp - 0x1c], 0
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.100a07a5
mov esp, ebp
pop ebp
ret 4