Function at 0x180047330
Capabilities:
Log keystrokes via polling

Disassembly:
test dl, dl
je 0x180047be2
sub rsp, 0x1e8
mov rax, qword [0x1802208c0]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180047bcb
movss xmm0, dword [0x1801e0b40]
mov qword [rsp + 0x1f0], rbx
movabs rbx, 0xe2587f8cbbd87b1d
mov qword [rsp + 0x1e0], rdi
mov qword [rsp + 0x1c8], r14
mov qword [rsp + 0x1c0], r15
xor r15d, r15d
comiss xmm0, dword [0x180261af8]
jbe 0x180047409
call fcn.180026540
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], 2
inc dword [rax + 8]
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], 0x105
mov rcx, rbx
inc dword [rax + 8]
call fcn.1800263e0
call fcn.180026540
mov rcx, qword [rax]
cmp dword [rcx], r15d
je 0x180047409
movss xmm0, dword [0x180261af8]
addss xmm0, dword [0x1801e0a9c]
movss dword [0x180261af8], xmm0
call fcn.180026540
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026540
mov r8d, dword [rax + 8]
mov rdx, qword [rax + 0x10]
mov dword [rdx + r8*8], 2
inc dword [rax + 8]
call fcn.180026540
mov rcx, rbx
mov r8d, dword [rax + 8]
mov rdx, qword [rax + 0x10]
mov dword [rdx + r8*8], 0x106
inc dword [rax + 8]
call fcn.1800263e0
call fcn.180026540
mov rcx, qword [rax]
cmp dword [rcx], r15d
je 0x180047473
movss xmm0, dword [0x180261af8]
addss xmm0, dword [0x1801e0c70]
movss dword [0x180261af8], xmm0
mov dword [rsp + 0xc0], 0xa
call fcn.180026540
movabs rdi, 0xd80958fc74e988a6
mov rcx, rdi
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.1800263e0
call fcn.180026540
mov rcx, qword [rax]
mov ebx, dword [rcx]
call fcn.180026540
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180026540
lea r8, [rsp + 0xc0]
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov qword [rcx + rdx*8], r8
inc dword [rax + 8]
call fcn.180026540
movabs rcx, 0x23f8f5fc7e8c4a6b
mov r8d, dword [rax + 8]
mov rdx, qword [rax + 0x10]
mov dword [rdx + r8*8], 0xffffffff
inc dword [rax + 8]
call fcn.1800263e0
call fcn.180026540
mov dword [rsp + 0x60], 0xa
call fcn.180026540
mov rcx, rdi
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.1800263e0
call fcn.180026540
mov rcx, qword [rax]
mov ebx, dword [rcx]
call fcn.180026540
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180026540
lea r8, [rsp + 0x60]
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov qword [rcx + rdx*8], r8
movabs rcx, 0xcff869cbfa210d82
inc dword [rax + 8]
call fcn.1800263e0
call fcn.180026540
mov rcx, qword [rax]
movsxd r14, dword [rcx]
test r14, r14
jle 0x180047bab
mov qword [rsp + 0x1f8], rbp
movabs rdi, 0x9a9112a0fe9a4713
mov qword [rsp + 0x200], rsi
mov rbp, r15
mov qword [rsp + 0x1d8], r12
movabs rsi, 0x837765a25378f0bb
mov qword [rsp + 0x1d0], r13
movabs r12, 0x524ac5ecea15343e
movaps xmmword [rsp + 0x1b0], xmm6
movabs r13, 0x997abd671d25ca0b
movaps xmmword [rsp + 0x1a0], xmm7
movaps xmmword [rsp + 0x190], xmm8
movaps xmmword [rsp + 0x180], xmm9
movaps xmmword [rsp + 0x170], xmm10
xorps xmm10, xmm10
movaps xmmword [rsp + 0x160], xmm11
movaps xmmword [rsp + 0x150], xmm12
movss xmm12, dword [0x1801e09bc]
movaps xmmword [rsp + 0x140], xmm13
movss xmm13, dword [0x1801e0fe0]
movaps xmmword [rsp + 0x130], xmm14
movss xmm14, dword [0x1801e0fb0]
mov ebx, dword [rsp + rbp*8 + 0x68]
call fcn.180026540
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
mov rcx, r12
inc dword [rax + 8]
call fcn.1800263e0
call fcn.180026540
mov rcx, qword [rax]
cmp dword [rcx], r15d
je 0x18004771a
mov ebx, dword [rsp + rbp*8 + 0x68]
call fcn.180026540
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], r15d
mov rcx, r13
inc dword [rax + 8]
call fcn.1800263e0
call fcn.180026540
mov rcx, qword [rax]
cmp dword [rcx], r15d
je 0x18004771a
mov ebx, dword [rsp + rbp*8 + 0x68]
call fcn.180026540
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], r15d
mov rcx, rdi
inc dword [rax + 8]
call fcn.1800263e0
call fcn.180026540
mov rcx, qword [rax]
mov eax, dword [rcx]
mov dword [rsp + rbp*8 + 0x68], eax
call fcn.180026540
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], r15d
mov rcx, rsi
inc dword [rax + 8]
call fcn.1800263e0
call fcn.180026540
xorps xmm9, xmm9
xorps xmm8, xmm8
mov rcx, qword [rax]
movups xmm0, xmmword [rcx]
movsd xmm1, qword [rcx + 0x10]
mulss xmm0, xmm12
mulss xmm1, xmm12
cvtss2sd xmm9, xmm0
cvtss2sd xmm8, xmm1
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm8
andps xmm1, xmm14
cvtps2pd xmm7, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movss xmm6, dword [0x180261af8]
xorps xmm2, xmm2
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm8
xorps xmm1, xmm13
cvtss2sd xmm2, xmm1
mulsd xmm2, xmm7
cvtpd2ps xmm11, xmm2
mulss xmm11, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm9
cvtps2pd xmm2, xmm1
mulsd xmm2, xmm7
cvtpd2ps xmm8, xmm2
mulss xmm8, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm7, xmm7
cvtsd2ss xmm7, xmm0
mulss xmm7, xmm6
call fcn.180026540
movabs rcx, 0x14d6f5678d8f1b37
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.1800263e0
call fcn.180026540
mov ebx, dword [rsp + rbp*8 + 0x68]
mov rcx, qword [rax]
movups xmm0, xmmword [rcx]
movsd xmm9, qword [rcx + 0x10]
addss xmm11, xmm0
shufps xmm0, xmm0, 0xaa
addss xmm8, xmm0
addss xmm9, xmm7
call fcn.180026540
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], r15d
movabs rcx, 0x3fef770d40960d5a
inc dword [rax + 8]
call fcn.1800263e0
call fcn.180026540
mov rcx, qword [rax]
mov rax, qword [0x180261b88]
movups xmm7, xmmword [rcx]
movsd xmm0, qword [rcx + 0x10]
movzx esi, byte [rax + 0x12a]
movzx edi, byte [rax + 0x129]
movzx ebx, byte [rax + 0x128]
movups xmmword [rsp + 0x20], xmm7
movsd qword [rsp + 0x30], xmm0
call fcn.180026540
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
movss dword [rcx + rdx*8], xmm11
inc dword [rax + 8]
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
movss dword [rcx + rdx*8], xmm8
inc dword [rax + 8]
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
movss dword [rcx + rdx*8], xmm9
inc dword [rax + 8]
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], 0x40800000
inc dword [rax + 8]
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], edi
inc dword [rax + 8]
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], esi
inc dword [rax + 8]
call fcn.180026540
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], 0x3f000000
movabs rcx, 0x799017f9e3b10112
inc dword [rax + 8]
call fcn.1800263e0
mov edx, dword [rsp + rbp*8 + 0x68]
call fcn.1800333c0
mov edx, dword [rsp + rbp*8 + 0xc8]
call fcn.1800333c0
comiss xmm11, xmm10
jbe 0x180047997
comiss xmm7, xmm10
jbe 0x180047997
movaps xmm6, xmm11
subss xmm6, xmm7
movss dword [0x1802e666c], xmm6
jmp 0x18004799f
movss xmm6, dword [0x1802e666c]
comiss xmm10, xmm11
jbe 0x1800479bb
comiss xmm10, xmm7
jbe 0x1800479bb
movaps xmm6, xmm11
subss xmm6, xmm7
movss dword [0x1802e666c], xmm6
comiss xmm11, xmm10
jbe 0x1800479d7
comiss xmm10, xmm7
jbe 0x1800479d7
movaps xmm6, xmm11
addss xmm6, xmm7
movss dword [0x1802e666c], xmm6
comiss xmm10, xmm11
jbe 0x1800479f3
comiss xmm7, xmm10
jbe 0x1800479f3
movaps xmm6, xmm11
addss xmm6, xmm7
movss dword [0x1802e666c], xmm6
comiss xmm8, xmm10
movss xmm0, dword [rsp + 0x28]
movaps xmm11, xmm6
jbe 0x180047a19
comiss xmm0, xmm10
jbe 0x180047a19
movaps xmm6, xmm8
subss xmm6, xmm0
movss dword [0x1802e666c], xmm6
comiss xmm10, xmm8
jbe 0x180047a35
comiss xmm10, xmm0
jbe 0x180047a35
movaps xmm6, xmm8
subss xmm6, xmm0
movss dword [0x1802e666c], xmm6
comiss xmm8, xmm10
jbe 0x180047a51
comiss xmm10, xmm0
jbe 0x180047a51
movaps xmm6, xmm8
addss xmm6, xmm0
movss dword [0x1802e666c], xmm6
comiss xmm10, xmm8
jbe 0x180047a6d
comiss xmm0, xmm10
jbe 0x180047a6d
movaps xmm6, xmm8
addss xmm6, xmm0
movss dword [0x1802e666c], xmm6
comiss xmm9, xmm10
movss xmm0, dword [rsp + 0x30]
movaps xmm7, xmm6
jbe 0x180047a92
comiss xmm0, xmm10
jbe 0x180047a92
movaps xmm6, xmm9
subss xmm6, xmm0
movss dword [0x1802e666c], xmm6
comiss xmm10, xmm9
jbe 0x180047aae
comiss xmm10, xmm0
jbe 0x180047aae
movaps xmm6, xmm9
subss xmm6, xmm0
movss dword [0x1802e666c], xmm6
comiss xmm9, xmm10
jbe 0x180047aca
comiss xmm10, xmm0
jbe 0x180047aca
movaps xmm6, xmm9
addss xmm6, xmm0
movss dword [0x1802e666c], xmm6
comiss xmm10, xmm9
jbe 0x180047ae6
comiss xmm0, xmm10
jbe 0x180047ae6
movaps xmm6, xmm9
addss xmm6, xmm0
movss dword [0x1802e666c], xmm6
mov ecx, dword [rsp + rbp*8 + 0xc8]
addss xmm6, xmm6
addss xmm7, xmm7
addss xmm11, xmm11
movaps xmm3, xmm6
movaps xmm2, xmm7
movaps xmm1, xmm11
call fcn.180040040
mov ecx, dword [rsp + rbp*8 + 0x68]
movaps xmm3, xmm6
movaps xmm2, xmm7
movaps xmm1, xmm11
call fcn.180040040
inc rbp
movabs rdi, 0x9a9112a0fe9a4713
movabs rsi, 0x837765a25378f0bb
cmp rbp, r14
jl 0x180047647
movaps xmm14, xmmword [rsp + 0x130]
movaps xmm13, xmmword [rsp + 0x140]
movaps xmm12, xmmword [rsp + 0x150]
movaps xmm11, xmmword [rsp + 0x160]
movaps xmm10, xmmword [rsp + 0x170]
movaps xmm9, xmmword [rsp + 0x180]
movaps xmm8, xmmword [rsp + 0x190]
movaps xmm7, xmmword [rsp + 0x1a0]
movaps xmm6, xmmword [rsp + 0x1b0]
mov r13, qword [rsp + 0x1d0]
mov r12, qword [rsp + 0x1d8]
mov rsi, qword [rsp + 0x200]
mov rbp, qword [rsp + 0x1f8]
mov r14, qword [rsp + 0x1c8]
mov rdi, qword [rsp + 0x1e0]
mov rbx, qword [rsp + 0x1f0]
mov r15, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.180173e20
add rsp, 0x1e8
ret