Function at 0x14003db00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rsp + 0x60], rax
movss xmm6, dword [0x140048aa8]
mov bl, 1
xor ebp, ebp
nop word [rax + rax]
mov rdx, qword [0x140050c08]
lea rcx, [0x140050bd8]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14003dbc5
nop word [rax + rax]
lea rcx, [0x140050bd8]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140050bd8]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [0x140050be0], 0x12
lea rcx, [0x140050bd8]
mov rdx, qword [0x140050c08]
movzx ebx, bl
cmove ebx, ebp
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14003db70
test bl, bl
je 0x14003df66
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140050bd0]
cmp rax, rcx
jne 0x14003dc12
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140050c08]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], ebp
xor r8d, r8d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140050bd0]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rbp
lea rdx, [rsp + 0x48]
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140050bd0]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov rdi, qword [0x140050b60]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x4c], eax
mov rax, qword [0x140050bd0]
mov qword [rdi + 0xc8], rax
mov dword [rdi + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x58]
mov ecx, 1
sub eax, dword [rsp + 0x40]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0xe00], xmm0
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x44]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0xe04], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003dccd
mov byte [rdi + 0xe08], 1
mov eax, dword [rdi + 0xe04]
mov dword [rdi + 0x36f0], eax
mov byte [rdi + 0x3740], 1
jmp 0x14003dcd4
mov byte [rdi + 0xe08], bpl
mov eax, dword [0x140050d80]
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jne 0x14003dd04
cmp edx, dword [0x140050d88]
jne 0x14003dd04
mov eax, dword [0x140050d84]
cmp dword [rsp + 0x4c], eax
jne 0x14003dd04
cmp ecx, dword [0x140050d8c]
je 0x14003dd68
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 [0x140050d98], edx
mov dword [0x140050dc8], ecx
mov dword [0x140050b90], edx
xor edx, edx
mov dword [0x140050b94], ecx
mov rcx, qword [0x140050c08]
movups xmmword [0x140050d80], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140050b70]
lea rdx, [0x140050b90]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x140050b60]
test rax, rax
je 0x14003dd7d
mov rcx, qword [rax + 0x98]
jmp 0x14003dd80
mov rcx, rbp
cmp qword [rcx + 0x18], rbp
jne 0x14003dda1
test rax, rax
je 0x14003dda1
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x14003dda1
cmp qword [rcx], rbp
je 0x14003dda1
call fcn.14002ae80
call fcn.14002ba30
call fcn.140007010
call fcn.14003bae0
call fcn.14003c5c0
call fcn.140008d70
mov rcx, qword [0x140050b70]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140050b70]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140050b70]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140050b70]
mov r9d, 1
mov dword [rsp + 0x30], ebp
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], ebp
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140050b70]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14003de77
call fcn.140009180
mov rax, qword [0x140050b60]
mov rcx, qword [rax + 0x48b0]
mov rax, qword [rcx]
mov rcx, rbp
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14002a8c0
mov rcx, qword [0x140050b70]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140050b70]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14003db40
mov rcx, qword [0x140050b70]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14003db40
mov rdi, qword [0x140050b60]
test rdi, rdi
je 0x14003df1c
mov rdi, qword [rdi + 0x98]
test rdi, rdi
je 0x14003df1c
cmp qword [rdi], rbp
je 0x14003df1c
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003dee7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 8], rbp
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14003defa
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x10], rbp
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14003df1c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140050b60]
mov qword [rdi + 0x18], rbp
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], rbp
mov rcx, qword [0x140050b70]
lea rdx, [0x140050b90]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x140050b60]
test rax, rax
je 0x14003db40
mov rax, qword [rax + 0x98]
test rax, rax
je 0x14003db40
cmp qword [rax], rbp
je 0x14003db40
call fcn.14002ae80
jmp 0x14003db40
mov rcx, qword [0x140050b60]
test rcx, rcx
je 0x14003df7b
mov rsi, qword [rcx + 0x98]
jmp 0x14003df7e
mov rsi, rbp
lea rdi, [rcx + 8]
test rcx, rcx
je 0x14003dff7
mov rbx, qword [rcx + 0x98]
test rbx, rbx
je 0x14003dff7
cmp qword [rbx], rbp
je 0x14003dff7
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14003dfb5
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140050b60]
mov qword [rbx + 8], rbp
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x14003dfd2
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140050b60]
mov qword [rbx + 0x10], rbp
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x14003dff7
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140050b60]
mov qword [rbx + 0x18], rbp
mov rax, qword [rcx + 0x38]
mov qword [rax + 8], rbp
mov rdx, qword [rsi]
test rdx, rdx
je 0x14003e00f
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140050b60]
and dword [rdi + 4], 0xfffffff7
mov qword [rdi + 0x80], rbp
mov qword [rdi + 0x90], rbp
test rcx, rcx
je 0x14003e02c
dec dword [rcx + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140050b60]
test rax, rax
je 0x14003e04a
mov rdi, qword [rax + 0x90]
jmp 0x14003e04d
mov rdi, rbp
mov rcx, qword [rdi + 0x30]
lea rbx, [rax + 8]
test rcx, rcx
je 0x14003e067
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140050b60]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], rbp
mov qword [rbx + 0x88], rbp
test rax, rax
je 0x14003e081
dec dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140050b60]
mov qword [0x140050b60], rbx
call fcn.140005240
mov qword [0x140050b60], rbp
test rbx, rbx
je 0x14003e0cc
mov rcx, rbx
call fcn.14001aba0
mov rax, qword [0x140050b60]
test rax, rax
je 0x14003e0c3
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140050b70]
test rcx, rcx
je 0x14003e0ee
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140050b70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140050c10]
test rcx, rcx
je 0x14003e100
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140050c08]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x140050be8]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14003ffa0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [rsp + 0x70]
mov rsp, r11
pop rdi
ret