Function at 0x18006dff0
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 [0x1801ca118]
xor rax, rsp
mov qword [rbp - 0x58], rax
cmp byte [0x18025cdb7], 0
movss xmm7, dword [0x1801e3c98]
mov rbx, qword [0x18025cd98]
movss dword [rsp + 0x70], xmm7
je 0x18006ef78
mov rcx, qword [0x1801e68c8]
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.180001db0
mov rcx, qword [0x1801e68c8]
movabs rdx, 0xd80958fc74e988a6
call fcn.180001e60
mov rcx, qword [0x1801e68c8]
mov rax, qword [rcx]
mov r15d, dword [rax]
call fcn.180001db0
mov rcx, qword [0x1801e68c8]
movabs rdx, 0x14d6f5678d8f1b37
call fcn.180001e60
mov rcx, qword [0x1801e68c8]
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.180001db0
mov rdx, qword [0x1801e68c8]
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 [0x1801e68c8]
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 [0x1801e68c8]
call fcn.180001e60
mov rcx, qword [0x1801e68c8]
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.180001db0
mov rdx, qword [0x1801e68c8]
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 [0x1801e68c8]
mov eax, dword [rcx + 8]
mov qword [rcx + rax*8 + 0x130], r13
inc dword [rcx + 8]
mov rcx, qword [0x1801e68c8]
call fcn.180001e60
mov rax, qword [0x1801e68c8]
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 0x18006e87b
cmp rbx, 1
jne 0x18006ef0a
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.1800748b0
lea ecx, [rbx + 0x52]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm8, dword [0x180193370]
movabs r12, 0x837765a25378f0bb
movss xmm6, dword [0x180193350]
movabs rsi, 0x91aef906bca88877
movss xmm15, dword [0x180192a98]
test ax, ax
jne 0x18006e285
lea edx, [rbx + 1]
mov r8d, 0x10c
mov rcx, rsi
call fcn.180069d00
test eax, eax
je 0x18006e585
mov rbx, qword [0x1801e68d0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006e2aa
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006e322
mov rcx, qword [0x1801e68c8]
call fcn.180001db0
mov rdx, qword [0x1801e68c8]
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 [0x1801e68c8]
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 [0x1801e68c8]
call fcn.180001e60
mov rax, qword [0x1801e68c8]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006e337
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
subsd xmm0, qword [0x180192c78]
cvttsd2si rdi, xmm0
mov rbx, qword [0x1801e68d0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006e35c
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006e3d4
mov rcx, qword [0x1801e68c8]
call fcn.180001db0
mov rdx, qword [0x1801e68c8]
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 [0x1801e68c8]
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 [0x1801e68c8]
call fcn.180001e60
mov rax, qword [0x1801e68c8]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006e3e9
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
addsd xmm0, qword [0x180192c28]
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 [0x180192b00]
cvttss2si rdi, xmm1
call fcn.18006bb40
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 [0x1801e68c8]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm11, xmm11
andps xmm1, xmm6
cvtps2pd xmm6, xmm1
cvtsi2ss xmm11, rdi
call fcn.180001db0
mov rdx, qword [0x1801e68c8]
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 [0x1801e68c8]
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 [0x1801e68c8]
call fcn.180001e60
mov rax, qword [0x1801e68c8]
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.1800748b0
movss xmm8, dword [0x180193370]
movss xmm6, dword [0x180193350]
movss xmm7, dword [rsp + 0x70]
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x18006e5b0
mov edx, 2
mov r8d, 0x10d
mov rcx, rsi
call fcn.180069d00
test eax, eax
je 0x18006ef0a
mov rbx, qword [0x1801e68d0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006e5d5
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006e64d
mov rcx, qword [0x1801e68c8]
call fcn.180001db0
mov rdx, qword [0x1801e68c8]
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 [0x1801e68c8]
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 [0x1801e68c8]
call fcn.180001e60
mov rax, qword [0x1801e68c8]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006e662
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
addsd xmm0, qword [0x180192c78]
cvttsd2si rdi, xmm0
mov rbx, qword [0x1801e68d0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006e687
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006e6ff
mov rcx, qword [0x1801e68c8]
call fcn.180001db0
mov rdx, qword [0x1801e68c8]
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 [0x1801e68c8]
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 [0x1801e68c8]
call fcn.180001e60
mov rax, qword [0x1801e68c8]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006e714
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
subsd xmm0, qword [0x180192c28]
cvttsd2si rdi, xmm0
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.18006bb40
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 [0x1801e68c8]
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 [0x180192b7c]
cvttss2si rax, xmm1
cvtsi2ss xmm11, rax
call fcn.180001db0
mov r8, qword [0x1801e68c8]
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 [0x1801e68c8]
mov rax, qword [rsp + 0x40]
mov ecx, dword [r8 + 8]
mov qword [r8 + rcx*8 + 0x130], rax
inc dword [r8 + 8]
mov rcx, qword [0x1801e68c8]
call fcn.180001e60
mov rax, qword [0x1801e68c8]
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 0x18006eeea
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.1800748b0
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm8, dword [0x180193370]
movabs r12, 0x837765a25378f0bb
movss xmm6, dword [0x180193350]
movabs rsi, 0x91aef906bca88877
movss xmm15, dword [0x180192a98]
test ax, ax
jne 0x18006e8fd
mov edx, 2
mov r8d, 0x10c
mov rcx, rsi
call fcn.180069d00
test eax, eax
je 0x18006ebfd
mov rbx, qword [0x1801e68d0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006e922
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006e99a
mov rcx, qword [0x1801e68c8]
call fcn.180001db0
mov rdx, qword [0x1801e68c8]
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 [0x1801e68c8]
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 [0x1801e68c8]
call fcn.180001e60
mov rax, qword [0x1801e68c8]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006e9af
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
subsd xmm0, qword [0x180192c78]
cvttsd2si rdi, xmm0
mov rbx, qword [0x1801e68d0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006e9d4
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006ea4c
mov rcx, qword [0x1801e68c8]
call fcn.180001db0
mov rdx, qword [0x1801e68c8]
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 [0x1801e68c8]
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 [0x1801e68c8]
call fcn.180001e60
mov rax, qword [0x1801e68c8]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006ea61
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
addsd xmm0, qword [0x180192c28]
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 [0x180192b00]
cvttss2si rdi, xmm1
call fcn.18006bb40
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 [0x1801e68c8]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm11, xmm11
andps xmm1, xmm6
cvtps2pd xmm6, xmm1
cvtsi2ss xmm11, rdi
call fcn.180001db0
mov rdx, qword [0x1801e68c8]
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 [0x1801e68c8]
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 [0x1801e68c8]
call fcn.180001e60
mov rax, qword [0x1801e68c8]
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.1800748b0
movss xmm8, dword [0x180193370]
movss xmm6, dword [0x180193350]
movss xmm7, dword [rsp + 0x70]
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x18006ec28
mov edx, 2
mov r8d, 0x10d
mov rcx, rsi
call fcn.180069d00
test eax, eax
je 0x18006ef0a
mov rbx, qword [0x1801e68d0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006ec4d
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006ecc5
mov rcx, qword [0x1801e68c8]
call fcn.180001db0
mov rdx, qword [0x1801e68c8]
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 [0x1801e68c8]
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 [0x1801e68c8]
call fcn.180001e60
mov rax, qword [0x1801e68c8]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006ecda
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
addsd xmm0, qword [0x180192c78]
cvttsd2si rdi, xmm0
mov rbx, qword [0x1801e68d0]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006ecff
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006ed77
mov rcx, qword [0x1801e68c8]
call fcn.180001db0
mov rdx, qword [0x1801e68c8]
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 [0x1801e68c8]
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 [0x1801e68c8]
call fcn.180001e60
mov rax, qword [0x1801e68c8]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006ed8c
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
subsd xmm0, qword [0x180192c28]
cvttsd2si rdi, xmm0
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.18006bb40
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 [0x1801e68c8]
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 [0x180192b7c]
cvttss2si rax, xmm1
cvtsi2ss xmm11, rax
call fcn.180001db0
mov rdx, qword [0x1801e68c8]
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 [0x1801e68c8]
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 [0x1801e68c8]
call fcn.180001e60
mov rax, qword [0x1801e68c8]
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.1800748b0
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.180137e50
movaps xmm7, xmmword [rsp + 0x110]
add rsp, 0x148
pop rbx
pop rbp
ret