Function at 0x1400017e0
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Resume thread

Disassembly:
push rbx
push r13
push r15
sub rsp, 0x340
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x328], rax
movsxd r13, dword [0x14000607c]
lea rbx, [0x140006040]
add r13, rbx
mov dword [rsp + 0x20], 0x40
mov r15, rcx
mov qword [rsp + 0x40], r13
mov rcx, qword [rcx]
xor edx, edx
mov r9d, 0x3000
mov r8d, dword [r13 + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x140001852
lea rcx, str.____An_error_is_occured_when_trying_to_allocate_memory_for_the_new_image._n
call fcn.140001010
xor eax, eax
jmp 0x140001ba2
mov rdx, rax
mov qword [rsp + 0x338], r12
lea rcx, str.___Memory_allocate_at_:_0x_p_n
call fcn.140001010
mov rax, qword [rsp + 0x48]
xor r12d, r12d
mov r9d, dword [r13 + 0x54]
mov ecx, eax
sub ecx, dword [r13 + 0x34]
mov r8, rbx
mov dword [r13 + 0x34], eax
mov rdx, qword [rsp + 0x48]
mov dword [rsp + 0x30], ecx
mov rcx, qword [r15]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400018b0
lea rcx, str.____An_error_is_occured_when_trying_to_write_the_headers_of_the_new_image._n
call fcn.140001010
xor eax, eax
jmp 0x140001b9a
mov rdx, qword [rsp + 0x48]
lea rcx, str.___Headers_write_at_:_0x_p_n
mov qword [rsp + 0x368], rbp
mov qword [rsp + 0x330], r14
call fcn.140001010
movsxd rbx, dword [0x14000607c]
lea r10, [0x140006040]
cmp dword [rbx + r10 + 0xa0], r12d
je 0x1400018f3
mov rbx, qword [rbx + r10 + 0xa0]
jmp 0x1400018f6
mov rbx, r12
mov rbp, r12
mov qword [rsp + 0x370], rsi
mov r14d, r12d
mov qword [rsp + 0x378], rdi
mov qword [rsp + 0x38], rbx
cmp r12w, word [r13 + 6]
jae 0x140001b6c
mov rsi, r12
nop
movzx edi, word [r13 + 0x14]
add rdi, 0x18
add rdi, rsi
add rdi, r13
mov edx, dword [rdi + 0xc]
cmp ebx, edx
jb 0x140001941
mov ecx, dword [rdi + 8]
add ecx, edx
cmp ebx, ecx
cmovb rbp, rdi
mov r8d, dword [rdi + 0x14]
mov r9d, dword [rdi + 0x10]
add r8, r10
add rdx, qword [rsp + 0x48]
mov rcx, qword [r15]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, rdi
test eax, eax
je 0x140001b5e
mov r8d, dword [rdi + 0xc]
lea rcx, str.___Section__s_write_at_:_0x_p._n
add r8, qword [rsp + 0x48]
call fcn.140001010
movzx eax, word [r13 + 6]
lea r10, [0x140006040]
inc r14d
add rsi, 0x28
cmp r14d, eax
jl 0x140001920
test rbp, rbp
je 0x140001b6c
mov rdx, rbp
lea rcx, str.___Relocation_section_:__s_n
call fcn.140001010
mov ebx, r12d
mov r12d, dword [rsp + 0x3c]
test r12d, r12d
je 0x140001aa8
mov r8d, 0x1000
lea rdx, [0x140006040]
xor r13d, r13d
mov eax, dword [rbp + 0x14]
mov r14d, ebx
add ebx, 8
add r14, rax
add r14, rdx
mov eax, dword [r14 + 4]
sub rax, 8
shr rax, 1
test eax, eax
je 0x140001a9a
mov r12d, dword [rsp + 0x30]
mov esi, eax
nop dword [rax]
mov eax, dword [rbp + 0x14]
mov ecx, ebx
add ebx, 2
add rcx, rax
movzx edx, word [rcx + rdx]
cmp dx, r8w
jb 0x140001a7d
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x320]
mov edi, dword [r14]
and edx, 0xfff
add rcx, rdx
mov dword [rsp + 0x320], r13d
add rdi, rcx
mov qword [rsp + 0x20], r13
mov rcx, qword [r15]
mov rdx, rdi
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [r15]
lea r8, [rsp + 0x320]
add dword [rsp + 0x320], r12d
mov r9d, 4
mov rdx, rdi
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r8d, 0x1000
lea rdx, [0x140006040]
sub rsi, 1
jne 0x140001a00
mov r12d, dword [rsp + 0x3c]
lea rdx, [0x140006040]
cmp ebx, r12d
jb 0x1400019d0
mov r13, qword [rsp + 0x40]
lea rcx, str.___Relocations_done._n
call fcn.140001010
xor edx, edx
lea rcx, [rsp + 0x54]
mov r8d, 0x2c8
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [r15 + 8]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x10000b
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
jne 0x140001aed
lea rcx, str.____An_error_is_occured_when_trying_to_get_the_thread_context._n
jmp 0x140001b73
mov edx, dword [rsp + 0xf4]
lea r8, [rsp + 0x48]
mov rcx, qword [r15]
add rdx, 8
mov r9d, 4
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001b22
lea rcx, str.____An_error_is_occured_when_trying_to_write_the_image_base_in_the_PEB._n
jmp 0x140001b73
mov ecx, dword [r13 + 0x28]
lea rdx, [rsp + 0x50]
add ecx, dword [rsp + 0x48]
mov dword [rsp + 0x100], ecx
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_Wow64SetThreadContext]
test eax, eax
jne 0x140001b4d
lea rcx, str.____An_error_is_occured_when_trying_to_set_the_thread_context._n
jmp 0x140001b73
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
jmp 0x140001b7a
lea rcx, str.____An_error_is_occured_when_trying_to_write_the_section_:__s._n
call fcn.140001010
jmp 0x140001b78
lea rcx, str.____An_error_is_occured_when_trying_to_get_the_relocation_section_of_the_source_image._n
call fcn.140001010
xor eax, eax
mov rdi, qword [rsp + 0x378]
mov rsi, qword [rsp + 0x370]
mov rbp, qword [rsp + 0x368]
mov r14, qword [rsp + 0x330]
mov r12, qword [rsp + 0x338]
mov rcx, qword [rsp + 0x328]
xor rcx, rsp
call fcn.140002810
add rsp, 0x340
pop r15
pop r13
pop rbx
ret