Function at 0x140006c70
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 - 0xd8]
sub rsp, 0x1b0
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 [0x1400cb180]
xor rax, rsp
mov qword [rbp], rax
movdqa xmm0, xmmword [0x1400b3730]
lea rcx, [rsp + 0x40]
movdqu xmmword [rsp + 0x68], xmm0
xor r13d, r13d
xorps xmm0, xmm0
xorps xmm1, xmm1
xorps xmm9, xmm9
mov qword [0x1400d2670], r13
movups xmmword [0x1400d2688], xmm0
movsd qword [0x1400d2700], xmm9
movups xmmword [0x1400d26f0], xmm1
call fcn.140001350
movss xmm15, dword [0x1400b34b0]
xorps xmm10, xmm10
movss xmm14, dword [0x1400b3520]
mov rbx, qword [rsp + 0x40]
movss xmm7, dword [0x1400b3484]
nop dword [rax]
call fcn.140006870
lea rcx, [rsp + 0x40]
call fcn.140001350
mov rax, qword [rsp + 0x40]
mov rcx, rax
sub rcx, rbx
cmp rcx, 0x4c4b40
jl 0x140006d50
cmp qword [0x1400d2750], r13
mov rbx, rax
je 0x1400071bc
mov r12, qword [0x1400cb2f8]
mov rdi, qword [0x1400cb2f0]
mov dword [0x1400d27c0], 0x7f7fffff
mov qword [0x1400d27b8], r13
cmp rdi, r12
je 0x1400074dd
nop dword [rax + rax]
mov rsi, qword [rdi]
mov rcx, rsi
call fcn.140004440
cmp byte [0x1400cb212], r13b
mov r14, rax
mov r15, qword [rdi + 0x18]
je 0x140006e01
lea rcx, [rax + 0x2e0]
call fcn.140007520
lea rcx, [r14 + 0x2e8]
movaps xmm6, xmm0
call fcn.140007520
addss xmm0, xmm7
comiss xmm0, xmm6
setae al
cmp byte [0x1400cb212], r13b
je 0x140006e01
test al, al
je 0x140006f05
mov rcx, rsi
call fcn.1400064c0
test al, al
jne 0x140006f05
mov rcx, qword [rdi + 8]
add rcx, 0x1211
call fcn.1400053b0
cmp dword [0x1400d2748], eax
je 0x140006f05
cmp byte [0x1400cb210], r13b
je 0x140006f05
mov r9d, WSAGetLastError
lea rdx, [rbp - 0x38]
mov r8, r15
mov rcx, r14
call fcn.140006370
lea r8, [rbp - 0x20]
lea rdx, [rsp + 0x48]
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
movaps xmmword [rbp - 0x20], xmm0
movsd qword [rbp - 0x10], xmm1
call fcn.140006050
movss xmm0, dword [0x1400d2728]
movsd xmm2, qword [rsp + 0x50]
movsd xmm3, qword [rsp + 0x48]
mulss xmm0, xmm15
cvtps2pd xmm1, xmm0
movss xmm0, dword [0x1400d272c]
subsd xmm3, xmm1
mulss xmm0, xmm15
cvtps2pd xmm1, xmm0
mulsd xmm3, xmm3
xorps xmm0, xmm0
subsd xmm2, xmm1
mulsd xmm2, xmm2
addsd xmm2, xmm3
cvtpd2ps xmm1, xmm2
ucomiss xmm0, xmm1
ja 0x140006ec3
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x140006ecb
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov eax, dword [reloc.WS2_32.dll_ntohs]
lea ecx, [rax + rax*4]
add ecx, ecx
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x140006f05
movss xmm1, dword [0x1400d27c0]
comiss xmm1, xmm0
jbe 0x140006f05
movss dword [0x1400d27c0], xmm0
mov qword [0x1400d27b8], rsi
mov qword [0x1400d2670], r15
add rdi, 0x60
cmp rdi, r12
jne 0x140006db0
cmp qword [0x1400d27b8], r13
je 0x1400074dd
mov ecx, dword [0x1400cb220]
test ecx, ecx
je 0x140007146
sub ecx, 1
je 0x14000711b
sub ecx, 1
je 0x1400070f0
sub ecx, 1
je 0x1400070c4
cmp ecx, 1
jne 0x1400071bc
mov rdi, r13
mov rcx, qword [0x1400d27b8]
call fcn.140004440
mov r9d, dword [rsp + rdi*4 + 0x68]
lea rdx, [rbp - 0x20]
mov r8, qword [0x1400d2670]
mov rcx, rax
call fcn.140006370
movups xmm6, xmmword [rbp - 0x20]
lea r8, [rsp + 0x20]
movsd xmm11, qword [rbp - 0x10]
lea rdx, [rsp + 0x58]
movaps xmmword [rsp + 0x20], xmm6
movsd qword [rsp + 0x30], xmm11
call fcn.140006050
movss xmm1, dword [0x1400d272c]
movss xmm0, dword [0x1400d2728]
movsd xmm12, qword [rsp + 0x60]
mulss xmm0, xmm15
mulss xmm1, xmm15
cvtps2pd xmm9, xmm0
cvtps2pd xmm8, xmm1
movaps xmm1, xmm14
movaps xmm0, xmm8
subsd xmm0, xmm12
cvtpd2ps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movsd xmm13, qword [rsp + 0x58]
movaps xmm7, xmm0
movaps xmm0, xmm9
movaps xmm1, xmm14
subsd xmm0, xmm13
cvtpd2ps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm7, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm7
ja 0x140007011
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x140007019
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
subsd xmm8, qword [0x1400d2690]
xorps xmm10, xmm10
movaps xmm1, xmm14
cvtss2sd xmm10, xmm0
cvtpd2ps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
subsd xmm9, qword [0x1400d2688]
movaps xmm7, xmm0
movaps xmm1, xmm14
cvtpd2ps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm7, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm7
ja 0x140007068
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x140007070
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
cvtss2sd xmm0, xmm0
comisd xmm0, xmm10
jbe 0x1400070aa
movsd qword [0x1400d26f0], xmm6
unpckhpd xmm6, xmm6
movsd qword [0x1400d26f8], xmm6
movsd qword [0x1400d2700], xmm11
movsd qword [0x1400d2688], xmm13
movsd qword [0x1400d2690], xmm12
inc rdi
cmp rdi, 3
jl 0x140006f54
xorps xmm9, xmm9
xorps xmm10, xmm10
jmp 0x1400071bc
mov rcx, qword [0x1400d27b8]
call fcn.140004440
mov r8, qword [0x1400d2670]
lea rdx, [rbp - 0x20]
mov r9d, 2
mov rcx, rax
call fcn.140006370
lea rdx, [rsp + 0x78]
jmp 0x14000716f
mov rcx, qword [0x1400d27b8]
call fcn.140004440
mov r8, qword [0x1400d2670]
lea rdx, [rbp - 0x20]
mov r9d, 7
mov rcx, rax
call fcn.140006370
lea rdx, [rbp - 0x78]
jmp 0x14000716f
mov rcx, qword [0x1400d27b8]
call fcn.140004440
mov r8, qword [0x1400d2670]
lea rdx, [rbp - 0x20]
mov r9d, 0x43
mov rcx, rax
call fcn.140006370
lea rdx, [rbp - 0x68]
jmp 0x14000716f
mov rcx, qword [0x1400d27b8]
call fcn.140004440
mov r8, qword [0x1400d2670]
lea rdx, [rbp - 0x20]
mov r9d, WSAGetLastError
mov rcx, rax
call fcn.140006370
lea rdx, [rbp - 0x58]
movups xmm0, xmmword [rax]
lea r8, [rsp + 0x20]
movups xmmword [0x1400d26f0], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [0x1400d2700], xmm1
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
movaps xmmword [rsp + 0x20], xmm0
movsd qword [rsp + 0x30], xmm1
call fcn.140006050
movsd xmm0, qword [rax]
movsd qword [0x1400d2688], xmm0
movsd xmm1, qword [rax + 8]
movsd qword [0x1400d2690], xmm1
cmp qword [0x1400d27b8], r13
je 0x1400074dd
cmp qword [0x1400d2750], r13
je 0x1400074dd
mov ecx, dword [0x1400cb224]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400074dd
movsd xmm7, qword [0x1400d2688]
ucomisd xmm7, xmm9
movsd xmm2, qword [0x1400d2690]
jp 0x140007211
jne 0x140007211
ucomisd xmm2, xmm9
jp 0x140007211
je 0x1400074dd
movss xmm1, dword [0x1400d272c]
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x1400cb218]
mov eax, r13d
mulss xmm1, xmm15
comiss xmm0, xmm1
xorps xmm1, xmm1
setae al
cvtsi2sd xmm1, eax
subsd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss xmm1, dword [0x1400b3520]
call fcn.14009e130
movss xmm1, dword [0x1400d2728]
movaps xmm6, xmm0
mulss xmm1, xmm15
cvtps2pd xmm2, xmm1
movaps xmm1, xmm14
subsd xmm2, xmm7
cvtpd2ps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm1, xmm0
xorps xmm0, xmm0
addss xmm1, xmm6
ucomiss xmm0, xmm1
ja 0x14000728a
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x140007292
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
ucomiss xmm0, xmm10
jp 0x14000729e
je 0x1400074dd
mov rcx, qword [0x1400d2750]
call fcn.140004350
movsd xmm0, qword [0x1400d26f0]
movaps xmm1, xmm14
subsd xmm0, qword [0x1400cb2c0]
mov rdi, rax
cvtpd2ps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm6, xmm0
movaps xmm1, xmm14
movsd xmm0, qword [0x1400d26f8]
subsd xmm0, qword [0x1400cb2c8]
cvtpd2ps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movsd xmm1, qword [0x1400d2700]
addss xmm6, xmm0
subsd xmm1, qword [0x1400cb2d0]
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm6, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm6
ja 0x140007320
xorps xmm0, xmm0
sqrtss xmm0, xmm6
jmp 0x140007328
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
xorps xmm8, xmm8
lea rcx, [rdi + 0x1cc4]
cvtss2sd xmm8, xmm0
call fcn.140007520
lea rcx, [rdi + 0x1f34]
movaps xmm7, xmm0
call fcn.140007520
cmp byte [0x1400d2738], 1
movaps xmm6, xmm0
je 0x140007484
ucomiss xmm7, xmm10
jp 0x140007368
je 0x140007484
ucomiss xmm6, xmm10
jp 0x140007374
je 0x140007484
test rdi, rdi
je 0x140007484
cmp byte [0x1400cb211], r13b
je 0x140007484
mov rcx, qword [0x1400d27b8]
add rcx, 0x198
call fcn.140003a30
lea rsi, [rbp + 0xd8]
xorps xmm0, xmm0
mov rdi, qword [rsi]
lea rdx, [rbp - 0x20]
mov qword [rsi], r13
mov r8d, 0x18
lea rcx, [rax + 0x168]
movsd qword [rbp - 0x10], xmm9
movups xmmword [rbp - 0x20], xmm0
call fcn.1400016c0
mulss xmm6, dword [0x1400b3694]
lea r8, [rsp + 0x20]
mov qword [rsi], rdi
lea rdx, [rbp - 0x48]
movsd xmm4, qword [rbp - 0x20]
xorps xmm2, xmm2
movsd xmm3, qword [rbp - 0x18]
andps xmm6, xmmword [0x1400b3cb0]
cvtpd2ps xmm0, xmm8
mulss xmm6, xmm15
divss xmm0, xmm7
cvtps2pd xmm1, xmm0
mulss xmm0, xmm0
mulsd xmm4, xmm1
mulss xmm6, xmm0
movsd xmm0, qword [rbp - 0x10]
addsd xmm4, qword [0x1400d26f0]
mulsd xmm0, xmm1
mulsd xmm3, xmm1
cvtss2sd xmm2, xmm6
addsd xmm3, qword [0x1400d26f8]
addsd xmm2, xmm0
movaps xmm1, xmm4
unpcklpd xmm1, xmm3
addsd xmm2, qword [0x1400d2700]
movups xmmword [0x1400d26f0], xmm1
movaps xmmword [rsp + 0x20], xmm1
movsd qword [rsp + 0x30], xmm2
movsd qword [rsp + 0x30], xmm2
movsd qword [0x1400d2700], xmm2
call fcn.140006050
movsd xmm0, qword [rax]
movsd qword [0x1400d2688], xmm0
movsd xmm1, qword [rax + 8]
movsd qword [0x1400d2690], xmm1
movsd xmm0, qword [0x1400d26f0]
ucomisd xmm0, xmm9
jp 0x1400074c3
jne 0x1400074c3
movsd xmm0, qword [0x1400d26f8]
ucomisd xmm0, xmm9
jp 0x1400074c3
jne 0x1400074c3
movsd xmm0, qword [0x1400d2700]
ucomisd xmm0, xmm9
jp 0x1400074c3
movss xmm7, dword [0x1400b3484]
je 0x140006d50
movups xmm0, xmmword [0x1400d2688]
lea rcx, [rbp - 0x20]
movdqa xmmword [rbp - 0x20], xmm0
call fcn.1400065b0
jmp 0x140006d41
xorps xmm0, xmm0
movsd qword [rsp + 0x30], xmm9
lea rcx, [rbp - 0x20]
movsd qword [0x1400d2700], xmm9
movups xmmword [0x1400d26f0], xmm0
mov qword [0x1400d27b8], r13
movups xmmword [0x1400d2688], xmm0
mov qword [rbp - 0x20], 1
call fcn.140003b10
jmp 0x140006d41