Function at 0x1403bae60
Capabilities:
Enumerate pe sections

Disassembly:
mov r8d, r8d
jmp 0x1403baf20
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov r11d, ecx
mov r9, rdx
movzx ecx, cx
shr r11d, 0x10
cmp r8, 1
jne 0x1403baf70
movzx edx, byte [rdx]
add edx, ecx
cmp edx, 0xfff0
jbe 0x1403baf56
sub edx, 0xfff1
lea eax, [rdx + r11]
cmp eax, 0xfff0
jbe 0x1403baf66
sub eax, 0xfff1
shl eax, 0x10
or eax, edx
jmp 0x1403bb1ef
mov eax, 1
test rdx, rdx
je 0x1403bb1ef
cmp r8, 0xf
ja 0x1403bb0c0
xor eax, eax
cmp r8, rax
je 0x1403baf9e
movzx edx, byte [r9 + rax]
inc rax
add ecx, edx
add r11d, ecx
jmp 0x1403baf8a
cmp ecx, 0xfff0
jbe 0x1403bafac
sub ecx, 0xfff1
mov r8d, 0xfff1
mov eax, r11d
xor edx, edx
div r8d
mov eax, edx
shl eax, 0x10
jmp 0x1403bb1ed
movzx r10d, byte [r9]
movzx r15d, byte [r9 + 1]
movzx r14d, byte [r9 + 2]
movzx r13d, byte [r9 + 3]
add r10d, ecx
movzx r12d, byte [r9 + 4]
movzx ebp, byte [r9 + 5]
add r15d, r10d
movzx eax, byte [r9 + 6]
movzx ebx, byte [r9 + 0xc]
add r14d, r15d
add r10d, r15d
movzx edx, byte [r9 + 0xd]
movzx ecx, byte [r9 + 0xf]
add r13d, r14d
add r10d, r14d
add r12d, r13d
add r10d, r13d
add ebp, r12d
add r10d, r12d
add eax, ebp
add r10d, ebp
mov dword [rsp + 8], eax
movzx eax, byte [r9 + 7]
mov esi, dword [rsp + 8]
mov r14d, dword [rsp + 8]
add eax, esi
add r10d, r14d
mov dword [rsp + 0xc], eax
movzx eax, byte [r9 + 8]
mov edi, dword [rsp + 0xc]
mov r15d, dword [rsp + 0xc]
add eax, edi
add r10d, r15d
movzx edi, byte [r9 + 0xa]
mov dword [rsp + 0x10], eax
movzx eax, byte [r9 + 9]
mov esi, dword [rsp + 0x10]
mov r14d, dword [rsp + 0x10]
add eax, esi
add r10d, r14d
movzx esi, byte [r9 + 0xb]
mov dword [rsp + 0x14], eax
mov r15d, dword [rsp + 0x14]
add edi, eax
add esi, edi
movzx eax, byte [r9 + 0xe]
add r10d, r15d
add ebx, esi
add r10d, edi
add edx, ebx
add r10d, esi
add eax, edx
add r10d, ebx
add ecx, eax
add edx, r10d
add eax, edx
add eax, ecx
add r11d, eax
mov rax, qword [rsp + 0x18]
add r9, 0x10
cmp r9, rax
jne 0x1403bafc4
mov eax, ecx
mov ebx, 0xfff1
xor edx, edx
div ebx
mov eax, r11d
mov ecx, edx
xor edx, edx
div ebx
mov r11d, edx
cmp r8, 0x15af
jbe 0x1403bb0e1
lea rax, [r9 + 0x15b0]
sub r8, 0x15b0
mov qword [rsp + 0x18], rax
jmp 0x1403bafc4
test r8, r8
je 0x1403bb1e6
mov rdx, r9
lea r10, [r9 + r8]
mov rax, r10
sub rax, rdx
cmp rax, 0xf
jbe 0x1403bb1a8
movzx eax, byte [rdx]
add rdx, 0x10
add eax, ecx
movzx ecx, byte [rdx - 0xf]
add ecx, eax
add eax, ecx
add eax, r11d
movzx r11d, byte [rdx - 0xe]
add r11d, ecx
movzx ecx, byte [rdx - 0xd]
add eax, r11d
add ecx, r11d
movzx r11d, byte [rdx - 0xc]
add eax, ecx
add r11d, ecx
movzx ecx, byte [rdx - 0xb]
add eax, r11d
add ecx, r11d
movzx r11d, byte [rdx - 0xa]
add eax, ecx
add r11d, ecx
movzx ecx, byte [rdx - 9]
add eax, r11d
add ecx, r11d
movzx r11d, byte [rdx - 8]
add eax, ecx
add r11d, ecx
movzx ecx, byte [rdx - 7]
add eax, r11d
add ecx, r11d
movzx r11d, byte [rdx - 6]
add eax, ecx
add r11d, ecx
movzx ecx, byte [rdx - 5]
add eax, r11d
add ecx, r11d
movzx r11d, byte [rdx - 4]
add eax, ecx
add r11d, ecx
movzx ecx, byte [rdx - 3]
add eax, r11d
add ecx, r11d
movzx r11d, byte [rdx - 2]
add eax, ecx
add r11d, ecx
movzx ecx, byte [rdx - 1]
add eax, r11d
add ecx, r11d
lea r11d, [rax + rcx]
jmp 0x1403bb0f1
mov rax, r8
and r8d, 0xf
and rax, 0xfffffffffffffff0
add r9, rax
xor eax, eax
cmp r8, rax
je 0x1403bb1cc
movzx edx, byte [r9 + rax]
inc rax
add ecx, edx
add r11d, ecx
jmp 0x1403bb1b8
mov r8d, 0xfff1
mov eax, ecx
xor edx, edx
div r8d
mov eax, r11d
mov ecx, edx
xor edx, edx
div r8d
mov r11d, edx
shl r11d, 0x10
mov eax, r11d
or eax, ecx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret