Function at 0x100f9f45
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]
xor eax, eax
push ebx
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 0x100f9f88
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x414], edi
jmp 0x100f9f90
mov edi, ecx
mov dword [ebp - 0x414], ecx
test edi, edi
je 0x100fa1c7
test esi, esi
jne 0x100f9fa8
mov ecx, edi
call fcn.100fa262
jmp 0x100fa1ca
cmp word [esi + 6], ax
jne 0x100f9fd0
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push dword [edi + 0x18]
push dword [edi + 0xc]
call fcn.100fd499
mov ecx, dword [ebp - 0x40c]
mov ebx, eax
mov edx, dword [ebp - 0x408]
jmp 0x100f9fd3
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x100fa1c7
cmp dword [ebx + 0x50], 0x50535549
jne 0x100fa1c7
cmp ebx, dword [ebx + 8]
jne 0x100fa1c7
cmp ebx, dword [ebx + 0x52c]
jne 0x100fa1c7
movzx eax, word [esi + 6]
sub eax, 0
je 0x100fa117
sub eax, 1
je 0x100fa0f6
sub eax, 1
je 0x100fa0eb
sub eax, 1
jne 0x100fa1c7
cmp dword [ecx + 8], 1
jne 0x100fa0e0
cmp dword [edi + 0x10], eax
je 0x100fa0e0
test byte [edi + 0x18], 3
je 0x100fa0e0
mov eax, 0x100
test dword [ebx + 0x14], eax
jne 0x100fa0b4
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.101098e2
push dword [ebx + 0x38]
lea edx, [ebp - 0x404]
mov ecx, ebx
call fcn.10105283
push ecx
xor esi, esi
xor edx, edx
push esi
push esi
mov ecx, ebx
call fcn.100fa3c5
mov ecx, dword [ebx + 0x2c]
push esi
push 0x100
call fcn.1010acd3
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x38]
push eax
mov ecx, dword [ecx + 0x14]
call fcn.10109ac0
mov edi, dword [ebp - 0x414]
mov esi, dword [ebp - 0x410]
push 0
xor edx, edx
mov ecx, ebx
call fcn.100f77eb
push dword [edi + 0x10]
mov edx, dword [edi + 0xc]
push dword [edi + 0x14]
mov ecx, dword [ebx + 0x2c]
call fcn.100f7b70
mov edx, dword [edi + 0x10]
mov ecx, ebx
call fcn.100fd001
mov ecx, dword [ebp - 0x40c]
mov eax, dword [ecx + 8]
mov dword [esi + 0x18], eax
jmp 0x100fa25a
push ebx
call fcn.100fd810
jmp 0x100fa25a
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 0x100fa25a
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 0x100fa1db
mov esi, eax
dec ecx
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x408], ecx
je 0x100fa181
cmp dword [esi + 0x24], 0
je 0x100fa181
xor edx, edx
mov ecx, esi
inc edx
call fcn.100d74f2
xor edx, edx
test eax, eax
setns dl
test eax, eax
jns 0x100fa188
mov ecx, dword [ebp - 0x408]
add esi, 0x78
test ecx, ecx
jne 0x100fa153
mov esi, dword [ebp - 0x410]
test edx, edx
je 0x100fa1db
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.100fdf3a
test eax, eax
jne 0x100fa253
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
mov edx, dword [ebp - 0x40c]
mov ecx, ebx
call fcn.101042d4
mov dword [ebp - 0x408], eax
test eax, eax
je 0x100fa1c1
mov dword [eax + 0x14], 0x100fa5e0
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.10104cf6
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 [0x101a27b8]
call esi
test eax, eax
je 0x100fa1c1
mov edx, dword [edi + 0x18]
mov ecx, ebx
and edx, 0x7fffffff
call fcn.100fdf3a
test eax, eax
je 0x100fa1c1
mov esi, dword [ebp - 0x410]
and dword [esi + 0x18], 0
mov dword [esi + 0x14], ebx
xor eax, eax
inc eax
jmp 0x100fa1ca