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

Disassembly:
jmp 0x1400163f0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x7f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x162
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x818]
mov rax, qword [0x14099a680]
xor rax, rbp
mov qword [rbp + 0x7b8], rax
lea rcx, [0x1409a1118]
call fcn.1400116c2
mov rax, qword [rbp + 0x7e8]
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 + 0x7e0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400164bb
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.____An_error_is_occured_when_trying_to_allocate_memory_for_the_new_image._n
mov rcx, rax
call fcn.140011609
xor eax, eax
test eax, eax
jne 0x140016494
xor eax, eax
jmp 0x140016ad7
mov rax, qword [rbp + 8]
mov qword [rbp + 0x7a8], rax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov qword [rbp + 0x7b0], rax
mov r8, qword [rbp + 0x7a8]
lea rdx, str.___Memory_allocate_at_:_0x_p_n
mov rcx, qword [rbp + 0x7b0]
call fcn.140011609
xor eax, eax
test eax, eax
jne 0x1400164bb
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 + 0x7e8]
mov rdx, qword [rbp + 8]
mov rax, qword [rbp + 0x7e0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jne 0x14001657a
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.____An_error_is_occured_when_trying_to_write_the_headers_of_the_new_image._n
mov rcx, rax
call fcn.140011609
xor eax, eax
test eax, eax
jne 0x140016553
xor eax, eax
jmp 0x140016ad7
mov rax, qword [rbp + 8]
mov qword [rbp + 0x7a8], rax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov qword [rbp + 0x7b0], rax
mov r8, qword [rbp + 0x7a8]
lea rdx, str.___Headers_write_at_:_0x_p_n
mov rcx, qword [rbp + 0x7b0]
call fcn.140011609
xor eax, eax
test eax, eax
jne 0x14001657a
mov rcx, qword [rbp + 0x7e8]
call fcn.1400114ab
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xc8], 0
mov dword [rbp + 0xe4], 0
jmp 0x1400165ef
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 0x140016763
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 0x140016665
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 0x140016665
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 + 0x7e8]
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 + 0x7e0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x124], eax
cmp dword [rbp + 0x124], 0
jne 0x140016707
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0x7a8], rax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov rcx, qword [rbp + 0x7a8]
mov r8, rcx
lea rdx, str.____An_error_is_occured_when_trying_to_write_the_section_:__s._n
mov rcx, rax
call fcn.140011609
xor eax, eax
test eax, eax
jne 0x1400166c8
xor eax, eax
jmp 0x140016ad7
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x7a8], rax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov qword [rbp + 0x7b0], rax
mov rax, qword [rbp + 0x108]
mov r9, qword [rbp + 0x7a8]
mov r8, rax
lea rdx, str.___Section__s_write_at_:_0x_p._n
mov rcx, qword [rbp + 0x7b0]
call fcn.140011609
xor eax, eax
test eax, eax
jne 0x140016707
jmp 0x1400165e1
cmp qword [rbp + 0xc8], 0
jne 0x140016794
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.____An_error_is_occured_when_trying_to_get_the_relocation_section_of_the_source_image._n
mov rcx, rax
call fcn.140011609
xor eax, eax
test eax, eax
jne 0x14001676d
xor eax, eax
jmp 0x140016ad7
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0x7a8], rax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov rcx, qword [rbp + 0x7a8]
mov r8, rcx
lea rdx, str.___Relocation_section_:__s_n
mov rcx, rax
call fcn.140011609
xor eax, eax
test eax, eax
jne 0x140016794
mov dword [rbp + 0x144], 0
mov eax, dword [rbp + 0xac]
cmp dword [rbp + 0x144], eax
jae 0x140016971
mov rax, qword [rbp + 0xc8]
mov eax, dword [rax + 0x14]
mov rcx, qword [rbp + 0x7e8]
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 0x140016857
mov eax, dword [rbp + 0x1a4]
inc eax
mov dword [rbp + 0x1a4], eax
mov eax, dword [rbp + 0x184]
cmp dword [rbp + 0x1a4], eax
jae 0x14001696c
mov rax, qword [rbp + 0xc8]
mov eax, dword [rax + 0x14]
mov rcx, qword [rbp + 0x7e8]
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 0x1400168bb
jmp 0x140016849
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 + 0x7e0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
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 + 0x7e0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x140016849
jmp 0x1400167d6
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.___Relocations_done._n
mov rcx, rax
call fcn.140011609
xor eax, eax
test eax, eax
jne 0x140016971
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 + 0x7e0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
mov dword [rbp + 0x514], eax
cmp dword [rbp + 0x514], 0
jne 0x1400169fc
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.____An_error_is_occured_when_trying_to_get_the_thread_context._n
mov rcx, rax
call fcn.140011609
xor eax, eax
test eax, eax
jne 0x1400169d5
xor eax, eax
jmp 0x140016ad7
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 + 0x7e0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x534], eax
cmp dword [rbp + 0x534], 0
jne 0x140016a5f
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.____An_error_is_occured_when_trying_to_write_the_image_base_in_the_PEB._n
mov rcx, rax
call fcn.140011609
xor eax, eax
test eax, eax
jne 0x140016a3b
xor eax, eax
jmp 0x140016ad7
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 + 0x7e0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_Wow64SetThreadContext]
mov dword [rbp + 0x554], eax
cmp dword [rbp + 0x554], 0
jne 0x140016ac1
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.____An_error_is_occured_when_trying_to_set_the_thread_context._n
mov rcx, rax
call fcn.140011609
xor eax, eax
test eax, eax
jne 0x140016a9d
xor eax, eax
jmp 0x140016ad7
mov rax, qword [rbp + 0x7e0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140024700]
call fcn.14001159b
mov rax, rdi
mov rcx, qword [rbp + 0x7b8]
xor rcx, rbp
call fcn.140011320
lea rsp, [rbp + 0x7c8]
pop rdi
pop rbp
ret