Function at 0x140004a70
Capabilities:
Access peb ldr_data
Enumerate pe sections

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
add rcx, 0x20
cmp dword [0x1400070f0], 0
mov qword [rsp + 0x98], rcx
je 0x140004fa4
mov rax, qword [rcx]
mov qword [r11 - 0x38], r14
mov r14, qword [rax]
cmp r14, rcx
je 0x140004f9f
mov qword [r11 - 8], rbx
mov qword [r11 - 0x10], rbp
mov qword [r11 - 0x18], rsi
xor esi, esi
mov qword [r11 - 0x20], rdi
mov qword [r11 - 0x28], r12
mov qword [r11 - 0x30], r13
mov qword [r11 - 0x40], r15
nop
mov rcx, qword [r14 + 0x50]
call fcn.140004790
mov rbp, qword [r14 + 0x20]
mov r13, rax
mov qword [rsp + 0x88], rsi
mov r12, rsi
mov qword [rsp + 0x90], rsi
mov dword [rsp + 0x80], esi
test rax, rax
je 0x140004e88
test rbp, rbp
je 0x140004e88
movsxd rdi, dword [rbp + 0x3c]
add rdi, rbp
cmp dword [rdi], 0x4550
jne 0x140004e88
movzx r15d, word [rdi + 0x14]
add r15, 0x18
add r15, rdi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x208
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x140004b9d
mov r8, qword [r14 + 0x50]
lea rdx, str._i__Unhooking__ws_...
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0xfffffff5
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, ebx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov ebx, eax
mov esi, eax
cmp ax, word [rdi + 6]
jae 0x140004c00
nop dword [rax]
movsxd rax, ebx
lea rcx, [rax + rax*4]
lea rcx, [r15 + rcx*8]
call fcn.1400014f0
cmp eax, 0xb80c0d8
je 0x140004bd6
movzx eax, word [rdi + 6]
inc ebx
inc rsi
cmp ebx, eax
jl 0x140004bb0
jmp 0x140004c00
lea rax, [rsi + rsi*4]
lea rcx, [r15 + rax*8]
mov eax, dword [r15 + rax*8 + 8]
mov qword [rsp + 0x88], rax
mov eax, dword [rcx + 0xc]
add rax, rbp
mov qword [rsp + 0x90], rax
mov r12d, dword [rcx + 0xc]
add r12, r13
cmp qword [rsp + 0x88], 0
je 0x140004e86
cmp qword [rsp + 0x90], 0
je 0x140004e86
test r12, r12
je 0x140004e86
mov rdx, qword [0x1400070b8]
mov ecx, dword [0x1400070b0]
call fcn.140004fb0
lea rax, [rsp + 0x80]
mov r9d, 0x40
lea r8, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x90]
mov rcx, 0xffffffffffffffff
call fcn.140004fd2
mov ebx, eax
test eax, eax
jns 0x140004d35
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x208
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x140004d2b
mov edx, 0x5c
lea rcx, str.C:My_FilesExclusionMaldevAcademyLdr.1_mainLoaderUnook.c
call fcn.140001d50
test rax, rax
je 0x140004cc4
mov edx, 0x5c
lea rcx, str.C:My_FilesExclusionMaldevAcademyLdr.1_mainLoaderUnook.c
call fcn.140001d50
inc rax
jmp 0x140004ccb
lea rax, str.C:My_FilesExclusionMaldevAcademyLdr.1_mainLoaderUnook.c
mov dword [rsp + 0x20], 0x76
lea rdx, str._t____NtProtectVirtualMemory_1__Failed_With_Error:_0x_0.8X____s._d__n
mov r8d, ebx
mov r9, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0xfffffff5
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor esi, esi
xor r9d, r9d
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r14, qword [r14]
jmp 0x140004e94
mov r14, qword [r14]
xor esi, esi
jmp 0x140004e94
mov r8, qword [rsp + 0x88]
mov rdx, r12
mov rcx, qword [rsp + 0x90]
call fcn.140001cb0
mov rdx, qword [0x1400070b8]
mov ecx, dword [0x1400070b0]
call fcn.140004fb0
mov r9d, dword [rsp + 0x80]
lea rax, [rsp + 0x80]
lea r8, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x90]
mov rcx, 0xffffffffffffffff
call fcn.140004fd2
mov ebx, eax
test eax, eax
jns 0x140004e15
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x208
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x140004d2b
mov edx, 0x5c
lea rcx, str.C:My_FilesExclusionMaldevAcademyLdr.1_mainLoaderUnook.c
call fcn.140001d50
test rax, rax
je 0x140004dfa
mov edx, 0x5c
lea rcx, str.C:My_FilesExclusionMaldevAcademyLdr.1_mainLoaderUnook.c
call fcn.140001d50
inc rax
mov dword [rsp + 0x20], 0x82
lea rdx, str._t____NtProtectVirtualMemory_2__Failed_With_Error:_0x_0.8X____s._d__n
jmp 0x140004cda
lea rax, str.C:My_FilesExclusionMaldevAcademyLdr.1_mainLoaderUnook.c
mov dword [rsp + 0x20], 0x82
lea rdx, str._t____NtProtectVirtualMemory_2__Failed_With_Error:_0x_0.8X____s._d__n
jmp 0x140004cda
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x208
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x140004e86
lea rdx, str.___DONE__n
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0xfffffff5
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor esi, esi
xor r9d, r9d
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r14, qword [r14]
jmp 0x140004e94
xor esi, esi
mov r14, qword [r14]
test r13, r13
je 0x140004f6e
mov rdx, qword [0x1400070c8]
mov ecx, dword [0x1400070c0]
call fcn.140004fb0
mov rdx, r13
mov rcx, 0xffffffffffffffff
call fcn.140004fd2
mov ebx, eax
test eax, eax
jns 0x140004f6e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x208
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x140004f6e
mov edx, 0x5c
lea rcx, str.C:My_FilesExclusionMaldevAcademyLdr.1_mainLoaderUnook.c
call fcn.140001d50
test rax, rax
je 0x140004f11
mov edx, 0x5c
lea rcx, str.C:My_FilesExclusionMaldevAcademyLdr.1_mainLoaderUnook.c
call fcn.140001d50
inc rax
jmp 0x140004f18
lea rax, str.C:My_FilesExclusionMaldevAcademyLdr.1_mainLoaderUnook.c
mov r9, rax
mov dword [rsp + 0x20], 0x95
mov r8d, ebx
lea rdx, str._t____NtUnmapViewOfSection_Failed_With_Error:_0x_0.8X____s._d__n
mov rcx, rdi
call qword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0xfffffff5
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov rcx, rax
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp r14, qword [rsp + 0x98]
jne 0x140004ad0
mov r15, qword [rsp + 0x38]
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x40]
add rsp, 0x78
ret