Function at 0x14005ddc0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
push rdi
push r13
lea rbp, [r11 - 0x28]
sub rsp, 0x110
movaps xmmword [r11 - 0x48], xmm7
movaps xmmword [r11 - 0x58], xmm8
movaps xmmword [r11 - 0x98], xmm13
mov rax, qword [0x140194f80]
xor rax, rsp
mov qword [rbp - 0x78], rax
mov eax, dword [0x14026f4c8]
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], r12
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
test eax, eax
jne 0x14005de16
xor edi, edi
mov dword [0x14026ec78], edi
jmp 0x14005de76
cmp eax, 1
jne 0x14005de28
mov edi, 7
mov dword [0x14026ec78], edi
jmp 0x14005de76
cmp eax, 2
jne 0x14005de3a
mov edi, 8
mov dword [0x14026ec78], edi
jmp 0x14005de76
cmp eax, 3
jne 0x14005de4c
mov edi, 5
mov dword [0x14026ec78], edi
jmp 0x14005de76
cmp eax, 4
jne 0x14005de5e
mov edi, 3
mov dword [0x14026ec78], edi
jmp 0x14005de76
cmp eax, 5
jne 0x14005de70
mov edi, 4
mov dword [0x14026ec78], edi
jmp 0x14005de76
mov edi, dword [0x14026ec78]
mov rdx, qword [0x14026f4f0]
lea r8, [rsp + 0x70]
mov rcx, qword [0x14026f500]
xor r13d, r13d
movss xmm7, dword [0x140154784]
add rdx, 0x18
mov qword [rsp + 0x20], r13
lea r9d, [r13 + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rsp + 0x70]
lea r9d, [r13 + 8]
mov rcx, qword [0x14026f500]
lea r8, [rsp + 0x78]
add rdx, 0x100
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r12, qword [rsp + 0x78]
lea rsi, [0x14026dc10]
movss xmm8, dword [0x1401546fc]
mov r14, r12
movsd xmm13, qword [0x140154610]
mov r15d, 0x100
mov qword [rsp + 0x130], rbx
movaps xmmword [rsp + 0xf0], xmm6
test r12, r12
je 0x14005e062
mov rcx, qword [0x14026f500]
lea r8, [rbp - 0x80]
mov r9d, 8
mov qword [rsp + 0x20], 0
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x80]
lea r8, [rsp + 0x68]
mov rcx, qword [0x14026f500]
mov r9d, 4
mov qword [rsp + 0x20], 0
lea rdx, [rbx + 0x10b8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test rbx, rbx
je 0x14005e062
cmp byte [reloc.WS2_32.dll_accept], 0
jne 0x14005df83
mov eax, dword [rsp + 0x68]
and eax, 0x1fc000
cmp eax, 0x8000
jne 0x14005e062
cmp rbx, qword [0x14026e440]
je 0x14005e062
cmp qword [rsi], rbx
je 0x14005e062
mov r8d, edi
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.14005bb50
movsd xmm0, qword [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov eax, dword [rsp + 0x48]
lea rcx, [rsp + 0x30]
movsd qword [rsp + 0x50], xmm0
mov dword [rsp + 0x58], eax
call fcn.14005b970
mov rcx, qword [0x14026f500]
lea rdx, [rbx + 0x280]
mov r9d, 4
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
comiss xmm8, dword [rsp + 0x6c]
jae 0x14005e062
lea rcx, [rsp + 0x60]
call fcn.140058fa0
movss xmm0, dword [rsp + 0x60]
movaps xmm1, xmm13
subss xmm0, dword [rsp + 0x30]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movss xmm1, dword [rsp + 0x64]
movaps xmm6, xmm0
subss xmm1, dword [rsp + 0x34]
cvtps2pd xmm0, xmm1
movaps xmm1, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
ucomiss xmm1, xmm0
ja 0x14005e052
sqrtss xmm0, xmm0
jmp 0x14005e057
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm7, xmm0
jbe 0x14005e062
movaps xmm7, xmm0
mov r13, rbx
add r14, 0x10
add rsi, 8
sub r15, 1
jne 0x14005df05
mov r15, qword [rsp + 0x100]
mov r14, qword [rsp + 0x108]
mov r12, qword [rsp + 0x140]
mov rsi, qword [rsp + 0x138]
test r13, r13
je 0x14005e3bd
mov r8d, dword [0x14026ec78]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0xc0], xmm9
mov rdx, r13
movaps xmmword [rsp + 0xb0], xmm10
movaps xmmword [rsp + 0xa0], xmm11
call fcn.14005bb50
movsd xmm0, qword [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov eax, dword [rsp + 0x58]
lea rcx, [rsp + 0x30]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
call fcn.14005b970
cmp byte [0x14026f4ae], 0
movss xmm0, dword [0x14026f4d0]
cvtps2pd xmm0, xmm0
je 0x14005e10d
addsd xmm0, qword [0x1401545c0]
jmp 0x14005e115
addsd xmm0, qword [0x1401545f0]
xor ecx, ecx
cvtpd2ps xmm11, xmm0
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
mov ecx, 1
sub eax, edx
sar eax, 1
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movss xmm10, dword [rsp + 0x34]
cdq
sub eax, edx
sar eax, 1
cvtps2pd xmm0, xmm10
mov edi, eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm0, xmm1
movaps xmm1, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movss xmm9, dword [rsp + 0x30]
movaps xmm6, xmm0
movd xmm1, ebx
cvtdq2pd xmm1, xmm1
cvtps2pd xmm0, xmm9
subsd xmm0, xmm1
movaps xmm1, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
ucomiss xmm1, xmm0
ja 0x14005e19a
xorps xmm6, xmm6
sqrtss xmm6, xmm0
jmp 0x14005e1a2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movss xmm4, dword [0x140154c40]
xorps xmm2, xmm2
ucomiss xmm9, xmm2
xorps xmm8, xmm8
xorps xmm7, xmm7
jp 0x14005e1bc
je 0x14005e218
movd xmm3, ebx
cvtdq2ps xmm3, xmm3
comiss xmm9, xmm3
jbe 0x14005e1f6
movaps xmm8, xmm3
lea eax, [rbx + rbx]
subss xmm8, xmm9
movd xmm0, eax
movaps xmm1, xmm3
cvtdq2ps xmm0, xmm0
xorps xmm8, xmm4
divss xmm8, xmm11
addss xmm1, xmm8
comiss xmm1, xmm0
jbe 0x14005e1f6
xorps xmm8, xmm8
comiss xmm3, xmm9
jbe 0x14005e218
movaps xmm8, xmm9
subss xmm8, xmm3
divss xmm8, xmm11
addss xmm3, xmm8
comiss xmm2, xmm3
jbe 0x14005e218
xorps xmm8, xmm8
ucomiss xmm10, xmm2
jp 0x14005e220
je 0x14005e275
movd xmm3, edi
cvtdq2ps xmm3, xmm3
comiss xmm10, xmm3
jbe 0x14005e256
movaps xmm7, xmm3
lea eax, [rdi + rdi]
subss xmm7, xmm10
movd xmm0, eax
movaps xmm1, xmm3
cvtdq2ps xmm0, xmm0
xorps xmm7, xmm4
divss xmm7, xmm11
addss xmm1, xmm7
comiss xmm1, xmm0
jbe 0x14005e256
xorps xmm7, xmm7
comiss xmm3, xmm10
jbe 0x14005e275
movaps xmm7, xmm10
subss xmm7, xmm3
divss xmm7, xmm11
addss xmm3, xmm7
comiss xmm2, xmm3
jbe 0x14005e275
xorps xmm7, xmm7
mov rcx, qword [0x14026f500]
lea rdx, [r13 + 0x90]
xor ebx, ebx
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 0xc]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [0x14026e440]
lea r9d, [rbx + 0xc]
mov rcx, qword [0x14026f500]
lea r8, [rsp + 0x40]
movss xmm9, dword [rsp + 0x50]
add rdx, 0x90
movss xmm10, dword [rsp + 0x54]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movss xmm0, dword [0x14023e5d8]
xorps xmm1, xmm1
movaps xmm11, xmmword [rsp + 0xa0]
cvtps2pd xmm0, xmm0
cvtss2sd xmm1, xmm6
addsd xmm0, qword [0x1401545c0]
comisd xmm0, xmm1
jb 0x14005e3ab
movss xmm0, dword [rsp + 0x44]
movaps xmm1, xmm13
movss xmm2, dword [rsp + 0x40]
subss xmm0, xmm10
subss xmm2, xmm9
cvtps2pd xmm6, xmm0
cvtps2pd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm9, xmm0
movaps xmm1, xmm13
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm9, xmm0
movaps xmm1, xmm13
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm9, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm9
ja 0x14005e35c
xorps xmm0, xmm0
sqrtsd xmm0, xmm9
jmp 0x14005e365
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movss xmm1, dword [0x14021a39c]
mulsd xmm0, qword [0x1401545d8]
cvtps2pd xmm1, xmm1
comisd xmm1, xmm0
jb 0x14005e3ab
mov ecx, dword [0x14026dbfc]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14005e3ab
xor r9d, r9d
mov qword [rsp + 0x20], rbx
cvttss2si r8, xmm7
lea ecx, [r9 + 1]
cvttss2si rdx, xmm8
call qword [sym.imp.USER32.dll_mouse_event]
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm10, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xf0]
mov rbx, qword [rsp + 0x130]
mov rcx, qword [rbp - 0x78]
xor rcx, rsp
call fcn.140118040
lea r11, [rsp + 0x110]
movaps xmm7, xmmword [r11 - 0x30]
movaps xmm8, xmmword [r11 - 0x40]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop r13
pop rdi
pop rbp
ret