Function at 0x140030ea0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x298
mov rax, qword [0x140173340]
xor rax, rsp
mov qword [rsp + 0x288], rax
movzx eax, byte [0x1401733f1]
test eax, eax
je 0x140030ed0
jmp 0x14003129c
movzx eax, byte [0x1401d85f5]
test eax, eax
jne 0x140030ee0
jmp 0x14003129c
mov rax, qword [rsp + 0x2b0]
add rax, 0x98
mov rdx, rax
lea rcx, [rsp + 0x268]
call fcn.140023d70
lea rdx, [rsp + 0x268]
lea rcx, [0x1401d6b50]
call fcn.140031840
movzx eax, al
test eax, eax
je 0x140030f34
mov byte [0x1401d860c], 0
lea rdx, [rsp + 0x268]
lea rcx, [0x1401d6b50]
call fcn.140023c50
mov edx, 0x18
lea rcx, [rsp + 0x248]
call fcn.140008ea0
lea rcx, [rsp + 0x20]
call fcn.1400096a0
mov qword [rsp + 0x30], rax
lea rdx, str.smokegrenade
lea rcx, [rsp + 0xb0]
call fcn.140009930
lea rdx, str.flashbang
lea rcx, [rsp + 0xd0]
call fcn.140009930
lea rdx, str.hegrenade
lea rcx, [rsp + 0xf0]
call fcn.140009930
lea rdx, str.molotov
lea rcx, [rsp + 0x110]
call fcn.140009930
lea rdx, str.decoy
lea rcx, [rsp + 0x130]
call fcn.140009930
lea rdx, str.incgrenade
lea rcx, [rsp + 0x150]
call fcn.140009930
lea rdx, [0x1401357b4]
lea rcx, [rsp + 0x170]
call fcn.140009930
lea rdx, str.ssg08
lea rcx, [rsp + 0x190]
call fcn.140009930
lea rdx, [0x1401357c0]
lea rcx, [rsp + 0x1b0]
call fcn.140009930
lea rdx, str.sg556
lea rcx, [rsp + 0x1d0]
call fcn.140009930
lea rdx, str.knife
lea rcx, [rsp + 0x1f0]
call fcn.140009930
lea rdx, [0x1401357d4]
lea rcx, [rsp + 0x210]
call fcn.140009930
lea rax, [rsp + 0x230]
mov r8, rax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xa0]
call fcn.1400095c0
lea rcx, [rsp + 0x78]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0x78]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x248]
call fcn.140031590
lea r9, [fcn.140009900]
mov r8d, 0xc
mov edx, 0x20
lea rcx, [rsp + 0xb0]
call fcn.14012192c
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x248]
call fcn.1400314d0
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x248]
call fcn.140031530
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x268]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.140031880
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x248]
call fcn.1400314d0
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.1400312c0
movzx eax, al
test eax, eax
je 0x14003116b
lea rcx, [rsp + 0x248]
call fcn.140022760
lea rcx, [rsp + 0x268]
call fcn.140009900
jmp 0x14003129c
mov eax, dword [0x1401c4274]
mov rcx, qword [rsp + 0x2b0]
add rax, qword [rcx + 0x48]
lea r8, [rsp + 0x260]
mov rdx, rax
lea rcx, [0x1401d87e0]
call fcn.14000a620
mov eax, dword [0x1401c431c]
mov rcx, qword [rsp + 0x260]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0x240]
mov rdx, rax
lea rcx, [0x1401d87e0]
call fcn.1400257f0
movzx eax, byte [rsp + 0x240]
test eax, eax
je 0x1400311d2
mov byte [0x1401d860c], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x28], eax
movzx eax, byte [0x1401733f8]
test eax, eax
jne 0x140031243
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140031243
mov eax, dword [0x1401d8610]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
cmp eax, 0x1f4
jb 0x140031243
movzx eax, byte [0x1401d860c]
test eax, eax
jne 0x140031226
mov dword [rsp + 0x24], 1
jmp 0x14003122e
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [0x1401d860c], al
mov eax, dword [rsp + 0x28]
mov dword [0x1401d8610], eax
movzx eax, byte [0x1401d860c]
test eax, eax
je 0x140031281
mov dword [rsp + 0x244], 0x2d
mov eax, dword [0x1401c42bc]
mov rcx, qword [rsp + 0x2b0]
add rax, qword [rcx]
lea r8, [rsp + 0x244]
mov rdx, rax
lea rcx, [0x1401d87e0]
call fcn.14002fa60
lea rcx, [rsp + 0x248]
call fcn.140022760
lea rcx, [rsp + 0x268]
call fcn.140009900
nop
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.1401217b0
add rsp, 0x298
pop rdi
pop rsi
ret