Function at 0x140062130
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
sub rsp, 0x98
mov rax, qword [0x14007b010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [r11 + 8], rbx
xor eax, eax
mov qword [r11 + 0x10], rbp
mov ecx, 0x30
mov qword [r11 + 0x18], rsi
xor ebp, ebp
mov qword [r11 - 8], rdi
lea rdi, [0x14009fc28]
rep stosb byte [rdi], al
cmp dword [0x14009fc30], 0x12
je 0x1400625a2
movaps xmmword [r11 - 0x18], xmm6
movss xmm6, dword [0x14007102c]
movaps xmmword [rsp + 0x70], xmm7
movss xmm7, dword [0x140070fec]
mov rdx, qword [0x14009fbd8]
lea rcx, [0x14009fc28]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400621d2
lea rcx, [0x14009fc28]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x14009fc28]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor eax, eax
lea rdi, [rsp + 0x48]
mov ecx, 0x10
lea rdx, [rsp + 0x48]
rep stosb byte [rdi], al
lea rdi, [rsp + 0x40]
mov ecx, 8
rep stosb byte [rdi], al
mov rcx, qword [0x14009fc20]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x14009fc20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov rdi, qword [0x14009fba0]
lea rcx, [rsp + 0x58]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x4c], eax
mov rax, qword [0x14009fc20]
mov qword [rdi + 0xc8], rax
cvttss2si eax, dword [rdi + 0x10]
mov dword [0x14009fe90], eax
cvttss2si eax, dword [rdi + 0x14]
mov dword [0x14009fe94], eax
movss xmm0, dword [rdi + 0x10]
movss xmm1, dword [rdi + 0x14]
mulss xmm0, xmm7
mulss xmm1, xmm7
cvttss2si eax, xmm0
mov dword [0x14009fc98], eax
cvttss2si eax, xmm1
mov dword [0x14009fc9c], eax
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 + 0xdf4], xmm0
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x44]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0xdf8], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400622d6
mov byte [rdi + 0xdfc], 1
mov eax, dword [rdi + 0xdf8]
mov dword [rdi + 0x36e0], eax
mov byte [rdi + 0x3730], 1
jmp 0x1400622dd
mov byte [rdi + 0xdfc], bpl
mov eax, dword [0x14009fd70]
cmp dword [rsp + 0x48], eax
jne 0x14006230d
mov eax, dword [0x14009fd78]
cmp dword [rsp + 0x50], eax
jne 0x14006230d
mov eax, dword [0x14009fd74]
cmp dword [rsp + 0x4c], eax
jne 0x14006230d
mov eax, dword [0x14009fd7c]
cmp dword [rsp + 0x54], eax
je 0x140062371
mov ecx, dword [0x14009fe90]
xor edx, edx
mov eax, dword [0x14009fe94]
movups xmm0, xmmword [rsp + 0x48]
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov dword [0x14009fbe0], ecx
mov rcx, qword [0x14009fbd8]
movups xmmword [0x14009fd70], xmm0
mov dword [0x14009fbe4], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x14009fbd0]
lea rdx, [0x14009fbe0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x14009fcc0]
mov rcx, qword [0x14009fbd8]
cmp byte [rax + 0x14], bpl
je 0x14006238c
mov edx, 0x11
jmp 0x14006238e
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov rax, qword [0x14009fba0]
test rax, rax
je 0x1400623a9
mov rcx, qword [rax + 0x98]
jmp 0x1400623ac
mov rcx, rbp
cmp qword [rcx + 0x18], rbp
jne 0x1400623cd
test rax, rax
je 0x1400623cd
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x1400623cd
cmp qword [rcx], rbp
je 0x1400623cd
call fcn.14002b820
call fcn.14002c220
call fcn.140008b00
call fcn.14004d330
call fcn.1400555f0
call fcn.14000b2f0
mov rcx, qword [0x14009fbd0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x14009fbd0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x14009fbd0]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14009fbd0]
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 [0x14009fbd0]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x1400624a1
call fcn.14000b640
mov rax, qword [0x14009fba0]
mov rcx, qword [rax + 0x4088]
mov rax, qword [rcx]
mov rcx, rbp
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14002b270
mov rcx, qword [0x14009fbd0]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14009fbd0]
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 0x14006257f
mov rcx, qword [0x14009fbd0]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14006257f
mov rdi, qword [0x14009fba0]
test rdi, rdi
je 0x140062546
mov rdi, qword [rdi + 0x98]
test rdi, rdi
je 0x140062546
cmp qword [rdi], rbp
je 0x140062546
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140062511
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 8], rbp
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140062524
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x10], rbp
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140062546
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x14009fba0]
mov qword [rdi + 0x18], rbp
mov rcx, qword [rax + 0x50]
mov qword [rcx + 8], rbp
mov rcx, qword [0x14009fbd0]
lea rdx, [0x14009fbe0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rcx, qword [0x14009fba0]
test rcx, rcx
je 0x140062586
mov rax, qword [rcx + 0x98]
test rax, rax
je 0x140062586
cmp qword [rax], rbp
je 0x140062586
call fcn.14002b820
mov rcx, qword [0x14009fba0]
cmp dword [0x14009fc30], 0x12
jne 0x140062192
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
jmp 0x1400625a9
mov rcx, qword [0x14009fba0]
test rcx, rcx
je 0x1400625b7
mov rbx, qword [rcx + 0x98]
jmp 0x1400625ba
mov rbx, rbp
lea rsi, [rcx + 8]
test rcx, rcx
je 0x140062633
mov rdi, qword [rcx + 0x98]
test rdi, rdi
je 0x140062633
cmp qword [rdi], rbp
je 0x140062633
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x1400625f1
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x14009fba0]
mov qword [rdi + 8], rbp
mov rdx, qword [rdi + 0x10]
test rdx, rdx
je 0x14006260e
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x14009fba0]
mov qword [rdi + 0x10], rbp
mov rdx, qword [rdi + 0x18]
test rdx, rdx
je 0x140062633
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x14009fba0]
mov qword [rdi + 0x18], rbp
mov rax, qword [rcx + 0x50]
mov qword [rax + 8], rbp
mov rdx, qword [rbx]
test rdx, rdx
je 0x14006264b
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x14009fba0]
mov qword [rsi + 0x80], rbp
mov qword [rsi + 0x90], rbp
mov rsi, qword [rsp + 0xb0]
test rcx, rcx
je 0x14006266c
dec dword [rcx + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14009fba0]
test rax, rax
je 0x14006268a
mov rdi, qword [rax + 0x90]
jmp 0x14006268d
mov rdi, rbp
mov rcx, qword [rdi + 0x30]
lea rbx, [rax + 8]
test rcx, rcx
je 0x1400626a7
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x14009fba0]
mov qword [rbx + 0x78], rbp
mov qword [rbx + 0x88], rbp
mov rbx, qword [rsp + 0xa0]
test rax, rax
je 0x1400626c5
dec dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, qword [0x14009fba0]
mov qword [0x14009fba0], rdi
call fcn.14000a0b0
mov qword [0x14009fba0], rbp
mov rbp, qword [rsp + 0xa8]
test rdi, rdi
je 0x140062718
mov rcx, rdi
call fcn.14001a080
mov rax, qword [0x14009fba0]
test rax, rax
je 0x14006270f
dec dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x14009fbd0]
mov rdi, qword [rsp + 0x90]
test rcx, rcx
je 0x140062742
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14009fbd0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14009fc58]
test rcx, rcx
je 0x140062754
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14009fbd8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140067470
add rsp, 0x98
ret