Function at 0x18006d2c0
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 [0x1801ac118]
xor rax, rsp
mov qword [rbp - 0x58], rax
cmp byte [0x18023aa03], 0
movss xmm7, dword [0x1801c6f78]
mov rbx, qword [0x18023a9e8]
movss dword [rsp + 0x70], xmm7
je 0x18006e248
mov rcx, qword [0x1801c9230]
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.1800141b0
mov rcx, qword [0x1801c9230]
movabs rdx, 0xd80958fc74e988a6
call fcn.180014230
mov rcx, qword [0x1801c9230]
mov rax, qword [rcx]
mov r15d, dword [rax]
call fcn.1800141b0
mov rcx, qword [0x1801c9230]
movabs rdx, 0x14d6f5678d8f1b37
call fcn.180014230
mov rcx, qword [0x1801c9230]
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.1800141b0
mov rdx, qword [0x1801c9230]
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 [0x1801c9230]
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 [0x1801c9230]
call fcn.180014230
mov rcx, qword [0x1801c9230]
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.1800141b0
mov rdx, qword [0x1801c9230]
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 [0x1801c9230]
mov eax, dword [rcx + 8]
mov qword [rcx + rax*8 + 0x130], r13
inc dword [rcx + 8]
mov rcx, qword [0x1801c9230]
call fcn.180014230
mov rax, qword [0x1801c9230]
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 0x18006db4b
cmp rbx, 1
jne 0x18006e1da
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.180072c90
lea ecx, [rbx + 0x52]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm8, dword [0x180177910]
movabs r12, 0x837765a25378f0bb
movss xmm6, dword [0x1801778f0]
movabs rsi, 0x91aef906bca88877
movss xmm15, dword [0x1801770d8]
test ax, ax
jne 0x18006d555
lea edx, [rbx + 1]
mov r8d, 0x10c
mov rcx, rsi
call fcn.180068fd0
test eax, eax
je 0x18006d855
mov rbx, qword [0x1801c9318]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006d57a
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006d5f2
mov rcx, qword [0x1801c9230]
call fcn.1800141b0
mov rdx, qword [0x1801c9230]
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 [0x1801c9230]
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 [0x1801c9230]
call fcn.180014230
mov rax, qword [0x1801c9230]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006d607
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
subsd xmm0, qword [0x180177280]
cvttsd2si rdi, xmm0
mov rbx, qword [0x1801c9318]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006d62c
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006d6a4
mov rcx, qword [0x1801c9230]
call fcn.1800141b0
mov rdx, qword [0x1801c9230]
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 [0x1801c9230]
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 [0x1801c9230]
call fcn.180014230
mov rax, qword [0x1801c9230]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006d6b9
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
addsd xmm0, qword [0x180177230]
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 [0x180177138]
cvttss2si rdi, xmm1
call fcn.18006ae10
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 [0x1801c9230]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm11, xmm11
andps xmm1, xmm6
cvtps2pd xmm6, xmm1
cvtsi2ss xmm11, rdi
call fcn.1800141b0
mov rdx, qword [0x1801c9230]
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 [0x1801c9230]
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 [0x1801c9230]
call fcn.180014230
mov rax, qword [0x1801c9230]
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.180072c90
movss xmm8, dword [0x180177910]
movss xmm6, dword [0x1801778f0]
movss xmm7, dword [rsp + 0x70]
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x18006d880
mov edx, 2
mov r8d, 0x10d
mov rcx, rsi
call fcn.180068fd0
test eax, eax
je 0x18006e1da
mov rbx, qword [0x1801c9318]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006d8a5
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006d91d
mov rcx, qword [0x1801c9230]
call fcn.1800141b0
mov rdx, qword [0x1801c9230]
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 [0x1801c9230]
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 [0x1801c9230]
call fcn.180014230
mov rax, qword [0x1801c9230]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006d932
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
addsd xmm0, qword [0x180177280]
cvttsd2si rdi, xmm0
mov rbx, qword [0x1801c9318]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006d957
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006d9cf
mov rcx, qword [0x1801c9230]
call fcn.1800141b0
mov rdx, qword [0x1801c9230]
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 [0x1801c9230]
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 [0x1801c9230]
call fcn.180014230
mov rax, qword [0x1801c9230]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006d9e4
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
subsd xmm0, qword [0x180177230]
cvttsd2si rdi, xmm0
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.18006ae10
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 [0x1801c9230]
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 [0x180177198]
cvttss2si rax, xmm1
cvtsi2ss xmm11, rax
call fcn.1800141b0
mov r8, qword [0x1801c9230]
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 [0x1801c9230]
mov rax, qword [rsp + 0x40]
mov ecx, dword [r8 + 8]
mov qword [r8 + rcx*8 + 0x130], rax
inc dword [r8 + 8]
mov rcx, qword [0x1801c9230]
call fcn.180014230
mov rax, qword [0x1801c9230]
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 0x18006e1ba
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.180072c90
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm8, dword [0x180177910]
movabs r12, 0x837765a25378f0bb
movss xmm6, dword [0x1801778f0]
movabs rsi, 0x91aef906bca88877
movss xmm15, dword [0x1801770d8]
test ax, ax
jne 0x18006dbcd
mov edx, 2
mov r8d, 0x10c
mov rcx, rsi
call fcn.180068fd0
test eax, eax
je 0x18006decd
mov rbx, qword [0x1801c9318]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006dbf2
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006dc6a
mov rcx, qword [0x1801c9230]
call fcn.1800141b0
mov rdx, qword [0x1801c9230]
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 [0x1801c9230]
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 [0x1801c9230]
call fcn.180014230
mov rax, qword [0x1801c9230]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006dc7f
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
subsd xmm0, qword [0x180177280]
cvttsd2si rdi, xmm0
mov rbx, qword [0x1801c9318]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006dca4
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006dd1c
mov rcx, qword [0x1801c9230]
call fcn.1800141b0
mov rdx, qword [0x1801c9230]
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 [0x1801c9230]
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 [0x1801c9230]
call fcn.180014230
mov rax, qword [0x1801c9230]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006dd31
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
addsd xmm0, qword [0x180177230]
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 [0x180177138]
cvttss2si rdi, xmm1
call fcn.18006ae10
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 [0x1801c9230]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm11, xmm11
andps xmm1, xmm6
cvtps2pd xmm6, xmm1
cvtsi2ss xmm11, rdi
call fcn.1800141b0
mov rdx, qword [0x1801c9230]
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 [0x1801c9230]
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 [0x1801c9230]
call fcn.180014230
mov rax, qword [0x1801c9230]
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.180072c90
movss xmm8, dword [0x180177910]
movss xmm6, dword [0x1801778f0]
movss xmm7, dword [rsp + 0x70]
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x18006def8
mov edx, 2
mov r8d, 0x10d
mov rcx, rsi
call fcn.180068fd0
test eax, eax
je 0x18006e1da
mov rbx, qword [0x1801c9318]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006df1d
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006df95
mov rcx, qword [0x1801c9230]
call fcn.1800141b0
mov rdx, qword [0x1801c9230]
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 [0x1801c9230]
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 [0x1801c9230]
call fcn.180014230
mov rax, qword [0x1801c9230]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006dfaa
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
addsd xmm0, qword [0x180177280]
cvttsd2si rdi, xmm0
mov rbx, qword [0x1801c9318]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x18006dfcf
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x18006e047
mov rcx, qword [0x1801c9230]
call fcn.1800141b0
mov rdx, qword [0x1801c9230]
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 [0x1801c9230]
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 [0x1801c9230]
call fcn.180014230
mov rax, qword [0x1801c9230]
mov rcx, qword [rax]
cmp dword [rcx], r13d
je 0x18006e05c
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
subsd xmm0, qword [0x180177230]
cvttsd2si rdi, xmm0
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.18006ae10
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 [0x1801c9230]
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 [0x180177198]
cvttss2si rax, xmm1
cvtsi2ss xmm11, rax
call fcn.1800141b0
mov rdx, qword [0x1801c9230]
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 [0x1801c9230]
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 [0x1801c9230]
call fcn.180014230
mov rax, qword [0x1801c9230]
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.180072c90
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.18012d340
movaps xmm7, xmmword [rsp + 0x110]
add rsp, 0x148
pop rbx
pop rbp
ret