Function at 0x14000293f
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp - 0x48], 0
mov qword [rbp - 8], 0
mov qword [rbp - 0x58], 0
lea rax, [rbp - 0x58]
mov rcx, rax
call fcn.140002725
mov ecx, 0x2e495f03
call fcn.1400015cb
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400029b7
lea rax, str.IMAGE_DOS_SIGNATURE_MISMATCH_n
mov rdx, rax
mov rax, qword [0x1400c43d0]
mov rcx, rax
call fcn.1400b4110
jmp 0x140002c8f
mov rax, qword [rbp - 0x28]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 0x20]
add rax, rdx
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400029f7
lea rax, str.IMAGE_NT_SIGNATURE_MISMATCH_n
mov rdx, rax
mov rax, qword [0x1400c43d0]
mov rcx, rax
call fcn.1400b4110
jmp 0x140002c8f
mov rax, qword [rbp - 0x30]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x30]
add rax, rdx
add rax, 0x18
mov qword [rbp - 0x38], rax
mov dword [rbp - 0xc], 0
jmp 0x140002ad9
mov eax, dword [rbp - 0xc]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp - 0x38]
add rax, rdx
lea rdx, str..text
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140002ad5
mov eax, dword [rbp - 0xc]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp - 0x38]
add rax, rdx
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp - 0x20]
add rax, rdx
mov qword [rbp - 0x48], rax
mov rcx, qword [rbp - 0x58]
mov eax, dword [rbp - 0xc]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp - 0x38]
add rax, rdx
mov eax, dword [rax + 0xc]
mov eax, eax
add rax, rcx
mov qword [rbp - 8], rax
mov eax, dword [rbp - 0xc]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp - 0x38]
add rax, rdx
mov eax, dword [rax + 8]
mov eax, eax
mov qword [rbp - 0x50], rax
add dword [rbp - 0xc], 1
mov rax, qword [rbp - 0x30]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jl 0x140002a1d
mov rdx, qword [0x1400ea150]
lea rax, [rbp - 0x5c]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], pe_nt_image_headers64
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9, 0xffffffffffffffff
mov r8, rdx
mov edx, 5
mov rax, qword [0x1400c3e90]
mov rcx, rax
call fcn.140001450
mov dword [rbp - 0x3c], eax
cmp dword [rbp - 0x3c], 0
je 0x140002b8d
lea rax, str.Protection_1_Error:
mov rdx, rax
mov rax, qword [0x1400c43d0]
mov rcx, rax
call fcn.1400b4110
mov rcx, rax
lea rax, [0x1400b2bc0]
mov rdx, rax
call fcn.1400754a0
mov rcx, rax
mov eax, dword [rbp - 0x3c]
mov edx, eax
call fcn.1400756c0
mov rcx, rax
lea rax, [0x1400be1d9]
mov rdx, rax
call fcn.1400b4110
jmp 0x140002c8f
mov rax, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x48]
mov rdx, qword [0x1400ea150]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9, rcx
mov r8, rdx
mov edx, 3
mov rax, qword [sub.msvcrt.dll_memcpy]
mov rcx, rax
call fcn.140001450
mov eax, dword [rbp - 0x5c]
mov rcx, qword [0x1400ea150]
lea rdx, [rbp - 0x5c]
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9, 0xffffffffffffffff
mov r8, rcx
mov edx, 5
mov rax, qword [0x1400c3e90]
mov rcx, rax
call fcn.140001450
mov dword [rbp - 0x3c], eax
cmp dword [rbp - 0x3c], 0
je 0x140002c60
lea rax, str.Protection_2_Error:
mov rdx, rax
mov rax, qword [0x1400c43d0]
mov rcx, rax
call fcn.1400b4110
mov rcx, rax
lea rax, [0x1400b2bc0]
mov rdx, rax
call fcn.1400754a0
mov rcx, rax
mov eax, dword [rbp - 0x3c]
mov edx, eax
call fcn.1400756c0
mov rcx, rax
lea rax, [0x1400be1d9]
mov rdx, rax
call fcn.1400b4110
jmp 0x140002c8f
lea rax, str._DEBUG__UNHOOKED_NTDLL__n
mov rdx, rax
mov rax, qword [0x1400c43d0]
mov rcx, rax
call fcn.1400b4110
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x140002c8e
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.1400b6740
nop
add rsp, 0xa0
pop rbp
ret