Function at 0x140045180
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, 0xa0
mov rax, qword [0x1400e1098]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor r14d, r14d
cmp dword [rbp + 0xf], 0x12
je 0x1400453a8
nop dword [rax]
mov rdx, qword [0x140481cc0]
lea rcx, [rbp + 7]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400451f7
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140481810]
cmp rax, rcx
jne 0x140045246
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140481cc0]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140481810]
xorps xmm0, xmm0
mov qword [rbp - 9], r14
lea rdx, [rbp + 0x37]
movups xmmword [rbp + 0x37], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140481810]
lea rdx, [rbp - 9]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 9]
lea rcx, [rbp - 1]
mov rbx, qword [0x140481780]
mov dword [rbp + 0x37], eax
mov eax, dword [rbp - 5]
mov dword [rbp + 0x3b], eax
mov rax, qword [0x140481810]
mov qword [rbx + 0xd0], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp - 1]
mov ecx, 1
sub eax, dword [rbp - 9]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xdfc], xmm0
mov eax, dword [rbp + 3]
sub eax, dword [rbp - 5]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe00], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140045300
mov byte [rbx + 0xe04], 1
mov eax, dword [rbx + 0xdfc]
mov dword [rbx + 0x36e8], eax
mov eax, dword [rbx + 0xe00]
mov dword [rbx + 0x36ec], eax
mov byte [rbx + 0x3738], 1
jmp 0x140045307
mov byte [rbx + 0xe04], r14b
mov eax, dword [0x140481da0]
mov ecx, dword [rbp + 0x43]
mov edx, dword [rbp + 0x3f]
cmp dword [rbp + 0x37], eax
jne 0x140045333
cmp edx, dword [0x140481da8]
jne 0x140045333
mov eax, dword [0x140481da4]
cmp dword [rbp + 0x3b], eax
jne 0x140045333
cmp ecx, dword [0x140481dac]
je 0x140045399
movups xmm0, xmmword [rbp + 0x37]
mov r9d, dword [rbp - 5]
mov r8d, dword [rbp - 9]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x140481940], edx
mov dword [0x140481808], ecx
mov dword [0x1404817b0], edx
mov rdx, 0xffffffffffffffff
mov dword [0x1404817b4], ecx
mov rcx, qword [0x140481cc0]
movups xmmword [0x140481da0], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140481cc8]
lea rdx, [0x1404817b0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140044de0
cmp dword [rbp + 0xf], 0x12
jne 0x1400451c0
mov rcx, qword [0x140481780]
test rcx, rcx
je 0x1400453bd
mov rdi, qword [rcx + 0xa0]
jmp 0x1400453c0
mov rdi, r14
lea rsi, [rcx + 8]
test rcx, rcx
je 0x140045439
mov rbx, qword [rcx + 0xa0]
test rbx, rbx
je 0x140045439
cmp qword [rbx], r14
je 0x140045439
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1400453f7
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140481780]
mov qword [rbx + 8], r14
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x140045414
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140481780]
mov qword [rbx + 0x10], r14
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x140045439
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140481780]
mov qword [rbx + 0x18], r14
mov rax, qword [rcx + 0x58]
mov qword [rax + 8], r14
mov rdx, qword [rdi]
test rdx, rdx
je 0x140045451
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140481780]
mov qword [rsi + 0x88], r14
mov qword [rsi + 0x98], r14
test rcx, rcx
je 0x14004546a
dec dword [rcx + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140481780]
test rax, rax
je 0x140045488
mov rbx, qword [rax + 0x98]
jmp 0x14004548b
mov rbx, r14
mov rcx, qword [rbx + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x1400454a5
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140481780]
mov qword [rdi + 0x80], r14
mov qword [rdi + 0x90], r14
test rax, rax
je 0x1400454be
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140481780]
mov qword [0x140481780], rbx
call fcn.140009050
mov qword [0x140481780], r14
test rbx, rbx
je 0x140045509
mov rcx, rbx
call fcn.1400198a0
mov rax, qword [0x140481780]
test rax, rax
je 0x140045500
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140481cc0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400b4cb0
lea r11, [rsp + 0xa0]
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