Function at 0x140043200
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 [0x14006c040]
xor rax, rsp
mov qword [rsp + 0x60], rax
movss xmm6, dword [0x140060c34]
mov bl, 1
xor ebp, ebp
nop word [rax + rax]
mov rdx, qword [0x14006d288]
lea rcx, [0x14006d258]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400432c5
nop word [rax + rax]
lea rcx, [0x14006d258]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x14006d258]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [0x14006d260], 0x12
lea rcx, [0x14006d258]
mov rdx, qword [0x14006d288]
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 0x140043270
test bl, bl
je 0x140043666
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x14006d250]
cmp rax, rcx
jne 0x140043312
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x14006d288]
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 [0x14006d250]
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 [0x14006d250]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov rdi, qword [0x14006d1e0]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x4c], eax
mov rax, qword [0x14006d250]
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 0x1400433cd
mov byte [rdi + 0xe08], 1
mov eax, dword [rdi + 0xe04]
mov dword [rdi + 0x36f0], eax
mov byte [rdi + 0x3740], 1
jmp 0x1400433d4
mov byte [rdi + 0xe08], bpl
mov eax, dword [0x14006d388]
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jne 0x140043404
cmp edx, dword [0x14006d390]
jne 0x140043404
mov eax, dword [0x14006d38c]
cmp dword [rsp + 0x4c], eax
jne 0x140043404
cmp ecx, dword [0x14006d394]
je 0x140043468
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 [0x14006d3a4], edx
mov dword [0x14006d3d8], ecx
mov dword [0x14006d210], edx
xor edx, edx
mov dword [0x14006d214], ecx
mov rcx, qword [0x14006d288]
movups xmmword [0x14006d388], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x14006d1f0]
lea rdx, [0x14006d210]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x14006d1e0]
test rax, rax
je 0x14004347d
mov rcx, qword [rax + 0x98]
jmp 0x140043480
mov rcx, rbp
cmp qword [rcx + 0x18], rbp
jne 0x1400434a1
test rax, rax
je 0x1400434a1
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x1400434a1
cmp qword [rcx], rbp
je 0x1400434a1
call fcn.14002ade0
call fcn.14002b990
call fcn.140007070
call fcn.1400411b0
call fcn.140041be0
call fcn.140008dc0
mov rcx, qword [0x14006d1f0]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14006d1f0]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14006d1f0]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14006d1f0]
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 [0x14006d1f0]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140043577
call fcn.1400091d0
mov rax, qword [0x14006d1e0]
mov rcx, qword [rax + 0x48b0]
mov rax, qword [rcx]
mov rcx, rbp
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14002a820
mov rcx, qword [0x14006d1f0]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14006d1f0]
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 0x140043240
mov rcx, qword [0x14006d1f0]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140043240
mov rdi, qword [0x14006d1e0]
test rdi, rdi
je 0x14004361c
mov rdi, qword [rdi + 0x98]
test rdi, rdi
je 0x14004361c
cmp qword [rdi], rbp
je 0x14004361c
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400435e7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 8], rbp
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400435fa
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x10], rbp
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14004361c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x14006d1e0]
mov qword [rdi + 0x18], rbp
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], rbp
mov rcx, qword [0x14006d1f0]
lea rdx, [0x14006d210]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x14006d1e0]
test rax, rax
je 0x140043240
mov rax, qword [rax + 0x98]
test rax, rax
je 0x140043240
cmp qword [rax], rbp
je 0x140043240
call fcn.14002ade0
jmp 0x140043240
mov rcx, qword [0x14006d1e0]
test rcx, rcx
je 0x14004367b
mov rsi, qword [rcx + 0x98]
jmp 0x14004367e
mov rsi, rbp
lea rdi, [rcx + 8]
test rcx, rcx
je 0x1400436f7
mov rbx, qword [rcx + 0x98]
test rbx, rbx
je 0x1400436f7
cmp qword [rbx], rbp
je 0x1400436f7
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1400436b5
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x14006d1e0]
mov qword [rbx + 8], rbp
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1400436d2
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x14006d1e0]
mov qword [rbx + 0x10], rbp
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x1400436f7
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x14006d1e0]
mov qword [rbx + 0x18], rbp
mov rax, qword [rcx + 0x38]
mov qword [rax + 8], rbp
mov rdx, qword [rsi]
test rdx, rdx
je 0x14004370f
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x14006d1e0]
and dword [rdi + 4], 0xfffffff7
mov qword [rdi + 0x80], rbp
mov qword [rdi + 0x90], rbp
test rcx, rcx
je 0x14004372c
dec dword [rcx + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14006d1e0]
test rax, rax
je 0x14004374a
mov rdi, qword [rax + 0x90]
jmp 0x14004374d
mov rdi, rbp
mov rcx, qword [rdi + 0x30]
lea rbx, [rax + 8]
test rcx, rcx
je 0x140043767
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x14006d1e0]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], rbp
mov qword [rbx + 0x88], rbp
test rax, rax
je 0x140043781
dec dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14006d1e0]
mov qword [0x14006d1e0], rbx
call fcn.140005240
mov qword [0x14006d1e0], rbp
test rbx, rbx
je 0x1400437cc
mov rcx, rbx
call fcn.14001acf0
mov rax, qword [0x14006d1e0]
test rax, rax
je 0x1400437c3
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x14006d1f0]
test rcx, rcx
je 0x1400437ee
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14006d1f0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14006d290]
test rcx, rcx
je 0x140043800
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14006d288]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x14006d268]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140054f10
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