Function at 0x14000c840
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140066010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, rdx
mov byte [rsp + 0x20], pe_nt_image_headers64
mov edx, dword [rdx + 0x18]
mov r14, rcx
mov eax, edx
mov byte [rsp + 0x2b], dl
shr eax, 0x18
mov ecx, dword [rdi + 0x14]
mov byte [rsp + 0x28], al
mov eax, edx
shr eax, 0x10
mov byte [rsp + 0x29], al
mov eax, edx
shr eax, 8
mov byte [rsp + 0x2a], al
mov eax, ecx
shr eax, 0x18
mov byte [rsp + 0x2c], al
mov eax, ecx
shr eax, 0x10
mov byte [rsp + 0x2d], al
mov eax, ecx
shr eax, 8
mov byte [rsp + 0x2e], al
lea eax, [rcx + 8]
mov byte [rsp + 0x2f], cl
mov dword [rdi + 0x14], eax
cmp eax, ecx
jae 0x14000c8b7
inc edx
shr ecx, 3
mov ebp, 0x40
and ecx, 0x3f
mov qword [rsp + 0x70], rsi
mov dword [rdi + 0x18], edx
lea eax, [rcx + 1]
cmp eax, 0x3f
jbe 0x14000c91f
mov eax, ecx
lea rdx, [rsp + 0x20]
mov ebx, ebp
sub ebx, ecx
lea rcx, [rdi + 0x1c]
add rcx, rax
mov r8d, ebx
call fcn.140037340
lea rdx, [rdi + 0x1c]
mov rcx, rdi
call fcn.14000b500
lea esi, [rbx + 0x3f]
cmp esi, 1
jae 0x14000c91b
mov eax, ebx
lea rdx, [rsp + 0x20]
add rdx, rax
mov rcx, rdi
call fcn.14000b500
add ebx, ebp
add esi, ebp
cmp esi, 1
jb 0x14000c900
xor ecx, ecx
jmp 0x14000c921
xor ebx, ebx
mov eax, ebx
lea rdx, [rsp + 0x20]
add rdx, rax
mov r8d, 1
mov eax, ecx
sub r8d, ebx
lea rcx, [rdi + 0x1c]
add rcx, rax
call fcn.140037340
mov ecx, dword [rdi + 0x14]
mov eax, ecx
and eax, 0x1f8
cmp eax, 0x1c0
je 0x14000ca07
nop word [rax + rax]
lea eax, [rcx + 8]
mov byte [rsp + 0x20], 0
mov dword [rdi + 0x14], eax
cmp eax, ecx
jae 0x14000c972
inc dword [rdi + 0x18]
shr ecx, 3
and ecx, 0x3f
lea eax, [rcx + 1]
cmp eax, 0x3f
jbe 0x14000c9cf
mov eax, ecx
lea rdx, [rsp + 0x20]
mov ebx, ebp
sub ebx, ecx
lea rcx, [rdi + 0x1c]
add rcx, rax
mov r8d, ebx
call fcn.140037340
lea rdx, [rdi + 0x1c]
mov rcx, rdi
call fcn.14000b500
lea esi, [rbx + 0x3f]
cmp esi, 1
jae 0x14000c9cb
nop
mov eax, ebx
lea rdx, [rsp + 0x20]
add rdx, rax
mov rcx, rdi
call fcn.14000b500
add ebx, ebp
add esi, ebp
cmp esi, 1
jb 0x14000c9b0
xor ecx, ecx
jmp 0x14000c9d1
xor ebx, ebx
mov eax, ebx
lea rdx, [rsp + 0x20]
add rdx, rax
mov r8d, 1
mov eax, ecx
sub r8d, ebx
lea rcx, [rdi + 0x1c]
add rcx, rax
call fcn.140037340
mov ecx, dword [rdi + 0x14]
mov eax, ecx
and eax, 0x1f8
cmp eax, 0x1c0
jne 0x14000c960
mov rsi, qword [rsp + 0x70]
lea eax, [rcx + 0x40]
mov dword [rdi + 0x14], eax
cmp eax, ecx
jae 0x14000ca19
inc dword [rdi + 0x18]
shr ecx, 3
and ecx, 0x3f
lea eax, [rcx + 8]
cmp eax, 0x3f
jbe 0x14000ca74
sub ebp, ecx
mov eax, ecx
lea rcx, [rdi + 0x1c]
mov r8d, ebp
add rcx, rax
lea rdx, [rsp + 0x28]
call fcn.140037340
lea rdx, [rdi + 0x1c]
mov rcx, rdi
call fcn.14000b500
lea ebx, [rbp + 0x3f]
cmp ebx, 8
jae 0x14000ca70
mov eax, ebp
lea rdx, [rsp + 0x28]
add rdx, rax
mov rcx, rdi
call fcn.14000b500
add ebp, 0x40
add ebx, 0x40
cmp ebx, 8
jb 0x14000ca53
xor ecx, ecx
jmp 0x14000ca76
xor ebp, ebp
mov eax, ebp
lea rdx, [rsp + 0x28]
add rdx, rax
mov r8d, 8
mov eax, ecx
sub r8d, ebp
lea rcx, [rdi + 0x1c]
add rcx, rax
call fcn.140037340
movzx eax, byte [rdi + 3]
xorps xmm0, xmm0
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
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
mov qword [rdi + 0x50], rax
mov dword [rdi + 0x58], eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400353c0
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret