Function at 0x140004240
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov rcx, qword [rsp + 0xd0]
call fcn.140003bd0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd0]
movsx eax, byte [rax]
cmp eax, 0x4d
je 0x14000429d
lea rdx, str.Unhandle_Error
lea rcx, [rsp + 0x98]
call fcn.1400014c0
lea rdx, [0x140057240]
lea rcx, [rsp + 0x98]
call fcn.140021778
mov rax, qword [0x14008efb8]
mov qword [rsp + 0x48], 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 + 0x48]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400042dc
mov eax, 1
jmp 0x140004551
cmp qword [rsp + 0x28], 0
jne 0x1400042f0
mov rax, 0xfffffffffffffffe
jmp 0x140004551
mov rax, qword [rsp + 0xd8]
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 + 0xd0]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x28]
call fcn.140003bd0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140003bc0
movzx eax, ax
cmp eax, 0x20b
jne 0x1400043de
xor eax, eax
mov word [rsp + 0x20], ax
jmp 0x140004356
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 0x1400043d9
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 + 0x50], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
rep movsb byte [rdi], byte [rsi]
jmp 0x140004349
jmp 0x140004490
xor eax, eax
mov word [rsp + 0x24], ax
jmp 0x1400043f4
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 0x140004490
mov rcx, qword [rsp + 0x28]
call fcn.140003bd0
mov qword [rsp + 0x68], rax
movzx eax, word [rsp + 0x24]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x68]
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 + 0x70], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x80], rax
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
rep movsb byte [rdi], byte [rsi]
jmp 0x1400043e7
mov rcx, qword [rsp + 0x30]
call fcn.140003bc0
movzx eax, ax
cmp eax, 0x20b
jne 0x1400044b0
mov rcx, qword [rsp + 0x28]
call fcn.140003e30
jmp 0x1400044cc
mov rcx, qword [rsp + 0x28]
call fcn.140003bd0
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x28]
call fcn.140003e30
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call fcn.140003c30
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 0x14000452e
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.140004050
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
add rsp, 0xb8
pop rdi
pop rsi
ret