Function at 0x140003240
Capabilities:
Access pe header
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x140003272
mov rax, qword [rsp + 0x70]
cmp qword [rax + 8], 0
jne 0x140003299
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x18], 0
mov dword [rsp + 0x24], 0xc000000d
jmp 0x1400034a1
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x10], 0
je 0x1400032d4
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x10]
inc rax
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x18]
dec rax
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x18], rax
jmp 0x1400033f6
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
cmp qword [rsp + 0x38], 0
je 0x1400033e9
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
xor eax, eax
mov word [rsp + 0x20], ax
jmp 0x140003327
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x140003394
mov rax, qword [rsp + 0x30]
mov r8d, 8
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call fcn.14003ed70
test eax, eax
jne 0x140003384
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x18], rax
jmp 0x140003394
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov qword [rsp + 0x30], rax
jmp 0x14000331a
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x10], 0
je 0x1400033c0
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x18], 0
je 0x1400033c0
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
cmp qword [rax + 0x18], rcx
jae 0x1400033e7
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x18], 0
mov dword [rsp + 0x24], 0xc0000225
jmp 0x1400034a1
jmp 0x1400033f6
mov dword [rsp + 0x24], 0xc00000ef
jmp 0x1400034a1
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x70]
add rax, qword [rcx + 0x18]
mov rcx, qword [rsp + 0x70]
sub rax, qword [rcx + 8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
cmp qword [rax + 0x10], rcx
ja 0x14000347f
mov rax, qword [rsp + 0x70]
mov r8, qword [rax + 8]
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x10]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call qword [sym.imp.ntdll.dll_RtlCompareMemory]
mov rcx, qword [rsp + 0x70]
cmp rax, qword [rcx + 8]
jne 0x140003453
jmp 0x1400034a1
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x10]
inc rax
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x18]
dec rax
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x18], rax
jmp 0x140003416
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x18], 0
mov dword [rsp + 0x24], 0xc0000225
jmp 0x1400034af
mov eax, dword [rsp + 0x24]
add rsp, 0x58
ret