Function at 0x1800393a0
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 [0x1800f1690]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, qword [0x1800f27c0]
xor r14d, r14d
mov eax, dword [rdx + 8]
sub eax, dword [rdx]
mov rsi, qword [0x1800f27a0]
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 [0x1800f29c8], r14d
jne 0x1800394f4
mov rcx, qword [rdi + 0xa8]
lea r9, [rbp + 0x17]
lea r8, [rbp + 0x2f]
lea rdx, [rbp + 0x3f]
call fcn.180058580
lea rdx, [rbp + 0x37]
mov ecx, 0x8069
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
lea rdx, [0x1800f29c8]
lea ecx, [r14 + 1]
call qword [sym.imp.OPENGL32.dll_glGenTextures]
mov edx, dword [0x1800f29c8]
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 [0x1800f29c8]
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 [0x1800f27c0]
mov rcx, qword [0x1800f29d0]
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 [0x1800f29d8]
cvtsi2ss xmm0, qword [0x1800f29e0]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1800f29d8], 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 [0x1800f27c0]
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 0x1800395f4
cvttss2si eax, dword [rbx]
lea rdx, [rbp + 0x2f]
mov dword [rbp + 0x2f], eax
cvttss2si eax, dword [rcx + 0x134]
mov rcx, qword [0x1800f29d0]
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 0x180039661
mov rdx, qword [0x1800f29d0]
cmp rax, rdx
je 0x180039625
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x180039661
lea rcx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x180039661
mov rcx, qword [0x1800f29d0]
lea rdx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x180039661
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 0x180039671
mov eax, 0xffffffff
jmp 0x18003967e
mov rax, qword [0x1800f27c0]
mov eax, dword [rax + 0x1f00]
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x180039691
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.18005d450
call fcn.18005d5d0
mov ecx, 0x1d01
call qword [sym.imp.OPENGL32.dll_glShadeModel]
call fcn.1800407b0
mov rax, qword [0x1800f27c0]
mov dword [rax + 0x1568], 0x3f333333
cmp byte [rsi + 0x12], r14b
je 0x18003970c
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.drilled_client
lea r8d, [rdx + 0x2a]
call fcn.180044ce0
test al, al
je 0x180039796
mov rcx, qword [0x1800f27c0]
mov rax, qword [rcx + 0x1a70]
mov byte [rax + 0x80], 1
mov rax, qword [rcx + 0x1a70]
cmp byte [rax + 0x83], r14b
jne 0x18003975c
movss xmm1, dword [0x1800e0d6c]
lea rcx, [rbp + 0x37]
mov qword [rbp + 0x37], r14
call fcn.180047690
mov eax, dword [rsi]
test eax, eax
jne 0x18003976b
lea rcx, str.loading
jmp 0x180039783
cmp eax, 1
jne 0x180039777
call fcn.180039a10
jmp 0x180039791
cmp eax, 2
jne 0x180039791
lea rcx, str.destruct
call fcn.18005e410
mov rcx, qword [rsi + 8]
call fcn.18005e410
call fcn.180046fd0
call fcn.180041c80
mov rcx, qword [0x1800f27c0]
add rcx, 0x1d50
cmp byte [rcx], r14b
cmove rcx, r14
call fcn.18005cf40
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800c5e80
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