Function at 0x1800607e0
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov rax, qword [rdx]
mov r15, rcx
movzx ebx, byte [rdx + 0x1c]
mov rsi, rdx
mov rdi, qword [rcx + 0x10]
not ebx
and ebx, 1
mov r12d, dword [rax]
mov eax, dword [rcx + 0x54]
lea ebp, [r12 + rbx]
add ebp, dword [rsp + 0xb0]
inc eax
cmp dword [rsp + 0xb8], 0
mov dword [rcx + 0x54], eax
mov ecx, dword [rdx + 8]
mov dword [rsp + 0x90], ecx
mov dword [rsp + 0x98], eax
je 0x18006084c
mov r14d, r9d
sub r14d, r12d
sub r14d, ebx
jmp 0x180060856
lea r14d, [rax + 1]
add eax, ebp
mov dword [r15 + 0x54], eax
mov rdx, qword [rdx]
mov r9b, 1
mov r8d, r14d
mov rcx, r15
call fcn.180049378
lea r13d, [r12 + r14]
test ebx, ebx
je 0x180060888
and dword [rsp + 0x20], 0
mov r9d, r13d
mov r8d, dword [rsi + 0xc]
mov edx, 0x49
mov rcx, rdi
call fcn.1800376b8
cmp dword [rsp + 0xb8], 0
jne 0x1800608ad
mov r9d, dword [rsp + 0xb0]
lea r8d, [rbx + r13]
mov edx, dword [rsp + 0xa8]
mov rcx, r15
call fcn.180048280
mov eax, dword [rsp + 0x90]
mov edx, 0x31
sub ebp, eax
mov rcx, rdi
mov r9d, ebp
lea r8d, [r14 + rax]
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x20], eax
call fcn.1800376b8
mov ebp, dword [rsp + 0x90]
test ebp, ebp
jle 0x180060a7e
mov ecx, dword [r15 + 0x54]
lea eax, [rcx + 1]
add ecx, dword [rsi + 8]
mov dword [r15 + 0x54], ecx
sub r12d, dword [rsi + 8]
add r12d, ebx
mov dword [rsp + 0xb8], eax
test ebx, ebx
jne 0x180060908
mov r13d, dword [rsi + 0xc]
neg ebx
mov r8d, r13d
mov rcx, rdi
sbb edx, edx
and dword [rsp + 0x20], 0
and edx, 0xfffffff3
xor r9d, r9d
add edx, 0x3b
call fcn.1800376b8
mov ecx, dword [rsi + 8]
mov r9d, r14d
mov r13d, dword [rsp + 0xb8]
mov edx, 0x2a
mov dword [rsp + 0x20], ecx
mov r8d, r13d
mov rcx, rdi
mov dword [rsp + 0x90], eax
call fcn.1800376b8
mov edx, dword [rsi + 0x18]
mov rcx, rdi
call fcn.180037d78
mov rcx, qword [r15]
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0x51], 0
jne 0x180060b8a
mov rbx, qword [rax + 0x10]
xor edx, edx
mov ecx, dword [rsp + 0xb0]
add ecx, r12d
mov dword [rax + 8], ecx
movzx r8d, word [rbx + 6]
mov rcx, qword [rbx + 0x18]
call fcn.1800ad050
mov r9d, 0xfffffffa
mov r8, rbx
or edx, 0xffffffff
mov rcx, rdi
call fcn.180037c6c
movzx r9d, word [rbx + 8]
mov r8d, ebp
mov rdx, qword [rsi]
dec r9d
mov rcx, r15
call fcn.1800615bc
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov qword [rcx + 0x10], rax
lea edx, [r9 + 0x2b]
mov ebx, dword [rdi + 0x3c]
mov rcx, rdi
lea r8d, [rbx + 1]
mov dword [rsp + 0x20], r8d
call fcn.1800376b8
mov rcx, rdi
call fcn.1800377f4
mov dword [rsi + 0x14], eax
xor r12d, r12d
inc dword [r15 + 0x54]
mov rcx, rdi
mov r8d, dword [r15 + 0x54]
mov r9d, dword [rsi + 0x14]
lea edx, [r12 + 0x11]
mov dword [rsi + 0x10], r8d
mov dword [rsp + 0x20], r12d
call fcn.1800376b8
mov r8d, dword [rsi + 0xc]
lea edx, [r12 + 0x77]
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov rcx, rdi
call fcn.1800376b8
mov eax, dword [rsp + 0x90]
mov edx, dword [rdi + 0x3c]
cmp edx, eax
jbe 0x180060a40
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [rdx - 1]
mov r8d, r13d
mov edx, r14d
mov dword [rax + 0x64], ecx
mov rcx, r15
mov r9d, dword [rsi + 8]
call fcn.180048280
mov edx, dword [rdi + 0x3c]
cmp edx, ebx
jbe 0x180060a72
mov rax, qword [rdi + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
jmp 0x180060a81
xor r12d, r12d
mov dl, byte [rsi + 0x1c]
mov rcx, rdi
mov r9d, dword [rsp + 0x98]
not dl
mov r8d, dword [rsi + 0xc]
and edx, 1
add edx, 0x6d
mov dword [rsp + 0x20], r12d
call fcn.1800376b8
mov rcx, qword [rsp + 0xa0]
cmp dword [rcx + 0xc], r12d
je 0x180060b8a
mov eax, dword [rcx + 0x10]
mov edx, 0x8b
test eax, eax
mov dword [rsp + 0x20], r12d
lea ebx, [rax + 1]
cmove ebx, dword [rcx + 0xc]
xor r9d, r9d
mov r8d, ebx
mov rcx, rdi
call fcn.1800376b8
or r9d, 0xffffffff
mov ebp, eax
mov r8d, ebx
mov dword [rsp + 0x20], r12d
mov rcx, rdi
lea edx, [r9 + 0x26]
call fcn.1800376b8
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x10]
call fcn.1800376b8
mov r8d, dword [rdi + 0x3c]
mov ebx, eax
cmp r8d, ebp
jbe 0x180060b2f
mov rcx, qword [rdi + 8]
lea rdx, [rbp*2]
add rdx, rbp
mov dword [rcx + rdx*8 + 8], r8d
mov r8d, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [r8 - 1]
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov dword [rax + 0x64], ecx
mov rcx, rdi
mov r8d, dword [rsi + 0xc]
lea edx, [r9 + 0x69]
call fcn.1800376b8
mov r8d, dword [rsi + 0xc]
xor r9d, r9d
mov rcx, rdi
mov dword [rsp + 0x20], r12d
lea edx, [r9 + 0x5f]
call fcn.1800376b8
mov edx, dword [rdi + 0x3c]
cmp edx, ebx
jbe 0x180060b80
mov rax, qword [rdi + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret