Function at 0x10026127
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x100b5830
call fcn.100b2f10
sub esp, 0x64
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [esi]
cmp eax, 0x454c4946
mov dword [edi], eax
je 0x10026162
cmp eax, 2
jbe 0x1002615a
cmp eax, 0x44414142
je 0x1002615a
xor eax, eax
jmp 0x10026349
push 1
pop eax
jmp 0x10026349
movzx eax, word [esi + 4]
movzx ecx, word [esi + 6]
test al, 1
mov dword [ebp - 0x10], ecx
jne 0x10026347
push 1
lea edx, [eax + ecx*2]
mov ecx, dword [ebp + 0xc]
pop ebx
shl ebx, cl
dec ebx
dec ebx
cmp edx, ebx
ja 0x10026347
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10026347
mov edx, dword [ebp + 0x10]
dec ecx
cmp ecx, edx
jne 0x10026347
cmp eax, 0x30
jb 0x100261b2
mov ecx, dword [esi + 0x2c]
cmp ecx, dword [ebp + 0x14]
jne 0x10026347
mov bx, word [eax + esi]
add eax, esi
cmp dword [ebp - 0x10], 1
mov dword [ebp + 8], 1
jbe 0x100261fa
add eax, 2
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
shl eax, cl
cmp word [eax + esi - 2], bx
lea ecx, [eax + esi - 2]
jne 0x10026347
mov eax, dword [ebp + 0x10]
inc dword [ebp + 8]
add dword [ebp + 0x10], 2
mov ax, word [eax]
mov word [ecx], ax
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x10]
jb 0x100261cb
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov cx, word [esi + 0x16]
movzx eax, word [esi + 0x14]
mov word [edi + 6], cx
mov ecx, dword [esi + 0x1c]
mov ebx, dword [esi + 0x18]
mov dword [ebp + 0x10], ecx
mov ecx, dword [esi + 0x20]
mov dword [ebp + 8], ebx
mov dword [edi + 8], ecx
mov ecx, dword [esi + 0x24]
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
shl edx, cl
cmp eax, edx
jae 0x10026347
test al, 7
jne 0x10026347
test bl, 7
jne 0x10026347
cmp ebx, edx
ja 0x10026347
cmp dword [ebp + 0x10], edx
jne 0x10026347
cmp eax, ebx
mov dword [ebp + 0xc], eax
jae 0x10026347
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
sub eax, ecx
add ecx, esi
push eax
push ecx
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], ebx
mov dword [ebp + 0x10], eax
call fcn.10024f9a
cmp eax, ebx
je 0x10026390
cmp dword [ebp + 0x10], eax
jb 0x10026390
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x70]
cmp eax, 0xffffffff
je 0x1002635a
sub eax, 0x10
je 0x1002631d
sub eax, 0x20
je 0x100262e5
sub eax, 0x50
je 0x100262dc
sub eax, 0x40
je 0x100262ce
mov ecx, dword [ebp + 0x18]
cmp ecx, ebx
je 0x1002632f
lea eax, [ebp - 0x70]
push eax
call fcn.10028765
jmp 0x1002632f
lea eax, [ebp - 0x64]
lea ecx, [edi + 0x60]
push eax
call fcn.100286c1
jmp 0x1002632f
lea eax, [ebp - 0x70]
lea ecx, [edi + 0x18]
push eax
jmp 0x100262c7
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
push dword [ebp - 0x64]
call fcn.10024e84
test al, al
je 0x10026374
lea eax, [ebp - 0x28]
lea ecx, [edi + 0x24]
push eax
call fcn.1002889d
cmp dword [ebp - 0x20], ebx
je 0x1002632f
push dword [ebp - 0x20]
call fcn.100032c4
pop ecx
jmp 0x1002632f
push dword [ebp - 0x60]
lea ecx, [edi + 0x40]
push dword [ebp - 0x64]
call fcn.10024f2e
test al, al
je 0x10026390
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10026394
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], eax
jb 0x10026260
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x10026390
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10026394
mov al, bl
jmp 0x10026349
cmp dword [ebp - 0x20], ebx
je 0x10026382
push dword [ebp - 0x20]
call fcn.100032c4
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10026394
jmp 0x10026347
xor bl, bl
jmp 0x10026364