Function at 0x140020dbe
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r12, r8
mov r13, rdx
mov rdi, rcx
mov al, byte [0x140063001]
cmp al, 1
jne 0x140020e37
mov rsi, r12
shl rsi, 4
and rsi, 0xffffffffffffffc0
add rsi, r13
mov r14, r13
cmp r14, rsi
je 0x1400210ee
lea rbx, [r14 + 0x40]
cmp qword [rdi + 0x220], 0
je 0x140020e27
xor r15d, r15d
cmp r15, 0x40
je 0x140020e32
lea rdx, [r14 + r15]
mov rcx, rdi
call fcn.140024b7e
add r15, 0x10
jmp 0x140020e0f
mov rcx, rdi
mov rdx, r14
call fcn.140025604
mov r14, rbx
jmp 0x140020df5
mov eax, dword [rdi + 0x10]
mov qword [rsp + 0x30], rax
mov eax, dword [rdi + 0x14]
mov ecx, dword [rdi + 0x18]
mov edx, dword [rdi + 0x1c]
mov r8d, dword [rdi + 0x20]
mov qword [rsp + 0x50], r8
lea r8d, [r8 + r8*4]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x58], rdx
lea edx, [rdx + rdx*4]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x60], rcx
lea ecx, [rcx + rcx*4]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x68], rax
lea eax, [rax + rax*4]
mov qword [rsp + 0x38], rax
mov ebp, dword [rdi + 0x24]
mov ebx, dword [rdi + 0x28]
mov r11d, dword [rdi + 0x2c]
mov esi, dword [rdi + 0x30]
mov edx, dword [rdi + 0x34]
shl r12, 4
test r12, r12
je 0x140021127
lea rax, [r13 + 0x10]
mov qword [rsp + 0x78], rax
mov ecx, dword [r13]
shl rcx, 8
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x70], r11
call fcn.14002361e
mov r14d, eax
mov ecx, dword [r13 + 3]
shl rcx, 8
call fcn.14002361e
mov r15d, eax
mov ecx, dword [r13 + 6]
shl rcx, 8
call fcn.14002361e
mov qword [rsp + 0x80], r12
mov r12d, eax
mov ecx, dword [r13 + 9]
shl rcx, 8
call fcn.14002361e
mov rcx, r13
mov r13d, eax
shr r13d, 6
add r13d, esi
shr r12d, 4
mov eax, 0x3ffffff
and r12d, eax
add r12d, dword [rsp + 0x70]
shr r15d, 2
and r15d, eax
add r15d, ebx
and r14d, eax
add r14d, ebp
mov ecx, dword [rcx + 0xc]
shl rcx, 8
call fcn.14002361e
shr eax, 8
mov rcx, qword [rsp + 0x20]
lea ebx, [rcx + rax]
add ebx, 0x1000000
mov rcx, r14
mov rsi, qword [rsp + 0x30]
imul rcx, rsi
mov r11, rsi
mov rdx, r15
mov rax, qword [rsp + 0x28]
imul rdx, rax
mov rsi, rax
add rdx, rcx
mov rcx, r12
mov rbp, qword [rsp + 0x48]
imul rcx, rbp
mov r8, r13
mov r10, qword [rsp + 0x40]
imul r8, r10
add r8, rcx
add r8, rdx
mov rax, rbx
imul rax, qword [rsp + 0x38]
add rax, r8
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rax, qword [rsp + 0x68]
imul rdx, rax
mov r8, r15
imul r8, r11
add r8, rdx
mov rdx, r12
mov r11, rsi
imul rdx, rsi
mov r9, r13
mov rcx, rbp
imul r9, rbp
add r9, rdx
add r9, r8
mov rdx, rbx
imul rdx, r10
add rdx, r9
mov r8, r14
mov rbp, qword [rsp + 0x60]
imul r8, rbp
mov r9, r15
imul r9, rax
mov rsi, rax
add r9, r8
mov r8, r12
mov rax, qword [rsp + 0x30]
imul r8, rax
mov r10, r13
imul r10, r11
add r10, r8
add r10, r9
mov r8, rbx
imul r8, rcx
add r8, r10
mov r9, r14
mov rcx, qword [rsp + 0x58]
imul r9, rcx
mov r10, r15
imul r10, rbp
add r10, r9
mov r9, r12
imul r9, rsi
mov r11, r13
imul r11, rax
add r11, r9
add r11, r10
mov r9, rbx
imul r9, qword [rsp + 0x28]
add r9, r11
imul r14, qword [rsp + 0x50]
imul r15, rcx
add r15, r14
imul r12, rbp
imul r13, rsi
add r13, r12
mov r12, qword [rsp + 0x80]
add r13, r15
imul rbx, rax
add rbx, r13
mov rcx, qword [rsp + 0x20]
mov r10, rcx
shr r10, 0x1a
mov eax, 0x3ffffff
and ecx, eax
mov rsi, rcx
mov r10d, r10d
add r10, rdx
mov rdx, r10
shr rdx, 0x1a
and r10d, eax
mov r11d, edx
add r11, r8
mov rdx, r11
shr rdx, 0x1a
mov ecx, edx
add rcx, r9
mov rdx, rcx
shr rdx, 0x1a
mov edx, edx
add rdx, rbx
mov rax, rdx
shr rax, 0x1a
lea ebp, [rax + rax*4]
add ebp, esi
mov rsi, rcx
mov ebx, ebp
shr ebx, 0x1a
add ebx, r10d
mov eax, 0x3ffffff
and r11d, eax
and esi, eax
and edx, eax
and ebp, eax
mov dword [rdi + 0x24], ebp
mov dword [rdi + 0x28], ebx
mov dword [rdi + 0x2c], r11d
mov dword [rdi + 0x30], esi
mov dword [rdi + 0x34], edx
add r12, 0xfffffffffffffff0
mov r13, qword [rsp + 0x78]
jmp 0x140020e95
movabs rax, 0xffffffffffffffc
and rax, r12
shl rax, 4
add r13, rax
and r12d, 3
shl r12, 4
test r12, r12
je 0x140021127
lea rsi, [r13 + 0x10]
mov rcx, rdi
mov rdx, r13
call fcn.140024b7e
add r12, 0xfffffffffffffff0
mov r13, rsi
jmp 0x14002110a
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret