Function at 0x140004a20
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.1400043b0
mov qword [rsp + 0x30], rax
lea rcx, str.KERNEL32.DLL
call fcn.1400041a0
mov qword [rsp + 0x48], rax
lea rdx, str.VirtualAlloc
mov rcx, qword [rsp + 0x48]
call fcn.140004240
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xe0]
movsx eax, byte [rax]
cmp eax, 0x4d
je 0x140004aa4
lea rdx, str.Unhandle_Error
lea rcx, [rsp + 0xa8]
call fcn.140001590
lea rdx, [0x140058d70]
lea rcx, [rsp + 0xa8]
call fcn.140021e58
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 0x140004ae1
mov eax, 1
jmp 0x140004d62
cmp qword [rsp + 0x28], 0
jne 0x140004af5
mov rax, 0xfffffffffffffffe
jmp 0x140004d62
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.1400043b0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.1400043a0
movzx eax, ax
cmp eax, 0x20b
jne 0x140004be3
xor eax, eax
mov word [rsp + 0x20], ax
jmp 0x140004b5b
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 0x140004bde
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 0x140004b4e
jmp 0x140004ca1
xor eax, eax
mov word [rsp + 0x24], ax
jmp 0x140004bf9
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 0x140004ca1
mov rcx, qword [rsp + 0x28]
call fcn.1400043b0
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 0x140004bec
mov rcx, qword [rsp + 0x30]
call fcn.1400043a0
movzx eax, ax
cmp eax, 0x20b
jne 0x140004cc1
mov rcx, qword [rsp + 0x28]
call fcn.140004610
jmp 0x140004cdd
mov rcx, qword [rsp + 0x28]
call fcn.1400043b0
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0x28]
call fcn.140004610
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call fcn.140004410
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 0x140004d3f
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.140004830
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