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

Disassembly:
jmp 0x140016cd0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xab8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xad8]
mov rax, qword [0x14099a680]
xor rax, rbp
mov qword [rbp + 0xa78], rax
lea rcx, [0x1409a1118]
call fcn.1400116c2
mov rax, qword [rbp + 0xaa8]
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 + 0xaa0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140016d9b
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 0x140016d74
xor eax, eax
jmp 0x140017398
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov r8, qword [rbp + 8]
lea rdx, str.___Memory_allocate_at_:_0x_p_n
mov rcx, rax
call fcn.140011609
xor eax, eax
test eax, eax
jne 0x140016d9b
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x30]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
mov qword [rax + 0x30], rcx
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rbp + 0xaa8]
mov rdx, qword [rbp + 8]
mov rax, qword [rbp + 0xaa0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jne 0x140016e45
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 0x140016e1e
xor eax, eax
jmp 0x140017398
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov r8, qword [rbp + 8]
lea rdx, str.___Headers_write_at_:_0x_p_n
mov rcx, rax
call fcn.140011609
xor eax, eax
test eax, eax
jne 0x140016e45
mov rcx, qword [rbp + 0xaa8]
call fcn.140011604
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xc8], 0
mov dword [rbp + 0xe4], 0
jmp 0x140016ea1
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 0x140017015
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 0x140016f17
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 0x140016f17
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 + 0xaa8]
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 + 0xaa0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x124], eax
cmp dword [rbp + 0x124], 0
jne 0x140016fb9
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0xa68], rax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov rcx, qword [rbp + 0xa68]
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 0x140016f7a
xor eax, eax
jmp 0x140017398
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xa68], rax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov qword [rbp + 0xa70], rax
mov rax, qword [rbp + 0x108]
mov r9, qword [rbp + 0xa68]
mov r8, rax
lea rdx, str.___Section__s_write_at_:_0x_p._n
mov rcx, qword [rbp + 0xa70]
call fcn.140011609
xor eax, eax
test eax, eax
jne 0x140016fb9
jmp 0x140016e93
cmp qword [rbp + 0xc8], 0
jne 0x140017046
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 0x14001701f
xor eax, eax
jmp 0x140017398
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0xa68], rax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov rcx, qword [rbp + 0xa68]
mov r8, rcx
lea rdx, str.___Relocation_section_:__s_n
mov rcx, rax
call fcn.140011609
xor eax, eax
test eax, eax
jne 0x140017046
mov dword [rbp + 0x144], 0
mov eax, dword [rbp + 0xac]
cmp dword [rbp + 0x144], eax
jae 0x140017229
mov rax, qword [rbp + 0xc8]
mov eax, dword [rax + 0x14]
mov rcx, qword [rbp + 0xaa8]
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 0x140017109
mov eax, dword [rbp + 0x1a4]
inc eax
mov dword [rbp + 0x1a4], eax
mov eax, dword [rbp + 0x184]
cmp dword [rbp + 0x1a4], eax
jae 0x140017224
mov rax, qword [rbp + 0xc8]
mov eax, dword [rax + 0x14]
mov rcx, qword [rbp + 0xaa8]
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 0x14001716d
jmp 0x1400170fb
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 qword [rbp + 0x208], 0
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rbp + 0x208]
mov rdx, qword [rbp + 0x1e8]
mov rax, qword [rbp + 0xaa0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x208]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x208], rax
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rbp + 0x208]
mov rdx, qword [rbp + 0x1e8]
mov rax, qword [rbp + 0xaa0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x1400170fb
jmp 0x140017088
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 0x140017229
lea rax, [rbp + 0x230]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov dword [rbp + 0x260], 0x10000b
lea rdx, [rbp + 0x230]
mov rax, qword [rbp + 0xaa0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov dword [rbp + 0x714], eax
cmp dword [rbp + 0x714], 0
jne 0x1400172b4
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 0x14001728d
xor eax, eax
jmp 0x140017398
mov rax, qword [rbp + 0x48]
add rax, 0x30
mov rcx, qword [rbp + 0x2b8]
add rcx, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
mov r8, rax
mov rdx, rcx
mov rax, qword [rbp + 0xaa0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x734], eax
cmp dword [rbp + 0x734], 0
jne 0x14001731f
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 0x1400172fb
xor eax, eax
jmp 0x140017398
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x28]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x2b0], rax
lea rdx, [rbp + 0x230]
mov rax, qword [rbp + 0xaa0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov dword [rbp + 0x754], eax
cmp dword [rbp + 0x754], 0
jne 0x140017382
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 0x14001735e
xor eax, eax
jmp 0x140017398
mov rax, qword [rbp + 0xaa0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140024850]
call fcn.14001159b
mov rax, rdi
mov rcx, qword [rbp + 0xa78]
xor rcx, rbp
call fcn.140011320
lea rsp, [rbp + 0xa88]
pop rdi
pop rbp
ret