Function at 0x14002dc60
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x298
mov rax, qword [0x1401eb3c0]
xor rax, rsp
mov qword [rsp + 0x288], rax
movzx eax, byte [0x140206a31]
test eax, eax
jne 0x14002dc90
jmp 0x14002e04c
mov rax, qword [rsp + 0x2b0]
add rax, 0x98
mov rdx, rax
lea rcx, [rsp + 0x268]
call fcn.1400215d0
lea rdx, [rsp + 0x268]
lea rcx, [0x140204ff0]
call fcn.14002e9b0
movzx eax, al
test eax, eax
je 0x14002dce4
mov byte [0x140206a43], 0
lea rdx, [rsp + 0x268]
lea rcx, [0x140204ff0]
call fcn.1400214b0
mov edx, Ordinal_27
lea rcx, [rsp + 0x248]
call fcn.140008670
lea rcx, [rsp + 0x20]
call fcn.140008e70
mov qword [rsp + 0x30], rax
lea rdx, str.smokegrenade
lea rcx, [rsp + 0xb0]
call fcn.140009100
lea rdx, str.flashbang
lea rcx, [rsp + 0xd0]
call fcn.140009100
lea rdx, str.hegrenade
lea rcx, [rsp + 0xf0]
call fcn.140009100
lea rdx, str.molotov
lea rcx, [rsp + 0x110]
call fcn.140009100
lea rdx, str.decoy
lea rcx, [rsp + 0x130]
call fcn.140009100
lea rdx, str.incgrenade
lea rcx, [rsp + 0x150]
call fcn.140009100
lea rdx, [0x1401a3cac]
lea rcx, [rsp + 0x170]
call fcn.140009100
lea rdx, str.ssg08
lea rcx, [rsp + 0x190]
call fcn.140009100
lea rdx, [0x1401a3cb8]
lea rcx, [rsp + 0x1b0]
call fcn.140009100
lea rdx, str.sg556
lea rcx, [rsp + 0x1d0]
call fcn.140009100
lea rdx, str.knife
lea rcx, [rsp + 0x1f0]
call fcn.140009100
lea rdx, [0x1401a3ccc]
lea rcx, [rsp + 0x210]
call fcn.140009100
lea rax, [rsp + 0x230]
mov r8, rax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xa0]
call fcn.140008d90
lea rcx, [rsp + 0x78]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0x78]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x248]
call fcn.14002e340
lea r9, [fcn.1400090d0]
mov r8d, recv
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rsp + 0xb0]
call fcn.140181b1c
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x248]
call fcn.14002e280
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x248]
call fcn.14002e2e0
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.14002e9f0
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x248]
call fcn.14002e280
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.14002e070
movzx eax, al
test eax, eax
je 0x14002df1b
lea rcx, [rsp + 0x248]
call fcn.140020070
lea rcx, [rsp + 0x268]
call fcn.1400090d0
jmp 0x14002e04c
mov eax, dword [0x140201e10]
mov rcx, qword [rsp + 0x2b0]
add rax, qword [rcx + 0x48]
lea r8, [rsp + 0x260]
mov rdx, rax
lea rcx, [0x140206c20]
call fcn.140009df0
mov eax, dword [0x140201eb4]
mov rcx, qword [rsp + 0x260]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0x240]
mov rdx, rax
lea rcx, [0x140206c20]
call fcn.1400230c0
movzx eax, byte [rsp + 0x240]
test eax, eax
je 0x14002df82
mov byte [0x140206a43], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x28], eax
movzx eax, byte [reloc.WS2_32.dll_accept]
test eax, eax
jne 0x14002dff3
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14002dff3
mov eax, dword [0x140206a44]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
cmp eax, 0x1f4
jb 0x14002dff3
movzx eax, byte [0x140206a43]
test eax, eax
jne 0x14002dfd6
mov dword [rsp + 0x24], 1
jmp 0x14002dfde
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [0x140206a43], al
mov eax, dword [rsp + 0x28]
mov dword [0x140206a44], eax
movzx eax, byte [0x140206a43]
test eax, eax
je 0x14002e031
mov dword [rsp + 0x244], reloc.WLDAP32.dll_Ordinal_45
mov eax, dword [0x140201e54]
mov rcx, qword [rsp + 0x2b0]
add rax, qword [rcx]
lea r8, [rsp + 0x244]
mov rdx, rax
lea rcx, [0x140206c20]
call fcn.14002c760
lea rcx, [rsp + 0x248]
call fcn.140020070
lea rcx, [rsp + 0x268]
call fcn.1400090d0
nop
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.1401819a0
add rsp, 0x298
pop rdi
pop rsi
ret