Function at 0x1400cea10
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2d8]
sub rsp, 0x3b0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x140cf0080]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r13, rcx
xorps xmm11, xmm11
xorps xmm12, xmm12
xorps xmm7, xmm7
movss xmm10, dword [0x140cd2280]
movss dword [rsp + 0x20], xmm10
lea rcx, [rsp + 0x60]
call fcn.1400306e0
nop
xor r15d, r15d
mov esi, r15d
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov qword [rsp + 0x50], r15
mov r14, qword [0x1411dfde0]
mov rbx, qword [0x1411dfdd8]
cmp rbx, r14
je 0x1400cf415
movss xmm6, dword [0x140cd2184]
movss xmm13, dword [0x140cd1f8c]
movsd xmm14, qword [0x140cd2060]
movss xmm15, dword [0x140cd1f24]
nop dword [rax]
cmp byte [0x1411dfcae], 1
jne 0x1400ceb25
comiss xmm11, dword [rbx + 0x24]
jb 0x1400ceb25
mov ecx, dword [reloc.WS2_32.dll_accept]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400ced5f
cmp byte [0x1411dfcaf], 1
jne 0x1400ceb38
cmp byte [rbx + 4], 1
je 0x1400ced5f
movsd xmm0, qword [rbx + 0x1a0]
movaps xmm4, xmm0
shufps xmm4, xmm4, 0x55
movsd qword [rsp + 0x30], xmm0
movaps xmm2, xmm4
mulss xmm2, dword [0x1411df59c]
movss xmm8, dword [rsp + 0x30]
movaps xmm0, xmm8
mulss xmm0, dword [0x1411df58c]
addss xmm2, xmm0
movss xmm9, dword [rbx + 0x1a8]
movaps xmm1, xmm9
mulss xmm1, dword [0x1411df5ac]
addss xmm1, dword [0x1411df5bc]
addss xmm2, xmm1
movaps xmm0, xmm2
divss xmm0, xmm6
cvttss2si edi, xmm0
comiss xmm15, xmm2
ja 0x1400ced5f
movss xmm3, dword [0x140cd1fdc]
divss xmm3, xmm2
mov ecx, dword [0x1411def40]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
xorps xmm2, xmm2
cvtsi2ss xmm2, eax
mov r8d, dword [0x1411def3c]
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
xorps xmm6, xmm6
cvtsi2ss xmm6, eax
movaps xmm5, xmm4
mulss xmm5, dword [0x1411df590]
movaps xmm0, xmm8
mulss xmm0, dword [0x1411df580]
addss xmm5, xmm0
movaps xmm1, xmm9
mulss xmm1, dword [0x1411df5a0]
addss xmm5, xmm1
addss xmm5, dword [0x1411df5b0]
mulss xmm5, xmm3
mulss xmm5, xmm2
addss xmm5, xmm2
mulss xmm4, dword [0x1411df594]
mulss xmm8, dword [0x1411df584]
addss xmm4, xmm8
mulss xmm9, dword [0x1411df5a4]
addss xmm4, xmm9
addss xmm4, dword [0x1411df5b4]
mulss xmm4, xmm3
mulss xmm4, xmm6
subss xmm6, xmm4
cmp byte [0x1411dfcba], 0
je 0x1400ced57
xorps xmm0, xmm0
cvtsi2ss xmm0, ecx
mulss xmm0, xmm13
movaps xmm3, xmm5
subss xmm3, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm1, r8d
mulss xmm1, xmm13
movaps xmm2, xmm6
subss xmm2, xmm1
mulss xmm2, xmm2
mulss xmm3, xmm3
addss xmm2, xmm3
movss xmm0, dword [0x1411d6fd8]
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x1400ced57
cmp dword [0x1411dfd00], 0
jne 0x1400ced21
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm6, xmm0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm5, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm5
movaps xmm1, xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm8, xmm0
cvtps2pd xmm0, xmm6
movaps xmm1, xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm8, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm8
ja 0x1400ced12
xorps xmm0, xmm0
sqrtsd xmm0, xmm8
cvtsd2ss xmm0, xmm0
jmp 0x1400ced28
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cvtsd2ss xmm0, xmm0
jmp 0x1400ced28
movd xmm0, edi
cvtdq2ps xmm0, xmm0
comiss xmm10, xmm0
jbe 0x1400ced57
cmp edi, dword [0x1411d755c]
jge 0x1400ced57
movaps xmm10, xmm0
inc esi
mov rdx, rbx
lea rcx, [0x1411dfea0]
call fcn.140039340
mov eax, dword [rbx + 0x158]
mov dword [0x1411de26c], eax
movss xmm6, dword [0x140cd2184]
add rbx, 0x298
cmp rbx, r14
jne 0x1400ceb00
test esi, esi
je 0x1400cf415
cmp byte [0x1411dfcda], 0
je 0x1400cf3bd
lea r8, [0x1411e0040]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
cmp rbx, rcx
je 0x1400cedc6
movsd xmm0, qword [0x1411e004c]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e0054]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400cede4
lea r8, [0x1411e004c]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400cee09
movsd xmm0, qword [0x1411e0064]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e006c]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400cee27
lea r8, [0x1411e0064]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400cee4c
movsd xmm0, qword [0x1411e0058]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e0060]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400cee6a
lea r8, [0x1411e0058]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400cee8f
movsd xmm0, qword [0x1411e0070]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e0078]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400ceead
lea r8, [0x1411e0070]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400ceed2
movsd xmm0, qword [0x1411e007c]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e0084]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400ceef0
lea r8, [0x1411e007c]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400cef15
movsd xmm0, qword [0x1411e0088]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e0090]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400cef33
lea r8, [0x1411e0088]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400cef58
movsd xmm0, qword [0x1411e0094]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e009c]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400cef76
lea r8, [0x1411e0094]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400cef9b
movsd xmm0, qword [0x1411e00a0]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e00a8]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400cefb9
lea r8, [0x1411e00a0]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400cefde
movsd xmm0, qword [0x1411e00ac]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e00b4]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400ceffc
lea r8, [0x1411e00ac]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400cf021
movsd xmm0, qword [0x1411e00b8]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e00c0]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400cf03f
lea r8, [0x1411e00b8]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400cf064
movsd xmm0, qword [0x1411e00c4]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e00cc]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400cf082
lea r8, [0x1411e00c4]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400cf0a7
movsd xmm0, qword [0x1411e00d0]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e00d8]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400cf0c5
lea r8, [0x1411e00d0]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400cf0ea
movsd xmm0, qword [0x1411e00dc]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e00e4]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400cf108
lea r8, [0x1411e00dc]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rcx
je 0x1400cf12d
movsd xmm0, qword [0x1411e00e8]
movsd qword [rbx], xmm0
mov eax, dword [0x1411e00f0]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x48], rbx
jmp 0x1400cf146
lea r8, [0x1411e00e8]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003b8b0
mov rbx, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
mov rdi, r14
cmp r14, rbx
je 0x1400cf403
mov ecx, dword [0x1411def3c]
mov r8d, dword [0x1411def40]
mov r12d, dword [0x1411d755c]
movss xmm14, dword [0x1411e0048]
movss xmm15, dword [0x1411e0044]
mov r15d, dword [reloc.WS2_32.dll_listen]
nop dword [rax]
nop dword [rax + rax]
movsd xmm8, qword [rdi]
movsd qword [rsp + 0x30], xmm8
movaps xmm2, xmm8
mulss xmm2, dword [0x1411df58c]
movss xmm9, dword [rsp + 0x34]
movaps xmm0, xmm9
mulss xmm0, dword [0x1411df59c]
addss xmm2, xmm0
movss xmm10, dword [rdi + 8]
movaps xmm1, xmm10
mulss xmm1, dword [0x1411df5ac]
addss xmm1, dword [0x1411df5bc]
addss xmm2, xmm1
movaps xmm0, xmm2
divss xmm0, xmm6
cvttss2si esi, xmm0
movss xmm0, dword [0x140cd1f24]
comiss xmm0, xmm2
ja 0x1400cf3a4
movss xmm3, dword [0x140cd1fdc]
divss xmm3, xmm2
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
xorps xmm2, xmm2
cvtsi2ss xmm2, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
movaps xmm6, xmm8
mulss xmm6, dword [0x1411df580]
movaps xmm0, xmm9
mulss xmm0, dword [0x1411df590]
addss xmm6, xmm0
movaps xmm1, xmm10
mulss xmm1, dword [0x1411df5a0]
addss xmm6, xmm1
addss xmm6, dword [0x1411df5b0]
mulss xmm6, xmm3
mulss xmm6, xmm2
addss xmm6, xmm2
movaps xmm2, xmm8
mulss xmm2, dword [0x1411df584]
movaps xmm0, xmm9
mulss xmm0, dword [0x1411df594]
addss xmm2, xmm0
movaps xmm1, xmm10
mulss xmm1, dword [0x1411df5a4]
addss xmm2, xmm1
addss xmm2, dword [0x1411df5b4]
mulss xmm2, xmm3
mulss xmm2, xmm4
subss xmm4, xmm2
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm6, xmm0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm4, xmm0
cvtps2pd xmm0, xmm4
movsd xmm1, qword [0x140cd2060]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm13, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
movsd xmm1, qword [0x140cd2060]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm13, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm13
ja 0x1400cf308
xorps xmm0, xmm0
sqrtsd xmm0, xmm13
jmp 0x1400cf311
movaps xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [rsp + 0x20]
comiss xmm0, xmm1
jbe 0x1400cf38f
cmp esi, r12d
jge 0x1400cf38f
movss xmm3, dword [0x1411e0040]
ucomiss xmm8, xmm3
jp 0x1400cf37d
jne 0x1400cf35b
ucomiss xmm9, xmm15
jp 0x1400cf357
jne 0x1400cf357
ucomiss xmm10, xmm14
jp 0x1400cf357
jne 0x1400cf357
movd xmm7, r15d
cvtdq2ps xmm7, xmm7
addss xmm7, xmm10
jmp 0x1400cf381
ucomiss xmm8, xmm3
jp 0x1400cf37d
jne 0x1400cf37d
ucomiss xmm9, xmm15
jp 0x1400cf37d
jne 0x1400cf37d
ucomiss xmm10, xmm14
jp 0x1400cf37d
jne 0x1400cf37d
movaps xmm7, xmm10
subss xmm7, dword [0x140cd20c0]
jmp 0x1400cf381
movaps xmm7, xmm10
movaps xmm11, xmm8
movaps xmm12, xmm9
movss dword [rsp + 0x20], xmm1
movss xmm6, dword [0x140cd2184]
mov ecx, dword [0x1411def3c]
mov r8d, dword [0x1411def40]
add rdi, 0xc
cmp rdi, rbx
jne 0x1400cf190
cmp r14, rbx
je 0x1400cf403
mov qword [rsp + 0x48], r14
jmp 0x1400cf403
mov eax, dword [0x1411dfcc4]
test eax, eax
jne 0x1400cf3dc
movd xmm7, dword [reloc.WS2_32.dll_listen]
cvtdq2ps xmm7, xmm7
addss xmm7, dword [0x1411e0048]
jmp 0x1400cf3f1
cmp eax, 1
jne 0x1400cf403
movss xmm7, dword [0x1411e0048]
subss xmm7, dword [0x140cd20c0]
movss xmm12, dword [0x1411e0044]
movss xmm11, dword [0x1411e0040]
unpcklps xmm11, xmm12
movsd qword [r13], xmm11
movss dword [r13 + 8], xmm7
jmp 0x1400cf434
mov dword [0x1411de26c], r15d
mov dword [r13], 0x461c3c00
mov dword [r13 + 4], 0x461c3c00
mov dword [r13 + 8], 0x461c3c00
lea rcx, [rsp + 0x40]
call fcn.140037690
nop
lea rcx, [rbp + 0xe0]
call fcn.14002f260
lea rcx, [rbp + 0x80]
call fcn.14002f260
lea rcx, [rbp + 0x58]
call fcn.14002f260
lea rcx, [rbp + 0x38]
call fcn.14002f260
lea rcx, [rbp + 0x18]
call fcn.14002f260
lea rcx, [rbp - 8]
call fcn.14002f260
lea rcx, [rbp - 0x28]
call fcn.14002f260
lea rcx, [rbp - 0x48]
call fcn.14002f260
lea rcx, [rbp - 0x68]
call fcn.140037710
mov rax, r13
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14013f230
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret