Function at 0x140056280
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xe8
mov rcx, qword [rsp + 0x100]
call fcn.140058d80
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x40], 4
mov byte [rsp + 0x41], 0x57
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x40]
call fcn.140001920
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
movsx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x100]
movsx ecx, byte [rcx]
cmp ecx, eax
je 0x140056312
mov dword [rsp + 0x44], 1
jmp 0x14005631a
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x30], al
lea rcx, [rsp + 0xc8]
call fcn.140002640
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140056345
mov rax, 0xffffffffffffffff
jmp 0x140056623
mov rax, qword [0x1400cbcd0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x50]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140056386
mov rax, 0xffffffffffffffff
jmp 0x140056623
cmp qword [rsp + 0x28], 0
jne 0x14005639a
mov rax, 0xffffffffffffffff
jmp 0x140056623
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x54]
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x100]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x28]
call fcn.140058d80
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140056fd0
movzx eax, ax
cmp eax, 0x20b
jne 0x14005649e
xor eax, eax
mov word [rsp + 0x20], ax
jmp 0x140056400
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x140056499
movzx eax, word [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x108]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
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 + 0x48]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x100]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x48]
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 0x1400563f3
jmp 0x140056562
xor eax, eax
mov word [rsp + 0x24], ax
jmp 0x1400564b4
movzx eax, word [rsp + 0x24]
inc ax
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x140056562
mov rcx, qword [rsp + 0x28]
call fcn.140056fe0
mov qword [rsp + 0x98], rax
movzx eax, word [rsp + 0x24]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x98]
lea rax, [rcx + rax + 0xf8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x100]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0xb0], rax
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
rep movsb byte [rdi], byte [rsi]
jmp 0x1400564a7
mov rcx, qword [rsp + 0x38]
call fcn.140056fd0
movzx eax, ax
cmp eax, 0x20b
jne 0x140056582
mov rcx, qword [rsp + 0x28]
call fcn.1400581d0
jmp 0x14005659e
mov rcx, qword [rsp + 0x28]
call fcn.140056fe0
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0x28]
call fcn.1400581d0
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call fcn.140057030
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x30], rcx
mov eax, 8
imul rax, rax, 9
mov rcx, qword [rsp + 0x38]
cmp dword [rcx + rax + 0x88], 0
je 0x140056600
mov eax, 8
imul rax, rax, 9
mov rcx, qword [rsp + 0x38]
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.140059100
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
add rsp, 0xe8
pop rdi
pop rsi
ret