Function at 0x10027710
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x2c
mov eax, dword [0x101e900c]
xor eax, esp
mov dword [esp + 0x28], eax
movzx eax, byte [edx]
push ebx
push ebp
mov ebp, ecx
mov byte [esp + 0xb], 0xff
movzx ecx, byte [edx + 7]
push esi
movzx esi, byte [edx + 3]
push edi
movzx edi, byte [edx + 1]
shl ecx, 8
shl di, 8
or di, ax
shl si, 8
movzx eax, byte [edx + 2]
or si, ax
movzx ebx, di
movzx eax, byte [edx + 6]
or ecx, eax
mov dword [esp + 0x20], ebp
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
mov eax, ebx
shr eax, 8
and eax, 0xf8
mov dword [esp + 0x24], ecx
mov edx, eax
mov ecx, ebx
shr edx, 5
and ebx, 0x1f
or edx, eax
shr ecx, 3
and ecx, 0xfc
shl ebx, 3
mov eax, ecx
mov byte [esp + 0x10], dl
shr eax, 6
or al, cl
mov byte [esp + 0x11], al
mov eax, ebx
shr eax, 5
or al, bl
mov byte [esp + 0x12], al
mov ecx, dword [esp + 0x10]
movzx eax, dx
mov dword [esp + 0x18], eax
mov eax, ecx
shr eax, 8
mov dword [esp + 0x14], eax
movzx edx, si
mov eax, edx
mov dword [esp + 0x28], ecx
shr eax, 8
and eax, 0xf8
shr edx, 3
mov ebx, eax
shr ecx, 0x10
and edx, 0xfc
shr ebx, 5
or ebx, eax
mov byte [esp + 0x13], 0xff
mov eax, edx
mov byte [esp + 0x10], bl
shr eax, 6
or al, dl
movzx edx, si
and edx, 0x1f
mov byte [esp + 0x11], al
shl edx, 3
mov eax, edx
shr eax, 5
or al, dl
movzx edx, bx
mov byte [esp + 0x12], al
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], edx
mov ebx, eax
shr eax, 0x10
shr ebx, 8
mov dword [esp + 0x1c], eax
cmp di, si
ja 0x10027873
cmp dword [esp + 0x40], 0
jne 0x10027873
mov edx, dword [esp + 0x18]
add edx, dword [esp + 0x10]
shr edx, 1
mov byte [esp + 0x30], dl
mov edx, dword [esp + 0x14]
movzx ebx, bl
movzx edx, dl
movzx ecx, cl
add ebx, edx
movzx eax, al
shr ebx, 1
add ecx, eax
shr ecx, 1
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], cl
mov dword [esp + 0x33], 0xff
mov byte [esp + 0x37], 0
jmp 0x1002791d
mov eax, dword [esp + 0x18]
movzx edx, ax
mov eax, dword [esp + 0x10]
movzx eax, ax
movzx ebx, bl
movzx edi, cl
mov byte [esp + 0x33], 0xff
lea edx, [eax + edx*2]
mov byte [esp + 0x37], 0xff
mov eax, 0xaaaaaaab
mul edx
mov eax, 0xaaaaaaab
shr edx, 1
mov byte [esp + 0x30], dl
mov edx, dword [esp + 0x14]
movzx ebp, dl
mov dword [esp + 0x14], ebp
lea edx, [ebx + ebp*2]
mov ebp, dword [esp + 0x10]
mul edx
mov eax, dword [esp + 0x1c]
movzx esi, al
mov eax, 0xaaaaaaab
shr edx, 1
mov byte [esp + 0x31], dl
lea ecx, [esi + edi*2]
mul ecx
movzx eax, bp
shr edx, 1
mov byte [esp + 0x32], dl
mov edx, dword [esp + 0x18]
movzx ecx, dx
mov ebp, dword [esp + 0x20]
lea ecx, [ecx + eax*2]
mov eax, 0xaaaaaaab
mul ecx
lea ecx, [ebx*2]
mov eax, 0xaaaaaaab
add ecx, dword [esp + 0x14]
shr edx, 1
mov byte [esp + 0x34], dl
mul ecx
lea ecx, [edi + esi*2]
mov eax, 0xaaaaaaab
shr edx, 1
mov byte [esp + 0x35], dl
mul ecx
shr edx, 1
mov byte [esp + 0x36], dl
mov edx, dword [esp + 0x24]
xor ecx, ecx
mov eax, edx
lea ebp, [ebp + 4]
shr eax, cl
add ecx, 2
and eax, 3
mov eax, dword [esp + eax*4 + 0x28]
mov dword [ebp - 4], eax
cmp ecx, 0x20
jl 0x10027923
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101044b9
add esp, 0x2c
ret