Function at 0x100f8b91
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x1019fbfc]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x40c], ecx
push edi
mov edi, dword [ebp + 8]
mov edx, ebx
mov dword [ebp - 0x410], edi
mov dword [ebp - 0x408], edx
test edi, edi
je 0x100f8dec
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x414], esi
test esi, esi
je 0x100f8dec
cmp word [edi + 6], bx
jne 0x100f8c07
movzx eax, word [esi + 2]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
push 1
push eax
push ebx
call fcn.100fd499
mov ecx, dword [ebp - 0x40c]
mov ebx, eax
mov edx, dword [ebp - 0x408]
jmp 0x100f8c0a
mov ebx, dword [edi + 0x14]
test ebx, ebx
je 0x100f8dec
cmp dword [ebx + 0x50], 0x50535549
jne 0x100f8dec
cmp ebx, dword [ebx + 8]
jne 0x100f8dec
cmp ebx, dword [ebx + 0x52c]
jne 0x100f8dec
movzx eax, word [edi + 6]
sub eax, 0
je 0x100f8cdb
sub eax, 1
je 0x100f8cba
sub eax, 1
je 0x100f8ddb
sub eax, 1
jne 0x100f8dec
mov eax, dword [ecx + 8]
cmp eax, 1
jne 0x100f8cb2
mov ecx, 0x100
test dword [ebx + 0x14], ecx
jne 0x100f8cb2
mov edx, dword [ebx + 0x38]
lea edi, [ebp - 0x404]
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x18]
push eax
push 0x200
mov ecx, dword [ecx + 0x14]
call fcn.101098e2
push dword [ebx + 0x38]
lea edx, [ebp - 0x404]
mov ecx, ebx
call fcn.10105283
push 1
xor edx, edx
mov ecx, ebx
call fcn.100f8fec
mov eax, dword [ebp - 0x40c]
mov edi, dword [ebp - 0x410]
mov eax, dword [eax + 8]
mov dword [edi + 0x18], eax
jmp 0x100f8de1
push 6
pop eax
mov word [ecx + 2], ax
mov eax, dword [ebx + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [0x101a0f0c]
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0xfa52
jmp 0x100f8de1
movzx eax, word [esi + 2]
mov dword [ebx + 0x58], eax
movzx eax, word [esi + 2]
not eax
and eax, 1
mov dword [ebx + 0x60], eax
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + 4]
add eax, 0x14
mov dword [ebp - 0x408], eax
test ecx, ecx
je 0x100f8d5f
mov edi, eax
dec ecx
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x408], ecx
je 0x100f8d31
cmp dword [edi + 0x24], 0
je 0x100f8d31
push 2
pop edx
mov ecx, edi
call fcn.100d74f2
xor edx, edx
test eax, eax
setns dl
test eax, eax
jns 0x100f8d38
mov ecx, dword [ebp - 0x408]
add edi, 0x78
test ecx, ecx
jne 0x100f8d03
mov edi, dword [ebp - 0x410]
test edx, edx
je 0x100f8d5f
or dword [ebx + 0x528], 2
mov eax, dword [edi + 0xc]
mov dword [ebx + 0x6c], eax
mov eax, dword [edi + 8]
or dword [ebx + 0x48], 4
mov dword [ebx + 0x70], eax
movzx edx, word [esi + 2]
jmp 0x100f8dbe
push 3
pop edx
mov ecx, ebx
call fcn.101042d4
mov esi, eax
test esi, esi
je 0x100f8dd2
mov dword [esi + 0x14], 0x100f8e00
xor edx, edx
mov eax, dword [edi + 0xc]
inc edx
mov dword [ebx + 0x6c], eax
mov ecx, ebx
mov eax, dword [edi + 8]
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], esi
call fcn.10104cf6
mov ecx, ebx
call fcn.10105f79
lea eax, [ebp - 0x418]
push eax
push esi
mov esi, dword [ebx + 0x6c]
mov ecx, esi
push 3
push dword [ebx + 0x70]
call dword [0x101a27b8]
call esi
test eax, eax
je 0x100f8de6
mov eax, dword [ebp - 0x414]
movzx edx, word [eax + 2]
mov ecx, ebx
call fcn.100fdf3a
test eax, eax
je 0x100f8de6
and dword [edi + 0x18], 0
mov dword [edi + 0x14], ebx
jmp 0x100f8de1
test byte [ebx + 0x528], 4
je 0x100f8de6
push ebx
call fcn.100fd810
xor eax, eax
inc eax
jmp 0x100f8def
push ebx
call fcn.100fd810
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101637b0
leave
ret 8