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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x14010d098]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov qword [rsp + 0x58], rcx
xor ecx, ecx
mov byte [rsp + 0x40], dl
call qword [0x1400d8338]
mov r15, rax
test rax, rax
je 0x14007924e
mov r14d, 0x5a4d
cmp word [rax], r14w
jne 0x14007924e
movsxd rdi, dword [rax + 0x3c]
add rdi, rax
cmp dword [rdi], 0x4550
jne 0x14007924e
movzx ebx, word [rdi + 0x14]
add rbx, 0x18
mov dword [rsp + 0x50], 0x104
add rbx, rdi
call qword [0x1400d8430]
lea r9, [rsp + 0x50]
xor edx, edx
mov rcx, rax
lea r8, [rsp + 0x60]
call qword [0x1400d8330]
xor esi, esi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], pe_nt_image_headers64
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [rsi + 1]
call qword [0x1400d83a0]
mov rbp, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14007924e
mov qword [rsp + 0x28], rsi
lea r8d, [rsi + 2]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
mov rcx, rbp
call qword [0x1400d8350]
test rax, rax
je 0x140079245
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
lea edx, [rsi + 4]
mov rcx, rax
call qword [0x1400d8348]
mov r12, rax
test rax, rax
je 0x14007924e
cmp word [rax], r14w
jne 0x14007923c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007923c
mov eax, dword [rdi + 8]
cmp dword [rcx + 8], eax
jne 0x14007923c
movzx edx, word [rcx + 6]
cmp dx, word [rdi + 6]
jne 0x14007923c
movzx r14d, word [rcx + 0x14]
mov r9d, esi
add r14, 0x18
mov qword [rsp + 0x2b0], r13
add r14, rcx
xor r13b, r13b
mov r10d, edx
test edx, edx
je 0x14007921c
mov r11, qword [rsp + 0x58]
mov qword [rsp + 0x48], rbp
mov r8, r11
mov rax, rbx
sub r8, rbx
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140079173
inc rax
test ecx, ecx
jne 0x140079160
test edx, edx
jne 0x140079180
test dword [rbx + 0x24], 0x20000000
jne 0x140079195
inc r9d
add rbx, 0x28
add r14, 0x28
cmp r9d, r10d
jl 0x140079154
jmp 0x14007921c
mov edx, dword [rbx + 0x10]
test edx, edx
je 0x14007921c
mov eax, dword [r14 + 0x14]
mov ecx, dword [rbx + 0xc]
mov edi, esi
add rax, rdi
add rcx, rdi
add rcx, r15
movzx ebp, byte [rax + r12]
mov eax, edx
cmp byte [rcx], bpl
je 0x14007920f
cmp byte [rsp + 0x40], 0
je 0x14007920c
mov edx, 1
mov dword [rsp + 0x50], 0x40
lea r9, [rsp + 0x58]
lea r8d, [rdx + 0x3f]
call qword [0x1400d8450]
mov eax, dword [rbx + 0xc]
lea r9, [rsp + 0x50]
add rax, rdi
mov edx, 1
mov byte [rax + r15], bpl
mov ecx, dword [rbx + 0xc]
mov r8d, dword [rsp + 0x58]
add rcx, rdi
add rcx, r15
call qword [0x1400d8450]
mov eax, dword [rbx + 0x10]
mov r13b, 1
inc esi
mov edx, eax
cmp esi, eax
jb 0x1400791a0
mov rbp, qword [rsp + 0x48]
mov rcx, r12
call qword [0x1400d8340]
mov rcx, rbp
call qword [0x1400d83f0]
movzx eax, r13b
mov r13, qword [rsp + 0x2b0]
jmp 0x140079250
mov rcx, r12
call qword [0x1400d8340]
mov rcx, rbp
call qword [0x1400d83f0]
mov al, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400d2320
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret