Function at 0x1400a7530
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x128
mov rcx, qword [rsp + 0x148]
call fcn.1400a9440
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400a756e
xor eax, eax
jmp 0x1400a7bfd
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400a7585
xor eax, eax
jmp 0x1400a7bfd
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400a75bf
xor eax, eax
jmp 0x1400a7bfd
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 0x24]
mov dword [rsp + 0x70], eax
movzx eax, byte [rsp + 0x168]
test eax, eax
je 0x1400a75eb
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x74], eax
jmp 0x1400a75f3
mov dword [rsp + 0x74], 0
mov eax, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x68], 0
cmp dword [rsp + 0x170], 1
jne 0x1400a763e
mov eax, dword [rsp + 0x38]
lea r8, [rsp + 0x68]
mov edx, eax
mov rcx, qword [rsp + 0x140]
call fcn.1400a72d0
mov qword [rsp + 0x40], rax
jmp 0x1400a767b
cmp dword [rsp + 0x170], 2
jne 0x1400a7660
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x140]
call fcn.1400a74c0
mov qword [rsp + 0x40], rax
jmp 0x1400a767b
mov eax, dword [rsp + 0x38]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x140]
call fcn.14009d7a0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400a769d
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x1400a7bfd
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x54]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x148]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x48], 0
jmp 0x1400a76e5
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x48], eax
jge 0x1400a778c
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x80
test eax, eax
jbe 0x1400a7718
jmp 0x1400a76db
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x10]
movsxd rcx, dword [rsp + 0x48]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x80]
mov ecx, dword [rdx + rcx + 0x14]
mov rdx, qword [rsp + 0x148]
add rdx, rcx
mov rcx, rdx
mov rdi, qword [rsp + 0x90]
mov rsi, rcx
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
jmp 0x1400a76db
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
movzx eax, byte [rsp + 0x168]
test eax, eax
je 0x1400a77b6
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x98]
call fcn.1400a94a0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
call fcn.1400a7c10
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call fcn.1400a7d10
movzx eax, al
test eax, eax
jne 0x1400a783e
xor eax, eax
jmp 0x1400a7bfd
lea rax, [rsp + 0x100]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xb8]
call fcn.1400a9650
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x140]
call fcn.1400a7e30
movzx eax, al
test eax, eax
jne 0x1400a7893
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
jmp 0x1400a7b1c
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0xc8], rax
movzx eax, byte [rsp + 0x168]
test eax, eax
je 0x1400a78b5
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x78], eax
jmp 0x1400a78bd
mov dword [rsp + 0x78], 0
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov r9, qword [rsp + 0xc8]
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x140]
call fcn.14009cf10
movzx eax, al
test eax, eax
jne 0x1400a78ff
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
jmp 0x1400a7b1c
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe0], rax
cmp qword [rsp + 0x180], 0
je 0x1400a7978
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x150]
call qword [rsp + Ordinal_211]
movzx eax, al
test eax, eax
jne 0x1400a7978
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
jmp 0x1400a7b1c
mov dword [rsp + 0x7c], 0
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0xd8], rax
movzx eax, byte [rsp + 0x178]
test eax, eax
je 0x1400a79ab
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x88], rax
jmp 0x1400a79bb
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0xe0]
lea rdx, [rsp + 0x7c]
mov rcx, qword [rsp + 0x140]
call fcn.1400a83a0
movzx eax, al
test eax, eax
jne 0x1400a7a00
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
jmp 0x1400a7b1c
cmp qword [rsp + 0x188], 0
je 0x1400a7a19
mov rax, qword [rsp + 0x188]
mov ecx, dword [rsp + 0x7c]
mov dword [rax], ecx
movzx eax, byte [rsp + 0x160]
test eax, eax
je 0x1400a7af5
mov byte [rsp + 0x30], 0
cmp dword [rsp + 0x170], 1
jne 0x1400a7ab3
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x140]
call fcn.14009d610
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400a7a63
mov byte [rsp + 0x32], 0
jmp 0x1400a7a79
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x140]
call fcn.14009d6e0
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400a7a92
mov byte [rsp + 0x33], 0
jmp 0x1400a7aa8
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x140]
call fcn.14009d8a0
mov byte [rsp + 0x33], al
movzx eax, byte [rsp + 0x33]
mov byte [rsp + 0x30], al
jmp 0x1400a7af0
cmp dword [rsp + 0x170], 2
jne 0x1400a7ada
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x140]
call fcn.14009d0f0
mov byte [rsp + 0x30], al
jmp 0x1400a7af0
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x140]
call fcn.14009d8a0
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x58]
jmp 0x1400a7bfd
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov byte [rsp + 0x31], 0
cmp dword [rsp + 0x170], 1
jne 0x1400a7bb9
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x140]
call fcn.14009d610
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x1400a7b69
mov byte [rsp + 0x34], 0
jmp 0x1400a7b7f
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x140]
call fcn.14009d6e0
mov byte [rsp + 0x34], al
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x1400a7b98
mov byte [rsp + 0x35], 0
jmp 0x1400a7bae
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x140]
call fcn.14009d8a0
mov byte [rsp + 0x35], al
movzx eax, byte [rsp + 0x35]
mov byte [rsp + 0x31], al
jmp 0x1400a7bf6
cmp dword [rsp + 0x170], 2
jne 0x1400a7be0
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x140]
call fcn.14009d0f0
mov byte [rsp + 0x31], al
jmp 0x1400a7bf6
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x140]
call fcn.14009d8a0
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
xor eax, eax
add rsp, 0x128
pop rdi
pop rsi
ret