Function at 0x180036510
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1800f26a8]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, qword [0x1800f3760]
xor r14d, r14d
mov eax, dword [rdx + 8]
sub eax, dword [rdx]
mov rsi, qword [0x1800f3740]
movd xmm0, eax
mov eax, dword [rdx + 0xc]
sub eax, dword [rdx + 4]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x14], xmm0
cmp dword [0x1800f38f0], r14d
jne 0x180036664
mov rcx, qword [rdi + 0xa8]
lea r9, [rbp + 0x17]
lea r8, [rbp + 0x2f]
lea rdx, [rbp + 0x3f]
call fcn.180055760
lea rdx, [rbp + 0x37]
mov ecx, 0x8069
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
lea rdx, [0x1800f38f0]
lea ecx, [r14 + 1]
call qword [sym.imp.OPENGL32.dll_glGenTextures]
mov edx, dword [0x1800f38f0]
mov ecx, 0xde1
call qword [sym.imp.OPENGL32.dll_glBindTexture]
mov edx, 0x2801
mov ecx, 0xde1
mov r8d, 0x2601
call qword [sym.imp.OPENGL32.dll_glTexParameteri]
mov edx, 0x2800
mov ecx, 0xde1
mov r8d, 0x2601
call qword [sym.imp.OPENGL32.dll_glTexParameteri]
xor edx, edx
mov ecx, 0xcf2
call qword [sym.imp.OPENGL32.dll_glPixelStorei]
mov rax, qword [rbp + 0x3f]
xor edx, edx
mov r9d, dword [rbp + 0x2f]
mov ecx, 0xde1
mov qword [rsp + 0x40], rax
mov r8d, 0x1908
mov eax, dword [rbp + 0x17]
mov dword [rsp + 0x38], 0x1401
mov dword [rsp + 0x30], 0x1908
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], eax
call qword [sym.imp.OPENGL32.dll_glTexImage2D]
mov ecx, dword [0x1800f38f0]
mov rax, qword [rdi + 0xa8]
mov qword [rax + 8], rcx
mov ecx, 0xde1
mov edx, dword [rbp + 0x37]
call qword [sym.imp.OPENGL32.dll_glBindTexture]
mov rdi, qword [0x1800f3760]
mov rcx, qword [0x1800f38f8]
lea rdx, [rbp + 0x1f]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0x27]
lea rcx, [rbp + 0x3f]
sub eax, dword [rbp + 0x1f]
movd xmm1, eax
mov eax, dword [rbp + 0x2b]
sub eax, dword [rbp + 0x23]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp + 0x3f]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1800f3900]
cvtsi2ss xmm0, qword [0x1800f3908]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1800f3900], rcx
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_recv
and al, 1
mov byte [rdi + 0x148], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_select
and al, 1
mov byte [rdi + 0x149], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x1800f3760]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x14b], r14b
mov byte [rdi + 0x14a], al
lea rbx, [rcx + 0x130]
cmp byte [rcx + 0x3a3], r14b
je 0x180036764
cvttss2si eax, dword [rbx]
lea rdx, [rbp + 0x2f]
mov dword [rbp + 0x2f], eax
cvttss2si eax, dword [rcx + 0x134]
mov rcx, qword [0x1800f38f8]
mov dword [rbp + 0x33], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp + 0x33]
mov ecx, dword [rbp + 0x2f]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x1800367d1
mov rdx, qword [0x1800f38f8]
cmp rax, rdx
je 0x180036795
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1800367d1
lea rcx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1800367d1
mov rcx, qword [0x1800f38f8]
lea rdx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1800367d1
movd xmm0, dword [rbp + 0x17]
movd xmm1, dword [rbp + 0x1b]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], r14b
je 0x1800367e1
mov eax, 0xffffffff
jmp 0x1800367ee
mov rax, qword [0x1800f3760]
mov eax, dword [rax + 0x1f00]
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x180036801
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.18005a630
call fcn.18005a7b0
mov ecx, 0x1d01
call qword [sym.imp.OPENGL32.dll_glShadeModel]
call fcn.18003d990
mov rax, qword [0x1800f3760]
mov dword [rax + 0x1568], 0x3f333333
cmp byte [rsi + 0x12], r14b
je 0x18003687c
mov byte [rsi + 0x12], r14b
or dword [rax + 0x1b10], 3
mov dword [rax + 0x1b30], 0x43ed8000
mov dword [rax + 0x1b34], 0x43fa0000
mov dword [rax + 0x1b18], 1
mov dword [rax + 0x1b20], 0x42c80000
mov qword [rax + 0x1b24], 0x42c80000
mov dword [rax + 0x1b2c], r14d
mov dword [rax + 0x1b14], 1
xor edx, edx
lea rcx, str.whip_client
lea r8d, [rdx + 0x2a]
call fcn.180041ec0
test al, al
je 0x180036906
mov rcx, qword [0x1800f3760]
mov rax, qword [rcx + 0x1a70]
mov byte [rax + 0x80], 1
mov rax, qword [rcx + 0x1a70]
cmp byte [rax + 0x83], r14b
jne 0x1800368cc
movss xmm1, dword [0x1800e1b68]
lea rcx, [rbp + 0x37]
mov qword [rbp + 0x37], r14
call fcn.180044870
mov eax, dword [rsi]
test eax, eax
jne 0x1800368db
lea rcx, str.loading
jmp 0x1800368f3
cmp eax, 1
jne 0x1800368e7
call fcn.180036b80
jmp 0x180036901
cmp eax, 2
jne 0x180036901
lea rcx, str.destruct
call fcn.18005b5f0
mov rcx, qword [rsi + 8]
call fcn.18005b5f0
call fcn.1800441b0
call fcn.18003ee60
mov rcx, qword [0x1800f3760]
add rcx, 0x1d50
cmp byte [rcx], r14b
cmove rcx, r14
call fcn.18005a120
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800c6730
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret