Function at 0x180069f90
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x58]
sub rsp, 0x148
movaps xmmword [r11 - 0x48], xmm7
mov rax, qword [0x1801af118]
xor rax, rsp
mov qword [rbp - 0x58], rax
cmp byte [0x18023f147], 0
movss xmm7, dword [0x1801c9f78]
mov rbx, qword [0x18023f130]
movss dword [rsp + 0x70], xmm7
je 0x18006af18
mov rcx, qword [0x1801cc200]
mov qword [r11 + 8], rsi
mov qword [r11 + 0x10], rdi
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x28], r15
mov qword [r11 + 0x18], r12
mov qword [r11 - 0x20], r14
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x58], xmm8
movaps xmmword [r11 - 0x68], xmm9
movaps xmmword [r11 - 0x78], xmm10
movaps xmmword [r11 - 0x88], xmm11
movaps xmmword [r11 - 0x98], xmm12
movaps xmmword [r11 - 0xa8], xmm15
call fcn.180014040
mov rcx, qword [0x1801cc200]
movabs rdx, 0xd80958fc74e988a6
call fcn.1800140c0
mov rcx, qword [0x1801cc200]
mov rax, qword [rcx]
mov r15d, dword [rax]
call fcn.180014040
mov rcx, qword [0x1801cc200]
movabs rdx, 0x14d6f5678d8f1b37
call fcn.1800140c0
mov rcx, qword [0x1801cc200]
mov rax, qword [rcx]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x60], xmm1
call fcn.180014040
mov rdx, qword [0x1801cc200]
xor r13d, r13d
mov qword [rsp + 0x40], r13
movabs rsi, 0x3fef770d40960d5a
mov dword [rsp + 0x40], r15d
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rsp + 0x40], r13
mov byte [rsp + 0x40], 1
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801cc200]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, rsi
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
mov rcx, qword [0x1801cc200]
lea rdx, [rsp + 0x78]
mov rax, qword [rcx]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movsd xmm1, qword [rax + 0x10]
lea rax, [rbp - 0x70]
sub rdx, rax
movsd qword [rbp - 0x78], xmm1
movabs rax, 0x2aaaaaaaaaaaaaab
imul rdx
mov rdi, rdx
sar rdi, 2
mov rax, rdi
shr rax, 0x3f
add rdi, rax
call fcn.180014040
mov rdx, qword [0x1801cc200]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], r15d
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, rsi
mov rcx, qword [0x1801cc200]
mov eax, dword [rcx + 8]
mov qword [rcx + rax*8 + 0x130], r13
inc dword [rcx + 8]
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
mov rax, qword [0x1801cc200]
mov rcx, qword [rax]
movsd xmm1, qword [rcx + 0x10]
movsd qword [rsp + 0x60], xmm1
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x50], xmm0
test rbx, rbx
je 0x18006a81b
cmp rbx, 1
jne 0x18006aeaa
movss xmm3, dword [rsp + 0x60]
mov ecx, r15d
movss xmm2, dword [rsp + 0x58]
movss xmm1, dword [rsp + 0x50]
mov byte [rsp + 0x30], bl
mov byte [rsp + 0x28], bl
mov byte [rsp + 0x20], bl
call fcn.18006f350
lea ecx, [rbx + 0x52]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm8, dword [0x18017a540]
movabs r12, 0x837765a25378f0bb
movss xmm6, dword [0x18017a520]
movabs rsi, 0x91aef906bca88877
movss xmm15, dword [0x180179bac]
test ax, ax
jne 0x18006a225
lea edx, [rbx + 1]
mov r8d, 0x10c
mov rcx, rsi
call fcn.180065a50
test eax, eax
je 0x18006a525
mov rbx, qword [0x1801cc2c8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006a24a
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006a2c2
mov rcx, qword [0x1801cc200]
call fcn.180014040
mov rdx, qword [0x1801cc200]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], 2
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], reloc.WS2_32.dll_setsockopt
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801cc200]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, rsi
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
mov rax, qword [0x1801cc200]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006a2d7
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
subsd xmm0, qword [0x180179d78]
cvttsd2si rdi, xmm0
mov rbx, qword [0x1801cc2c8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006a2fc
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006a374
mov rcx, qword [0x1801cc200]
call fcn.180014040
mov rdx, qword [0x1801cc200]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], 2
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], reloc.WLDAP32.dll_Ordinal_22
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801cc200]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, rsi
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
mov rax, qword [0x1801cc200]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006a389
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
addsd xmm0, qword [0x180179d40]
cvttsd2si rdi, xmm0
xorps xmm0, xmm0
lea rcx, [rsp + 0x50]
cvtsi2ss xmm0, rdi
xor r8d, r8d
mov rdx, r12
xorps xmm1, xmm1
subss xmm0, xmm7
cvttss2si rax, xmm0
cvtsi2ss xmm1, rax
subss xmm1, dword [0x180179c00]
cvttss2si rdi, xmm1
call fcn.180067ae0
movss xmm0, dword [rsp + 0x50]
movss xmm1, dword [rsp + 0x60]
mulss xmm0, xmm15
mulss xmm1, xmm15
cvtps2pd xmm12, xmm0
cvtps2pd xmm10, xmm1
movaps xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
mov rcx, qword [0x1801cc200]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm11, xmm11
andps xmm1, xmm6
cvtps2pd xmm6, xmm1
cvtsi2ss xmm11, rdi
call fcn.180014040
mov rdx, qword [0x1801cc200]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], r15d
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rsp + 0x40], r13
mov byte [rsp + 0x40], 1
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801cc200]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
movabs rdx, 0x3fef770d40960d5a
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
mov rax, qword [0x1801cc200]
movaps xmm0, xmm10
mov rcx, qword [rax]
movups xmm7, xmmword [rcx]
movsd xmm9, qword [rcx + 0x10]
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, xmm8
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 byte [rsp + 0x30], 1
cvtsd2ss xmm3, xmm0
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
movsd qword [rsp + 0x60], xmm9
movaps xmm2, xmm6
mulss xmm3, xmm11
addss xmm3, xmm9
movaps xmm1, xmm8
mov ecx, r15d
call fcn.18006f350
movss xmm8, dword [0x18017a540]
movss xmm6, dword [0x18017a520]
movss xmm7, dword [rsp + 0x70]
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x18006a550
mov edx, 2
mov r8d, 0x10d
mov rcx, rsi
call fcn.180065a50
test eax, eax
je 0x18006aeaa
mov rbx, qword [0x1801cc2c8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006a575
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006a5ed
mov rcx, qword [0x1801cc200]
call fcn.180014040
mov rdx, qword [0x1801cc200]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], 2
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], reloc.WS2_32.dll_setsockopt
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801cc200]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, rsi
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
mov rax, qword [0x1801cc200]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006a602
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
addsd xmm0, qword [0x180179d78]
cvttsd2si rdi, xmm0
mov rbx, qword [0x1801cc2c8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006a627
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006a69f
mov rcx, qword [0x1801cc200]
call fcn.180014040
mov rdx, qword [0x1801cc200]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], 2
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], reloc.WLDAP32.dll_Ordinal_22
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801cc200]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, rsi
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
mov rax, qword [0x1801cc200]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006a6b4
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
subsd xmm0, qword [0x180179d40]
cvttsd2si rdi, xmm0
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.180067ae0
movss xmm0, dword [rsp + 0x50]
movss xmm1, dword [rsp + 0x60]
mulss xmm0, xmm15
mulss xmm1, xmm15
cvtps2pd xmm12, xmm0
cvtps2pd xmm10, xmm1
movaps xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
mov rcx, qword [0x1801cc200]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
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 [0x180179c94]
cvttss2si rax, xmm1
cvtsi2ss xmm11, rax
call fcn.180014040
mov r8, qword [0x1801cc200]
movabs rdx, 0x3fef770d40960d5a
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], r15d
mov rax, qword [rsp + 0x40]
mov ecx, dword [r8 + 8]
mov qword [rsp + 0x40], r13
mov byte [rsp + 0x40], 1
mov qword [r8 + rcx*8 + 0x130], rax
inc dword [r8 + 8]
mov r8, qword [0x1801cc200]
mov rax, qword [rsp + 0x40]
mov ecx, dword [r8 + 8]
mov qword [r8 + rcx*8 + 0x130], rax
inc dword [r8 + 8]
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
mov rax, qword [0x1801cc200]
movaps xmm0, xmm10
mov rcx, qword [rax]
movups xmm7, xmmword [rcx]
movsd xmm9, qword [rcx + 0x10]
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, xmm8
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
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
jmp 0x18006ae8a
movss xmm3, dword [rsp + 0x60]
mov ecx, r15d
movss xmm2, dword [rsp + 0x58]
movss xmm1, dword [rsp + 0x50]
mov byte [rsp + 0x30], r13b
mov byte [rsp + 0x28], r13b
mov byte [rsp + 0x20], r13b
call fcn.18006f350
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm8, dword [0x18017a540]
movabs r12, 0x837765a25378f0bb
movss xmm6, dword [0x18017a520]
movabs rsi, 0x91aef906bca88877
movss xmm15, dword [0x180179bac]
test ax, ax
jne 0x18006a89d
mov edx, 2
mov r8d, 0x10c
mov rcx, rsi
call fcn.180065a50
test eax, eax
je 0x18006ab9d
mov rbx, qword [0x1801cc2c8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006a8c2
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006a93a
mov rcx, qword [0x1801cc200]
call fcn.180014040
mov rdx, qword [0x1801cc200]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], 2
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], reloc.WS2_32.dll_setsockopt
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801cc200]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, rsi
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
mov rax, qword [0x1801cc200]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006a94f
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
subsd xmm0, qword [0x180179d78]
cvttsd2si rdi, xmm0
mov rbx, qword [0x1801cc2c8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006a974
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006a9ec
mov rcx, qword [0x1801cc200]
call fcn.180014040
mov rdx, qword [0x1801cc200]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], 2
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], reloc.WLDAP32.dll_Ordinal_22
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801cc200]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, rsi
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
mov rax, qword [0x1801cc200]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006aa01
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
addsd xmm0, qword [0x180179d40]
cvttsd2si rdi, xmm0
xorps xmm0, xmm0
lea rcx, [rsp + 0x50]
cvtsi2ss xmm0, rdi
xor r8d, r8d
mov rdx, r12
xorps xmm1, xmm1
subss xmm0, xmm7
cvttss2si rax, xmm0
cvtsi2ss xmm1, rax
subss xmm1, dword [0x180179c00]
cvttss2si rdi, xmm1
call fcn.180067ae0
movss xmm0, dword [rsp + 0x50]
movss xmm1, dword [rsp + 0x60]
mulss xmm0, xmm15
mulss xmm1, xmm15
cvtps2pd xmm12, xmm0
cvtps2pd xmm10, xmm1
movaps xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
mov rcx, qword [0x1801cc200]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm11, xmm11
andps xmm1, xmm6
cvtps2pd xmm6, xmm1
cvtsi2ss xmm11, rdi
call fcn.180014040
mov rdx, qword [0x1801cc200]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], r15d
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rsp + 0x40], r13
mov byte [rsp + 0x40], 1
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801cc200]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
movabs rdx, 0x3fef770d40960d5a
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
mov rax, qword [0x1801cc200]
movaps xmm0, xmm10
mov rcx, qword [rax]
movups xmm7, xmmword [rcx]
movsd xmm9, qword [rcx + 0x10]
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, xmm8
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 byte [rsp + 0x30], r13b
cvtsd2ss xmm3, xmm0
mov byte [rsp + 0x28], r13b
mov byte [rsp + 0x20], r13b
movsd qword [rsp + 0x60], xmm9
movaps xmm2, xmm6
mulss xmm3, xmm11
addss xmm3, xmm9
movaps xmm1, xmm8
mov ecx, r15d
call fcn.18006f350
movss xmm8, dword [0x18017a540]
movss xmm6, dword [0x18017a520]
movss xmm7, dword [rsp + 0x70]
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x18006abc8
mov edx, 2
mov r8d, 0x10d
mov rcx, rsi
call fcn.180065a50
test eax, eax
je 0x18006aeaa
mov rbx, qword [0x1801cc2c8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006abed
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006ac65
mov rcx, qword [0x1801cc200]
call fcn.180014040
mov rdx, qword [0x1801cc200]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], 2
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], reloc.WS2_32.dll_setsockopt
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801cc200]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, rsi
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
mov rax, qword [0x1801cc200]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006ac7a
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
addsd xmm0, qword [0x180179d78]
cvttsd2si rdi, xmm0
mov rbx, qword [0x1801cc2c8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006ac9f
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006ad17
mov rcx, qword [0x1801cc200]
call fcn.180014040
mov rdx, qword [0x1801cc200]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], 2
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], reloc.WLDAP32.dll_Ordinal_22
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801cc200]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, rsi
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
mov rax, qword [0x1801cc200]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006ad2c
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
subsd xmm0, qword [0x180179d40]
cvttsd2si rdi, xmm0
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.180067ae0
movss xmm0, dword [rsp + 0x50]
movss xmm1, dword [rsp + 0x60]
mulss xmm0, xmm15
mulss xmm1, xmm15
cvtps2pd xmm12, xmm0
cvtps2pd xmm10, xmm1
movaps xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
mov rcx, qword [0x1801cc200]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
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 [0x180179c94]
cvttss2si rax, xmm1
cvtsi2ss xmm11, rax
call fcn.180014040
mov rdx, qword [0x1801cc200]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x40], r15d
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rsp + 0x40], r13
mov byte [rsp + 0x40], 1
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
mov rdx, qword [0x1801cc200]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
movabs rdx, 0x3fef770d40960d5a
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
mov rax, qword [0x1801cc200]
movaps xmm0, xmm10
mov rcx, qword [rax]
movups xmm7, xmmword [rcx]
movsd xmm9, qword [rcx + 0x10]
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, xmm8
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
mov byte [rsp + 0x30], r13b
mov byte [rsp + 0x28], r13b
mov byte [rsp + 0x20], r13b
xorps xmm3, xmm3
movaps xmm2, xmm6
cvtsd2ss xmm3, xmm0
mov ecx, r15d
movaps xmm1, xmm8
mulss xmm3, xmm11
addss xmm3, xmm9
call fcn.18006f350
movaps xmm12, xmmword [rsp + 0xc0]
movaps xmm11, xmmword [rsp + 0xd0]
movaps xmm10, xmmword [rsp + 0xe0]
movaps xmm9, xmmword [rsp + 0xf0]
movaps xmm8, xmmword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0x120]
mov r12, qword [rsp + 0x170]
mov r14, qword [rsp + 0x138]
movaps xmm15, xmmword [rsp + 0xb0]
mov r13, qword [rsp + 0x140]
mov rdi, qword [rsp + 0x168]
mov rsi, qword [rsp + 0x160]
mov r15, qword [rsp + 0x130]
mov rcx, qword [rbp - 0x58]
xor rcx, rsp
call fcn.1801274b0
movaps xmm7, xmmword [rsp + 0x110]
add rsp, 0x148
pop rbx
pop rbp
ret