Function at 0x1400210a0
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x20
mov rbp, rcx
mov rsi, rdx
mov rcx, 0xffffffffffffffff
mov eax, 4
mul r8
mov r15, r9
mov rdi, r8
cmovo rax, rcx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x140021372
lea rdx, [rdi*8]
mov qword [rsp + 0x60], r14
mov r8, rax
mov rcx, rsi
call fcn.140020740
mov edx, 2
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rsp + 0x70], rax
mov r14, rax
test rax, rax
je 0x140021364
mov qword [rsp + 0x50], r12
mov r8, rax
mov edx, 0x4001
mov qword [rsp + 0x58], r13
mov rcx, r15
call fcn.140020740
lea rsi, [rbp + 0xfe00]
lea r11, [r14 + 4]
mov r14d, 0x40
lea rdi, [rsi + 0x1fc]
nop word [rax + rax]
lea r8, [rbp + 0x1fc]
xor r15d, r15d
sub r8, rdi
lea r9, [rsi + 4]
mov rax, rbp
lea r10, [rdi - 8]
sub rax, rsi
mov r12, rdi
nop
movzx ecx, word [r11 - 4]
mov edx, dword [rbx + rcx*4]
mov dword [r9 + rax - 4], edx
mov dword [r12 + r8], edx
mov dword [r9 - 4], edx
mov dword [r12], edx
movzx ecx, word [r11 - 2]
mov edx, dword [rbx + rcx*4]
mov rcx, r15
mov dword [r9 + rax], edx
not rcx
mov dword [rbp + rcx*4 + 0x1fc], edx
mov dword [r9], edx
mov dword [rdi + rcx*4], edx
movzx ecx, word [r11]
mov edx, dword [rbx + rcx*4]
mov dword [r9 + rax + 4], edx
mov dword [r10 + r8], edx
mov dword [r9 + 4], edx
mov dword [r10], edx
movzx ecx, word [r11 + 2]
mov edx, dword [rbx + rcx*4]
mov dword [r9 + rax + 8], edx
mov dword [r8 + r10 - 4], edx
mov dword [r9 + 8], edx
mov dword [r10 - 4], edx
movzx ecx, word [r11 + 4]
mov edx, dword [rbx + rcx*4]
mov dword [r9 + rax + 0xc], edx
mov dword [r8 + r10 - 8], edx
movzx ecx, word [r11 + 6]
mov dword [r9 + 0xc], edx
mov dword [r10 - 8], edx
mov edx, dword [rbx + rcx*4]
movzx ecx, word [r11 + 8]
mov dword [r9 + rax + 0x10], edx
mov dword [r8 + r10 - 0xc], edx
mov dword [r9 + 0x10], edx
mov dword [r10 - 0xc], edx
mov edx, dword [rbx + rcx*4]
movzx ecx, word [r11 + 0xa]
mov dword [r9 + rax + 0x14], edx
mov dword [r8 + r10 - 0x10], edx
mov dword [r9 + 0x14], edx
mov dword [r10 - 0x10], edx
mov edx, dword [rbx + rcx*4]
movzx ecx, word [r11 + 0xc]
mov dword [r9 + rax + 0x18], edx
mov dword [r8 + r10 - 0x14], edx
mov dword [r9 + 0x18], edx
mov dword [r10 - 0x14], edx
mov edx, dword [rbx + rcx*4]
movzx ecx, word [r11 + 0xe]
mov dword [r9 + rax + 0x1c], edx
mov dword [r8 + r10 - 0x18], edx
mov dword [r9 + 0x1c], edx
mov dword [r10 - 0x18], edx
mov edx, dword [rbx + rcx*4]
movzx ecx, word [r11 + 0x10]
mov dword [r9 + rax + 0x20], edx
mov dword [r8 + r10 - 0x1c], edx
mov dword [r9 + 0x20], edx
mov dword [r10 - 0x1c], edx
mov edx, dword [rbx + rcx*4]
movzx ecx, word [r11 + 0x12]
mov dword [r9 + rax + 0x24], edx
mov dword [r8 + r10 - 0x20], edx
mov dword [r9 + 0x24], edx
mov dword [r10 - 0x20], edx
mov edx, dword [rbx + rcx*4]
movzx ecx, word [r11 + 0x14]
mov dword [r9 + rax + 0x28], edx
mov dword [r8 + r10 - 0x24], edx
mov dword [r9 + 0x28], edx
mov dword [r10 - 0x24], edx
mov edx, dword [rbx + rcx*4]
movzx ecx, word [r11 + 0x16]
mov dword [r9 + rax + 0x2c], edx
mov dword [r8 + r10 - 0x28], edx
mov dword [r9 + 0x2c], edx
mov dword [r10 - 0x28], edx
mov edx, dword [rbx + rcx*4]
lea r10, [r10 - 0x40]
movzx ecx, word [r11 + 0x18]
lea r12, [r12 - 0x40]
mov dword [r9 + rax + 0x30], edx
lea r9, [r9 + 0x40]
mov dword [r8 + r10 + 0x14], edx
add r15, 0x10
mov dword [r9 - 0x10], edx
mov dword [r10 + 0x14], edx
mov edx, dword [rbx + rcx*4]
movzx ecx, word [r11 + 0x1a]
add r11, 0x20
mov dword [r9 + rax - 0xc], edx
mov dword [r8 + r10 + 0x10], edx
mov dword [r9 - 0xc], edx
mov dword [r10 + 0x10], edx
mov edx, dword [rbx + rcx*4]
mov dword [r9 + rax - 8], edx
mov dword [r8 + r10 + 0xc], edx
mov dword [r9 - 8], edx
mov dword [r10 + 0xc], edx
cmp r15, 0x40
jl 0x140021170
add rbp, 0x200
sub rsi, 0x200
sub rdi, 0x200
sub r14, 1
jne 0x140021150
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r14, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret