Function at 0x1006d62e
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x100f6640
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10144841
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x200
mov eax, dword [0x10165f34]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x108cb880
call fcn.1006d309
mov eax, dword [0x10165550]
sub eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [0x108c6a3c]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x108c52bc]
cmp eax, dword [edx + 0x104]
jle 0x100f6775
push 0x108c52bc
call fcn.1006d403
add esp, 4
cmp dword [0x108c52bc], 0xffffffff
jne 0x100f6775
push str.Auto
mov ecx, 0x108c51f8
call fcn.1006a947
mov dword [ebp - 4], 0
push str.Scout
mov ecx, 0x108c5214
call fcn.1006a947
mov byte [ebp - 4], 1
push 0x10155294
mov ecx, 0x108c5230
call fcn.1006a947
mov byte [ebp - 4], 2
push str.H._Pistol
mov ecx, 0x108c524c
call fcn.1006a947
mov byte [ebp - 4], 3
push str.Pistol
mov ecx, 0x108c5268
call fcn.1006a947
mov byte [ebp - 4], 4
push str.Rifle
mov ecx, 0x108c5284
call fcn.1006a947
mov byte [ebp - 4], 5
push str.Other
mov ecx, 0x108c52a0
call fcn.1006a947
mov dword [ebp - 4], 0xffffffff
push 0x1014a4d0
call fcn.1006bfae
add esp, 4
push 0x108c52bc
call fcn.1006d49e
add esp, 4
mov dword [ebp - 0x1c], 0
jmp 0x100f6787
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebx + 0xc]
jge 0x100f6f6e
imul ecx, dword [ebp - 0x1c], 0x1c
add ecx, 0x108c51f8
call fcn.1006cd50
mov dword [ebp - 0x204], eax
mov eax, dword [0x108bb068]
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x204]
push ecx
mov edx, dword [ebp - 0x208]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [0x108c6388]
call fcn.1006d921
cvtsi2ss xmm0, dword [0x10165548]
addss xmm0, dword [ebx + 0x10]
cvtsi2ss xmm1, dword [0x10165550]
addss xmm0, xmm1
addss xmm0, dword [0x1014ea7c]
addss xmm0, dword [0x1014dee4]
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebx + 0xc]
imul eax, dword [ebp - 0x1c]
cvtsi2ss xmm1, eax
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 0x3c], eax
movss xmm0, dword [ebx + 0x14]
addss xmm0, dword [0x10156538]
addss xmm0, dword [0x1014ea7c]
cvttss2si eax, xmm0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0x14
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x100f689a
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + ecx - 0x3c]
push edx
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + eax - 0x3c]
push ecx
mov edx, 4
shl edx, 0
mov eax, dword [ebp + edx - 0x3c]
push eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + edx - 0x3c]
push eax
mov ecx, dword [0x108c6388]
call fcn.1006a3f2
movzx ecx, al
test ecx, ecx
je 0x100f689a
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x1c]
jne 0x100f6c0b
mov eax, dword [ebx + 0x1c]
push eax
push 0x3c
push 0x3c
push 0x3c
lea ecx, [ebp - 0x8c]
call fcn.1006a230
mov ecx, dword [eax]
mov dword [ebp - 0xa0], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x9c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x98], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xd4], eax
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp + edx - 0x3c]
mov dword [ebp - 0x204], eax
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + ecx - 0x3c]
mov dword [ebp - 0x208], edx
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + eax - 0x3c]
mov dword [ebp - 0x20c], ecx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + eax - 0x3c]
mov dword [ebp - 0x210], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0xe0]
mov dword [edx], eax
mov ecx, dword [ebp - 0xdc]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xd8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xd4]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x204]
push edx
mov eax, dword [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x210]
push edx
mov ecx, dword [0x108c6388]
call fcn.1006b504
imul ecx, dword [ebp - 0x1c], 0x1c
add ecx, 0x108c51f8
call fcn.1006cd50
mov dword [ebp - 0x204], eax
mov eax, dword [0x108bb068]
mov dword [ebp - 0x208], eax
mov ecx, dword [ebx + 0x1c]
push ecx
push 0x8f
push 0x8f
push 0x8f
lea ecx, [ebp - 0xf0]
call fcn.1006a230
mov edx, dword [eax]
mov dword [ebp - 0x100], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xfc], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0xf8], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x110], ecx
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x10c], edx
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x118], ecx
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x140], ecx
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x134], ecx
mov eax, dword [ebp - 0x20]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov edx, 4
imul eax, edx, 3
mov eax, dword [ebp + eax - 0x3c]
cdq
sub eax, edx
sar eax, 1
mov edx, 4
shl edx, 0
mov edx, dword [ebp + edx - 0x3c]
add edx, eax
sub edx, ecx
mov dword [ebp - 0x20c], edx
mov eax, dword [ebp - 0x24]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebx + 0xc]
cdq
sub eax, edx
sar eax, 1
sub eax, ecx
mov edx, 4
imul ecx, edx, 0
add eax, dword [ebp + ecx - 0x3c]
mov dword [ebp - 0x210], eax
mov edx, dword [ebp - 0x204]
push edx
push 0
mov eax, dword [ebp - 0x208]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x140]
mov dword [ecx], edx
mov eax, dword [ebp - 0x13c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x138]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x134]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x210]
push edx
mov eax, dword [0x108c6388]
push eax
call fcn.1006ad8e
add esp, 0x28
jmp 0x100f6f69
mov eax, dword [ebx + 0x1c]
push eax
push 0x1c
push 0x1c
push 0x1c
lea ecx, [ebp - 0x150]
call fcn.1006a230
mov ecx, dword [eax]
mov dword [ebp - 0x160], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x15c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x158], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x16c], ecx
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x168], edx
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x180], ecx
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0x17c], edx
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x174], ecx
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x190], edx
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x188], ecx
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x198], edx
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x194], eax
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp + edx - 0x3c]
mov dword [ebp - 0x204], eax
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + ecx - 0x3c]
mov dword [ebp - 0x208], edx
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + eax - 0x3c]
mov dword [ebp - 0x20c], ecx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + eax - 0x3c]
mov dword [ebp - 0x210], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x1a0]
mov dword [edx], eax
mov ecx, dword [ebp - 0x19c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x198]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x194]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x204]
push edx
mov eax, dword [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x210]
push edx
mov ecx, dword [0x108c6388]
call fcn.1006b504
imul ecx, dword [ebp - 0x1c], 0x1c
add ecx, 0x108c51f8
call fcn.1006cd50
mov dword [ebp - 0x204], eax
mov eax, dword [0x108bb068]
mov dword [ebp - 0x208], eax
mov ecx, dword [ebx + 0x1c]
push ecx
push 0x8f
push 0x8f
push 0x8f
lea ecx, [ebp - 0x1b0]
call fcn.1006a230
mov edx, dword [eax]
mov dword [ebp - 0x1c0], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1bc], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x1b8], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1b4], eax
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1d0], ecx
mov edx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1cc], edx
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1c4], ecx
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1e0], edx
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1c8]
mov dword [ebp - 0x1d8], ecx
mov edx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1d4], edx
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x1f0], eax
mov ecx, dword [ebp - 0x1dc]
mov dword [ebp - 0x1ec], ecx
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1e8], edx
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1e4], eax
mov ecx, dword [ebp - 0x1f0]
mov dword [ebp - 0x200], ecx
mov edx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1fc], edx
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1f4], ecx
mov eax, dword [ebp - 0x20]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov edx, 4
imul eax, edx, 3
mov eax, dword [ebp + eax - 0x3c]
cdq
sub eax, edx
sar eax, 1
mov edx, 4
shl edx, 0
mov edx, dword [ebp + edx - 0x3c]
add edx, eax
sub edx, ecx
mov dword [ebp - 0x20c], edx
mov eax, dword [ebp - 0x24]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebx + 0xc]
cdq
sub eax, edx
sar eax, 1
sub eax, ecx
mov edx, 4
imul ecx, edx, 0
add eax, dword [ebp + ecx - 0x3c]
mov dword [ebp - 0x210], eax
mov edx, dword [ebp - 0x204]
push edx
push 0
mov eax, dword [ebp - 0x208]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x200]
mov dword [ecx], edx
mov eax, dword [ebp - 0x1fc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1f8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x1f4]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x210]
push edx
mov eax, dword [0x108c6388]
push eax
call fcn.1006ad8e
add esp, 0x28
jmp 0x100f677e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006b644
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret