Function at 0x14003e930
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 [0x140051040]
xor rax, rsp
mov qword [rsp + 0x60], rax
movss xmm6, dword [0x140049c0c]
mov bl, 1
xor ebp, ebp
nop word [rax + rax]
mov rdx, qword [0x140051c58]
lea rcx, [0x140051c28]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14003e9f5
nop word [rax + rax]
lea rcx, [0x140051c28]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140051c28]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [0x140051c30], 0x12
lea rcx, [0x140051c28]
mov rdx, qword [0x140051c58]
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 0x14003e9a0
test bl, bl
je 0x14003ed96
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140051c20]
cmp rax, rcx
jne 0x14003ea42
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140051c58]
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 [0x140051c20]
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 [0x140051c20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov rdi, qword [0x140051bb0]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x4c], eax
mov rax, qword [0x140051c20]
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 0x14003eafd
mov byte [rdi + 0xe08], 1
mov eax, dword [rdi + 0xe04]
mov dword [rdi + 0x36f0], eax
mov byte [rdi + 0x3740], 1
jmp 0x14003eb04
mov byte [rdi + 0xe08], bpl
mov eax, dword [0x140051d50]
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jne 0x14003eb34
cmp edx, dword [0x140051d58]
jne 0x14003eb34
mov eax, dword [0x140051d54]
cmp dword [rsp + 0x4c], eax
jne 0x14003eb34
cmp ecx, dword [0x140051d5c]
je 0x14003eb98
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 [0x140051d6c], edx
mov dword [0x140051d98], ecx
mov dword [0x140051be0], edx
xor edx, edx
mov dword [0x140051be4], ecx
mov rcx, qword [0x140051c58]
movups xmmword [0x140051d50], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140051bc0]
lea rdx, [0x140051be0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x140051bb0]
test rax, rax
je 0x14003ebad
mov rcx, qword [rax + 0x98]
jmp 0x14003ebb0
mov rcx, rbp
cmp qword [rcx + 0x18], rbp
jne 0x14003ebd1
test rax, rax
je 0x14003ebd1
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x14003ebd1
cmp qword [rcx], rbp
je 0x14003ebd1
call fcn.14002ae10
call fcn.14002b9c0
call fcn.140007010
call fcn.14003cb00
call fcn.14003d530
call fcn.140008d70
mov rcx, qword [0x140051bc0]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140051bc0]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140051bc0]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140051bc0]
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 [0x140051bc0]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14003eca7
call fcn.140009180
mov rax, qword [0x140051bb0]
mov rcx, qword [rax + 0x48b0]
mov rax, qword [rcx]
mov rcx, rbp
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14002a850
mov rcx, qword [0x140051bc0]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140051bc0]
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 0x14003e970
mov rcx, qword [0x140051bc0]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14003e970
mov rdi, qword [0x140051bb0]
test rdi, rdi
je 0x14003ed4c
mov rdi, qword [rdi + 0x98]
test rdi, rdi
je 0x14003ed4c
cmp qword [rdi], rbp
je 0x14003ed4c
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003ed17
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 8], rbp
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14003ed2a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x10], rbp
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14003ed4c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140051bb0]
mov qword [rdi + 0x18], rbp
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], rbp
mov rcx, qword [0x140051bc0]
lea rdx, [0x140051be0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x140051bb0]
test rax, rax
je 0x14003e970
mov rax, qword [rax + 0x98]
test rax, rax
je 0x14003e970
cmp qword [rax], rbp
je 0x14003e970
call fcn.14002ae10
jmp 0x14003e970
mov rcx, qword [0x140051bb0]
test rcx, rcx
je 0x14003edab
mov rsi, qword [rcx + 0x98]
jmp 0x14003edae
mov rsi, rbp
lea rdi, [rcx + 8]
test rcx, rcx
je 0x14003ee27
mov rbx, qword [rcx + 0x98]
test rbx, rbx
je 0x14003ee27
cmp qword [rbx], rbp
je 0x14003ee27
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14003ede5
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140051bb0]
mov qword [rbx + 8], rbp
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x14003ee02
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140051bb0]
mov qword [rbx + 0x10], rbp
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x14003ee27
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140051bb0]
mov qword [rbx + 0x18], rbp
mov rax, qword [rcx + 0x38]
mov qword [rax + 8], rbp
mov rdx, qword [rsi]
test rdx, rdx
je 0x14003ee3f
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140051bb0]
and dword [rdi + 4], 0xfffffff7
mov qword [rdi + 0x80], rbp
mov qword [rdi + 0x90], rbp
test rcx, rcx
je 0x14003ee5c
dec dword [rcx + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140051bb0]
test rax, rax
je 0x14003ee7a
mov rdi, qword [rax + 0x90]
jmp 0x14003ee7d
mov rdi, rbp
mov rcx, qword [rdi + 0x30]
lea rbx, [rax + 8]
test rcx, rcx
je 0x14003ee97
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140051bb0]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], rbp
mov qword [rbx + 0x88], rbp
test rax, rax
je 0x14003eeb1
dec dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140051bb0]
mov qword [0x140051bb0], rbx
call fcn.140005240
mov qword [0x140051bb0], rbp
test rbx, rbx
je 0x14003eefc
mov rcx, rbx
call fcn.14001ad10
mov rax, qword [0x140051bb0]
test rax, rax
je 0x14003eef3
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140051bc0]
test rcx, rcx
je 0x14003ef1e
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140051bc0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140051c60]
test rcx, rcx
je 0x14003ef30
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140051c58]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x140051c38]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140040e00
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