Function at 0x180070850
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
sub rsp, 0x168
movaps xmmword [r11 - 0x28], xmm7
mov rax, qword [0x18019d440]
xor rax, rsp
mov qword [rsp + 0xd0], rax
cmp byte [0x1801e4e02], 0
movss xmm7, dword [0x1801a7698]
movss dword [rsp + 0x40], xmm7
je 0x180070ddc
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 - 8], rdi
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x88], xmm15
mov qword [r11 + 8], rbx
call fcn.180033370
lea rcx, [rsp + 0x48]
mov esi, eax
call fcn.18006d860
mov r8d, 1
lea rcx, [rsp + 0x48]
mov edx, esi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xb8], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0xc8], xmm1
call fcn.180039830
lea rcx, [rsp + 0xa0]
xor r8d, r8d
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xa0], xmm0
movsd xmm1, qword [rax + 0x10]
lea rax, [rsp + 0xb8]
sub rcx, rax
movsd qword [rsp + 0xb0], xmm1
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
lea rcx, [rsp + 0x48]
mov rdi, rdx
mov edx, esi
sar rdi, 2
mov rax, rdi
shr rax, 0x3f
add rdi, rax
call fcn.180039830
xor ebp, ebp
mov ecx, esi
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], ebp
movups xmm1, xmmword [rax]
mov dword [rsp + 0x20], ebp
movsd xmm0, qword [rax + 0x10]
movaps xmm2, xmm1
movsd qword [rsp + 0x58], xmm0
shufps xmm2, xmm1, 0xaa
movaps xmm3, xmm0
call fcn.180044c80
cmp byte [0x1801e4e51], bpl
je 0x18007098a
cvttss2si ebx, dword [0x1801a75dc]
call fcn.180033370
mov edx, ebx
mov ecx, eax
call fcn.180045180
cmp byte [0x1801e4e58], bpl
je 0x1800709b5
mov ebx, dword [0x1801e611c]
add ebx, 5
mov dword [0x1801e611c], ebx
call fcn.180033370
movd xmm1, ebx
mov ecx, eax
cvtdq2ps xmm1, xmm1
call fcn.180044d70
movaps xmmword [rsp + 0x130], xmm8
mov ecx, 0x53
movaps xmmword [rsp + 0x120], xmm9
movaps xmmword [rsp + 0x110], xmm10
movaps xmmword [rsp + 0x100], xmm11
movaps xmmword [rsp + 0xf0], xmm12
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm6, dword [0x180189950]
movss xmm15, dword [0x1801895b4]
mov rbx, qword [rsp + 0x170]
test ax, ax
jne 0x180070a1d
mov edx, 0x10c
call fcn.18006f2a0
test eax, eax
je 0x180070bcb
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x180070a38
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x180070a46
mov edx, reloc.WS2_32.dll_setsockopt
call fcn.18006f2a0
test eax, eax
je 0x180070a5b
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
subsd xmm0, qword [0x180189700]
cvttsd2si rdi, xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x180070a76
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x180070a84
mov edx, reloc.WLDAP32.dll_Ordinal_22
call fcn.18006f2a0
test eax, eax
je 0x180070a99
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
addsd xmm0, qword [0x1801896c8]
cvttsd2si rdi, xmm0
xorps xmm0, xmm0
lea rcx, [rsp + 0x48]
cvtsi2ss xmm0, rdi
xor edx, edx
xorps xmm1, xmm1
subss xmm0, xmm7
cvttss2si rax, xmm0
cvtsi2ss xmm1, rax
subss xmm1, dword [0x180189668]
cvttss2si rdi, xmm1
call fcn.18002ad80
movsd xmm1, qword [rax + 0x10]
xorps xmm12, xmm12
mulss xmm1, xmm15
xorps xmm8, xmm8
movups xmm0, xmmword [rax]
cvtss2sd xmm8, xmm1
mulss xmm0, xmm15
cvtss2sd xmm12, xmm0
movaps xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
lea rcx, [rsp + 0x60]
cvtsd2ss xmm1, xmm0
mov r8d, 1
mov edx, esi
xorps xmm11, xmm11
andps xmm1, xmm6
cvtps2pd xmm6, xmm1
cvtsi2ss xmm11, rdi
call fcn.180039830
movups xmm7, xmmword [rax]
movsd xmm10, qword [rax + 0x10]
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm2, xmm2
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm8
xorps xmm1, xmmword [0x180189980]
cvtss2sd xmm2, xmm1
mulsd xmm2, xmm6
cvtpd2ps xmm9, xmm2
mulss xmm9, xmm11
addss xmm9, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
shufps xmm7, xmm7, 0xaa
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm12
cvtps2pd xmm2, xmm1
mulsd xmm2, xmm6
cvtpd2ps xmm6, xmm2
mulss xmm6, xmm11
addss xmm6, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm3, xmm3
mov dword [rsp + 0x30], ebp
cvtsd2ss xmm3, xmm0
mov dword [rsp + 0x28], ebp
mov ecx, esi
mov dword [rsp + 0x20], ebp
movaps xmm2, xmm6
movsd qword [rsp + 0x70], xmm10
mulss xmm3, xmm11
movaps xmm1, xmm9
addss xmm3, xmm10
call fcn.180044c80
movss xmm7, dword [rsp + 0x40]
movss xmm6, dword [0x180189950]
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180070bed
mov edx, 0x10d
call fcn.18006f2a0
test eax, eax
je 0x180070d86
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x180070c08
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x180070c16
mov edx, reloc.WS2_32.dll_setsockopt
call fcn.18006f2a0
test eax, eax
je 0x180070c2b
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
addsd xmm0, qword [0x180189700]
cvttsd2si rdi, xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x180070c46
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x180070c54
mov edx, reloc.WLDAP32.dll_Ordinal_22
call fcn.18006f2a0
test eax, eax
je 0x180070c69
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
subsd xmm0, qword [0x1801896c8]
cvttsd2si rdi, xmm0
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.18002ad80
xorps xmm12, xmm12
xorps xmm10, xmm10
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
mulss xmm0, xmm15
mulss xmm1, xmm15
cvtss2sd xmm12, xmm0
cvtss2sd xmm10, xmm1
movaps xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
lea rcx, [rsp + 0x48]
cvtsd2ss xmm1, xmm0
mov r8d, 1
mov edx, esi
xorps xmm0, xmm0
xorps xmm11, xmm11
andps xmm1, xmm6
cvtps2pd xmm6, xmm1
xorps xmm1, xmm1
cvtsi2ss xmm0, rdi
addss xmm0, xmm7
cvttss2si rax, xmm0
cvtsi2ss xmm1, rax
addss xmm1, dword [0x1801896b8]
cvttss2si rax, xmm1
cvtsi2ss xmm11, rax
call fcn.180039830
movups xmm7, xmmword [rax]
movsd xmm9, qword [rax + 0x10]
movaps xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm2, xmm2
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm10
xorps xmm1, xmmword [0x180189980]
cvtss2sd xmm2, xmm1
mulsd xmm2, xmm6
cvtpd2ps xmm8, xmm2
mulss xmm8, xmm11
addss xmm8, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
shufps xmm7, xmm7, 0xaa
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm12
cvtps2pd xmm2, xmm1
mulsd xmm2, xmm6
cvtpd2ps xmm6, xmm2
mulss xmm6, xmm11
addss xmm6, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm3, xmm3
mov dword [rsp + 0x30], ebp
cvtsd2ss xmm3, xmm0
mov dword [rsp + 0x28], ebp
mov ecx, esi
mov dword [rsp + 0x20], ebp
movaps xmm2, xmm6
movaps xmm1, xmm8
mulss xmm3, xmm11
addss xmm3, xmm9
call fcn.180044c80
movaps xmm12, xmmword [rsp + 0xf0]
movaps xmm11, xmmword [rsp + 0x100]
movaps xmm10, xmmword [rsp + 0x110]
movaps xmm9, xmmword [rsp + 0x120]
movaps xmm8, xmmword [rsp + 0x130]
movaps xmm6, xmmword [rsp + 0x150]
mov rdi, qword [rsp + 0x160]
mov rsi, qword [rsp + 0x180]
mov rbp, qword [rsp + 0x178]
movaps xmm15, xmmword [rsp + 0xe0]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1800d0330
movaps xmm7, xmmword [rsp + 0x140]
add rsp, 0x168
ret