Function at 0x18002d270
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push r12
push r14
sub rsp, 0x40
xor r12d, r12d
lea r9, [rsp + 0x70]
mov rbp, rdx
mov dword [rsp + 0x70], r12d
mov r14, rcx
xor edx, edx
mov rcx, qword [rcx]
lea r8d, [r12 + 1]
call qword [sym.imp.dbghelp.dll_ImageDirectoryEntryToData]
test rax, rax
jne 0x18002d2bf
mov qword [rbp], r12
mov rax, rbp
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], r12
add rsp, 0x40
pop r14
pop r12
pop rbp
ret
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r15
cmp dword [rax + 0xc], r12d
je 0x18002d36d
lea rsi, [rax + 0x10]
mov r8d, dword [rsi - 0x10]
xor r9d, r9d
mov rdx, qword [r14]
mov rcx, qword [r14 + 0x38]
test r8d, r8d
jne 0x18002d2f7
mov r8d, dword [rsi]
call qword [sym.imp.dbghelp.dll_ImageRvaToVa]
mov r8d, dword [rsi]
xor r9d, r9d
mov rdx, qword [r14]
mov rbx, rax
mov rcx, qword [r14 + 0x38]
call qword [sym.imp.dbghelp.dll_ImageRvaToVa]
mov rcx, qword [rbx]
mov rdi, rax
test rcx, rcx
je 0x18002d35f
sub rdi, rbx
test rcx, rcx
jns 0x18002d333
movzx ecx, cx
call fcn.18002fcf0
movzx eax, ax
jmp 0x18002d34f
mov rdx, qword [r14]
mov r8d, ecx
mov rcx, qword [r14 + 0x38]
xor r9d, r9d
call qword [sym.imp.dbghelp.dll_ImageRvaToVa]
lea rcx, [rax + 2]
call fcn.18002fcf0
mov qword [rdi + rbx], rax
add rbx, 8
mov rcx, qword [rbx]
test rcx, rcx
jne 0x18002d324
add rsi, 0x14
cmp dword [rsi - 4], r12d
jne 0x18002d2e1
mov rax, qword [r14 + 0x18]
mov rsi, qword [r14 + 0x20]
cmp rax, rsi
je 0x18002d381
mov qword [r14 + 0x20], rax
mov rsi, rax
mov rax, qword [r14 + 0x38]
mov rcx, rsi
mov rdx, qword [r14 + 0x18]
sub rcx, rdx
mov edi, dword [rax + 0x50]
cmp rdi, rcx
jae 0x18002d39d
lea rax, [rdi + rdx]
jmp 0x18002d3cd
jbe 0x18002d3d1
mov rax, qword [r14 + 0x28]
sub rax, rdx
cmp rdi, rax
jbe 0x18002d3b9
mov rdx, rdi
lea rcx, [r14 + 0x18]
call fcn.180020180
jmp 0x18002d3d1
sub rdi, rcx
xor edx, edx
mov r8, rdi
mov rcx, rsi
call fcn.1800c0800
lea rax, [rsi + rdi]
mov qword [r14 + 0x20], rax
mov rax, qword [r14 + 0x38]
mov r8d, dword [rax + 0x54]
test r8d, r8d
je 0x18002d3ea
mov rdx, qword [r14]
mov rcx, qword [r14 + 0x18]
call fcn.1800c0160
mov r9, qword [r14]
cmp r9, qword [r14 + 8]
je 0x18002d3f7
mov qword [r14 + 8], r9
mov rax, qword [r14 + 0x38]
mov rdi, r12
cmp r12w, word [rax + 6]
jae 0x18002d44a
mov rsi, r12
nop dword [rax + rax]
mov rax, qword [r14 + 0x40]
mov ecx, dword [rsi + rax + 0x10]
test ecx, ecx
je 0x18002d436
mov edx, dword [rsi + rax + 0x14]
mov r8d, ecx
mov ecx, dword [rsi + rax + 0xc]
add rdx, r9
add rcx, qword [r14 + 0x18]
call fcn.1800c0160
mov r9, qword [r14]
mov rax, qword [r14 + 0x38]
inc rdi
add rsi, 0x28
movzx ecx, word [rax + 6]
cmp rdi, rcx
jb 0x18002d410
mov r15, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x68]
mov qword [rbp], r12
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], r12
mov rdx, qword [r14 + 0x20]
sub rdx, qword [r14 + 0x18]
je 0x18002d494
mov rcx, rbp
call fcn.1800098e0
mov rdx, qword [r14 + 0x18]
mov rbx, qword [r14 + 0x20]
mov rdi, qword [rbp]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call fcn.1800c0160
lea rax, [rdi + rbx]
mov qword [rbp + 8], rax
mov rdi, qword [rsp + 0x38]
mov rax, rbp
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r14
pop r12
pop rbp
ret