Function at 0x1402824b0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
mov esi, dword [rcx + 0x85b0]
mov r11, rcx
lea eax, [rsi - 1]
cmp eax, 1
jbe 0x1402824cf
mov eax, dword [rcx + 0x85d0]
jmp 0x1402824d4
mov eax, 1
mov r10d, 2
mov qword [rsp + 0x18], rdi
sub r10d, dword [rcx + 0x8518]
movsxd rbx, eax
test eax, eax
jle 0x1402826e7
mov qword [rsp + 0x10], rbp
lea r9, [rcx + 0x89b0]
lea rbp, [0x14063f3f9]
mov rdx, qword [r9]
test r10d, r10d
je 0x140282699
cmp r10d, 1
jne 0x1402826d4
xor edi, edi
mov r8, rbp
nop
movzx ecx, byte [r8 - 1]
shl rcx, 6
add rcx, rdx
mov eax, dword [rcx - 0x38]
add dword [rcx + 8], eax
mov eax, dword [rcx - 0x18]
add dword [rcx + 0x28], eax
mov eax, dword [rcx - 0x1c]
add dword [rcx + 0x24], eax
movzx ecx, byte [r8]
shl rcx, 6
add rcx, rdx
mov eax, dword [rcx - 0x38]
add dword [rcx + 8], eax
mov eax, dword [rcx - 0x18]
add dword [rcx + 0x28], eax
mov eax, dword [rcx - 0x1c]
add dword [rcx + 0x24], eax
movzx ecx, byte [r8 + 1]
shl rcx, 6
add rcx, rdx
mov eax, dword [rcx - 0x38]
add dword [rcx + 8], eax
mov eax, dword [rcx - 0x18]
add dword [rcx + 0x28], eax
mov eax, dword [rcx - 0x1c]
add dword [rcx + 0x24], eax
movzx ecx, byte [r8 + 2]
shl rcx, 6
add rcx, rdx
mov eax, dword [rcx - 0x38]
add dword [rcx + 8], eax
mov eax, dword [rcx - 0x18]
add dword [rcx + 0x28], eax
mov eax, dword [rcx - 0x1c]
add dword [rcx + 0x24], eax
movzx ecx, byte [r8 + 3]
shl rcx, 6
add rcx, rdx
mov eax, dword [rcx - 0x38]
add dword [rcx + 8], eax
mov eax, dword [rcx - 0x18]
add dword [rcx + 0x28], eax
mov eax, dword [rcx - 0x1c]
add dword [rcx + 0x24], eax
movzx ecx, byte [r8 + 4]
shl rcx, 6
add rcx, rdx
mov eax, dword [rcx - 0x38]
add dword [rcx + 8], eax
mov eax, dword [rcx - 0x18]
add dword [rcx + 0x28], eax
mov eax, dword [rcx - 0x1c]
add dword [rcx + 0x24], eax
movzx ecx, byte [r8 + 5]
shl rcx, 6
add rcx, rdx
mov eax, dword [rcx - 0x38]
add dword [rcx + 8], eax
mov eax, dword [rcx - 0x18]
add dword [rcx + 0x28], eax
mov eax, dword [rcx - 0x1c]
add dword [rcx + 0x24], eax
movzx ecx, byte [r8 + 6]
shl rcx, 6
add rcx, rdx
mov eax, dword [rcx - 0x38]
add dword [rcx + 8], eax
mov eax, dword [rcx - 0x18]
add dword [rcx + 0x28], eax
mov eax, dword [rcx - 0x1c]
add dword [rcx + 0x24], eax
movzx ecx, byte [r8 + 7]
shl rcx, 6
add rcx, rdx
mov eax, dword [rcx - 0x38]
add dword [rcx + 8], eax
mov eax, dword [rcx - 0x18]
add dword [rcx + 0x28], eax
mov eax, dword [rcx - 0x1c]
add dword [rcx + 0x24], eax
movzx ecx, byte [r8 + 8]
lea r8, [r8 + 0xc]
shl rcx, 6
add edi, 0xc
add rcx, rdx
mov eax, dword [rcx - 0x38]
add dword [rcx + 8], eax
mov eax, dword [rcx - 0x18]
add dword [rcx + 0x28], eax
mov eax, dword [rcx - 0x1c]
add dword [rcx + 0x24], eax
movzx ecx, byte [r8 - 3]
shl rcx, 6
add rcx, rdx
mov eax, dword [rcx - 0x38]
add dword [rcx + 8], eax
mov eax, dword [rcx - 0x18]
add dword [rcx + 0x28], eax
mov eax, dword [rcx - 0x1c]
add dword [rcx + 0x24], eax
movzx ecx, byte [r8 - 2]
shl rcx, 6
add rcx, rdx
mov eax, dword [rcx - 0x38]
add dword [rcx + 8], eax
mov eax, dword [rcx - 0x18]
add dword [rcx + 0x28], eax
mov eax, dword [rcx - 0x1c]
add dword [rcx + 0x24], eax
cmp edi, 0xc
jb 0x140282520
jmp 0x1402826d4
lea rcx, [rdx + 0x104]
mov edx, ntohs
nop word [rax + rax]
mov eax, dword [rcx - 0x100]
add dword [rcx], eax
mov eax, dword [rcx - 0xf0]
add dword [rcx + 0x10], eax
mov eax, dword [rcx - 0xec]
add dword [rcx + 0x14], eax
lea rcx, [rcx + 0x40]
sub rdx, 1
jne 0x1402826b0
add r9, 8
sub rbx, 1
jne 0x140282504
mov rbp, qword [rsp + 0x10]
cmp esi, 1
jne 0x140282792
mov r8d, 0x10
nop word [rax + rax]
mov eax, r8d
shr rax, 2
mov rcx, qword [r11 + rax*8 + 0x8998]
test r10d, r10d
je 0x140282742
cmp r10d, 1
jne 0x140282778
lea rax, [rcx + 0x48]
lea edx, [r10 + 1]
mov ecx, dword [rax - 0x40]
add dword [rax], ecx
mov ecx, dword [rax - 0x20]
add dword [rax + 0x20], ecx
mov ecx, dword [rax - 0x24]
add dword [rax + 0x1c], ecx
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x140282722
jmp 0x140282778
mov eax, dword [rcx + 4]
add dword [rcx + 0x84], eax
mov eax, dword [rcx + 0x14]
add dword [rcx + 0x94], eax
mov eax, dword [rcx + 0x18]
add dword [rcx + 0x98], eax
mov eax, dword [rcx + 0x44]
add dword [rcx + 0xc4], eax
mov eax, dword [rcx + 0x54]
add dword [rcx + 0xd4], eax
mov eax, dword [rcx + 0x58]
add dword [rcx + 0xd8], eax
add r8d, 4
cmp r8d, 0x14
jle 0x140282700
mov rdi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
pop rsi
ret
cmp esi, 2
jne 0x1402828ca
mov r8d, 0x10
lea rdi, [0x1403f9f84]
lea rbx, [0x1403f9fa0]
nop
mov eax, r8d
shr rax, 3
mov r9, qword [r11 + rax*8 + 0x89a8]
test r10d, r10d
je 0x14028288e
cmp r10d, 1
jne 0x1402828bc
movsxd rax, dword [0x1403f9f88]
lea rcx, [r9 + rax*4]
mov eax, dword [r9 + rax*4 - 0x18]
add dword [rcx + 0x28], eax
mov eax, dword [rcx - 0x38]
add dword [rcx + 8], eax
mov eax, dword [rcx - 0x1c]
add dword [rcx + 0x24], eax
movsxd rax, dword [str.P__0p]
lea rcx, [r9 + rax*4]
mov eax, dword [r9 + rax*4 - 0x18]
add dword [rcx + 0x28], eax
mov eax, dword [rcx - 0x38]
add dword [rcx + 8], eax
mov eax, dword [rcx - 0x1c]
add dword [rcx + 0x24], eax
movsxd rax, dword [0x1403f9f90]
lea rcx, [r9 + rax*4]
mov eax, dword [r9 + rax*4 - 0x18]
add dword [rcx + 0x28], eax
mov eax, dword [rcx - 0x38]
add dword [rcx + 8], eax
mov eax, dword [rcx - 0x1c]
add dword [rcx + 0x24], eax
movsxd rax, dword [0x1403f9f94]
lea rcx, [r9 + rax*4]
mov eax, dword [r9 + rax*4 - 0x18]
add dword [rcx + 0x28], eax
mov eax, dword [rcx - 0x38]
add dword [rcx + 8], eax
mov eax, dword [rcx - 0x1c]
add dword [rcx + 0x24], eax
movsxd rax, dword [0x1403f9f98]
lea rcx, [r9 + rax*4]
mov eax, dword [r9 + rax*4 - 0x18]
add dword [rcx + 0x28], eax
mov eax, dword [rcx - 0x38]
add dword [rcx + 8], eax
mov eax, dword [rcx - 0x1c]
add dword [rcx + 0x24], eax
movsxd rax, dword [0x1403f9f9c]
lea rcx, [r9 + rax*4]
mov eax, dword [r9 + rax*4 - 0x18]
add dword [rcx + 0x28], eax
mov eax, dword [rcx - 0x38]
add dword [rcx + 8], eax
mov eax, dword [rcx - 0x1c]
add dword [rcx + 0x24], eax
jmp 0x1402828bc
mov rdx, rdi
movsxd rax, dword [rdx]
add rdx, 8
lea rcx, [r9 + rax*4]
mov eax, dword [rcx - 0xfc]
add dword [rcx + 4], eax
mov eax, dword [rcx - 0xec]
add dword [rcx + 0x14], eax
mov eax, dword [rcx - 0xe8]
add dword [rcx + 0x18], eax
cmp rdx, rbx
jl 0x140282891
add r8d, 8
cmp r8d, 0x20
jl 0x1402827b0
mov rdi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
pop rsi
ret