Function at 0x180047b40
Capabilities:
Log keystrokes via polling

Disassembly:
test dl, dl
je 0x1800483f5
sub rsp, 0x1e8
mov rax, qword [0x18021c8c0]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800483de
movss xmm0, dword [0x1801dc704]
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 [0x18025dab8]
jbe 0x180047c19
call fcn.180026870
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026870
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], 2
inc dword [rax + 8]
call fcn.180026870
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.180026710
call fcn.180026870
mov rcx, qword [rax]
cmp dword [rcx], r15d
je 0x180047c19
movss xmm0, dword [0x18025dab8]
addss xmm0, dword [0x1801dc664]
movss dword [0x18025dab8], xmm0
call fcn.180026870
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026870
mov r8d, dword [rax + 8]
mov rdx, qword [rax + 0x10]
mov dword [rdx + r8*8], 2
inc dword [rax + 8]
call fcn.180026870
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.180026710
call fcn.180026870
mov rcx, qword [rax]
cmp dword [rcx], r15d
je 0x180047c83
movss xmm0, dword [0x18025dab8]
addss xmm0, dword [0x1801dc830]
movss dword [0x18025dab8], xmm0
mov dword [rsp + 0xc0], 0xa
call fcn.180026870
movabs rdi, 0xd80958fc74e988a6
mov rcx, rdi
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026710
call fcn.180026870
mov rcx, qword [rax]
mov ebx, dword [rcx]
call fcn.180026870
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026870
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180026870
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.180026870
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.180026710
call fcn.180026870
mov dword [rsp + 0x60], 0xa
call fcn.180026870
mov rcx, rdi
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026710
call fcn.180026870
mov rcx, qword [rax]
mov ebx, dword [rcx]
call fcn.180026870
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026870
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180026870
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.180026710
call fcn.180026870
mov rcx, qword [rax]
movsxd r14, dword [rcx]
test r14, r14
jle 0x1800483be
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 [0x1801dc584]
movaps xmmword [rsp + 0x140], xmm13
movss xmm13, dword [0x1801dce20]
movaps xmmword [rsp + 0x130], xmm14
movss xmm14, dword [0x1801dcdf0]
mov ebx, dword [rsp + rbp*8 + 0x68]
call fcn.180026870
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026870
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.180026710
call fcn.180026870
mov rcx, qword [rax]
cmp dword [rcx], r15d
je 0x180047f2a
mov ebx, dword [rsp + rbp*8 + 0x68]
call fcn.180026870
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026870
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180026870
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.180026710
call fcn.180026870
mov rcx, qword [rax]
cmp dword [rcx], r15d
je 0x180047f2a
mov ebx, dword [rsp + rbp*8 + 0x68]
call fcn.180026870
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026870
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180026870
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.180026710
call fcn.180026870
mov rcx, qword [rax]
mov eax, dword [rcx]
mov dword [rsp + rbp*8 + 0x68], eax
call fcn.180026870
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026870
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.180026710
call fcn.180026870
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 [0x18025dab8]
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 xmm7, xmm2
mulss xmm7, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm9, xmm9
cvtsd2ss xmm9, xmm0
mulss xmm9, xmm6
call fcn.180026870
movabs rcx, 0x14d6f5678d8f1b37
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026710
call fcn.180026870
mov ebx, dword [rsp + rbp*8 + 0x68]
mov rcx, qword [rax]
movups xmm0, xmmword [rcx]
movsd xmm1, qword [rcx + 0x10]
addss xmm11, xmm0
shufps xmm0, xmm0, 0xaa
addss xmm7, xmm0
addss xmm9, xmm1
call fcn.180026870
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026870
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180026870
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.180026710
call fcn.180026870
mov rcx, qword [rax]
mov rax, qword [0x18025db48]
movsd xmm0, qword [rcx + 0x10]
movups xmm6, xmmword [rcx]
movzx esi, byte [rax + 0x12a]
movzx edi, byte [rax + 0x129]
movzx ebx, byte [rax + 0x128]
movsd qword [rsp + 0x30], xmm0
call fcn.180026870
mov dword [rax + 8], r15d
mov dword [rax + 0x18], r15d
call fcn.180026870
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
movss dword [rcx + rdx*8], xmm11
inc dword [rax + 8]
call fcn.180026870
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
movss dword [rcx + rdx*8], xmm7
inc dword [rax + 8]
call fcn.180026870
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
movss dword [rcx + rdx*8], xmm9
inc dword [rax + 8]
call fcn.180026870
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], 0x40800000
inc dword [rax + 8]
call fcn.180026870
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
call fcn.180026870
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], edi
inc dword [rax + 8]
call fcn.180026870
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], esi
inc dword [rax + 8]
call fcn.180026870
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.180026710
mov edx, dword [rsp + rbp*8 + 0x68]
call fcn.180033700
mov edx, dword [rsp + rbp*8 + 0xc8]
call fcn.180033700
comiss xmm11, xmm10
movups xmmword [rsp + 0x20], xmm6
jbe 0x1800481a7
comiss xmm6, xmm10
jbe 0x1800481a7
movaps xmm8, xmm11
subss xmm8, xmm6
movss dword [0x1802e267c], xmm8
jmp 0x1800481b0
movss xmm8, dword [0x1802e267c]
comiss xmm10, xmm11
jbe 0x1800481ce
comiss xmm10, xmm6
jbe 0x1800481ce
movaps xmm8, xmm11
subss xmm8, xmm6
movss dword [0x1802e267c], xmm8
comiss xmm11, xmm10
jbe 0x1800481ec
comiss xmm10, xmm6
jbe 0x1800481ec
movaps xmm8, xmm11
addss xmm8, xmm6
movss dword [0x1802e267c], xmm8
comiss xmm10, xmm11
jbe 0x18004820a
comiss xmm6, xmm10
jbe 0x18004820a
movaps xmm8, xmm11
addss xmm8, xmm6
movss dword [0x1802e267c], xmm8
comiss xmm7, xmm10
movss xmm0, dword [rsp + 0x28]
movaps xmm6, xmm8
jbe 0x18004822f
comiss xmm0, xmm10
jbe 0x18004822f
movaps xmm6, xmm7
subss xmm6, xmm0
movss dword [0x1802e267c], xmm6
comiss xmm10, xmm7
jbe 0x18004824a
comiss xmm10, xmm0
jbe 0x18004824a
movaps xmm6, xmm7
subss xmm6, xmm0
movss dword [0x1802e267c], xmm6
comiss xmm7, xmm10
jbe 0x180048265
comiss xmm10, xmm0
jbe 0x180048265
movaps xmm6, xmm7
addss xmm6, xmm0
movss dword [0x1802e267c], xmm6
comiss xmm10, xmm7
jbe 0x180048280
comiss xmm0, xmm10
jbe 0x180048280
movaps xmm6, xmm7
addss xmm6, xmm0
movss dword [0x1802e267c], xmm6
comiss xmm9, xmm10
movss xmm0, dword [rsp + 0x30]
movaps xmm7, xmm6
jbe 0x1800482a5
comiss xmm0, xmm10
jbe 0x1800482a5
movaps xmm7, xmm9
subss xmm7, xmm0
movss dword [0x1802e267c], xmm7
comiss xmm10, xmm9
jbe 0x1800482c1
comiss xmm10, xmm0
jbe 0x1800482c1
movaps xmm7, xmm9
subss xmm7, xmm0
movss dword [0x1802e267c], xmm7
comiss xmm9, xmm10
jbe 0x1800482dd
comiss xmm10, xmm0
jbe 0x1800482dd
movaps xmm7, xmm9
addss xmm7, xmm0
movss dword [0x1802e267c], xmm7
comiss xmm10, xmm9
jbe 0x1800482f9
comiss xmm0, xmm10
jbe 0x1800482f9
movaps xmm7, xmm9
addss xmm7, xmm0
movss dword [0x1802e267c], xmm7
mov ecx, dword [rsp + rbp*8 + 0xc8]
addss xmm7, xmm7
addss xmm6, xmm6
addss xmm8, xmm8
movaps xmm3, xmm7
movaps xmm2, xmm6
movaps xmm1, xmm8
call fcn.1800405c0
mov ecx, dword [rsp + rbp*8 + 0x68]
movaps xmm3, xmm7
movaps xmm2, xmm6
movaps xmm1, xmm8
call fcn.1800405c0
inc rbp
movabs rdi, 0x9a9112a0fe9a4713
movabs rsi, 0x837765a25378f0bb
cmp rbp, r14
jl 0x180047e57
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.180172080
add rsp, 0x1e8
ret