Function at 0x180021020
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xa8
mov rax, qword [rsp + 0xc0]
lea rcx, [0x18017aa80]
mov qword [rax], rcx
mov rax, qword [rsp + 0xc0]
mov byte [rax + 8], 0
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0xc0]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0xc0]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x28], 0
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x2c], 0
mov rax, qword [rsp + 0xc0]
add rax, 0x30
mov rdi, rax
xor eax, eax
mov ecx, 0x1f40
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xc0]
add rax, 0x1f70
mov rcx, rax
call fcn.180005360
nop
mov rax, qword [rsp + 0xc0]
mov qword [rax + 0x1f88], 0
mov rax, qword [rsp + 0xc0]
mov qword [rax + 0x1f90], 0
mov rax, qword [rsp + 0xc0]
mov qword [rax + 0x1f98], 0
mov rax, qword [rsp + 0xc0]
mov qword [rax + 0x1fa0], 0
mov rax, qword [rsp + 0xc0]
add rax, 0x1fa8
mov rdi, rax
xor eax, eax
mov ecx, 0x78000
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x10]
lea rax, [rcx + rax + 4]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
cmp eax, 0x14c
jne 0x18002117d
mov dword [rsp + 0x30], 1
jmp 0x180021185
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0x30]
mov byte [rax + 8], cl
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 8]
test eax, eax
je 0x1800211db
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.1800c1d60
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc0]
add rax, 0x1f70
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call fcn.180023050
lea rcx, [rsp + 0x58]
call fcn.18001f4c0
mov rax, qword [rsp + 0xc0]
add rax, 0x30
mov rdi, rax
xor eax, eax
mov ecx, 0x1f40
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xc0]
add rax, 0x1fa8
mov rdi, rax
xor eax, eax
mov ecx, 0x78000
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xc0]
add rax, qword [rcx + 0x10]
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xc0]
add rax, qword [rcx + 0x10]
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 0x1f88], rax
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x18002128a
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x18]
movzx ecx, word [rcx + 0x14]
lea rax, [rax + rcx + 0x18]
mov qword [rsp + 0x40], rax
jmp 0x1800212b6
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x1f88]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x1f88]
movzx ecx, word [rcx + 0x14]
lea rax, [rax + rcx + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1800212cd
jmp 0x1800213e1
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x18]
movzx eax, word [rax + 6]
dec eax
cdqe
imul rax, rax, 0x28
lea rcx, [rsp + 0x70]
mov rdx, qword [rsp + 0x28]
mov rdi, rcx
lea rsi, [rdx + rax]
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x7c]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x28], eax
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x28], 0
jne 0x18002132a
jmp 0x1800213e1
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x28]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x20], 0
jne 0x180021368
jmp 0x1800213e1
xor eax, eax
mov word [rsp + 0x20], ax
jmp 0x18002138c
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x28]
add rax, 0x28
mov qword [rsp + 0x28], rax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x18]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x1800213e1
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0xc0]
add rcx, qword [rdx + 0x10]
mov rdx, qword [rsp + 0x28]
mov edx, dword [rdx + 0xc]
mov rdi, qword [rsp + 0xc0]
add rdx, qword [rdi + 0x20]
mov rdi, rdx
mov rsi, rcx
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
jmp 0x180021371
mov rax, qword [rsp + 0xc0]
add rsp, 0xa8
pop rdi
pop rsi
ret