Function at 0x1009b200
Capabilities:
Encode data using xor
Hash data using fnv
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x100a3b30
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov byte [ecx + 0x16], 0
mov eax, dword [0x1012d35c]
mov ecx, dword [eax]
mov eax, dword [0x10132c90]
test al, 1
je 0x1009b737
mov edi, dword [0x10132c8c]
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx]
cmp eax, 0xffffffff
je 0x1009b2a8
mov ecx, dword [0x1012d36c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
mov dword [ebp - 0x10], 0xffffffff
push eax
call edx
test eax, eax
je 0x1009b2a8
mov ebx, eax
mov eax, dword [0x1012d320]
mov ecx, dword [eax + 0x40]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
mov eax, dword [0x1012d47c]
test al, 1
je 0x1009b78d
mov edi, dword [0x1012d478]
mov eax, dword [edi + 4]
movzx eax, word [eax + ebx]
push eax
call edx
mov dword [ebp - 0x30], eax
mov al, 1
mov dword [ebp - 0x24], eax
jmp 0x1009b2b8
mov dword [ebp - 0x24], 0
xor ebx, ebx
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x28]
cmp byte [eax + 8], 0
je 0x1009b2da
mov eax, dword [0x1012d35c]
cmp dword [eax], 0
je 0x1009b2da
mov eax, dword [0x1012d32c]
cmp byte [eax + 0x40], 0
je 0x1009b3b1
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x2c], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x2c], 0
test eax, eax
jle 0x1009b314
mov dword [ecx + 0x2c], 4
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x20], eax
mov byte [ecx + 0x14], 1
cmp byte [ebp - 0x24], 0
je 0x1009b510
mov eax, dword [0x1012d348]
cmp byte [eax + 8], 0
je 0x1009b510
mov eax, dword [0x1012d47c]
test al, 1
je 0x1009b8c8
mov edi, dword [0x1012d478]
mov eax, dword [edi + 4]
cmp word [eax + ebx], 0x40
jne 0x1009b510
mov eax, dword [0x1012d338]
mov byte [eax + 0xd0], 1
mov esi, dword [ebp + 8]
and byte [esi + 0x31], 0xf7
mov ecx, dword [0x1012d320]
mov dword [ebp - 0x10], 0xffffffff
push 1
push 0
push 1
push esi
push ebx
call fcn.10008a00
test al, al
je 0x1009b457
mov eax, dword [0x1012d364]
vmovss xmm1, dword [eax + 0x10]
mov ecx, dword [0x1012d338]
vmovss xmm0, dword [ecx + 0xe0]
vucomiss xmm0, xmm1
jbe 0x1009b4a2
mov edx, dword [ebp + 8]
or byte [edx + 0x30], 1
jmp 0x1009b4fc
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1009b3cc
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 3
test ax, ax
jne 0x1009b3ef
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x1009b2da
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 1
test ax, ax
je 0x1009b2da
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x2c], ecx
cmp byte [ebp - 0x24], 0
je 0x1009b48b
mov eax, dword [0x1012d47c]
test al, 1
je 0x1009bc19
mov edi, dword [0x1012d478]
cmp dword [ebp - 0x30], 0
je 0x1009b430
mov eax, dword [edi + 4]
movzx eax, word [eax + ebx]
movzx ecx, ax
cmp ecx, 0x1f
je 0x1009b430
cmp ecx, 0x31
jne 0x1009b677
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov dword [ebp - 0x2c], 0
cmp dword [eax + 0x2c], 0
jne 0x1009b314
jmp 0x1009b2f2
and byte [esi + 0x30], 0xfe
mov eax, dword [0x1012d364]
vmovss xmm0, dword [eax + 0x20]
vmulss xmm0, xmm0, dword [0x100fe13c]
vaddss xmm0, xmm0, dword [eax + 0x10]
mov eax, dword [0x1012d338]
vmovss dword [eax + 0xe0], xmm0
mov byte [eax + 0xd0], 0
jmp 0x1009b510
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov dword [ebp - 0x2c], 0
jmp 0x1009b510
mov eax, dword [0x1012d484]
test al, 1
je 0x1009bc6f
mov edi, dword [0x1012d480]
mov eax, dword [edi + 4]
vmovss xmm0, dword [eax + ebx]
vucomiss xmm0, xmm1
jbe 0x1009b4d7
mov eax, dword [ebp + 8]
or byte [eax + 0x31], 8
mov eax, dword [0x1012d364]
mov ecx, dword [0x1012d338]
jmp 0x1009b4fc
mov eax, dword [0x1012d364]
vmovss xmm0, dword [eax + 0x20]
vmulss xmm0, xmm0, dword [0x100fe13c]
vaddss xmm0, xmm0, dword [eax + 0x10]
mov ecx, dword [0x1012d338]
vmovss dword [ecx + 0xe0], xmm0
vmovss xmm0, dword [eax + 0x10]
vucomiss xmm0, dword [ecx + 0xe0]
seta byte [ecx + 0xd0]
mov eax, dword [ebp - 0x28]
cmp byte [eax + 0x14], 0
je 0x1009b52c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
test al, 1
je 0x1009b52c
and eax, 0xfffffffe
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov ecx, dword [0x1012d320]
movzx edx, byte [ecx + 0x1c4]
mov eax, edx
and al, 0xf7
mov byte [ecx + 0x1c4], al
mov esi, dword [0x1012d334]
cmp byte [esi + 0x1800], 0
je 0x1009b57a
mov esi, dword [esi + 0x1804]
mov edi, dword [0x1012d370]
mov edi, dword [edi + 0x4d2c]
cmp esi, edi
jle 0x1009b57a
add edi, 0x64
cmp esi, edi
jge 0x1009b57a
or dl, 8
mov byte [ecx + 0x1c4], dl
mov eax, edx
mov edx, eax
and dl, 0xcd
mov byte [ecx + 0x1c4], dl
mov edi, dword [ebp - 0x28]
cmp byte [edi + 0x14], 0
je 0x1009b638
and al, 0xcc
mov dword [ebp - 0x10], 0xffffffff
mov byte [ecx + 0x1c4], al
mov eax, dword [0x1012d338]
movzx eax, byte [eax + 0xd0]
push 0
push dword [ebp - 0x2c]
push eax
push dword [ebp + 8]
push ebx
call fcn.10008a00
mov ecx, dword [0x1012d320]
movzx edx, byte [ecx + 0x1c4]
and dl, 0xfb
shl al, 2
or al, dl
mov byte [ecx + 0x1c4], al
mov eax, dword [0x1012d338]
mov edx, dword [ebp - 0x30]
test edx, edx
setne cl
and cl, byte [eax + 0x9c]
mov eax, dword [ebp - 0x24]
and al, cl
cmp al, 1
jne 0x1009b625
cmp dword [edx + 0xcc], 2
jne 0x1009b625
mov eax, dword [0x1012d47c]
test al, 1
je 0x1009b926
mov edi, dword [0x1012d478]
mov eax, dword [edi + 4]
cmp word [eax + ebx], 0x40
je 0x1009b625
mov eax, dword [0x1012d320]
and byte [eax + 0x1c4], 0xfb
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp dword [edi + 0x2c], 0
mov esi, dword [0x1012d370]
mov esi, dword [esi + 0x9c]
mov esi, dword [esi + 0x2c]
je 0x1009b65d
cmp dword [edi + 0x18], 0
je 0x1009b65d
test esi, esi
jg 0x1009b592
jmp 0x1009b666
cmp esi, 0xe
jge 0x1009b592
or dl, 1
mov dword [ebp - 0x10], 0xffffffff
mov eax, edx
jmp 0x1009b59b
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0xcc], 1
je 0x1009b430
add eax, 0xffffffd5
cmp ax, 6
jb 0x1009b430
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x1009b430
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0x2c]
cmp ecx, 2
je 0x1009b6e3
cmp ecx, 3
jne 0x1009b6ec
mov ecx, dword [0x1012d320]
mov dword [ebp - 0x10], 0xffffffff
push 0
push eax
push 0
push dword [ebp + 8]
push ebx
call fcn.10008a00
mov dword [ebp - 0x2c], 0
test al, al
je 0x1009b6f3
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x2c], eax
jmp 0x1009b6f3
mov dword [ebp - 0x2c], 8
jmp 0x1009b6f3
mov dword [ebp - 0x2c], 0
mov eax, dword [0x1012d364]
vmovss xmm0, dword [eax + 0x10]
mov eax, dword [0x1012d35c]
mov ecx, dword [eax]
mov eax, dword [0x1012d4ac]
test al, 1
je 0x1009be8f
mov edi, dword [0x1012d4a8]
mov eax, dword [edi + 4]
vucomiss xmm0, dword [eax + ecx]
jb 0x1009b314
mov eax, dword [ebp - 0x28]
mov byte [eax + 0x16], 1
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x24], ecx
jmp 0x1009b314
mov dword [ebp - 0x20], ecx
or eax, 1
mov dword [0x10132c90], eax
mov eax, dword [0x1012d324]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x24], ecx
push str.CBaseCombatCharacter__m_hActiveWeapon
call fcn.100083b0
mov esi, dword [ebp - 0x40]
cmp dword [ebp - 0x3c], 0x10
jb 0x1009b770
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x24], eax
test esi, esi
je 0x1009b7f1
mov eax, esi
and eax, 3
mov dword [ebp - 0x30], eax
cmp esi, 4
jae 0x1009b7f8
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x1009b841
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x38], ebx
or eax, 1
mov dword [0x1012d47c], eax
mov eax, dword [0x1012d324]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x24], ecx
push str.CBaseAttributableItem__m_iItemDefinitionIndex
call fcn.100083b0
mov esi, dword [ebp - 0x40]
cmp dword [ebp - 0x3c], 0x10
jb 0x1009b7cc
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x24], eax
test esi, esi
je 0x1009b984
mov eax, esi
and eax, 3
mov dword [ebp - 0x30], eax
cmp esi, 4
jae 0x1009b98b
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x1009b9d4
mov ecx, 0x811c9dc5
jmp 0x1009b85e
mov edi, esi
and edi, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
mov eax, dword [ebp - 0x24]
movzx ebx, byte [eax + edx]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 1]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 2]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 3]
xor ebx, ecx
imul ecx, ebx, 0x1000193
add edx, 4
cmp edi, edx
jne 0x1009b807
cmp dword [ebp - 0x30], 0
je 0x1009b85e
add edx, dword [ebp - 0x24]
xor edi, edi
movzx ebx, byte [edx + edi]
xor ebx, ecx
imul ecx, ebx, 0x1000193
inc edi
cmp dword [ebp - 0x30], edi
jne 0x1009b84c
mov edx, dword [ebp - 0x2c]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov edi, dword [eax + ecx*8 + 4]
cmp edi, dword [edx + 4]
je 0x1009bfc9
add ecx, ecx
mov ebx, dword [eax + ecx*4]
cmp esi, dword [edi + 0x18]
jne 0x1009b89d
cmp dword [edi + 0x1c], 0x10
jb 0x1009b889
mov eax, dword [edi + 8]
jmp 0x1009b88c
lea eax, [edi + 8]
push esi
push eax
push dword [ebp - 0x24]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1009b8af
cmp edi, ebx
je 0x1009bfc9
mov edi, dword [edi + 4]
cmp esi, dword [edi + 0x18]
je 0x1009b87e
jmp 0x1009b89d
add edi, 0x20
lea ecx, [ebp - 0x50]
call fcn.100029d0
mov dword [0x10132c8c], edi
mov ecx, dword [ebp - 0x20]
jmp 0x1009b24e
mov dword [ebp - 0x38], ebx
or eax, 1
mov dword [0x1012d47c], eax
mov eax, dword [0x1012d324]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x10], 8
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], ecx
push str.CBaseAttributableItem__m_iItemDefinitionIndex
call fcn.100083b0
mov esi, dword [ebp - 0x40]
cmp dword [ebp - 0x3c], 0x10
jb 0x1009b901
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
test esi, esi
je 0x1009ba68
mov eax, esi
and eax, 3
mov dword [ebp - 0x34], eax
cmp esi, 4
jae 0x1009ba79
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x1009bac2
mov dword [ebp - 0x38], ebx
or eax, 1
mov dword [0x1012d47c], eax
mov eax, dword [0x1012d324]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0xc
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x28], ecx
push str.CBaseAttributableItem__m_iItemDefinitionIndex
call fcn.100083b0
mov esi, dword [ebp - 0x40]
cmp dword [ebp - 0x3c], 0x10
jb 0x1009b95f
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x28], eax
test esi, esi
je 0x1009ba6f
mov eax, esi
and eax, 3
mov dword [ebp - 0x24], eax
cmp esi, 4
jae 0x1009bb49
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x1009bb92
mov ecx, 0x811c9dc5
jmp 0x1009b9f1
mov edi, esi
and edi, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
mov eax, dword [ebp - 0x24]
movzx ebx, byte [eax + edx]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 1]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 2]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 3]
xor ebx, ecx
imul ecx, ebx, 0x1000193
add edx, 4
cmp edi, edx
jne 0x1009b99a
cmp dword [ebp - 0x30], 0
je 0x1009b9f1
add edx, dword [ebp - 0x24]
xor edi, edi
movzx ebx, byte [edx + edi]
xor ebx, ecx
imul ecx, ebx, 0x1000193
inc edi
cmp dword [ebp - 0x30], edi
jne 0x1009b9df
mov edx, dword [ebp - 0x2c]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov edi, dword [eax + ecx*8 + 4]
cmp edi, dword [edx + 4]
je 0x1009bfdd
add ecx, ecx
mov ebx, dword [eax + ecx*4]
cmp esi, dword [edi + 0x18]
jne 0x1009ba30
cmp dword [edi + 0x1c], 0x10
jb 0x1009ba1c
mov eax, dword [edi + 8]
jmp 0x1009ba1f
lea eax, [edi + 8]
push esi
push eax
push dword [ebp - 0x24]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1009ba42
cmp edi, ebx
je 0x1009bfdd
mov edi, dword [edi + 4]
cmp esi, dword [edi + 0x18]
je 0x1009ba11
jmp 0x1009ba30
add edi, 0x20
lea ecx, [ebp - 0x50]
call fcn.100029d0
mov dword [0x1012d478], edi
mov dword [ebp - 0x10], 0xffffffff
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
jmp 0x1009b294
mov ecx, 0x811c9dc5
jmp 0x1009badf
mov ecx, 0x811c9dc5
jmp 0x1009bbaf
mov edi, esi
and edi, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
mov eax, dword [ebp - 0x20]
movzx ebx, byte [eax + edx]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 1]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 2]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 3]
xor ebx, ecx
imul ecx, ebx, 0x1000193
add edx, 4
cmp edi, edx
jne 0x1009ba88
cmp dword [ebp - 0x34], 0
je 0x1009badf
add edx, dword [ebp - 0x20]
xor edi, edi
movzx ebx, byte [edx + edi]
xor ebx, ecx
imul ecx, ebx, 0x1000193
inc edi
cmp dword [ebp - 0x34], edi
jne 0x1009bacd
mov edx, dword [ebp - 0x54]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov edi, dword [eax + ecx*8 + 4]
cmp edi, dword [edx + 4]
je 0x1009bff1
add ecx, ecx
mov ebx, dword [eax + ecx*4]
cmp esi, dword [edi + 0x18]
jne 0x1009bb1e
cmp dword [edi + 0x1c], 0x10
jb 0x1009bb0a
mov eax, dword [edi + 8]
jmp 0x1009bb0d
lea eax, [edi + 8]
push esi
push eax
push dword [ebp - 0x20]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1009bb30
cmp edi, ebx
je 0x1009bff1
mov edi, dword [edi + 4]
cmp esi, dword [edi + 0x18]
je 0x1009baff
jmp 0x1009bb1e
add edi, 0x20
lea ecx, [ebp - 0x50]
call fcn.100029d0
mov dword [0x1012d478], edi
mov ebx, dword [ebp - 0x38]
jmp 0x1009b340
mov edi, esi
and edi, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
mov eax, dword [ebp - 0x28]
movzx ebx, byte [eax + edx]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 1]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 2]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 3]
xor ebx, ecx
imul ecx, ebx, 0x1000193
add edx, 4
cmp edi, edx
jne 0x1009bb58
cmp dword [ebp - 0x24], 0
je 0x1009bbaf
add edx, dword [ebp - 0x28]
xor edi, edi
movzx ebx, byte [edx + edi]
xor ebx, ecx
imul ecx, ebx, 0x1000193
inc edi
cmp dword [ebp - 0x24], edi
jne 0x1009bb9d
mov edx, dword [ebp - 0x30]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov edi, dword [eax + ecx*8 + 4]
cmp edi, dword [edx + 4]
je 0x1009c005
add ecx, ecx
mov ebx, dword [eax + ecx*4]
cmp esi, dword [edi + 0x18]
jne 0x1009bbee
cmp dword [edi + 0x1c], 0x10
jb 0x1009bbda
mov eax, dword [edi + 8]
jmp 0x1009bbdd
lea eax, [edi + 8]
push esi
push eax
push dword [ebp - 0x28]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1009bc00
cmp edi, ebx
je 0x1009c005
mov edi, dword [edi + 4]
cmp esi, dword [edi + 0x18]
je 0x1009bbcf
jmp 0x1009bbee
add edi, 0x20
lea ecx, [ebp - 0x50]
call fcn.100029d0
mov dword [0x1012d478], edi
mov ebx, dword [ebp - 0x38]
jmp 0x1009b60f
mov dword [ebp - 0x38], ebx
or eax, 1
mov dword [0x1012d47c], eax
mov eax, dword [0x1012d324]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x2c], ecx
push str.CBaseAttributableItem__m_iItemDefinitionIndex
call fcn.100083b0
mov esi, dword [ebp - 0x40]
cmp dword [ebp - 0x3c], 0x10
jb 0x1009bc52
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x2c], eax
test esi, esi
je 0x1009bcd2
mov eax, esi
and eax, 3
mov dword [ebp - 0x20], eax
cmp esi, 4
jae 0x1009bcd9
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x1009bd22
vmovss dword [ebp - 0x58], xmm1
mov dword [ebp - 0x38], ebx
or eax, 1
mov dword [0x1012d484], eax
mov eax, dword [0x1012d324]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x10], 0xa
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], ecx
push str.CBaseCombatWeapon__m_flNextSecondaryAttack
call fcn.100083b0
mov esi, dword [ebp - 0x40]
cmp dword [ebp - 0x3c], 0x10
jb 0x1009bcad
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
test esi, esi
je 0x1009bdb3
mov eax, esi
and eax, 3
mov dword [ebp - 0x34], eax
cmp esi, 4
jae 0x1009bdba
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x1009be03
mov ecx, 0x811c9dc5
jmp 0x1009bd3f
mov edi, esi
and edi, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
mov eax, dword [ebp - 0x2c]
movzx ebx, byte [eax + edx]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 1]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 2]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 3]
xor ebx, ecx
imul ecx, ebx, 0x1000193
add edx, 4
cmp edi, edx
jne 0x1009bce8
cmp dword [ebp - 0x20], 0
je 0x1009bd3f
add edx, dword [ebp - 0x2c]
xor edi, edi
movzx ebx, byte [edx + edi]
xor ebx, ecx
imul ecx, ebx, 0x1000193
inc edi
cmp dword [ebp - 0x20], edi
jne 0x1009bd2d
mov edx, dword [ebp - 0x34]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov edi, dword [eax + ecx*8 + 4]
cmp edi, dword [edx + 4]
je 0x1009c019
add ecx, ecx
mov ebx, dword [eax + ecx*4]
cmp esi, dword [edi + 0x18]
jne 0x1009bd7e
cmp dword [edi + 0x1c], 0x10
jb 0x1009bd6a
mov eax, dword [edi + 8]
jmp 0x1009bd6d
lea eax, [edi + 8]
push esi
push eax
push dword [ebp - 0x2c]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1009bd90
cmp edi, ebx
je 0x1009c019
mov edi, dword [edi + 4]
cmp esi, dword [edi + 0x18]
je 0x1009bd5f
jmp 0x1009bd7e
add edi, 0x20
lea ecx, [ebp - 0x50]
call fcn.100029d0
mov dword [0x1012d478], edi
mov ebx, dword [ebp - 0x38]
cmp dword [ebp - 0x30], 0
jne 0x1009b418
jmp 0x1009b430
mov ecx, 0x811c9dc5
jmp 0x1009be20
mov edi, esi
and edi, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
mov eax, dword [ebp - 0x20]
movzx ebx, byte [eax + edx]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 1]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 2]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 3]
xor ebx, ecx
imul ecx, ebx, 0x1000193
add edx, 4
cmp edi, edx
jne 0x1009bdc9
cmp dword [ebp - 0x34], 0
je 0x1009be20
add edx, dword [ebp - 0x20]
xor edi, edi
movzx ebx, byte [edx + edi]
xor ebx, ecx
imul ecx, ebx, 0x1000193
inc edi
cmp dword [ebp - 0x34], edi
jne 0x1009be0e
mov edx, dword [ebp - 0x54]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov edi, dword [eax + ecx*8 + 4]
cmp edi, dword [edx + 4]
je 0x1009c02d
add ecx, ecx
mov ebx, dword [eax + ecx*4]
cmp esi, dword [edi + 0x18]
jne 0x1009be5f
cmp dword [edi + 0x1c], 0x10
jb 0x1009be4b
mov eax, dword [edi + 8]
jmp 0x1009be4e
lea eax, [edi + 8]
push esi
push eax
push dword [ebp - 0x20]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1009be71
cmp edi, ebx
je 0x1009c02d
mov edi, dword [edi + 4]
cmp esi, dword [edi + 0x18]
je 0x1009be40
jmp 0x1009be5f
add edi, 0x20
lea ecx, [ebp - 0x50]
call fcn.100029d0
mov dword [0x1012d480], edi
mov ebx, dword [ebp - 0x38]
vmovss xmm1, dword [ebp - 0x58]
jmp 0x1009b4b5
mov dword [ebp - 0x5c], ecx
vmovss dword [ebp - 0x58], xmm0
mov dword [ebp - 0x38], ebx
or eax, 1
mov dword [0x1012d4ac], eax
mov eax, dword [0x1012d324]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x10], 6
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], ecx
push str.m_flNextAttack
call fcn.100083b0
mov esi, dword [ebp - 0x40]
cmp dword [ebp - 0x3c], 0x10
jb 0x1009bed0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
test esi, esi
je 0x1009beea
mov eax, esi
and eax, 3
mov dword [ebp - 0x34], eax
cmp esi, 4
jae 0x1009bef1
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x1009bf3a
mov ecx, 0x811c9dc5
jmp 0x1009bf57
mov edi, esi
and edi, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
mov eax, dword [ebp - 0x20]
movzx ebx, byte [eax + edx]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 1]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 2]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 3]
xor ebx, ecx
imul ecx, ebx, 0x1000193
add edx, 4
cmp edi, edx
jne 0x1009bf00
cmp dword [ebp - 0x34], 0
je 0x1009bf57
add edx, dword [ebp - 0x20]
xor edi, edi
movzx ebx, byte [edx + edi]
xor ebx, ecx
imul ecx, ebx, 0x1000193
inc edi
cmp dword [ebp - 0x34], edi
jne 0x1009bf45
mov edx, dword [ebp - 0x54]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov edi, dword [eax + ecx*8 + 4]
cmp edi, dword [edx + 4]
je 0x1009c041
add ecx, ecx
mov ebx, dword [eax + ecx*4]
cmp esi, dword [edi + 0x18]
jne 0x1009bf96
cmp dword [edi + 0x1c], 0x10
jb 0x1009bf82
mov eax, dword [edi + 8]
jmp 0x1009bf85
lea eax, [edi + 8]
push esi
push eax
push dword [ebp - 0x20]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1009bfa8
cmp edi, ebx
je 0x1009c041
mov edi, dword [edi + 4]
cmp esi, dword [edi + 0x18]
je 0x1009bf77
jmp 0x1009bf96
add edi, 0x20
lea ecx, [ebp - 0x50]
call fcn.100029d0
mov dword [0x1012d4a8], edi
mov ebx, dword [ebp - 0x38]
vmovss xmm0, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x5c]
jmp 0x1009b717
mov dword [ebp - 0x10], 1
push 0x1011ed9d
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
add esp, 4
mov dword [ebp - 0x10], 3
push 0x1011ed9d
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
add esp, 4
mov dword [ebp - 0x10], 9
push 0x1011ed9d
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
add esp, 4
mov dword [ebp - 0x10], 0xd
push 0x1011ed9d
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
add esp, 4
mov dword [ebp - 0x10], 5
push 0x1011ed9d
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
add esp, 4
mov dword [ebp - 0x10], 0xb
push 0x1011ed9d
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
add esp, 4
mov dword [ebp - 0x10], 7
push 0x1011ed9d
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
add esp, 4
nop word cs:[eax + eax]
push ebp
sub esp, 0x14
add ebp, 0xc
lea ecx, [ebp - 0x50]
call fcn.100029d0
add esp, 0x14
pop ebp
ret