Function at 0x140010690
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0xc0], 0
je 0x1400106d2
mov rax, qword [rsp + 0xc0]
mov dword [rax], 0
cmp qword [rsp + 0x28], 0
je 0x1400106e5
cmp qword [rsp + 0xb8], 0
jne 0x1400106fc
mov edx, 0x18
mov rcx, qword [rsp + 0xa0]
call fcn.140013280
jmp 0x140010c82
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rsp + 0xa8]
mov dword [rax], ecx
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x68]
mov ecx, dword [rsp + 0xa8]
mov rax, qword [rax + 0x20]
mov eax, dword [rax + rcx*4]
mov rcx, qword [rsp + 0xb8]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx + 4]
mov word [rax + 0x10], cx
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx + 6]
mov word [rax + 0x12], cx
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx + 8]
mov word [rax + 0x14], cx
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx + 0xa]
mov word [rax + 0x16], cx
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0xe]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx + 0xc]
mov edx, eax
call fcn.140010540
mov rcx, qword [rsp + 0xb8]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0x10]
mov dword [rax + 0x20], ecx
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0xb8]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
mov rcx, qword [rsp + 0xb8]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx + 0x24]
mov word [rax + 0x38], cx
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0x26]
mov dword [rax + 0x3c], ecx
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x2a]
mov rcx, qword [rsp + 0xb8]
mov qword [rcx + 0x40], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x1c]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x1ff
jae 0x140010844
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x44], eax
jmp 0x14001084c
mov dword [rsp + 0x44], 0x1ff
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, 0x2e
mov rdx, qword [rsp + 0xb8]
add rdx, 0x58
mov rdi, rdx
mov rsi, rcx
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xb8]
mov byte [rcx + rax + 0x58], 0
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x20]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x1ff
jae 0x1400108a9
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x48], eax
jmp 0x1400108b1
mov dword [rsp + 0x48], 0x1ff
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x48], ecx
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx + 0x1c]
mov rdx, qword [rsp + 0x28]
lea rcx, [rdx + rcx + 0x2e]
mov rdx, qword [rsp + 0x28]
movzx edx, word [rdx + 0x1e]
add rcx, rdx
mov rdx, qword [rsp + 0xb8]
add rdx, 0x258
mov rdi, rdx
mov rsi, rcx
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xb8]
mov byte [rcx + rax + 0x258], 0
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.140011f60
mov rcx, qword [rsp + 0xb8]
mov dword [rcx + 0x4c], eax
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.140012000
mov rcx, qword [rsp + 0xb8]
mov dword [rcx + 0x50], eax
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.140012070
mov rcx, qword [rsp + 0xb8]
mov dword [rcx + 0x54], eax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx + 0x30]
cmp qword [rax + 0x28], rcx
jbe 0x1400109a2
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x60], rax
jmp 0x1400109b3
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x40]
cmp qword [rsp + 0x60], rax
jbe 0x140010a10
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx + 0x30]
cmp qword [rax + 0x28], rcx
jbe 0x1400109f3
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x68], rax
jmp 0x140010a04
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
jmp 0x140010a21
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x70], rax
mov eax, 0xffffffff
cmp qword [rsp + 0x70], rax
jne 0x140010c7d
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x1e]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140010c7d
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x2e]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x34]
cmp rax, 4
jae 0x140010a82
mov edx, 9
mov rcx, qword [rsp + 0xa0]
call fcn.140013280
jmp 0x140010c82
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 2]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
add rax, 4
mov ecx, dword [rsp + 0x34]
cmp rax, rcx
jbe 0x140010ac3
mov edx, 9
mov rcx, qword [rsp + 0xa0]
call fcn.140013280
jmp 0x140010c82
cmp dword [rsp + 0x58], 1
jne 0x140010c4c
mov rax, qword [rsp + 0x50]
add rax, 4
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
cmp qword [rsp + 0xc0], 0
je 0x140010afd
mov rax, qword [rsp + 0xc0]
mov dword [rax], 1
mov rax, qword [rsp + 0xb8]
mov ecx, 0xffffffff
cmp qword [rax + 0x30], rcx
jne 0x140010b6d
mov eax, dword [rsp + 0x30]
cmp rax, 8
jae 0x140010b31
mov edx, 9
mov rcx, qword [rsp + 0xa0]
call fcn.140013280
jmp 0x140010c82
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 4]
shl rcx, 0x20
or rax, rcx
mov rcx, qword [rsp + 0xb8]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x38]
add rax, 8
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x30]
sub rax, 8
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xb8]
mov ecx, 0xffffffff
cmp qword [rax + 0x28], rcx
jne 0x140010bdd
mov eax, dword [rsp + 0x30]
cmp rax, 8
jae 0x140010ba1
mov edx, 9
mov rcx, qword [rsp + 0xa0]
call fcn.140013280
jmp 0x140010c82
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 4]
shl rcx, 0x20
or rax, rcx
mov rcx, qword [rsp + 0xb8]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x38]
add rax, 8
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x30]
sub rax, 8
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xb8]
mov ecx, 0xffffffff
cmp qword [rax + 0x40], rcx
jne 0x140010c4a
mov eax, dword [rsp + 0x30]
cmp rax, 8
jae 0x140010c0e
mov edx, 9
mov rcx, qword [rsp + 0xa0]
call fcn.140013280
jmp 0x140010c82
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 4]
shl rcx, 0x20
or rax, rcx
mov rcx, qword [rsp + 0xb8]
mov qword [rcx + 0x40], rax
mov rax, qword [rsp + 0x38]
add rax, 8
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x30]
sub rax, 8
mov dword [rsp + 0x30], eax
jmp 0x140010c7d
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 4]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x34]
sub rax, 4
mov ecx, dword [rsp + 0x40]
sub rax, rcx
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x140010a61
mov eax, 1
add rsp, 0x88
pop rdi
pop rsi
ret