Function at 0x180034bc0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rsi
push r12
sub rsp, 0x40
xor r12d, r12d
lea r9, [rsp + 0x70]
mov rbp, rdx
mov dword [rsp + 0x70], r12d
mov rsi, rcx
xor edx, edx
mov rcx, qword [rcx]
lea r8d, [r12 + 1]
call qword [sym.imp.dbghelp.dll_ImageDirectoryEntryToData]
test rax, rax
jne 0x180034c0d
mov qword [rbp], r12
mov rax, rbp
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], r12
add rsp, 0x40
pop r12
pop rsi
pop rbp
ret
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
cmp dword [rax + 0xc], r12d
je 0x180034cbc
lea r14, [rax + 0x10]
nop
mov r8d, dword [r14 - 0x10]
xor r9d, r9d
mov rdx, qword [rsi]
mov rcx, qword [rsi + 0x38]
test r8d, r8d
jne 0x180034c46
mov r8d, dword [r14]
call qword [sym.imp.dbghelp.dll_ImageRvaToVa]
mov r8d, dword [r14]
xor r9d, r9d
mov rdx, qword [rsi]
mov rbx, rax
mov rcx, qword [rsi + 0x38]
call qword [sym.imp.dbghelp.dll_ImageRvaToVa]
mov rcx, qword [rbx]
mov rdi, rax
test rcx, rcx
je 0x180034cae
sub rdi, rbx
test rcx, rcx
jns 0x180034c82
movzx ecx, cx
call fcn.1800375e0
movzx eax, ax
jmp 0x180034c9e
mov rdx, qword [rsi]
mov r8d, ecx
mov rcx, qword [rsi + 0x38]
xor r9d, r9d
call qword [sym.imp.dbghelp.dll_ImageRvaToVa]
lea rcx, [rax + 2]
call fcn.1800375e0
mov qword [rbx + rdi], rax
add rbx, 8
mov rcx, qword [rbx]
test rcx, rcx
jne 0x180034c73
add r14, 0x14
cmp dword [r14 - 4], r12d
jne 0x180034c30
mov rax, qword [rsi + 0x18]
mov r14, qword [rsi + 0x20]
cmp rax, r14
je 0x180034cd0
mov qword [rsi + 0x20], rax
mov r14, rax
mov rax, qword [rsi + 0x38]
mov rcx, r14
mov rdx, qword [rsi + 0x18]
sub rcx, rdx
mov edi, dword [rax + 0x50]
cmp rdi, rcx
jae 0x180034cec
lea rax, [rdi + rdx]
jmp 0x180034d1c
jbe 0x180034d20
mov rax, qword [rsi + 0x28]
sub rax, rdx
cmp rdi, rax
jbe 0x180034d08
mov rdx, rdi
lea rcx, [rsi + 0x18]
call fcn.180020720
jmp 0x180034d20
sub rdi, rcx
xor edx, edx
mov r8, rdi
mov rcx, r14
call fcn.18010bd80
lea rax, [r14 + rdi]
mov qword [rsi + 0x20], rax
mov rax, qword [rsi + 0x38]
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r8d, dword [rax + 0x54]
test r8d, r8d
je 0x180034d43
mov rdx, qword [rsi]
mov rcx, qword [rsi + 0x18]
call fcn.18010b6e0
mov r9, qword [rsi]
cmp r9, qword [rsi + 8]
je 0x180034d50
mov qword [rsi + 8], r9
mov rax, qword [rsi + 0x38]
mov rbx, r12
cmp r12w, word [rax + 6]
jae 0x180034d9b
mov rdi, r12
mov rax, qword [rsi + 0x40]
mov ecx, dword [rdi + rax + 0x10]
test ecx, ecx
je 0x180034d87
mov edx, dword [rdi + rax + 0x14]
mov r8d, ecx
mov ecx, dword [rdi + rax + 0xc]
add rdx, r9
add rcx, qword [rsi + 0x18]
call fcn.18010b6e0
mov r9, qword [rsi]
mov rax, qword [rsi + 0x38]
inc rbx
add rdi, 0x28
movzx ecx, word [rax + 6]
cmp rbx, rcx
jb 0x180034d61
mov qword [rbp], r12
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], r12
mov rdx, qword [rsi + 0x20]
sub rdx, qword [rsi + 0x18]
je 0x180034ddb
mov rcx, rbp
call fcn.180009b40
mov rdx, qword [rsi + 0x18]
mov rbx, qword [rsi + 0x20]
mov rdi, qword [rbp]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call fcn.18010b6e0
lea rax, [rdi + rbx]
mov qword [rbp + 8], rax
mov rdi, qword [rsp + 0x68]
mov rax, rbp
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r12
pop rsi
pop rbp
ret