Function at 0x14004a130
Capabilities:
Log keystrokes
Resolve function by parsing pe exports

Disassembly:
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
mov rax, qword [0x1400e3110]
xor rax, rsp
mov qword [rsp + 0x90], rax
movzx eax, byte [rsp + 0xb8]
cmp eax, 0xffffffff
jne 0x14004a16a
jmp 0x14004a3ee
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cvtsi2sd xmm0, eax
subsd xmm0, qword [0x1400d85a8]
movsd xmm1, qword [0x1400d85f8]
divsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x40], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cvtsi2sd xmm0, eax
subsd xmm0, qword [0x1400d85a8]
movsd xmm1, qword [0x1400d85f8]
divsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x88]
call qword [sym.imp.USER32.dll_GetCursorPos]
cvtsi2sd xmm0, dword [rsp + 0x88]
mulsd xmm0, qword [rsp + 0x40]
movsd qword [rsp + 0x50], xmm0
cvtsi2sd xmm0, dword [rsp + 0x8c]
mulsd xmm0, qword [rsp + 0x48]
movsd qword [rsp + 0x58], xmm0
cvttsd2si eax, qword [rsp + 0x50]
mov dword [rsp + 0x68], eax
cvttsd2si eax, qword [rsp + 0x58]
mov dword [rsp + 0x6c], eax
movzx eax, byte [rsp + 0xb8]
cmp eax, 6
jg 0x14004a233
mov dword [rsp + 0x24], 0
jmp 0x14004a23b
mov dword [rsp + 0x24], 1
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x60], eax
movzx eax, byte [rsp + 0xb8]
mov byte [rsp + 0x20], al
cmp byte [rsp + 0x20], 1
je 0x14004a27f
cmp byte [rsp + 0x20], 2
je 0x14004a2ae
cmp byte [rsp + 0x20], 4
je 0x14004a2dd
cmp byte [rsp + 0x20], 5
je 0x14004a30c
cmp byte [rsp + 0x20], 6
je 0x14004a343
jmp 0x14004a377
movzx eax, byte [rsp + 0xc0]
test eax, eax
je 0x14004a295
mov dword [rsp + 0x28], 2
jmp 0x14004a29d
mov dword [rsp + 0x28], 4
mov eax, dword [rsp + 0x28]
bts eax, 0xf
mov dword [rsp + 0x74], eax
jmp 0x14004a3c6
movzx eax, byte [rsp + 0xc0]
test eax, eax
je 0x14004a2c4
mov dword [rsp + 0x2c], 8
jmp 0x14004a2cc
mov dword [rsp + 0x2c], 0x10
mov eax, dword [rsp + 0x2c]
bts eax, 0xf
mov dword [rsp + 0x74], eax
jmp 0x14004a3c6
movzx eax, byte [rsp + 0xc0]
test eax, eax
je 0x14004a2f3
mov dword [rsp + 0x30], 0x20
jmp 0x14004a2fb
mov dword [rsp + 0x30], 0x40
mov eax, dword [rsp + 0x30]
bts eax, 0xf
mov dword [rsp + 0x74], eax
jmp 0x14004a3c6
mov dword [rsp + 0x70], 1
movzx eax, byte [rsp + 0xc0]
test eax, eax
je 0x14004a32a
mov dword [rsp + 0x34], 0x80
jmp 0x14004a332
mov dword [rsp + 0x34], 0x100
mov eax, dword [rsp + 0x34]
bts eax, 0xf
mov dword [rsp + 0x74], eax
jmp 0x14004a3c6
mov dword [rsp + 0x70], 2
movzx eax, byte [rsp + 0xc0]
test eax, eax
je 0x14004a361
mov dword [rsp + 0x38], 0x80
jmp 0x14004a369
mov dword [rsp + 0x38], 0x100
mov eax, dword [rsp + 0x38]
bts eax, 0xf
mov dword [rsp + 0x74], eax
jmp 0x14004a3c6
xor eax, eax
mov word [rsp + 0x68], ax
mov dword [rsp + 0x70], 0
movzx eax, byte [rsp + 0xb8]
xor edx, edx
mov ecx, eax
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [rsp + 0x6a], ax
movzx eax, byte [rsp + 0xc0]
test eax, eax
je 0x14004a3b3
mov dword [rsp + 0x3c], 0
jmp 0x14004a3bb
mov dword [rsp + 0x3c], 2
mov eax, dword [rsp + 0x3c]
or eax, 8
mov dword [rsp + 0x6c], eax
mov r8d, 0x28
lea rdx, [rsp + 0x60]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov r8d, 0x28
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1400582c0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140055f20
add rsp, 0xa0
pop rdi
ret