Function at 0x140033720
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x4ce0
call fcn.14007c2f0
sub rsp, rax
mov rax, qword [0x140154060]
xor rax, rsp
mov qword [rsp + 0x4cd0], rax
mov rbx, rcx
mov rdx, qword [0x140157b00]
add rdx, 8
lea rcx, [rsp + 0x1580]
call fcn.1400330f0
nop
call fcn.14000fe70
mov rsi, rax
call fcn.14000fde0
mov r15d, dword [rax + 0xc]
mov r12d, dword [rax + 0x10]
mov rcx, qword [0x140157b00]
mov rcx, qword [rcx + 0x4040]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rcx]
call fcn.14003a510
mov r13, rax
mov rcx, rbx
call fcn.140030bf0
call fcn.14000fde0
mov r14, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [r14]
jne 0x140033829
cmp byte [0x140154d08], 0
je 0x140033845
mov dword [rsp + 0x30], 3
xor edi, edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rdi - 1]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rdi - 2]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.USER32.dll_SetWindowPos]
lea edx, [rdi + 5]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.USER32.dll_ShowWindow]
mov byte [0x140154d08], dil
jmp 0x140033847
cmp byte [0x140154d08], 0
jne 0x140033845
xor edx, edx
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.USER32.dll_ShowWindow]
mov byte [0x140154d08], 1
xor edi, edi
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx + 0x20]
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov eax, 0x80800a0
mov r8d, 0x8080080
cmp byte [rbx + 0x29], 0
cmove r8d, eax
mov edx, 0xffffffec
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.14000fde0
mov r14, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [r14]
jne 0x1400339e2
mov ecx, dword [rsi + 4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140033913
movzx ecx, byte [rbx + 0x29]
test cl, cl
sete al
mov byte [rbx + 0x29], al
test cl, cl
lea rcx, [rsp + 0x60]
jne 0x1400338d9
call fcn.14000e2c0
call fcn.14000fde0
mov dword [rsp + 0x48], 1
jmp 0x1400338e7
call fcn.14000e2c0
call fcn.14000fde0
mov dword [rsp + 0x48], edi
mov rdx, qword [rsp + 0x1108]
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rsp + 0x48]
add rdx, 0x238
mov rcx, qword [rax + 0x148]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rbx
call fcn.140032920
cmp byte [rbx + 0x29], 0
je 0x14003392e
mov rcx, rbx
call fcn.140030ca0
jmp 0x1400339e2
cmp byte [rsi + 0xa8], 0
je 0x1400339d9
cmp byte [rsi + 0xc8], 0
je 0x1400339d9
mov r8d, dword [rsi + 0xcc]
imul ecx, r8d, 0x1c2
mov eax, 0xb60b60b7
imul ecx
lea r10d, [rcx + rdx]
sar r10d, 8
mov ecx, r10d
shr ecx, 0x1f
add r10d, ecx
movups xmm0, xmmword [rsi + 0xd0]
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x48]
call fcn.1400381a0
mov r9d, eax
movd xmm2, r8d
cvtdq2ps xmm2, xmm2
mov eax, r15d
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x48], xmm0
mov eax, r12d
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x4c], xmm0
movss xmm1, dword [0x1401427e0]
movss dword [rsp + 0x28], xmm1
mov dword [rsp + 0x20], r10d
lea rdx, [rsp + 0x48]
mov rcx, r13
call fcn.140057f30
mov rcx, rbx
call fcn.140033a40
nop
mov rcx, qword [rsp + 0x4cc8]
test rcx, rcx
je 0x140033a07
mov rax, qword [0x140157b00]
test rax, rax
je 0x140033a01
dec dword [rax + 0xec]
call fcn.14008a490
nop
mov rcx, qword [rsp + 0x4cd0]
xor rcx, rsp
call fcn.14007b610
lea r11, [rsp + 0x4ce0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret