Function at 0x180067640
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 [0x180187118]
xor rax, rsp
mov qword [rbp - 0x58], rax
cmp byte [0x18020d8bf], 0
movss xmm7, dword [0x1801a1f78]
mov rbx, qword [0x18020d8a8]
movss dword [rsp + 0x70], xmm7
je 0x1800685c8
mov rcx, qword [0x1801a4200]
mov qword [r11 + 8], rsi
mov qword [r11 + 0x10], rdi
mov qword [r11 + 0x18], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
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.180014080
mov rcx, qword [0x1801a4200]
movabs rdx, 0xd80958fc74e988a6
call fcn.180014100
mov rcx, qword [0x1801a4200]
mov rax, qword [rcx]
mov r15d, dword [rax]
call fcn.180014080
mov rcx, qword [0x1801a4200]
movabs rdx, 0x14d6f5678d8f1b37
call fcn.180014100
mov rcx, qword [0x1801a4200]
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.180014080
mov rdx, qword [0x1801a4200]
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 [0x1801a4200]
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 [0x1801a4200]
call fcn.180014100
mov rcx, qword [0x1801a4200]
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.180014080
mov rdx, qword [0x1801a4200]
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 [0x1801a4200]
mov eax, dword [rcx + 8]
mov qword [rcx + rax*8 + 0x130], r13
inc dword [rcx + 8]
mov rcx, qword [0x1801a4200]
call fcn.180014100
mov rax, qword [0x1801a4200]
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 0x180067ecb
cmp rbx, 1
jne 0x18006855a
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.18006ced0
lea ecx, [rbx + 0x52]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm8, dword [0x180158c50]
movabs r12, 0x837765a25378f0bb
movss xmm6, dword [0x180158c30]
movabs rsi, 0x91aef906bca88877
movss xmm15, dword [0x180158350]
test ax, ax
jne 0x1800678d5
lea edx, [rbx + 1]
mov r8d, 0x10c
mov rcx, rsi
call fcn.1800637e0
test eax, eax
je 0x180067bd5
mov rbx, qword [0x1801a42e8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x1800678fa
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x180067972
mov rcx, qword [0x1801a4200]
call fcn.180014080
mov rdx, qword [0x1801a4200]
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 [0x1801a4200]
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 [0x1801a4200]
call fcn.180014100
mov rax, qword [0x1801a4200]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x180067987
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
subsd xmm0, qword [0x1801584c0]
cvttsd2si rdi, xmm0
mov rbx, qword [0x1801a42e8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x1800679ac
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x180067a24
mov rcx, qword [0x1801a4200]
call fcn.180014080
mov rdx, qword [0x1801a4200]
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 [0x1801a4200]
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 [0x1801a4200]
call fcn.180014100
mov rax, qword [0x1801a4200]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x180067a39
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
addsd xmm0, qword [0x180158478]
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 [0x180158380]
cvttss2si rdi, xmm1
call fcn.180065190
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 [0x1801a4200]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm11, xmm11
andps xmm1, xmm6
cvtps2pd xmm6, xmm1
cvtsi2ss xmm11, rdi
call fcn.180014080
mov rdx, qword [0x1801a4200]
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 [0x1801a4200]
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 [0x1801a4200]
call fcn.180014100
mov rax, qword [0x1801a4200]
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.18006ced0
movss xmm8, dword [0x180158c50]
movss xmm6, dword [0x180158c30]
movss xmm7, dword [rsp + 0x70]
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180067c00
mov edx, 2
mov r8d, 0x10d
mov rcx, rsi
call fcn.1800637e0
test eax, eax
je 0x18006855a
mov rbx, qword [0x1801a42e8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x180067c25
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x180067c9d
mov rcx, qword [0x1801a4200]
call fcn.180014080
mov rdx, qword [0x1801a4200]
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 [0x1801a4200]
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 [0x1801a4200]
call fcn.180014100
mov rax, qword [0x1801a4200]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x180067cb2
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
addsd xmm0, qword [0x1801584c0]
cvttsd2si rdi, xmm0
mov rbx, qword [0x1801a42e8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x180067cd7
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x180067d4f
mov rcx, qword [0x1801a4200]
call fcn.180014080
mov rdx, qword [0x1801a4200]
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 [0x1801a4200]
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 [0x1801a4200]
call fcn.180014100
mov rax, qword [0x1801a4200]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x180067d64
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
subsd xmm0, qword [0x180158478]
cvttsd2si rdi, xmm0
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.180065190
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 [0x1801a4200]
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 [0x1801583ec]
cvttss2si rax, xmm1
cvtsi2ss xmm11, rax
call fcn.180014080
mov r8, qword [0x1801a4200]
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 [0x1801a4200]
mov rax, qword [rsp + 0x40]
mov ecx, dword [r8 + 8]
mov qword [r8 + rcx*8 + 0x130], rax
inc dword [r8 + 8]
mov rcx, qword [0x1801a4200]
call fcn.180014100
mov rax, qword [0x1801a4200]
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 0x18006853a
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.18006ced0
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm8, dword [0x180158c50]
movabs r12, 0x837765a25378f0bb
movss xmm6, dword [0x180158c30]
movabs rsi, 0x91aef906bca88877
movss xmm15, dword [0x180158350]
test ax, ax
jne 0x180067f4d
mov edx, 2
mov r8d, 0x10c
mov rcx, rsi
call fcn.1800637e0
test eax, eax
je 0x18006824d
mov rbx, qword [0x1801a42e8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x180067f72
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x180067fea
mov rcx, qword [0x1801a4200]
call fcn.180014080
mov rdx, qword [0x1801a4200]
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 [0x1801a4200]
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 [0x1801a4200]
call fcn.180014100
mov rax, qword [0x1801a4200]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x180067fff
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
subsd xmm0, qword [0x1801584c0]
cvttsd2si rdi, xmm0
mov rbx, qword [0x1801a42e8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x180068024
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006809c
mov rcx, qword [0x1801a4200]
call fcn.180014080
mov rdx, qword [0x1801a4200]
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 [0x1801a4200]
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 [0x1801a4200]
call fcn.180014100
mov rax, qword [0x1801a4200]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x1800680b1
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
addsd xmm0, qword [0x180158478]
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 [0x180158380]
cvttss2si rdi, xmm1
call fcn.180065190
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 [0x1801a4200]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm11, xmm11
andps xmm1, xmm6
cvtps2pd xmm6, xmm1
cvtsi2ss xmm11, rdi
call fcn.180014080
mov rdx, qword [0x1801a4200]
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 [0x1801a4200]
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 [0x1801a4200]
call fcn.180014100
mov rax, qword [0x1801a4200]
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.18006ced0
movss xmm8, dword [0x180158c50]
movss xmm6, dword [0x180158c30]
movss xmm7, dword [rsp + 0x70]
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180068278
mov edx, 2
mov r8d, 0x10d
mov rcx, rsi
call fcn.1800637e0
test eax, eax
je 0x18006855a
mov rbx, qword [0x1801a42e8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006829d
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x180068315
mov rcx, qword [0x1801a4200]
call fcn.180014080
mov rdx, qword [0x1801a4200]
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 [0x1801a4200]
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 [0x1801a4200]
call fcn.180014100
mov rax, qword [0x1801a4200]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006832a
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
addsd xmm0, qword [0x1801584c0]
cvttsd2si rdi, xmm0
mov rbx, qword [0x1801a42e8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006834f
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x1800683c7
mov rcx, qword [0x1801a4200]
call fcn.180014080
mov rdx, qword [0x1801a4200]
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 [0x1801a4200]
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 [0x1801a4200]
call fcn.180014100
mov rax, qword [0x1801a4200]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x1800683dc
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
subsd xmm0, qword [0x180158478]
cvttsd2si rdi, xmm0
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.180065190
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 [0x1801a4200]
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 [0x1801583ec]
cvttss2si rax, xmm1
cvtsi2ss xmm11, rax
call fcn.180014080
mov rdx, qword [0x1801a4200]
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 [0x1801a4200]
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 [0x1801a4200]
call fcn.180014100
mov rax, qword [0x1801a4200]
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.18006ced0
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 r15, qword [rsp + 0x130]
mov r14, qword [rsp + 0x138]
mov r13, qword [rsp + 0x140]
mov r12, qword [rsp + 0x170]
mov rdi, qword [rsp + 0x168]
mov rsi, qword [rsp + 0x160]
movaps xmm15, xmmword [rsp + 0xb0]
mov rcx, qword [rbp - 0x58]
xor rcx, rsp
call fcn.18011b980
movaps xmm7, xmmword [rsp + 0x110]
add rsp, 0x148
pop rbx
pop rbp
ret