Function at 0x10001660
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 4]
ja 0x1000169a
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.10001c10
mov ecx, eax
call fcn.10001840
jmp 0x1000183b
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 8]
call fcn.10001c10
push 0
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 8]
call fcn.10001be0
mov ecx, eax
call fcn.10001c60
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x3c]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 8]
call fcn.10001be0
mov ecx, eax
call fcn.10001c60
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 6]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x34], 0
jmp 0x10001718
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x28
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x24]
jae 0x1000175c
push str..text
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10002770
add esp, 8
test eax, eax
jne 0x1000175a
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
push edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 8]
call fcn.10001be0
mov ecx, eax
call fcn.10001c60
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 8]
mov dword [ebp - 0x1c], eax
jmp 0x1000175c
jmp 0x10001706
cmp dword [ebp - 0x1c], 0
jne 0x10001769
xor eax, eax
jmp 0x1000183b
mov byte [ebp - 0x25], 1
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x38], 0
jmp 0x10001799
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x28
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x24]
jae 0x100017e3
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
push ecx
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 8]
call fcn.10001be0
mov ecx, eax
call fcn.10001c60
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x1c]
jbe 0x100017e1
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.10001630
add esp, 8
cmp eax, 0xc
jae 0x100017e1
mov byte [ebp - 0x25], 0
jmp 0x100017e3
jmp 0x10001787
movzx eax, byte [ebp - 0x25]
test eax, eax
jne 0x100017ef
xor eax, eax
jmp 0x1000183b
mov byte [ebp - 0x14], 0x48
mov byte [ebp - 0x13], 0xb8
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x12], ecx
mov byte [ebp - 0xa], 0xff
mov byte [ebp - 9], 0xe0
push 0xc
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push 0xffffffffffffffff
call fcn.10003010
add esp, 0x10
movzx ecx, al
test ecx, ecx
jne 0x10001824
xor eax, eax
jmp 0x1000183b
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.10001c10
mov ecx, eax
call fcn.10001840
mov esp, ebp
pop ebp
ret