Function at 0x140004af0
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 [0x1400080f0], 0
mov qword [rsp + 0x98], rcx
je 0x140005024
mov rax, qword [rcx]
mov qword [r11 - 0x38], r14
mov r14, qword [rax]
cmp r14, rcx
je 0x14000501f
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.140004810
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 0x140004f08
test rbp, rbp
je 0x140004f08
movsxd rdi, dword [rbp + 0x3c]
add rdi, rbp
cmp dword [rdi], 0x4550
jne 0x140004f08
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 0x140004c1d
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 0x140004c80
nop dword [rax]
movsxd rax, ebx
lea rcx, [rax + rax*4]
lea rcx, [r15 + rcx*8]
call fcn.1400014f0
cmp eax, 0xb80c0d8
je 0x140004c56
movzx eax, word [rdi + 6]
inc ebx
inc rsi
cmp ebx, eax
jl 0x140004c30
jmp 0x140004c80
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 0x140004f06
cmp qword [rsp + 0x90], 0
je 0x140004f06
test r12, r12
je 0x140004f06
mov rdx, qword [0x1400080b8]
mov ecx, dword [0x1400080b0]
call fcn.140005030
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.140005052
mov ebx, eax
test eax, eax
jns 0x140004db5
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 0x140004dab
mov edx, 0x5c
lea rcx, str.C:_toolsMaldevAcademyLdr.1LoaderUnook.c
call fcn.140001d50
test rax, rax
je 0x140004d44
mov edx, 0x5c
lea rcx, str.C:_toolsMaldevAcademyLdr.1LoaderUnook.c
call fcn.140001d50
inc rax
jmp 0x140004d4b
lea rax, str.C:_toolsMaldevAcademyLdr.1LoaderUnook.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 0x140004f14
mov r14, qword [r14]
xor esi, esi
jmp 0x140004f14
mov r8, qword [rsp + 0x88]
mov rdx, r12
mov rcx, qword [rsp + 0x90]
call fcn.140001cb0
mov rdx, qword [0x1400080b8]
mov ecx, dword [0x1400080b0]
call fcn.140005030
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.140005052
mov ebx, eax
test eax, eax
jns 0x140004e95
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 0x140004dab
mov edx, 0x5c
lea rcx, str.C:_toolsMaldevAcademyLdr.1LoaderUnook.c
call fcn.140001d50
test rax, rax
je 0x140004e7a
mov edx, 0x5c
lea rcx, str.C:_toolsMaldevAcademyLdr.1LoaderUnook.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 0x140004d5a
lea rax, str.C:_toolsMaldevAcademyLdr.1LoaderUnook.c
mov dword [rsp + 0x20], 0x82
lea rdx, str._t____NtProtectVirtualMemory_2__Failed_With_Error:_0x_0.8X____s._d__n
jmp 0x140004d5a
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 0x140004f06
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 0x140004f14
xor esi, esi
mov r14, qword [r14]
test r13, r13
je 0x140004fee
mov rdx, qword [0x1400080c8]
mov ecx, dword [0x1400080c0]
call fcn.140005030
mov rdx, r13
mov rcx, 0xffffffffffffffff
call fcn.140005052
mov ebx, eax
test eax, eax
jns 0x140004fee
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 0x140004fee
mov edx, 0x5c
lea rcx, str.C:_toolsMaldevAcademyLdr.1LoaderUnook.c
call fcn.140001d50
test rax, rax
je 0x140004f91
mov edx, 0x5c
lea rcx, str.C:_toolsMaldevAcademyLdr.1LoaderUnook.c
call fcn.140001d50
inc rax
jmp 0x140004f98
lea rax, str.C:_toolsMaldevAcademyLdr.1LoaderUnook.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 0x140004b50
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