Function at 0x140004200
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xc8
mov rcx, qword [rsp + 0xe0]
call fcn.140003b90
mov qword [rsp + 0x30], rax
lea rcx, str.KERNEL32.DLL
call fcn.140003980
mov qword [rsp + 0x48], rax
lea rdx, str.VirtualAlloc
mov rcx, qword [rsp + 0x48]
call fcn.140003a20
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xe0]
movsx eax, byte [rax]
cmp eax, 0x4d
je 0x140004284
lea rdx, str.Unhandle_Error
lea rcx, [rsp + 0xa8]
call fcn.140001510
lea rdx, [0x14004d080]
lea rcx, [rsp + 0xa8]
call fcn.1400182cc
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x50]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400042c1
mov eax, 1
jmp 0x140004542
cmp qword [rsp + 0x28], 0
jne 0x1400042d5
mov rax, 0xfffffffffffffffe
jmp 0x140004542
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x54]
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0xe0]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x28]
call fcn.140003b90
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140003b80
movzx eax, ax
cmp eax, 0x20b
jne 0x1400043c3
xor eax, eax
mov word [rsp + 0x20], ax
jmp 0x14000433b
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x1400043be
movzx eax, word [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x108]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x70], rax
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
rep movsb byte [rdi], byte [rsi]
jmp 0x14000432e
jmp 0x140004481
xor eax, eax
mov word [rsp + 0x24], ax
jmp 0x1400043d9
movzx eax, word [rsp + 0x24]
inc ax
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
mov rcx, qword [rsp + 0x30]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x140004481
mov rcx, qword [rsp + 0x28]
call fcn.140003b90
mov qword [rsp + 0x78], rax
movzx eax, word [rsp + 0x24]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x78]
lea rax, [rcx + rax + 0xf8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x90], rax
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
rep movsb byte [rdi], byte [rsi]
jmp 0x1400043cc
mov rcx, qword [rsp + 0x30]
call fcn.140003b80
movzx eax, ax
cmp eax, 0x20b
jne 0x1400044a1
mov rcx, qword [rsp + 0x28]
call fcn.140003df0
jmp 0x1400044bd
mov rcx, qword [rsp + 0x28]
call fcn.140003b90
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0x28]
call fcn.140003df0
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call fcn.140003bf0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x30], rcx
mov eax, 8
imul rax, rax, 9
mov rcx, qword [rsp + 0x30]
cmp dword [rcx + rax + 0x88], 0
je 0x14000451f
mov eax, 8
imul rax, rax, 9
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.140004010
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
add rsp, 0xc8
pop rdi
pop rsi
ret