Function at 0x18006faf0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
jmp 0x180076b40
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2c8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x76
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2e8]
mov rax, qword [0x18018e148]
xor rax, rbp
mov qword [rbp + 0x288], rax
lea rcx, [0x1801a0174]
call fcn.180072061
mov dword [rbp + 0x44], 0
cmp qword [rbp + 0x2b0], 0
jne 0x180076ba9
mov eax, 0xffffffff
jmp 0x180076fa2
mov rax, qword [rbp + 0x2b0]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x2b0]
mov eax, dword [rax + 0x3c]
add rax, qword [rbp + 0x2b0]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x68]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x2b0]
lea rax, [rcx + rax + 0x108]
mov qword [rbp + 0x88], rax
mov dword [rbp + 0xa4], 0
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 8]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rbp + 0x2b8]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rbp + 0x2b8]
lea rcx, str.SetPeSectionsAttr__:_pImageBaseRemote_p_IAT_p
call fcn.18006f6ae
mov dword [rbp + 0xc4], 4
mov rax, qword [rbp + 0x68]
movsxd rax, dword [rax + 0x3c]
add rax, 0x108
mov qword [rbp + 0xe8], rax
lea r9, [rbp + 0xa4]
mov r8d, dword [rbp + 0xc4]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0x2b8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rbp + 0x104], eax
cmp dword [rbp + 0x104], 0
jne 0x180076c9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.SetPeSectionsAttr__:_VirtualProtect___IMAGE_DIRECTORY_ENTRY_IMPORT_failed
mov ecx, eax
call fcn.180070eaa
mov eax, 0xffffffff
jmp 0x180076fa2
mov dword [rbp + 0x124], 0
jmp 0x180076cb8
mov eax, dword [rbp + 0x124]
inc eax
mov dword [rbp + 0x124], eax
mov rax, qword [rbp + 8]
movzx eax, word [rax + 6]
cmp dword [rbp + 0x124], eax
jae 0x180076fa0
mov eax, dword [rbp + 0x124]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x88]
cmp dword [rcx + rax + 0x14], 0
jne 0x180076ce6
jmp 0x180076caa
mov r8d, 9
xor edx, edx
lea rcx, [rbp + 0x148]
call fcn.1800713f0
mov eax, dword [rbp + 0x124]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x88]
add rcx, rax
mov rax, rcx
mov r8d, 8
mov rdx, rax
lea rcx, [rbp + 0x148]
call fcn.18007077f
mov eax, dword [rbp + 0x124]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x88]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rbp + 0x2b8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x178], rax
mov dword [rbp + 0x194], 0
mov eax, dword [rbp + 0x124]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x88]
mov eax, dword [rcx + rax + 0x24]
and eax, 0xf0000000
mov dword [rbp + 0x1b4], eax
mov eax, dword [rbp + 0x1b4]
mov dword [rbp + 0x284], eax
cmp dword [rbp + 0x284], 0x80000000
ja 0x180076dce
cmp dword [rbp + 0x284], 0x80000000
je 0x180076ea2
cmp dword [rbp + 0x284], 0x20000000
je 0x180076e03
cmp dword [rbp + 0x284], 0x40000000
je 0x180076e12
cmp dword [rbp + 0x284], 0x60000000
je 0x180076e96
jmp 0x180076ed0
cmp dword [rbp + 0x284], 0xa0000000
je 0x180076eae
cmp dword [rbp + 0x284], 0xc0000000
je 0x180076eba
cmp dword [rbp + 0x284], 0xe0000000
je 0x180076ec6
jmp 0x180076ed0
mov dword [rbp + 0x194], 0x10
jmp 0x180076ed0
mov dword [rbp + 0x194], 2
mov eax, 1
imul rax, rax, 1
movsx eax, byte [rbp + rax + 0x148]
cmp eax, 0x72
jne 0x180076e94
mov eax, 1
imul rax, rax, 2
movsx eax, byte [rbp + rax + 0x148]
cmp eax, 0x64
jne 0x180076e94
mov eax, 1
imul rax, rax, 3
movsx eax, byte [rbp + rax + 0x148]
cmp eax, 0x61
jne 0x180076e94
mov eax, 1
imul rax, rax, 4
movsx eax, byte [rbp + rax + 0x148]
cmp eax, 0x74
jne 0x180076e94
mov eax, 1
imul rax, rax, 5
movsx eax, byte [rbp + rax + 0x148]
cmp eax, 0x61
jne 0x180076e94
mov dword [rbp + 0x194], 4
jmp 0x180076ed0
mov dword [rbp + 0x194], 0x20
jmp 0x180076ed0
mov dword [rbp + 0x194], 4
jmp 0x180076ed0
mov dword [rbp + 0x194], 0x40
jmp 0x180076ed0
mov dword [rbp + 0x194], 4
jmp 0x180076ed0
mov dword [rbp + 0x194], 0x40
mov eax, dword [rbp + 0x124]
imul rax, rax, 0x28
mov ecx, dword [rbp + 0x124]
imul rcx, rcx, 0x28
mov rdx, qword [rbp + 0x88]
mov ecx, dword [rdx + rcx + 0x10]
mov edx, dword [rbp + 0x194]
mov dword [rsp + 0x28], edx
mov rdx, qword [rbp + 0x88]
mov eax, dword [rdx + rax + 0x24]
mov dword [rsp + 0x20], eax
mov r9d, ecx
lea r8, [rbp + 0x148]
mov rdx, qword [rbp + 0x178]
lea rcx, str.SetPeSectionsAttr__:_pSectionDestination_p_name_s_size_08X_pSections_x_.Characteristics_08X_dwFlags_08X
call fcn.18006f6ae
mov eax, dword [rbp + 0x124]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x88]
mov eax, dword [rcx + rax + 0x10]
mov qword [rbp + 0xe8], rax
lea r9, [rbp + 0xa4]
mov r8d, dword [rbp + 0x194]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rbp + 0x104], eax
cmp dword [rbp + 0x104], 0
jne 0x180076f8f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, dword [rbp + 0x124]
lea rdx, str.SetPeSectionsAttr__:_VirtualProtect___x_u_failed
mov ecx, eax
call fcn.180070eaa
jmp 0x180076f9b
lea rcx, str.SetPeSectionsAttr__:_VirtualProtect___ok_
call fcn.18006f6ae
jmp 0x180076caa
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x18015a2a0]
call fcn.1800717ce
mov rax, rdi
mov rcx, qword [rbp + 0x288]
xor rcx, rbp
call fcn.18007077a
lea rsp, [rbp + 0x298]
pop rdi
pop rbp
ret