Function at 0x14003ddc0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xe0
mov rax, qword [0x14004e040]
xor rax, rsp
mov qword [rbp - 1], rax
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r14
xor r14d, r14d
cmp byte [0x140060671], r14b
je 0x14003e408
movaps xmmword [r11 - 0x18], xmm6
movss xmm6, dword [0x1400474a8]
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x140047970]
movaps xmmword [r11 - 0x38], xmm8
movss xmm8, dword [0x1400474f0]
movaps xmmword [r11 - 0x48], xmm9
movss xmm9, dword [0x140047508]
movaps xmmword [r11 - 0x58], xmm10
movss xmm10, dword [0x1400474dc]
mov rdx, qword [0x140060e30]
lea rcx, [0x140060e90]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14003de81
lea rcx, [0x140060e90]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140060e90]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [0x140060e98], 0x12
jne 0x14003de91
mov byte [0x140060671], r14b
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14003deae
cmp byte [0x140060670], r14b
sete byte [0x140060670]
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14003e3d6
cmp byte [0x140060671], r14b
je 0x14003e3dd
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov edx, 3
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140060e30]
mov r9d, 1
mov dword [rsp + 0x30], 3
mov r8d, r9d
mov dword [rsp + 0x28], r14d
mov rdx, rax
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140060e30]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rdi, qword [0x140060df8]
lea rcx, [rbp - 9]
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rbp - 9]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0xe00], xmm0
movd xmm0, dword [rbp - 5]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0xe04], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0xe08], al
mov rax, qword [0x140060df8]
test rax, rax
je 0x14003df76
mov rcx, qword [rax + 0x98]
jmp 0x14003df79
mov rcx, r14
cmp qword [rcx + 0x18], r14
jne 0x14003df9a
test rax, rax
je 0x14003df9a
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x14003df9a
cmp qword [rcx], r14
je 0x14003df9a
call fcn.14002d3d0
call fcn.14002df90
call fcn.140009c70
call fcn.1400025a0
mov rax, qword [0x140060df8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48c8]
mov rcx, qword [rcx]
call fcn.140009330
lea rcx, [rbp - 0x49]
mov rbx, rax
movups xmmword [rbp - 0x49], xmm7
call fcn.140005240
movss xmm0, dword [0x140060ec8]
mov esi, eax
movss xmm1, dword [0x140060ecc]
mulss xmm0, xmm6
mulss xmm1, xmm6
movss dword [rbp - 0x39], xmm0
movss dword [rbp - 0x35], xmm1
test eax, 0xff000000
je 0x14003e05e
movss xmm2, dword [0x14004e0b8]
comiss xmm2, xmm6
jb 0x14003e05e
subss xmm2, xmm6
mov dword [rsp + 0x20], 0x30
xor r9d, r9d
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.140026a80
mov r8d, dword [rbx + 0x78]
mov r9d, esi
mov rdx, qword [rbx + 0x80]
dec r8d
movss dword [rsp + 0x28], xmm8
mov rcx, rbx
mov dword [rbx + 0x78], r8d
mov dword [rsp + 0x20], 1
call fcn.140025510
mov dword [rbx + 0x78], r14d
cmp byte [0x14004e0d8], r14b
je 0x14003e181
mov rax, qword [0x140060df8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48c8]
mov rcx, qword [rcx]
call fcn.140009330
movss xmm3, dword [0x140060ec8]
lea rcx, [rbp - 0x49]
movss xmm1, dword [0x140060ecc]
mov r10, rax
mulss xmm3, xmm6
mulss xmm1, xmm6
movaps xmm0, xmm3
addss xmm0, dword [0x14004e0dc]
subss xmm3, dword [0x14004e0dc]
movss dword [rbp - 0x2d], xmm1
movss dword [rbp - 0x25], xmm1
movups xmmword [rbp - 0x49], xmm7
movss dword [rbp - 0x31], xmm0
movss dword [rbp - 0x29], xmm3
call fcn.140005240
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea rdx, [rbp - 0x29]
mov rcx, r10
lea r8, [rbp - 0x31]
call fcn.1400277f0
mov rax, qword [0x140060df8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48c8]
mov rcx, qword [rcx]
call fcn.140009330
movss xmm2, dword [0x140060ecc]
lea rcx, [rbp - 0x49]
movss xmm3, dword [0x140060ec8]
mov r10, rax
mulss xmm2, xmm6
mulss xmm3, xmm6
movaps xmm0, xmm2
addss xmm0, dword [0x14004e0dc]
subss xmm2, dword [0x14004e0dc]
movss dword [rbp - 0x21], xmm3
movss dword [rbp - 0x19], xmm3
movups xmmword [rbp - 0x49], xmm7
movss dword [rbp - 0x1d], xmm0
movss dword [rbp - 0x15], xmm2
call fcn.140005240
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea rdx, [rbp - 0x19]
mov rcx, r10
lea r8, [rbp - 0x21]
call fcn.1400277f0
cmp byte [0x140060670], r14b
je 0x14003e224
mov rax, qword [0x140060df8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48c8]
mov rcx, qword [rcx]
call fcn.140009330
lea rcx, [rbp - 0x49]
mov rbx, rax
movups xmmword [rbp - 0x49], xmm7
call fcn.140005240
movss xmm0, dword [rdi + 0xe00]
mov esi, eax
movss xmm1, dword [rdi + 0xe04]
movss dword [rbp - 0x11], xmm0
movss dword [rbp - 0xd], xmm1
test eax, 0xff000000
je 0x14003e21f
xor r9d, r9d
mov dword [rsp + 0x20], 0x30
movaps xmm2, xmm9
lea rdx, [rbp - 0x11]
mov rcx, rbx
call fcn.140026a80
mov r8d, dword [rbx + 0x78]
mov r9d, esi
mov rdx, qword [rbx + 0x80]
dec r8d
mov rcx, rbx
mov dword [rbx + 0x78], r8d
call fcn.140026490
mov dword [rbx + 0x78], r14d
call fcn.14003d780
call fcn.14000b930
mov rcx, qword [0x140060e40]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140060e40]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140060e40]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140060e40]
mov r9d, 1
mov dword [rsp + 0x30], r14d
xor r8d, r8d
movss dword [rsp + 0x28], xmm10
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140060e40]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14003e2e9
call fcn.14000bd40
mov rax, qword [0x140060df8]
mov rcx, qword [rax + 0x48c8]
mov rax, qword [rcx]
mov rcx, r14
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14002ce10
mov rcx, qword [0x140060e40]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140060e40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14003e3c7
mov rcx, qword [0x140060e40]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14003e3c7
mov rbx, qword [0x140060df8]
test rbx, rbx
je 0x14003e38e
mov rbx, qword [rbx + 0x98]
test rbx, rbx
je 0x14003e38e
cmp qword [rbx], r14
je 0x14003e38e
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003e359
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], r14
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14003e36c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], r14
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14003e38e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140060df8]
mov qword [rbx + 0x18], r14
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], r14
mov rcx, qword [0x140060e40]
lea rdx, [0x140060e50]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rbx, qword [0x140060df8]
test rbx, rbx
je 0x14003e3c7
mov rax, qword [rbx + 0x98]
test rax, rax
je 0x14003e3c7
cmp qword [rax], r14
je 0x14003e3c7
call fcn.14002d3d0
cmp byte [0x140060671], r14b
jne 0x14003de41
jmp 0x14003e3dd
mov byte [0x140060671], r14b
movaps xmm9, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0xd0]
movaps xmm10, xmmword [rsp + 0x90]
mov rbx, qword [0x140060df8]
test rbx, rbx
je 0x14003e41d
mov rsi, qword [rbx + 0x98]
jmp 0x14003e420
mov rsi, r14
mov rbx, qword [0x140060df8]
test rbx, rbx
je 0x14003e485
mov rdi, qword [rbx + 0x98]
test rdi, rdi
je 0x14003e485
cmp qword [rdi], r14
je 0x14003e485
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003e450
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 8], r14
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14003e463
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x10], r14
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14003e485
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140060df8]
mov qword [rdi + 0x18], r14
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], r14
mov rcx, qword [rsi]
test rcx, rcx
je 0x14003e493
mov rax, qword [rcx]
call qword [rax + 0x10]
and dword [rbx + 0xc], 0xfffffff7
mov rax, qword [0x140060df8]
mov qword [rbx + 0x88], r14
mov qword [rbx + 0x98], r14
test rax, rax
je 0x14003e4b7
dec dword [rax + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140060df8]
mov rsi, qword [rsp + 0xf8]
test rax, rax
je 0x14003e4dd
mov rdi, qword [rax + 0x90]
jmp 0x14003e4e0
mov rdi, r14
mov rcx, qword [rdi + 0x30]
lea rbx, [rax + 8]
test rcx, rcx
je 0x14003e4fa
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140060df8]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], r14
mov qword [rbx + 0x88], r14
test rax, rax
je 0x14003e514
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140060df8]
mov qword [0x140060df8], rbx
call fcn.140007a90
mov rdi, qword [rsp + 0x100]
mov qword [0x140060df8], r14
mov r14, qword [rsp + 0x108]
test rbx, rbx
je 0x14003e56f
mov rcx, rbx
call fcn.14001d350
mov rax, qword [0x140060df8]
test rax, rax
je 0x14003e566
dec dword [rax + 0xf0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140060e40]
mov rbx, qword [rsp + 0xf0]
test rcx, rcx
je 0x14003e599
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140060e40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140060e38]
test rcx, rcx
je 0x14003e5ab
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140060e30]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov al, 1
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.14003e5e0
add rsp, 0xe0
pop rbp
ret