Function at 0x180033300
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x1800f9040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, qword [0x180121770]
mov r14, r9
mov qword [rsp + 0x58], r8
mov esi, edx
mov r15, rcx
test rbp, rbp
je case.0x1800338f0.527
lea rdi, [rbp + 8]
mov rbp, qword [rbp + 0x90]
cmp edx, 0x200
ja 0x1800338c6
je case.0x1800338f0.674
lea eax, [rdx - 7]
cmp eax, 0xfe
ja case.0x1800338f0.527
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x33b38]
mov ecx, dword [rdx + rax*4 + 0x33b24]
add rcx, rdx
jmp rcx
lea eax, [rsi - 0x100]
mov esi, 0x100
test eax, 0xfffffffb
sete bl
cmp r8, rsi
jae case.0x1800338f0.527
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x1800e83a0]
shr eax, 0xf
and al, 1
cmp byte [rdi + 0x37a9], 0
je 0x1800333ea
test al, al
je 0x1800333d6
movaps xmm3, xmm6
jmp 0x1800333d9
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x1000
mov rcx, rdi
call fcn.18000abb0
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rdi + 0x37a9], 0
je 0x180033420
test al, al
je 0x18003340c
movaps xmm3, xmm6
jmp 0x18003340f
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x2000
mov rcx, rdi
call fcn.18000abb0
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rdi + 0x37a9], 0
je 0x180033456
test al, al
je 0x180033442
movaps xmm3, xmm6
jmp 0x180033445
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x4000
mov rcx, rdi
call fcn.18000abb0
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rdi + 0x37a9], 0
je 0x18003348c
test al, al
je 0x180033478
movaps xmm3, xmm6
jmp 0x18003347b
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x8000
mov rcx, rdi
call fcn.18000abb0
mov rdi, qword [rsp + 0x58]
cmp rdi, 0xd
jne 0x1800334a7
shr r14, 0x10
mov eax, 0x10d
test si, r14w
cmovne edi, eax
movsxd r14, edi
mov rcx, r14
call fcn.180032db0
movsxd rbp, eax
test eax, eax
je 0x1800334fb
mov rsi, qword [0x180121770]
cmp byte [rsi + 0x37b1], 0
je 0x1800334e4
test bl, bl
je 0x1800334d2
movaps xmm3, xmm6
jmp 0x1800334d5
xorps xmm3, xmm3
movzx r8d, bl
lea rcx, [rsi + 8]
mov edx, ebp
call fcn.18000abb0
cmp edi, 0x1ff
ja 0x1800334fb
mov dword [rsi + r14*4 + 0xfc], ebp
mov dword [rsi + rbp*4 + 0xfc], edi
cmp edi, 0x10
jne 0x1800335b7
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x18003355a
mov rdi, qword [0x180121770]
cmp byte [rdi + 0x37b1], 0
je 0x180033546
test bl, bl
je 0x180033531
movaps xmm3, xmm6
jmp 0x180033534
xorps xmm3, xmm3
movzx r8d, bl
lea rcx, [rdi + 8]
mov edx, 0x210
call fcn.18000abb0
mov dword [rdi + 0x37c], 0x210
mov dword [rdi + 0x93c], 0xa0
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x1800338f0.527
mov rdi, qword [0x180121770]
cmp byte [rdi + 0x37b1], 0
je 0x18003359e
test bl, bl
jne 0x180033589
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rdi + 8]
movzx r8d, bl
mov edx, 0x214
call fcn.18000abb0
mov dword [rdi + 0x380], 0x214
mov dword [rdi + 0x94c], 0xa1
jmp case.0x1800338f0.527
cmp edi, 0x11
jne 0x180033673
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x180033616
mov rdi, qword [0x180121770]
cmp byte [rdi + 0x37b1], 0
je 0x180033602
test bl, bl
je 0x1800335ed
movaps xmm3, xmm6
jmp 0x1800335f0
xorps xmm3, xmm3
movzx r8d, bl
lea rcx, [rdi + 8]
mov edx, 0x20f
call fcn.18000abb0
mov dword [rdi + 0x384], 0x20f
mov dword [rdi + 0x938], 0xa2
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x1800338f0.527
mov rdi, qword [0x180121770]
cmp byte [rdi + 0x37b1], 0
je 0x18003365a
test bl, bl
jne 0x180033645
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rdi + 8]
movzx r8d, bl
mov edx, 0x213
call fcn.18000abb0
mov dword [rdi + 0x388], 0x213
mov dword [rdi + 0x948], 0xa3
jmp case.0x1800338f0.527
cmp edi, 0x12
jne case.0x1800338f0.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x1800336d2
mov rdi, qword [0x180121770]
cmp byte [rdi + 0x37b1], 0
je 0x1800336be
test bl, bl
je 0x1800336a9
movaps xmm3, xmm6
jmp 0x1800336ac
xorps xmm3, xmm3
movzx r8d, bl
lea rcx, [rdi + 8]
mov edx, 0x211
call fcn.18000abb0
mov dword [rdi + 0x38c], 0x211
mov dword [rdi + 0x940], 0xa4
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x1800338f0.527
mov rdi, qword [0x180121770]
cmp byte [rdi + 0x37b1], 0
je 0x180033716
test bl, bl
jne 0x180033701
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rdi + 8]
movzx r8d, bl
mov edx, 0x215
call fcn.18000abb0
mov dword [rdi + 0x390], 0x215
mov dword [rdi + 0x950], 0xa5
jmp case.0x1800338f0.527
mov rdx, qword [rdi + 0xdf0]
cmp esi, 7
sete r8b
lea r9, [rdx + 0x3e80]
mov eax, dword [r9]
sub eax, 1
js 0x18003376f
movsxd rcx, eax
imul rax, rcx, 0x1c
add rax, qword [rdx + 0x3e88]
nop word [rax + rax]
cmp dword [rax], 6
je 0x1800337d5
sub rax, 0x1c
sub rcx, 1
jns 0x180033760
cmp byte [rdx + 0x37b0], 0
sete cl
cmp cl, r8b
je case.0x1800338f0.527
cmp byte [rdi + 0x72], 0
je 0x180033791
cmp esi, 7
jne case.0x1800338f0.527
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov rcx, r9
mov dword [rsp + 0x48], eax
mov eax, dword [rdx + 0x3ea4]
mov dword [rsp + 0x38], eax
inc eax
mov dword [rdx + 0x3ea4], eax
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 6
mov byte [rsp + 0x3c], r8b
call fcn.180023430
jmp case.0x1800338f0.527
test rax, rax
je 0x18003376f
movzx ecx, byte [rax + 0xc]
jmp 0x180033779
mov rcx, r15
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x18003380f
mov rdx, qword [rsp + 0x58]
lea rax, [rdx - 1]
cmp rax, 0xfffe
ja case.0x1800338f0.527
mov rcx, rdi
call fcn.18000aa20
jmp case.0x1800338f0.527
mov eax, 1
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
xor ebx, ebx
xor ecx, ecx
mov word [rsp + 0x50], bx
mov r9d, eax
mov edx, eax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx r8d, word [rsp + 0x50]
mov rdx, qword [rdi + 0xdf0]
test r8d, r8d
je case.0x1800338f0.527
cmp byte [rdi + 0x37a9], bl
je case.0x1800338f0.527
mov eax, dword [rdx + 0x3ea4]
mov ecx, 2
mov dword [rsp + 0x38], eax
inc eax
mov dword [rsp + 0x34], ecx
lea rcx, [rdx + 0x3e80]
mov dword [rdx + 0x3ea4], eax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x3c], r8d
call fcn.180023430
jmp case.0x1800338f0.527
cmp r14w, 1
jne case.0x1800338f0.527
call fcn.1800322a0
test al, al
je case.0x1800338f0.527
mov eax, 1
jmp 0x180033af6
lea eax, [rdx - 0x201]
cmp eax, 0xa2
ja case.0x1800338f0.527
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x33c54]
mov ecx, dword [rdx + rax*4 + 0x33c38]
add rcx, rdx
jmp rcx
xor ebx, ebx
cmp esi, 0x2a3
mov eax, ebx
setne al
inc eax
cmp dword [rbp + 0x10], eax
jne case.0x1800338f0.527
cmp qword [rbp + 8], r15
jne 0x180033914
mov qword [rbp + 8], rbx
movss xmm1, dword [0x1800e857c]
mov rcx, rdi
movaps xmm2, xmm1
mov dword [rbp + 0x10], ebx
call fcn.18000ace0
jmp case.0x1800338f0.527
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
mov edx, 0xff515700
and rax, rcx
xor ebx, ebx
mov ecx, 2
cmp rax, rdx
jne 0x180033953
mov r12d, ecx
jmp 0x180033962
mov edx, 0xff515780
mov r12d, ebx
cmp rax, rdx
sete r12b
lea eax, [rsi - 0x204]
mov r14d, ebx
test eax, 0xfffffffd
mov eax, 1
cmove r14d, eax
lea eax, [rsi - 0x207]
test eax, 0xfffffffd
lea eax, [rsi - 0x20b]
cmove r14d, ecx
test eax, 0xfffffffd
jne 0x1800339ad
mov rax, qword [rsp + 0x58]
mov r14d, ebx
shr rax, 0x10
cmp ax, 1
setne r14b
add r14d, 3
cmp dword [rbp + 0x14], ebx
jne 0x1800339c6
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x1800339c6
mov rcx, r15
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [rbp + 0x14]
mov r8b, 1
bts eax, r14d
mov edx, r14d
mov dword [rbp + 0x14], eax
mov rcx, rdi
mov rax, qword [rdi + 0xdf0]
mov dword [rax + 0x3ea0], r12d
call fcn.18000ae20
jmp case.0x1800338f0.527
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
mov edx, 0xff515700
and rax, rcx
xor ebx, ebx
mov ecx, 2
cmp rax, rdx
jne 0x180033a15
mov r12d, ecx
jmp 0x180033a24
mov edx, 0xff515780
mov r12d, ebx
cmp rax, rdx
sete r12b
cmp esi, 0x205
mov r14d, ebx
sete r14b
cmp esi, 0x208
jne 0x180033a3e
mov r14d, ecx
jmp 0x180033a5e
cmp esi, 0x20c
jne 0x180033a5e
mov rax, qword [rsp + 0x58]
mov r14d, ebx
shr rax, 0x10
cmp ax, 1
setne r14b
add r14d, 3
mov eax, dword [rbp + 0x14]
btr eax, r14d
mov dword [rbp + 0x14], eax
test eax, eax
jne 0x180033a7d
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r15
jne 0x180033a7d
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov rax, qword [rdi + 0xdf0]
xor r8d, r8d
mov edx, r14d
mov rcx, rdi
mov dword [rax + 0x3ea0], r12d
call fcn.18000ae20
jmp case.0x1800338f0.527
shr r8, 0x10
xorps xmm1, xmm1
movsx eax, r8w
mov rcx, rdi
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x1800e84a0]
call fcn.18000aee0
jmp case.0x1800338f0.527
shr r8, 0x10
xorps xmm2, xmm2
movsx eax, r8w
mov rcx, rdi
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x1800e8820]
divss xmm1, dword [0x1800e84a0]
call fcn.18000aee0
jmp case.0x1800338f0.527
cmp r8d, 7
jne case.0x1800338f0.527
mov byte [rbp + 0x2d], 1
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800c0390
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x48]
movaps xmm6, xmmword [rsp + 0x70]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret