Function at 0x140039510
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0xc8]
sub rsp, 0x1b0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm7, dword [rbx + 0x10]
subss xmm7, xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm8, dword [rbx + 0x14]
subss xmm8, xmm0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [0x1400dea90]
mov ecx, dword [0x1400f03ac]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm0, dword [0x1400f13e8]
test ax, ax
jne 0x1400395ce
comiss xmm0, dword [0x1400deaec]
jae 0x1400395ce
cmp byte [0x1400f0390], al
jne 0x140039657
movss xmm1, dword [0x1400f039c]
jmp 0x14003962e
cmp byte [0x1400f140c], 0
je 0x14003961d
mulss xmm0, dword [0x1400deb2c]
movss xmm2, dword [0x1400deb5c]
movaps xmm1, xmm2
subss xmm1, xmm0
cmp byte [0x1400f03bc], 0
jne 0x1400395ff
movss xmm1, dword [0x1400f03a0]
movaps xmm0, xmm1
addss xmm0, dword [0x1400deb70]
addss xmm0, xmm1
divss xmm2, xmm0
mulss xmm7, xmm2
mulss xmm8, xmm2
jmp 0x140039657
cmp byte [0x1400f0390], 0
jne 0x140039657
movss xmm1, dword [0x1400f03a0]
addss xmm1, dword [0x1400deae8]
addss xmm1, xmm6
movss xmm0, dword [0x1400deb5c]
addss xmm1, xmm1
addss xmm1, xmm0
divss xmm0, xmm1
mulss xmm8, xmm0
mulss xmm7, xmm0
movss xmm9, dword [0x1400f0400]
mulss xmm9, dword [0x1400deac8]
movss xmm6, dword [0x1400f0404]
mulss xmm6, dword [0x1400deac8]
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400396bd
mov ecx, dword [0x1400f03ac]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1400396a4
movss xmm0, dword [0x1400f13e8]
comiss xmm0, dword [0x1400deaec]
jbe 0x1400396bd
movss xmm0, dword [0x1400dec54]
divss xmm0, dword [0x1400f0408]
mulss xmm9, xmm0
mulss xmm6, xmm0
mulss xmm7, xmm9
mulss xmm6, xmm8
movd xmm0, dword [0x1400f03b8]
cvtdq2ps xmm0, xmm0
addss xmm6, xmm0
movss dword [0x1400f18e0], xmm7
movss dword [0x1400f18e4], xmm6
movabs rax, 0x4e491dbb8237a188
mov qword [rsp + 0x30], rax
movabs rsi, 0x70f6ab2f72643e6
mov qword [rsp + 0x38], rsi
movabs r14, 0x4e491dbb8237a1d5
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], rsi
movdqa xmm0, xmmword [rsp + 0x30]
pxor xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
lea rax, [rsp + 0x30]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140039745
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.140038570
nop
cvtss2sd xmm6, xmm6
movaps xmm1, xmm6
movq rdx, xmm6
lea rcx, [0x1400dcf50]
call fcn.140038110
movsxd rbx, eax
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14004fde0
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rcx, qword [rsp + 0x70]
lea rdx, [rbx + 1]
movaps xmm3, xmm6
movq r9, xmm6
lea r8, [0x1400dcf50]
call fcn.140038050
nop
movabs rax, 0x4e491dbb8237a1f9
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rsi
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], rsi
movdqa xmm0, xmmword [rsp + 0x30]
pxor xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
lea rax, [rsp + 0x30]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1400397f3
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x30]
call fcn.140038570
nop
xorps xmm6, xmm6
cvtss2sd xmm6, xmm7
movaps xmm1, xmm6
movq rdx, xmm6
lea rcx, [0x1400dcf50]
call fcn.140038110
movsxd rbx, eax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14004fde0
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rcx, qword [rsp + 0x50]
lea rdx, [rbx + 1]
movaps xmm3, xmm6
movq r9, xmm6
lea r8, [0x1400dcf50]
call fcn.140038050
nop
movabs rax, 0x6e7372efe741ce98
mov qword [rsp + 0x30], rax
movabs rax, 0x70f6ab2f72643bd
mov qword [rsp + 0x38], rax
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], rsi
movdqa xmm0, xmmword [rsp + 0x30]
pxor xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea rax, [rsp + 0x30]
mov r8, rdi
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400398b0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.140038570
nop
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x50]
movzx edx, byte [rsp + 0x20]
lea rcx, [rbp + 0x30]
call fcn.1400517a0
nop
lea r9, [rbp - 0x30]
lea r8, [rbp + 0x30]
movzx edx, byte [rsp + 0x20]
lea rcx, [rbp + 0x10]
call fcn.1400517a0
nop
lea r9, [rsp + 0x70]
lea r8, [rbp + 0x10]
movzx edx, byte [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400517a0
nop
lea r9, [rbp - 0x10]
lea r8, [rsp + 0x30]
movzx edx, byte [rsp + 0x20]
lea rcx, [rbp + 0x50]
call fcn.1400517a0
nop
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rdx, qword [rbp + 0x50]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 0
mov qword [rbp - 0x58], 0
nop
inc rdi
cmp byte [rdx + rdi], 0
jne 0x140039950
mov r8, rdi
lea rcx, [rbp - 0x70]
call fcn.140038570
lea rdx, [rbp - 0x70]
mov ecx, 3
call fcn.140038730
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x1400399b3
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400399ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400399ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400399f4
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400399ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400399ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140039a33
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039a2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039a2d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x140039a72
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039a6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039a6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140039ab1
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039aab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039aab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140039af1
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039aec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039aec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
movdqa xmm0, xmmword [0x1400ded20]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140039b43
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039b3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039b3d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140039b82
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039b7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039b7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
movdqa xmm0, xmmword [0x1400ded20]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x140039bd2
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039bcd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039bcd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3e90
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret