Function at 0x14001111d
Capabilities:
Allocate or change rwx memory
Resume thread

Disassembly:
jmp 0x140013840
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x808
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x166
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x828]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x7c8], rax
lea rcx, [0x1400280a6]
call fcn.14001140b
nop
mov rax, qword [rbp + 0x7f8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
xor edx, edx
mov rax, qword [rbp + 0x7f0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400138f9
lea rcx, str.____An_error_is_occured_when_trying_to_allocate_memory_for_the_new_image._n
call fcn.1400111d6
nop
xor eax, eax
jmp 0x140013df1
mov rdx, qword [rbp + 8]
lea rcx, str.___Memory_allocate_at_:_0x_p_n
call fcn.1400111d6
nop
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x34]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x48]
mov ecx, dword [rbp + 8]
mov dword [rax + 0x34], ecx
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rbp + 0x7f8]
mov rdx, qword [rbp + 8]
mov rax, qword [rbp + 0x7f0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jne 0x140013979
lea rcx, str.____An_error_is_occured_when_trying_to_write_the_headers_of_the_new_image._n
call fcn.1400111d6
nop
xor eax, eax
jmp 0x140013df1
mov rdx, qword [rbp + 8]
lea rcx, str.___Headers_write_at_:_0x_p_n
call fcn.1400111d6
nop
mov rcx, qword [rbp + 0x7f8]
call fcn.1400112ee
mov qword [rbp + 0x7b4], rax
mov rax, qword [rbp + 0x7b4]
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xc8], 0
mov dword [rbp + 0xe4], 0
jmp 0x1400139d0
mov eax, dword [rbp + 0xe4]
inc eax
mov dword [rbp + 0xe4], eax
mov rax, qword [rbp + 0x48]
movzx eax, word [rax + 6]
cmp dword [rbp + 0xe4], eax
jge 0x140013afa
mov rax, qword [rbp + 0x48]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x48]
lea rax, [rcx + rax + 0x18]
movsxd rcx, dword [rbp + 0xe4]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0xc]
cmp dword [rbp + 0xa8], eax
jb 0x140013a46
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x108]
add eax, dword [rcx + 8]
cmp dword [rbp + 0xa8], eax
jae 0x140013a46
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0x10]
mov rcx, qword [rbp + 0x108]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rbp + 0x7f8]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rbp + 0x108]
mov edx, dword [rdx + 0xc]
mov r8, qword [rbp + 8]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rax, qword [rbp + 0x7f0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x124], eax
cmp dword [rbp + 0x124], 0
jne 0x140013ac7
mov rax, qword [rbp + 0x108]
mov rdx, rax
lea rcx, str.____An_error_is_occured_when_trying_to_write_the_section_:__s._n
call fcn.1400111d6
nop
xor eax, eax
jmp 0x140013df1
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x108]
mov r8, rax
mov rdx, rcx
lea rcx, str.___Section__s_write_at_:_0x_p._n
call fcn.1400111d6
nop
jmp 0x1400139c2
cmp qword [rbp + 0xc8], 0
jne 0x140013b18
lea rcx, str.____An_error_is_occured_when_trying_to_get_the_relocation_section_of_the_source_image._n
call fcn.1400111d6
nop
xor eax, eax
jmp 0x140013df1
mov rax, qword [rbp + 0xc8]
mov rdx, rax
lea rcx, str.___Relocation_section_:__s_n
call fcn.1400111d6
nop
mov dword [rbp + 0x144], 0
mov eax, dword [rbp + 0xac]
cmp dword [rbp + 0x144], eax
jae 0x140013cd6
mov rax, qword [rbp + 0xc8]
mov eax, dword [rax + 0x14]
mov rcx, qword [rbp + 0x7f8]
add rcx, rax
mov rax, rcx
mov ecx, dword [rbp + 0x144]
add rax, rcx
mov qword [rbp + 0x168], rax
mov eax, dword [rbp + 0x144]
add rax, 8
mov dword [rbp + 0x144], eax
mov rax, qword [rbp + 0x168]
mov eax, dword [rax + 4]
sub rax, 8
xor edx, edx
mov ecx, 2
div rcx
mov dword [rbp + 0x184], eax
mov dword [rbp + 0x1a4], 0
jmp 0x140013bba
mov eax, dword [rbp + 0x1a4]
inc eax
mov dword [rbp + 0x1a4], eax
mov eax, dword [rbp + 0x184]
cmp dword [rbp + 0x1a4], eax
jae 0x140013cd1
mov rax, qword [rbp + 0xc8]
mov eax, dword [rax + 0x14]
mov rcx, qword [rbp + 0x7f8]
add rcx, rax
mov rax, rcx
mov ecx, dword [rbp + 0x144]
add rax, rcx
mov qword [rbp + 0x1c8], rax
mov eax, dword [rbp + 0x144]
add rax, 2
mov dword [rbp + 0x144], eax
mov rax, qword [rbp + 0x1c8]
movzx eax, word [rax]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
test eax, eax
jne 0x140013c1e
jmp 0x140013bac
mov rax, qword [rbp + 0x168]
mov eax, dword [rax]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov ecx, 0xfff
mov rdx, qword [rbp + 0x1c8]
movzx edx, word [rdx]
and dx, cx
movzx ecx, dx
movzx ecx, cx
add rax, rcx
mov qword [rbp + 0x1e8], rax
mov dword [rbp + 0x204], 0
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x204]
mov rdx, qword [rbp + 0x1e8]
mov rax, qword [rbp + 0x7f0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
nop
mov eax, dword [rbp + 0x64]
mov ecx, dword [rbp + 0x204]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x204], eax
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x204]
mov rdx, qword [rbp + 0x1e8]
mov rax, qword [rbp + 0x7f0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
jmp 0x140013bac
jmp 0x140013b39
lea rcx, str.___Relocations_done._n
call fcn.1400111d6
nop
lea rax, [rbp + 0x230]
mov rdi, rax
xor eax, eax
mov ecx, 0x2cc
rep stosb byte [rdi], al
mov dword [rbp + 0x230], 0x10000b
lea rdx, [rbp + 0x230]
mov rax, qword [rbp + 0x7f0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
mov dword [rbp + 0x514], eax
cmp dword [rbp + 0x514], 0
jne 0x140013d3b
lea rcx, str.____An_error_is_occured_when_trying_to_get_the_thread_context._n
call fcn.1400111d6
nop
xor eax, eax
jmp 0x140013df1
mov eax, dword [rbp + 0x2d4]
add rax, 8
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 8]
mov rdx, rax
mov rax, qword [rbp + 0x7f0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x534], eax
cmp dword [rbp + 0x534], 0
jne 0x140013d8b
lea rcx, str.____An_error_is_occured_when_trying_to_write_the_image_base_in_the_PEB._n
call fcn.1400111d6
nop
xor eax, eax
jmp 0x140013df1
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x28]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov dword [rbp + 0x2e0], eax
lea rdx, [rbp + 0x230]
mov rax, qword [rbp + 0x7f0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_Wow64SetThreadContext]
mov dword [rbp + 0x554], eax
cmp dword [rbp + 0x554], 0
jne 0x140013dda
lea rcx, str.____An_error_is_occured_when_trying_to_set_the_thread_context._n
call fcn.1400111d6
nop
xor eax, eax
jmp 0x140013df1
mov rax, qword [rbp + 0x7f0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001e1f0]
call fcn.140011393
mov rax, rdi
mov rcx, qword [rbp + 0x7c8]
xor rcx, rbp
call fcn.1400111ef
lea rsp, [rbp + 0x7d8]
pop rdi
pop rbp
ret