Function at 0x140021c50
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x140114480]
xor rax, rsp
mov qword [rsp + 0x60], rax
movss xmm6, dword [0x1400e8138]
xorps xmm0, xmm0
movups xmmword [0x1401152d0], xmm0
xor edi, edi
movups xmmword [0x1401152e0], xmm0
movups xmmword [0x1401152f0], xmm0
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [0x140115300]
lea rcx, [0x1401152d0]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140021ce0
lea rcx, [0x1401152d0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1401152d0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov edx, 3
call qword [sym.imp.USER32.dll_GetWindow]
cmp byte [0x1401156c2], dil
mov rbx, rax
mov rcx, rax
je 0x140021d0a
mov edx, reloc.WS2_32.dll_recvfrom
jmp 0x140021d0c
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov rcx, qword [0x140115300]
xor r9d, r9d
mov dword [rsp + 0x30], 3
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov rdx, rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140115308]
lea rdx, [rsp + 0x48]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140115308]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x4c], eax
call fcn.140035b50
lea rcx, [rsp + 0x58]
mov rbx, rax
mov dword [rax + 0x10], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [rsp + 0x58]
sub ecx, dword [rsp + 0x40]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe00], xmm0
mov ecx, dword [rsp + 0x5c]
sub ecx, dword [rsp + 0x44]
movd xmm0, ecx
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe04], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140021ded
mov byte [rbx + 0xe08], 1
mov eax, dword [rbx + 0xe04]
mov dword [rbx + 0x36f0], eax
mov byte [rbx + 0x3740], 1
jmp 0x140021df4
mov byte [rbx + 0xe08], dil
mov eax, dword [0x140115730]
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jne 0x140021e24
cmp edx, dword [0x140115738]
jne 0x140021e24
mov eax, dword [0x140115734]
cmp dword [rsp + 0x4c], eax
jne 0x140021e24
cmp ecx, dword [0x14011573c]
je 0x140021e88
movups xmm0, xmmword [rsp + 0x48]
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x1401156c4], edx
mov dword [0x1401156c8], ecx
mov dword [0x140115290], edx
xor edx, edx
mov dword [0x140115294], ecx
mov rcx, qword [0x140115300]
movups xmmword [0x140115730], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140115280]
lea rdx, [0x140115290]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.14005a170
call fcn.14005ae90
call fcn.14003ccf0
call fcn.14001c6a0
call fcn.140020720
call fcn.140033d80
mov rcx, qword [0x140115280]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140115280]
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_27
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140115280]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140115280]
mov r9d, 1
mov dword [rsp + 0x30], edi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], edi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140115280]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140021f4d
call fcn.14003ee60
call fcn.140035790
mov rcx, rax
call fcn.14005a1d0
mov rcx, qword [0x140115280]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140115280]
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 0x140021fa6
mov rcx, qword [0x140115280]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140021fa6
call fcn.14005a0e0
mov rcx, qword [0x140115280]
lea rdx, [0x140115290]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140059e20
cmp dword [0x1401152d8], 0x12
jne 0x140021ca0
call fcn.14005ac20
call fcn.14005b1a0
xor ecx, ecx
call fcn.1400335e0
mov rcx, qword [0x140115280]
test rcx, rcx
je 0x140021fe6
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140115280]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140115278]
test rcx, rcx
je 0x140021ff8
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140115300]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x1401152e0]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400de740
mov rbx, qword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rdi
ret