Function at 0x1017c9d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov eax, ecx
push edi
mov edi, dword [esp + 0x20]
movzx edx, byte [edi + 7]
movzx ecx, byte [edi + 6]
movzx esi, byte [edi + 4]
shl edx, 8
add edx, ecx
movzx ecx, byte [edi + 5]
shl ecx, 8
add ecx, esi
movzx esi, byte [edi + 3]
mov dword [esp + 0x10], ecx
movzx ecx, byte [edi + 2]
shl esi, 8
add esi, ecx
movzx ecx, byte [edi + 1]
movzx edi, byte [edi]
shl ecx, 8
mov dword [esp + 0x18], eax
add ecx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], 2
add eax, 0x8a
jmp 0x1017ca34
mov esi, dword [esp + 0x20]
mov edi, edx
not edi
and edi, esi
movzx esi, word [eax - 2]
add edi, esi
mov esi, dword [esp + 0x10]
and esi, edx
add esi, ecx
lea ecx, [esi + edi]
mov edi, dword [esp + 0x10]
mov esi, ecx
shr esi, 0xf
and esi, 1
lea ecx, [esi + ecx*2]
movzx ebp, word [eax + 2]
mov esi, ecx
not esi
and esi, edi
mov ebx, ecx
and ebx, edx
add esi, ebx
movzx ebx, word [eax]
add ebx, dword [esp + 0x20]
add esi, ebx
mov ebx, esi
shr ebx, 0xe
and ebx, 3
lea esi, [ebx + esi*4]
mov ebx, esi
not ebx
and ebx, edx
add ebx, ebp
mov ebp, ecx
and ebp, esi
add ebp, edi
lea edi, [ebx + ebp]
movzx ebp, word [eax + 4]
mov ebx, edi
shr ebx, 0xd
and ebx, 7
lea edi, [ebx + edi*8]
mov ebx, edi
not ebx
and ebx, ecx
add ebx, ebp
mov ebp, esi
and ebp, edi
add ebp, edx
add ebx, ebp
mov edx, ebx
shr edx, 0xb
shl ebx, 5
and edx, 0x1f
add edx, ebx
mov ebx, dword [esp + 0x14]
add ebx, 0xfffffffe
cmp ebx, 4
je 0x1017cacc
cmp ebx, 0xa
jne 0x1017cb0c
mov ebx, dword [esp + 0x18]
mov ebp, edx
and ebp, 0x3f
movzx ebp, word [ebx + ebp*2 + 0x88]
add ecx, ebp
mov ebp, ecx
and ebp, 0x3f
movzx ebp, word [ebx + ebp*2 + 0x88]
add esi, ebp
mov ebp, esi
and ebp, 0x3f
movzx ebp, word [ebx + ebp*2 + 0x88]
add edi, ebp
mov ebp, edi
and ebp, 0x3f
movzx ebx, word [ebx + ebp*2 + 0x88]
add edx, ebx
movzx ebp, word [eax + 6]
mov ebx, edx
not ebx
and ebx, esi
add ebx, ebp
mov ebp, edi
and ebp, edx
add ebp, ecx
lea ecx, [ebx + ebp]
movzx ebp, word [eax + 8]
mov ebx, ecx
shr ebx, 0xf
and ebx, 1
lea ecx, [ebx + ecx*2]
mov ebx, ecx
not ebx
and ebx, edi
add ebx, ebp
mov ebp, ecx
and ebp, edx
add ebp, esi
lea esi, [ebx + ebp]
movzx ebp, word [eax + 0xa]
mov ebx, esi
shr ebx, 0xe
and ebx, 3
lea esi, [ebx + esi*4]
mov ebx, esi
not ebx
and ebx, edx
add ebx, ebp
mov ebp, ecx
and ebp, esi
add ebp, edi
lea edi, [ebx + ebp]
movzx ebp, word [eax + 0xc]
mov ebx, edi
shr ebx, 0xd
and ebx, 7
lea edi, [ebx + edi*8]
mov ebx, edi
not ebx
and ebx, ecx
add ebx, ebp
mov ebp, esi
and ebp, edi
add ebp, edx
add ebx, ebp
mov edx, ebx
shr edx, 0xb
shl ebx, 5
and edx, 0x1f
add edx, ebx
mov ebx, dword [esp + 0x14]
add ebx, 0xffffffff
cmp ebx, 4
je 0x1017cb9e
cmp ebx, 0xa
jne 0x1017cbde
mov ebx, dword [esp + 0x18]
mov ebp, edx
and ebp, 0x3f
movzx ebp, word [ebx + ebp*2 + 0x88]
add ecx, ebp
mov ebp, ecx
and ebp, 0x3f
movzx ebp, word [ebx + ebp*2 + 0x88]
add esi, ebp
mov ebp, esi
and ebp, 0x3f
movzx ebp, word [ebx + ebp*2 + 0x88]
add edi, ebp
mov ebp, edi
and ebp, 0x3f
movzx ebx, word [ebx + ebp*2 + 0x88]
add edx, ebx
movzx ebp, word [eax + 0xe]
mov ebx, edx
not ebx
and ebx, esi
add ebx, ebp
mov ebp, edi
and ebp, edx
add ebp, ecx
lea ecx, [ebx + ebp]
movzx ebp, word [eax + 0x10]
mov ebx, ecx
shr ebx, 0xf
and ebx, 1
lea ecx, [ebx + ecx*2]
mov ebx, ecx
not ebx
and ebx, edi
add ebx, ebp
mov ebp, ecx
and ebp, edx
add ebp, esi
lea esi, [ebx + ebp]
movzx ebp, word [eax + 0x12]
mov ebx, esi
shr ebx, 0xe
and ebx, 3
lea ebx, [ebx + esi*4]
mov esi, ebx
not esi
and esi, edx
add esi, ebp
mov ebp, ecx
and ebp, ebx
add ebp, edi
add esi, ebp
movzx ebp, word [eax + 0x14]
mov edi, esi
shr edi, 0xd
and edi, 7
lea esi, [edi + esi*8]
mov edi, esi
not edi
and edi, ecx
add edi, ebp
mov ebp, ebx
and ebp, esi
add ebp, edx
add edi, ebp
mov edx, edi
shr edx, 0xb
shl edi, 5
and edx, 0x1f
add edx, edi
mov edi, dword [esp + 0x14]
cmp edi, 4
mov dword [esp + 0x20], ebx
je 0x1017cc70
cmp edi, 0xa
jne 0x1017ccb6
mov ebp, dword [esp + 0x18]
mov edi, edx
and edi, 0x3f
movzx edi, word [ebp + edi*2 + 0x88]
add ecx, edi
mov edi, ecx
and edi, 0x3f
movzx edi, word [ebp + edi*2 + 0x88]
add ebx, edi
mov edi, ebx
and edi, 0x3f
movzx edi, word [ebp + edi*2 + 0x88]
add esi, edi
mov edi, esi
and edi, 0x3f
movzx edi, word [ebp + edi*2 + 0x88]
mov dword [esp + 0x20], ebx
add edx, edi
jmp 0x1017ccba
mov ebp, dword [esp + 0x18]
mov edi, edx
not edi
and edi, ebx
movzx ebx, word [eax + 0x16]
add edi, ebx
mov ebx, esi
and ebx, edx
add ebx, ecx
lea ecx, [ebx + edi]
movzx ebx, word [eax + 0x18]
mov edi, ecx
shr edi, 0xf
and edi, 1
lea ecx, [edi + ecx*2]
mov edi, ecx
not edi
and edi, esi
add edi, ebx
mov ebx, ecx
and ebx, edx
add ebx, dword [esp + 0x20]
add edi, ebx
mov ebx, edi
shr ebx, 0xe
and ebx, 3
lea edi, [ebx + edi*4]
movzx ebx, word [eax + 0x1a]
mov dword [esp + 0x20], edi
not edi
and edi, edx
add edi, ebx
mov ebx, ecx
and ebx, dword [esp + 0x20]
add ebx, esi
lea esi, [ebx + edi]
mov edi, esi
shr edi, 0xd
and edi, 7
lea esi, [edi + esi*8]
movzx edi, word [eax + 0x1c]
mov dword [esp + 0x10], esi
not esi
and esi, ecx
add esi, edi
mov edi, dword [esp + 0x20]
and edi, dword [esp + 0x10]
add edi, edx
add esi, edi
mov edi, dword [esp + 0x14]
mov edx, esi
shr edx, 0xb
shl esi, 5
and edx, 0x1f
add edx, esi
lea esi, [edi + 1]
cmp esi, 4
je 0x1017cd57
cmp esi, 0xa
jne 0x1017cd9f
mov esi, edx
and esi, 0x3f
movzx esi, word [ebp + esi*2 + 0x88]
add ecx, esi
mov esi, ecx
and esi, 0x3f
movzx ebx, word [ebp + esi*2 + 0x88]
mov esi, dword [esp + 0x20]
add esi, ebx
mov dword [esp + 0x20], esi
and esi, 0x3f
movzx ebx, word [ebp + esi*2 + 0x88]
mov esi, dword [esp + 0x10]
add esi, ebx
mov dword [esp + 0x10], esi
and esi, 0x3f
movzx esi, word [ebp + esi*2 + 0x88]
add edx, esi
add edi, 4
mov dword [esp + 0x14], edi
add edi, 0xfffffffe
add eax, 0x20
cmp edi, 0x10
jb 0x1017ca30
mov eax, dword [esp + 0x24]
mov byte [eax], cl
shr ecx, 8
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x20]
mov byte [eax + 2], cl
shr ecx, 8
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov byte [eax + 4], cl
shr ecx, 8
mov byte [eax + 6], dl
shr edx, 8
pop ebp
mov byte [eax + 5], cl
mov byte [eax + 7], dl
pop ebx
add esp, 0xc
ret 8