Function at 0x180017920
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push rdi
push r14
sub rsp, 0x38
mov rax, qword [0x18014a010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov r8d, dword [rcx + 0x18]
mov rdi, rcx
mov ecx, dword [rcx + 0x14]
mov eax, r8d
shr eax, 0x18
mov r9d, ecx
mov byte [rsp + 0x20], al
mov r14, rdx
shr r9d, 3
mov eax, r8d
shr eax, 0x10
and r9d, 0x3f
mov byte [rsp + 0x21], al
mov eax, r8d
shr eax, 8
mov byte [rsp + 0x22], al
mov eax, ecx
shr eax, 0x18
mov byte [rsp + 0x24], al
mov eax, ecx
shr eax, 0x10
mov byte [rsp + 0x25], al
mov eax, ecx
shr eax, 8
mov byte [rsp + 0x26], al
lea eax, [rcx + 8]
mov qword [rsp + 0x30], r15
mov byte [rsp + 0x23], r8b
mov byte [rsp + 0x27], cl
mov dword [rdi + 0x14], eax
cmp eax, 8
jae 0x1800179a6
inc r8d
lea eax, [r9 + 1]
mov qword [rsp + 0x70], rsi
mov dword [rdi + 0x18], r8d
mov ebp, 0x40
lea r15, [0x18012207c]
cmp eax, 0x3f
jbe 0x180017a0d
mov eax, r9d
lea rcx, [rdi + 0x1c]
mov ebx, ebp
add rcx, rax
sub ebx, r9d
mov rdx, r15
mov r8d, ebx
call fcn.1800c1d10
lea rdx, [rdi + 0x1c]
mov rcx, rdi
call fcn.180016540
lea esi, [rbx + 0x3f]
cmp esi, 1
jae 0x180017a08
mov edx, ebx
mov rcx, rdi
add rdx, r15
call fcn.180016540
add ebx, ebp
add esi, ebp
cmp esi, 1
jb 0x1800179f2
xor r9d, r9d
jmp 0x180017a0f
xor ebx, ebx
mov r8d, 1
mov eax, r9d
mov edx, ebx
lea rcx, [rdi + 0x1c]
sub r8d, ebx
add rdx, r15
add rcx, rax
call fcn.1800c1d10
mov edx, dword [rdi + 0x14]
mov eax, edx
and eax, 0x1f8
cmp eax, 0x1c0
je 0x180017aed
lea r15, [0x180122080]
nop dword [rax + rax]
lea eax, [rdx + 8]
mov ecx, edx
shr ecx, 3
and ecx, 0x3f
mov dword [rdi + 0x14], eax
cmp eax, 8
jae 0x180017a66
inc dword [rdi + 0x18]
lea eax, [rcx + 1]
cmp eax, 0x3f
jbe 0x180017aba
mov eax, ecx
mov ebx, ebp
sub ebx, ecx
mov rdx, r15
lea rcx, [rdi + 0x1c]
mov r8d, ebx
add rcx, rax
call fcn.1800c1d10
lea rdx, [rdi + 0x1c]
mov rcx, rdi
call fcn.180016540
lea esi, [rbx + 0x3f]
cmp esi, 1
jae 0x180017ab6
nop word [rax + rax]
mov edx, ebx
mov rcx, rdi
add rdx, r15
call fcn.180016540
add ebx, ebp
add esi, ebp
cmp esi, 1
jb 0x180017aa0
xor ecx, ecx
jmp 0x180017abc
xor ebx, ebx
mov eax, ecx
mov r8d, 1
lea rcx, [rdi + 0x1c]
mov edx, ebx
add rcx, rax
sub r8d, ebx
add rdx, r15
call fcn.1800c1d10
mov edx, dword [rdi + 0x14]
mov eax, edx
and eax, 0x1f8
cmp eax, 0x1c0
jne 0x180017a50
mov r15, qword [rsp + 0x30]
lea eax, [rdx + 0x40]
mov rsi, qword [rsp + 0x70]
mov ecx, edx
shr ecx, 3
and ecx, 0x3f
mov dword [rdi + 0x14], eax
cmp eax, ebp
jae 0x180017b0c
inc dword [rdi + 0x18]
lea eax, [rcx + 8]
cmp eax, 0x3f
jbe 0x180017b61
sub ebp, ecx
mov eax, ecx
lea rcx, [rdi + 0x1c]
mov r8d, ebp
add rcx, rax
lea rdx, [rsp + 0x20]
call fcn.1800c1d10
lea rdx, [rdi + 0x1c]
mov rcx, rdi
call fcn.180016540
lea ebx, [rbp + 0x3f]
cmp ebx, 8
jae 0x180017b5d
mov eax, ebp
lea rdx, [rsp + 0x20]
add rdx, rax
mov rcx, rdi
call fcn.180016540
add ebp, 0x40
add ebx, 0x40
cmp ebx, 8
jb 0x180017b40
xor ecx, ecx
jmp 0x180017b63
xor ebp, ebp
mov eax, ebp
lea rdx, [rsp + 0x20]
add rdx, rax
mov r8d, 8
mov eax, ecx
sub r8d, ebp
lea rcx, [rdi + 0x1c]
add rcx, rax
call fcn.1800c1d10
movzx eax, byte [rdi + 3]
mov byte [r14], al
movzx eax, byte [rdi + 2]
mov byte [r14 + 1], al
mov eax, dword [rdi]
shr eax, 8
mov byte [r14 + 2], al
movzx eax, byte [rdi]
mov byte [r14 + 3], al
movzx eax, byte [rdi + 7]
mov byte [r14 + 4], al
movzx eax, byte [rdi + 6]
mov byte [r14 + 5], al
mov eax, dword [rdi + 4]
shr eax, 8
mov byte [r14 + 6], al
movzx eax, byte [rdi + 4]
mov byte [r14 + 7], al
movzx eax, byte [rdi + 0xb]
mov byte [r14 + 8], al
movzx eax, byte [rdi + 0xa]
mov byte [r14 + 9], al
mov eax, dword [rdi + 8]
shr eax, 8
mov byte [r14 + 0xa], al
movzx eax, byte [rdi + 8]
mov byte [r14 + 0xb], al
movzx eax, byte [rdi + 0xf]
mov byte [r14 + 0xc], al
movzx eax, byte [rdi + 0xe]
mov byte [r14 + 0xd], al
mov eax, dword [rdi + 0xc]
shr eax, 8
mov byte [r14 + 0xe], al
movzx eax, byte [rdi + 0xc]
mov byte [r14 + 0xf], al
movzx eax, byte [rdi + 0x13]
mov byte [r14 + 0x10], al
movzx eax, byte [rdi + 0x12]
mov byte [r14 + 0x11], al
mov eax, dword [rdi + 0x10]
shr eax, 8
mov byte [r14 + 0x12], al
movzx eax, byte [rdi + 0x10]
mov byte [r14 + 0x13], al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180096010
add rsp, 0x38
pop r14
pop rdi
pop rbp
pop rbx
ret