Function at 0x100fbae4
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x101a4c2c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov edx, eax
mov dword [ebp - 0x410], esi
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 0x408], edx
push edi
test esi, esi
je 0x100fbb26
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x414], edi
jmp 0x100fbb2e
mov edi, ecx
mov dword [ebp - 0x414], ecx
test edi, edi
jne 0x100fbb3a
or eax, 0xffffffff
jmp 0x100fbe03
test esi, esi
jne 0x100fbb4a
mov ecx, edi
call fcn.100fbe15
jmp 0x100fbe03
push ebx
cmp word [esi + 6], ax
jne 0x100fbb73
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push dword [edi + 0x18]
push dword [edi + 0xc]
call fcn.100ff0da
mov ecx, dword [ebp - 0x40c]
mov ebx, eax
mov edx, dword [ebp - 0x408]
jmp 0x100fbb76
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x100fbdff
cmp dword [ebx + 0x50], 0x50535549
jne 0x100fbdff
cmp ebx, dword [ebx + 8]
jne 0x100fbdff
cmp ebx, dword [ebx + 0x52c]
jne 0x100fbdff
movzx eax, word [esi + 6]
sub eax, 0
je 0x100fbcca
sub eax, 1
je 0x100fbc99
sub eax, 1
je 0x100fbc8e
sub eax, 1
jne 0x100fbdff
cmp dword [ecx + 8], 1
jne 0x100fbc83
cmp dword [edi + 0x10], eax
je 0x100fbc83
test byte [edi + 0x18], 3
je 0x100fbc83
mov eax, 0x100
test dword [ebx + 0x14], eax
jne 0x100fbc57
mov edx, dword [ebx + 0x38]
lea edi, [ebp - 0x404]
mov ecx, eax
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x18]
push 2
push 0x200
mov ecx, dword [ecx + 0x14]
call fcn.1010b697
push dword [ebx + 0x38]
lea edx, [ebp - 0x404]
mov ecx, ebx
call fcn.10106f83
push ecx
xor esi, esi
xor edx, edx
push esi
push esi
mov ecx, ebx
call fcn.100fbf7c
mov ecx, dword [ebx + 0x2c]
push esi
push 0x100
call fcn.1010caa2
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x38]
push eax
mov ecx, dword [ecx + 0x14]
call fcn.1010b883
mov edi, dword [ebp - 0x414]
mov esi, dword [ebp - 0x410]
push 0
xor edx, edx
mov ecx, ebx
call fcn.100f92e8
push dword [edi + 0x10]
mov edx, dword [edi + 0xc]
push dword [edi + 0x14]
mov ecx, dword [ebx + 0x2c]
call fcn.100f966f
mov edx, dword [edi + 0x10]
mov ecx, ebx
call fcn.100fec3e
mov ecx, dword [ebp - 0x40c]
mov eax, dword [ecx + 8]
mov dword [esi + 0x18], eax
jmp 0x100fbdf4
push ebx
call fcn.100ff470
jmp 0x100fbdf4
push 6
pop eax
mov word [ecx + 2], ax
mov eax, dword [ebx + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [0x101a5fbc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x24]
cmp dword [eax + 0x90], 0
je 0x100fbcbe
and dword [ecx + 0x10], 0
mov dword [ecx + 0x10], 0xfa52
jmp 0x100fbdf4
mov eax, dword [edi + 0x18]
test al, 0x10
mov dword [ebx + 0x58], eax
mov eax, dword [edi + 0x18]
push 0
pop ecx
setne cl
shr eax, 5
not eax
inc ecx
and eax, 1
mov dword [ebp - 0x40c], ecx
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 0x100fbd79
mov esi, eax
dec ecx
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x408], ecx
je 0x100fbd30
cmp dword [esi + 0x24], 0
je 0x100fbd30
xor edx, edx
mov ecx, esi
inc edx
call fcn.100d8c78
xor edx, edx
test eax, eax
setns dl
test eax, eax
jns 0x100fbd37
mov ecx, dword [ebp - 0x408]
add esi, 0x78
test ecx, ecx
jne 0x100fbd02
mov esi, dword [ebp - 0x410]
test edx, edx
je 0x100fbd79
or dword [ebx + 0x528], 1
mov ecx, ebx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x6c], eax
mov eax, dword [esi + 8]
or dword [ebx + 0x48], 1
mov dword [ebx + 0x70], eax
mov edx, dword [edi + 0x18]
and edx, 0x7fffffff
call fcn.100ffbdd
test eax, eax
je 0x100fbdf9
and dword [esi + 0x18], 0
mov dword [esi + 0x14], ebx
jmp 0x100fbdf4
mov edx, dword [ebp - 0x40c]
mov ecx, ebx
call fcn.10105f54
mov dword [ebp - 0x408], eax
test eax, eax
je 0x100fbdf9
mov dword [eax + 0x14], 0x100fc1a0
mov ecx, dword [esi + 0xc]
mov dword [ebx + 0x6c], ecx
mov ecx, dword [esi + 8]
push 2
mov dword [ebx + 0x70], ecx
mov ecx, ebx
pop edx
mov dword [ebx + 0x74], eax
call fcn.10106a05
mov esi, dword [ebx + 0x6c]
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x408]
mov ecx, esi
push 3
push dword [ebx + 0x70]
call dword [0x101a77c4]
call esi
test eax, eax
je 0x100fbdf9
mov edx, dword [edi + 0x18]
mov ecx, ebx
and edx, 0x7fffffff
call fcn.100ffbdd
test eax, eax
je 0x100fbdf9
mov ecx, dword [ebp - 0x410]
and dword [ecx + 0x18], 0
mov dword [ecx + 0x14], ebx
xor eax, eax
inc eax
jmp 0x100fbe02
push ebx
call fcn.100ff470
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10166ce0
mov esp, ebp
pop ebp
ret 8