Function at 0x14017eb40
Capabilities:
Enumerate pe sections

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rbp
push rdi
push r12
sub rsp, 0x80
lea rbp, [rdx - 8]
mov rdi, r9
add rbp, rcx
mov r12, rcx
cmp rdx, 8
jbe 0x14017f212
mov r11, qword [rsp + 0xe8]
mov r9d, 1
mov qword [rax + 0x18], rbx
lea rbx, [r8 + 4]
mov qword [rax - 0x20], rsi
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
movzx eax, word [r8]
mov dword [rsp + 0xc], eax
mov qword [rsp + 0x48], rbx
test eax, eax
je 0x14017ebae
lea ecx, [rax - 1]
mov eax, r9d
shl eax, cl
jmp 0x14017ebb1
mov eax, r9d
movzx r10d, byte [rdi + r11 - 1]
add r8, 4
cdqe
lea rax, [r8 + rax*4]
mov r8, qword [rax + r10*8]
mov qword [rsp + 0x40], rax
mov rdx, r8
shr rdx, 0x20
lea ecx, [rdx + 0x8000]
shr ecx, 0x10
mov eax, ecx
shl eax, 0x10
sub eax, edx
mov edx, eax
sar rdx, cl
movsxd rax, r8d
add rdx, rax
movzx eax, word [rbx + rdx*2]
mov rdx, qword [rsp + 0xc0]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0xc8]
lea rsi, [rdx + 4]
mov qword [rsp + 0x38], rsi
movzx ebx, byte [rax + r11 - 1]
movzx eax, word [rdx]
mov dword [rsp + 0x10], eax
test eax, eax
je 0x14017ec29
lea ecx, [rax - 1]
mov eax, r9d
shl eax, cl
jmp 0x14017ec2c
mov eax, r9d
mov r15, qword [rsp + 0xd8]
add rdx, 4
movsxd rcx, eax
lea rcx, [rdx + rcx*4]
mov r8, qword [rcx + rbx*8]
mov qword [rsp + 0x30], rcx
mov rdx, r8
shr rdx, 0x20
lea ecx, [rdx + 0x8000]
shr ecx, 0x10
mov eax, ecx
shl eax, 0x10
sub eax, edx
mov edx, eax
sar rdx, cl
movsxd rax, r8d
add rdx, rax
movzx eax, word [rsi + rdx*2]
mov rdx, qword [rsp + 0xd0]
mov qword [rsp + 0x20], rax
movzx eax, word [rdx]
lea rsi, [rdx + 4]
mov dword [rsp + 0x14], eax
mov qword [rsp + 0x58], rsi
test eax, eax
je 0x14017ec95
lea ecx, [rax - 1]
shl r9d, cl
add rdx, 4
movsxd rax, r9d
movzx r9d, byte [r15 + r11 - 1]
lea r13, [0x140000000]
lea rax, [rdx + rax*4]
mov r8, qword [rax + r9*8]
mov qword [rsp + 0x50], rax
mov rdx, r8
shr rdx, 0x20
lea ecx, [rdx + 0x8000]
shr ecx, 0x10
mov eax, ecx
shl eax, 0x10
sub eax, edx
mov edx, eax
sar rdx, cl
movsxd rax, r8d
mov r8d, dword [r13 + r9*4 + 0x22cef0]
add rdx, rax
mov ecx, r8d
movzx eax, word [rsi + rdx*2]
mov edx, dword [r13 + r10*4 + 0x22cfd0]
mov qword [rsp], rax
mov rax, qword [rsp + 0xe0]
mov r9d, dword [r13 + rdx*4 + 0x22ce40]
lea r10d, [r8 + rdx]
lea r14, [rax + r11*8]
movzx eax, word [rax + r11*8 - 2]
and r9, rax
movzx eax, word [r14 - 4]
shl r9, cl
mov ecx, dword [r13 + r8*4 + 0x22ce40]
mov r8, rbx
and rcx, rax
or r9, rcx
cmp dword [rsp + 0xf0], 0
je 0x14017edb1
mov edi, 0x38
mov esi, r8d
cmp r8d, edi
mov rbx, r12
cmovb edi, r8d
sub esi, edi
je 0x14017ed8e
mov eax, dword [r14 - 8]
mov ecx, r10d
mov edx, dword [r13 + rsi*4 + 0x22ce40]
add r10d, esi
and rdx, rax
mov rbx, rbp
shl rdx, cl
or r9, rdx
mov eax, r10d
shr rax, 3
and r10d, 7
mov qword [r12], r9
lea rdx, [rax + r12]
shl al, 3
movzx ecx, al
shr r9, cl
cmp rdx, rbp
cmovbe rbx, rdx
mov eax, dword [r14 - 8]
lea esi, [rdi + r10]
mov ecx, r8d
sub cl, dil
shr rax, cl
mov ecx, dword [r13 + rdi*4 + 0x22ce40]
mov rdi, qword [rsp + 0xb8]
jmp 0x14017edc4
mov eax, dword [r13 + rbx*4 + 0x22ce40]
lea esi, [r10 + rbx]
mov ecx, dword [r14 - 8]
mov rbx, r12
and rax, rcx
mov edx, esi
shr rdx, 3
lea r13, [r11 - 2]
mov ecx, r10d
mov r14, rbp
shl rax, cl
or rax, r9
lea rcx, [rbx + rdx]
mov qword [rbx], rax
cmp rcx, rbp
cmovbe r14, rcx
movzx ecx, dl
shl cl, 3
and esi, 7
shr rax, cl
cmp r13, r11
jae 0x14017f0fa
mov rcx, qword [rsp + 0xc8]
lea rdx, [r15 + r13]
sub rcx, r15
mov qword [rsp + 0x28], rdx
sub rdi, r15
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xb8], rdi
nop word [rax + rax]
movzx ecx, byte [rcx + rdx]
lea rbx, [0x140000000]
movzx r9d, byte [rdi + rdx]
mov r12d, ecx
movzx r10d, byte [rdx]
mov r11, qword [rsp + 0x20]
mov r15, qword [rsp + 0x18]
mov edx, dword [rbx + r9*4 + 0x22cfd0]
mov r8d, dword [rbx + r10*4 + 0x22cef0]
mov dword [rsp + 0xa8], edx
mov rdx, qword [rsp + 0x30]
mov dword [rsp + 8], r8d
mov r8, qword [rdx + rcx*8]
mov rcx, r8
shr rcx, 0x20
add rcx, r11
shr rcx, 0x10
mov edx, ecx
mov edi, dword [rbx + rdx*4 + 0x22ce40]
lea ebx, [rsi + rcx]
and rdi, r11
sar r11, cl
movsxd rcx, r8d
add r11, rcx
mov rcx, qword [rsp + 0x38]
movzx r11d, word [rcx + r11*2]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], r11
mov r8, qword [rcx + r9*8]
lea r9, [0x140000000]
mov rcx, r8
shr rcx, 0x20
add rcx, r15
shr rcx, 0x10
mov edx, ecx
lea r11d, [rbx + rcx]
mov r9d, dword [r9 + rdx*4 + 0x22ce40]
and r9, r15
sar r15, cl
movsxd rcx, r8d
add r15, rcx
mov rcx, qword [rsp + 0x48]
movzx r15d, word [rcx + r15*2]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x18], r15
mov r10, qword [rcx + r10*8]
lea rcx, [0x140000000]
mov r8, r10
shr r8, 0x20
add r8, qword [rsp]
shr r8, 0x10
mov edx, r8d
mov r15d, dword [rcx + rdx*4 + 0x22ce40]
mov ecx, r11d
mov rdx, qword [rsp]
and r15, rdx
shl r15, cl
mov ecx, ebx
shl r9, cl
mov ecx, esi
or r15, r9
shl rdi, cl
or r15, rdi
lea r9d, [r11 + r8]
mov r11d, dword [rsp + 0xa8]
or r15, rax
movsxd rax, r10d
mov ecx, r8d
mov r10d, dword [rsp + 8]
sar rdx, cl
add rdx, rax
lea ebx, [r11 + r12]
mov rax, qword [rsp + 0x58]
add ebx, r10d
movzx edx, word [rax + rdx*2]
mov qword [rsp], rdx
cmp ebx, 0x1f
jb 0x14017ef97
mov qword [r14], r15
mov eax, r9d
and r9d, 7
shr rax, 3
lea rdx, [r14 + rax]
shl al, 3
movzx ecx, al
mov r14, rbp
shr r15, cl
cmp rdx, rbp
cmovbe r14, rdx
lea r8d, [r9 + r10]
mov ecx, r9d
lea rdi, [0x140000000]
mov eax, dword [rdi + r10*4 + 0x22ce40]
lea esi, [r11 + r8]
mov r10, qword [rsp + 0xe0]
movzx edx, word [r10 + r13*8 + 4]
and rax, rdx
mov edx, dword [rdi + r11*4 + 0x22ce40]
shl rax, cl
movzx ecx, word [r10 + r13*8 + 6]
and rdx, rcx
mov ecx, r8d
shl rdx, cl
or rax, rdx
or rax, r15
cmp ebx, 0x38
jbe 0x14017f007
mov qword [r14], rax
mov ecx, esi
and esi, 7
shr rcx, 3
lea rdx, [r14 + rcx]
shl cl, 3
shr rax, cl
mov r14, rbp
cmp rdx, rbp
cmovbe r14, rdx
cmp dword [rsp + 0xf0], 0
je 0x14017f087
mov r9d, 0x38
lea r10, [r10 + r13*8]
cmp r12d, r9d
mov r8d, r12d
cmovb r9d, r12d
sub r8d, r9d
je 0x14017f063
mov ecx, dword [r10]
mov edx, dword [rdi + r8*4 + 0x22ce40]
and rdx, rcx
mov ecx, esi
shl rdx, cl
add esi, r8d
or rax, rdx
mov ecx, esi
shr rcx, 3
and esi, 7
mov qword [r14], rax
lea rdx, [r14 + rcx]
shl cl, 3
shr rax, cl
mov r14, rbp
cmp rdx, rbp
cmovbe r14, rdx
mov r8d, dword [r10]
mov ecx, r12d
sub cl, r9b
shr r8, cl
mov ecx, dword [rdi + r9*4 + 0x22ce40]
and r8, rcx
mov ecx, esi
shl r8, cl
or rax, r8
add esi, r9d
jmp 0x14017f0a1
mov ecx, dword [r10 + r13*8]
mov edx, dword [rdi + r12*4 + 0x22ce40]
and rdx, rcx
mov ecx, esi
shl rdx, cl
or rax, rdx
add esi, r12d
mov rdi, qword [rsp + 0xb8]
mov qword [r14], rax
mov edx, esi
shr rdx, 3
lea rcx, [r14 + rdx]
mov r14, rbp
cmp rcx, rbp
cmovbe r14, rcx
movzx ecx, dl
mov rdx, qword [rsp + 0x28]
and esi, 7
shl cl, 3
dec rdx
shr rax, cl
dec r13
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0x28], rdx
cmp r13, qword [rsp + 0xe8]
jb 0x14017ee30
mov r12, qword [rsp + 0xa0]
mov edx, dword [rsp + 0xc]
lea rbx, [0x140000000]
mov r10d, dword [rsp + 0x10]
mov ecx, esi
mov r15, qword [rsp + 0x60]
mov r8, rbp
mov r13, qword [rsp + 0x70]
mov r11d, dword [rbx + rdx*4 + 0x22ce40]
lea r9d, [rsi + rdx]
and r11, qword [rsp + 0x18]
mov edx, dword [rbx + r10*4 + 0x22ce40]
mov rsi, qword [rsp + 0x78]
shl r11, cl
or r11, rax
mov ecx, r9d
shr rcx, 3
mov qword [r14], r11
lea rax, [r14 + rcx]
mov r14, qword [rsp + 0x68]
cmp rax, rbp
cmovbe r8, rax
and rdx, qword [rsp + 0x20]
shl cl, 3
and r9d, 7
shr r11, cl
add r10d, r9d
mov ecx, r9d
mov r9d, dword [rsp + 0x14]
shl rdx, cl
or r11, rdx
mov ecx, r10d
shr rcx, 3
mov edx, dword [rbx + r9*4 + 0x22ce40]
mov rbx, qword [rsp + 0xb0]
mov qword [r8], r11
lea rax, [rcx + r8]
mov r8, rbp
cmp rax, rbp
cmovbe r8, rax
and rdx, qword [rsp]
shl cl, 3
and r10d, 7
shr r11, cl
mov ecx, r10d
shl rdx, cl
or r11, rdx
lea edx, [r9 + r10]
mov qword [r8], r11
mov ecx, edx
shr rcx, 3
lea rax, [rcx + r8]
mov r8, rbp
cmp rax, rbp
cmovbe r8, rax
and edx, 7
shl cl, 3
shr r11, cl
bts r11, rdx
lea r9d, [rdx + 1]
mov qword [r8], r11
mov ecx, r9d
mov rdx, rbp
shr rcx, 3
add rcx, r8
cmp rcx, rbp
cmovbe rdx, rcx
cmp rdx, rbp
jae 0x14017f212
test r9b, 7
mov eax, 0
seta al
sub rax, r12
add rax, rdx
jne 0x14017f219
mov rax, 0xffffffffffffffba
add rsp, 0x80
pop r12
pop rdi
pop rbp
ret