Function at 0x180034850
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 0x18003489d
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 0x18003494c
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 0x1800348d6
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 0x18003493e
sub rdi, rbx
test rcx, rcx
jns 0x180034912
movzx ecx, cx
call fcn.1800371a0
movzx eax, ax
jmp 0x18003492e
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.1800371a0
mov qword [rbx + rdi], rax
add rbx, 8
mov rcx, qword [rbx]
test rcx, rcx
jne 0x180034903
add r14, 0x14
cmp dword [r14 - 4], r12d
jne 0x1800348c0
mov rax, qword [rsi + 0x18]
mov r14, qword [rsi + 0x20]
cmp rax, r14
je 0x180034960
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 0x18003497c
lea rax, [rdi + rdx]
jmp 0x1800349ac
jbe 0x1800349b0
mov rax, qword [rsi + 0x28]
sub rax, rdx
cmp rdi, rax
jbe 0x180034998
mov rdx, rdi
lea rcx, [rsi + 0x18]
call fcn.180020720
jmp 0x1800349b0
sub rdi, rcx
xor edx, edx
mov r8, rdi
mov rcx, r14
call fcn.18010b740
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 0x1800349d3
mov rdx, qword [rsi]
mov rcx, qword [rsi + 0x18]
call fcn.18010b0a0
mov r9, qword [rsi]
cmp r9, qword [rsi + 8]
je 0x1800349e0
mov qword [rsi + 8], r9
mov rax, qword [rsi + 0x38]
mov rbx, r12
cmp r12w, word [rax + 6]
jae 0x180034a2b
mov rdi, r12
mov rax, qword [rsi + 0x40]
mov ecx, dword [rdi + rax + 0x10]
test ecx, ecx
je 0x180034a17
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.18010b0a0
mov r9, qword [rsi]
mov rax, qword [rsi + 0x38]
inc rbx
add rdi, 0x28
movzx ecx, word [rax + 6]
cmp rbx, rcx
jb 0x1800349f1
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 0x180034a6b
mov rcx, rbp
call fcn.180009b60
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.18010b0a0
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