Function at 0x14001e370
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
cmp byte [0x140165ee7], 0
jne 0x14001e3a7
xorps xmm0, xmm0
mov byte [0x140165ee7], 1
movups xmmword [0x14016eab0], xmm0
movups xmmword [0x14016eac0], xmm0
movups xmmword [0x14016ead0], xmm0
mov rdx, qword [0x14016eae0]
lea rcx, [0x14016eab0]
mov esi, 1
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14001e3e8
lea rcx, [0x14016eab0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x14016eab0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov rbx, qword [0x14016eb78]
lea rcx, [0x140166118]
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [0x140166118]
mov ecx, esi
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xdfc], xmm0
movd xmm0, dword [0x14016611c]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe00], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14001e452
mov byte [rbx + 0xe04], sil
mov eax, dword [rbx + 0xe00]
mov dword [rbx + 0x36e8], eax
mov byte [rbx + 0x3738], sil
jmp 0x14001e459
mov byte [rbx + 0xe04], 0
mov rax, qword [0x14016eb78]
xor edi, edi
test rax, rax
je 0x14001e470
mov rcx, qword [rax + 0xa0]
jmp 0x14001e473
mov rcx, rdi
cmp qword [rcx + 0x18], rdi
jne 0x14001e494
test rax, rax
je 0x14001e494
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x14001e494
cmp qword [rcx], rdi
je 0x14001e494
call fcn.1400653c0
call fcn.140065dc0
call fcn.14003d500
cmp byte [reloc.WS2_32.dll_accept], dil
je 0x14001e512
mov rax, qword [0x14016eb78]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax + 0x48a8]
mov rcx, qword [rcx]
call fcn.14003cb40
movd xmm0, dword [0x14016ebd8]
lea r8, [rsp + 0x50]
movd xmm1, dword [0x14016ebb0]
lea rdx, [rsp + 0x58]
cvtdq2ps xmm0, xmm0
mov dword [rsp + 0x28], edi
mov r9d, 0xff000000
mov rcx, rax
mov qword [rsp + 0x58], rdi
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x54], xmm1
call fcn.14005b430
call fcn.140012870
call fcn.140016850
call fcn.14003f170
mov rcx, qword [0x14016eb30]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x14016eb30]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x14016eb30]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14016eb30]
mov r9d, esi
movss xmm0, dword [0x1400f1fb4]
xor r8d, r8d
mov dword [rsp + 0x30], edi
xor edx, edx
movss dword [rsp + 0x28], xmm0
mov rax, qword [rcx]
mov dword [rsp + 0x20], edi
call qword [rax + 0x158]
mov rcx, qword [0x14016eb30]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14001e5df
call fcn.14003f530
mov rax, qword [0x14016eb78]
mov rcx, qword [rax + 0x48a8]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140064e00
mov rcx, qword [0x14016eb30]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14016eb30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14001e6bd
mov rcx, qword [0x14016eb30]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x14001e6bd
mov rbx, qword [0x14016eb78]
test rbx, rbx
je 0x14001e684
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x14001e684
cmp qword [rbx], rdi
je 0x14001e684
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001e64f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14001e662
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14001e684
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x14016eb78]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], rdi
mov rcx, qword [0x14016eb30]
lea rdx, [0x14016eaf0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rbx, qword [0x14016eb78]
test rbx, rbx
je 0x14001e6c4
mov rax, qword [rbx + 0xa0]
test rax, rax
je 0x14001e6c4
cmp qword [rax], rdi
je 0x14001e6c4
call fcn.1400653c0
mov rbx, qword [0x14016eb78]
movzx ecx, byte [0x140165ed6]
cmp cl, byte [0x140165ed5]
je 0x14001e78b
test cl, cl
mov eax, 0x80000000
cmovne eax, esi
mov dword [0x14016eb2c], eax
test rbx, rbx
je 0x14001e745
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x14001e745
cmp qword [rbx], rdi
je 0x14001e745
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001e710
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14001e723
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14001e745
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x14016eb78]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], rdi
mov rcx, qword [0x14016eb30]
lea rdx, [0x14016eaf0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x14016eb78]
test rax, rax
je 0x14001e77e
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x14001e77e
cmp qword [rax], rdi
je 0x14001e77e
call fcn.1400653c0
movzx eax, byte [0x140165ed6]
mov byte [0x140165ed5], al
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret