Function at 0x180008d00
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
push rdi
push r13
lea rbp, [r11 - 0x5f]
sub rsp, 0xe0
mov rax, qword [0x1800cf040]
xor rax, rsp
mov qword [rbp - 9], rax
mov rax, qword [0x1801b9a08]
xor r13d, r13d
mov qword [r11 - 0x20], r12
mov rdi, rcx
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
test rax, rax
je 0x180008d48
mov rcx, qword [rax + 0xa0]
jmp 0x180008d4b
mov rcx, r13
cmp qword [rcx + 0x18], r13
jne 0x180008d6c
test rax, rax
je 0x180008d6c
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x180008d6c
cmp qword [rcx], r13
je 0x180008d6c
call fcn.180037010
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x110], rsi
call fcn.180037a20
call fcn.180011aa0
cmp qword [0x1801b9d58], r13
mov r12d, 1
mov r15d, 4
je 0x180008fa2
cmp byte [0x1800cf0b1], r13b
je 0x180008fa2
cmp dword [0x1800cf0a8], r13d
jne 0x180008de1
lea rcx, [0x1800cf098]
call fcn.1800011c0
test rax, rax
je 0x180008de1
lea rcx, [0x1800cf098]
call fcn.1800011c0
mov rdx, rax
lea rcx, [0x1800cf098]
call fcn.180001720
cmp dword [0x1800cf0a8], r12d
jne 0x180008fa2
lea rcx, [0x1800cf098]
call fcn.1800011c0
test rax, rax
je 0x180008fa2
movaps xmmword [rsp + 0xb0], xmm7
xor ecx, ecx
movaps xmmword [rsp + 0xa0], xmm8
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
mov ecx, r12d
sub eax, edx
sar eax, 1
mov r15d, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [0x1800cf0bc]
cdq
sub eax, edx
sar eax, 1
mov r12d, eax
test ecx, ecx
jne 0x180008e44
mov esi, r13d
jmp 0x180008e52
mov esi, dword [rbp - 0x39]
cmp ecx, 1
mov eax, 1
cmove esi, eax
lea rcx, [0x1800cf098]
call fcn.1800011c0
mov rbx, rax
call fcn.18005b5f0
mov r9d, esi
lea rdx, [rbp - 0x59]
mov r8, rbx
call fcn.18005b680
call fcn.18005b5f0
movsd xmm8, qword [rbp - 0x59]
lea r8, [rbp - 0x29]
mov ebx, dword [rbp - 0x51]
lea rdx, [rbp - 0x39]
movsd qword [rbp - 0x29], xmm8
mov dword [rbp - 0x21], ebx
call fcn.18005b7c0
movss xmm0, dword [rbp - 0x35]
movd xmm1, r12d
cvtdq2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movsd xmm1, qword [0x1800c61b8]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x1800c61b8]
movaps xmm7, xmm0
movss xmm0, dword [rbp - 0x39]
movd xmm2, r15d
cvtps2pd xmm0, xmm0
cvtdq2pd xmm2, xmm2
subsd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm7, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm7
movaps xmm7, xmmword [rsp + 0xb0]
ucomiss xmm1, xmm0
ja 0x180008f04
xorps xmm6, xmm6
sqrtss xmm6, xmm0
jmp 0x180008f0c
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
mov edx, dword [0x1801b99d8]
mov rax, qword gs:[0x58]
mov r15d, 4
mov rax, qword [rax + rdx*8]
mov ecx, dword [r15 + rax]
cmp dword [0x1801b9d30], ecx
jle 0x180008f59
lea rcx, [0x1801b9d30]
call fcn.18005bc40
cmp dword [0x1801b9d30], 0xffffffff
jne 0x180008f59
lea rcx, [0x1801b9d30]
mov dword [0x1801b9d28], r13d
call fcn.18005bbd4
mov ecx, dword [0x1801b9d2c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180008f93
movd xmm0, dword [0x1800cf098]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm6
jbe 0x180008f93
lea rdx, [rbp - 0x59]
movsd qword [rbp - 0x59], xmm8
lea rcx, [0x1800cf098]
mov dword [rbp - 0x51], ebx
call fcn.180001a60
movaps xmm8, xmmword [rsp + 0xa0]
mov r12d, 1
call fcn.180004840
cmp qword [0x1801b9d58], r13
je 0x1800090dc
mov rcx, rax
call fcn.180004940
mov rdx, qword [0x1801b9d48]
test rdx, rdx
je 0x1800090c7
mov rcx, qword [0x1801b9db0]
lea r8, [rbp - 0x31]
add rdx, 0x10
mov qword [rsp + 0x20], r13
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x31]
lea r8, [rbp - 0x29]
mov rcx, qword [0x1801b9db0]
mov r9d, 8
mov qword [rsp + 0x20], r13
lea rdx, [rbx + 0x180]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1801b9db0]
lea rdx, [rbx + 0x188]
mov r9d, 4
mov qword [rsp + 0x20], r13
lea r8, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rbp - 0x39]
test eax, eax
jle 0x1800090c7
mov rbx, qword [rbp - 0x29]
mov esi, eax
nop word [rax + rax]
mov rcx, qword [0x1801b9db0]
lea r8, [rbp - 0x31]
mov r9d, 8
mov qword [rsp + 0x20], r13
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x31]
test rdx, rdx
je 0x1800090bd
mov rcx, qword [0x1801b9db0]
lea r8, [rbp - 0x19]
add rdx, 0x90
mov qword [rsp + 0x20], r13
mov r9d, 0xc
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
call fcn.18005b5f0
movsd xmm0, qword [rbp - 0x19]
lea r8, [rbp - 0x49]
mov eax, dword [rbp - 0x11]
lea rdx, [rbp - 0x59]
movsd qword [rbp - 0x49], xmm0
mov dword [rbp - 0x41], eax
call fcn.18005b7c0
add rbx, 0x10
sub rsi, 1
jne 0x180009050
cmp qword [0x1801b9d58], r13
je 0x1800090dc
lea rcx, [0x1800cfae8]
call fcn.180008610
mov r8d, dword [0x1801b99d8]
mov rax, qword gs:[0x58]
mov rsi, qword [rsp + 0x110]
mov edx, r15d
mov r15, qword [rsp + 0xd0]
mov rax, qword [rax + r8*8]
mov edx, dword [rdx + rax]
cmp dword [0x1801b9d30], edx
jle 0x180009136
lea rcx, [0x1801b9d30]
call fcn.18005bc40
cmp dword [0x1801b9d30], 0xffffffff
jne 0x180009136
lea rcx, [0x1801b9d30]
mov dword [0x1801b9d28], r13d
call fcn.18005bbd4
mov eax, dword [0x1801b9d28]
test eax, eax
jne 0x18000914c
mov dword [0x1801b9d2c], 2
jmp 0x1800091ad
cmp eax, 1
jne 0x18000915d
mov dword [0x1801b9d2c], 0x12
jmp 0x1800091ad
cmp eax, 2
jne 0x18000916e
mov dword [0x1801b9d2c], 0x11
jmp 0x1800091ad
cmp eax, 3
jne 0x18000917f
mov dword [0x1801b9d2c], 4
jmp 0x1800091ad
cmp eax, 4
jne 0x180009190
mov dword [0x1801b9d2c], 5
jmp 0x1800091ad
cmp eax, 5
jne 0x1800091a1
mov dword [0x1801b9d2c], 6
jmp 0x1800091ad
cmp eax, 6
jne 0x1800091ad
mov dword [0x1801b9d2c], r12d
cmp byte [0x1800cf0b4], r13b
movss xmm6, dword [0x1800c6174]
je 0x180009274
mov rax, qword [0x1801b9a08]
lea r8, str.Foreground
mov rdx, r12
mov rcx, qword [rax + 0x4878]
mov rcx, qword [rcx]
call fcn.1800110e0
mov ecx, dword [rdi + 0xe8]
xorps xmm0, xmm0
movd xmm2, dword [0x1800cf098]
xorps xmm1, xmm1
cvtdq2ps xmm2, xmm2
mov rbx, rax
cvtsi2ss xmm0, rcx
mov ecx, dword [rdi + 0xec]
cvtsi2ss xmm1, rcx
movss dword [rbp - 0x39], xmm0
movss xmm0, dword [0x1800c6138]
comiss xmm0, xmm2
movss dword [rbp - 0x35], xmm1
ja 0x180009274
subss xmm2, xmm0
mov dword [rsp + 0x28], 0x1ff
movss xmm0, dword [0x1800c61f8]
lea rdx, [rbp - 0x39]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm0
mov rcx, rax
call fcn.18002f970
mov r8d, dword [rbx + 0x78]
mov r9d, 0xffffffff
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], r12d
call fcn.18002df40
mov dword [rbx + 0x78], r13d
cmp byte [0x1800cf0b5], r13b
je 0x180009291
mov dword [0x1800cf09c], 0x14
mov dword [0x1800cf0a0], 0x14
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1800092b0
cmp byte [rdi + 0x158], r13b
sete al
mov byte [rdi + 0x158], al
mov rax, qword [0x1801b9a08]
lea rcx, str.Watermark
xor edx, edx
cmp byte [rdi + 0x158], r13b
movss xmm0, dword [rax + 0x10]
subss xmm0, dword [0x1800c6330]
lea r8d, [rdx + 0x27]
mov qword [rax + 0x478c], 0x461c3c00
mov dword [rax + 0x4794], r13d
mov dword [rax + 0x477c], r12d
movss dword [rax + 0x4788], xmm0
je 0x180009328
or dword [rax + 0x4778], 1
call fcn.180017010
lea rcx, str.Fuck_CPX
call fcn.18003a7f0
call fcn.1800193f0
mov rcx, rdi
call fcn.1800505f0
mov r8d, 0xa0
jmp 0x18000934b
or dword [rax + 0x4778], 1
call fcn.180017010
lea rcx, str.Fuck_CPX
call fcn.18003a7f0
call fcn.1800193f0
mov r8d, 0x800a0
mov rcx, qword [rdi + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
movzx eax, byte [rdi + 0x158]
mov rcx, qword [0x1801b9a08]
mov byte [rcx + 0x78], al
movzx eax, byte [rdi + 0x158]
mov byte [rcx + 0xd9], al
call fcn.180013710
mov rcx, qword [rdi + 8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [rdi + 8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [rdi + 8]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [rdi + 8]
mov r9d, r12d
mov dword [rsp + 0x30], r13d
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], r13d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x148]
movaps xmm6, xmmword [rsp + 0xc0]
mov r12, qword [rsp + 0xd8]
test eax, eax
js 0x180009433
call fcn.180013ad0
mov rax, qword [0x1801b9a08]
mov rcx, qword [rax + 0x4878]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], r13b
cmove rcx, r13
call fcn.180036a50
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rdi + 8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r13
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x180009508
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x180009508
mov rbx, qword [0x1801b9a08]
test rbx, rbx
je 0x1800094d2
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x1800094d2
cmp qword [rbx], r13
je 0x1800094d2
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18000949d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], r13
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1800094b0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], r13
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1800094d2
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1801b9a08]
mov qword [rbx + 0x18], r13
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], r13
mov rcx, qword [rdi + 8]
lea rdx, [rdi + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x1801b9a08]
test rax, rax
je 0x180009508
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x180009508
cmp qword [rax], r13
je 0x180009508
call fcn.180037010
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.18005bb00
add rsp, 0xe0
pop r13
pop rdi
pop rbp
ret