Function at 0x101016a7
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov dword [esp + 0xc], ecx
mov ebp, edx
mov ebx, 0xffffff70
shr edi, 1
lea ecx, [edi*4]
add edi, edi
sub eax, ecx
movzx ecx, word [eax + 2]
movzx edx, word [eax + 4]
add cx, word [eax]
add dx, word [eax - 2]
shl ecx, 2
lea edx, [edx + edx*4]
lea ecx, [ecx + ecx*4]
neg edx
add cx, word [eax - 4]
add ecx, edx
add cx, word [eax + 6]
add ecx, 0xffffd80a
mov word [ebp + ebx + 0x90], cx
movzx ecx, word [eax + 4]
movzx edx, word [eax + 6]
add cx, word [eax + 2]
add dx, word [eax]
shl ecx, 2
lea edx, [edx + edx*4]
lea ecx, [ecx + ecx*4]
neg edx
add cx, word [eax - 2]
add ecx, edx
add cx, word [eax + 8]
add ecx, 0xffffd80a
mov word [ebp + ebx + 0x92], cx
movzx ecx, word [eax + 6]
movzx edx, word [eax + 8]
add cx, word [eax + 4]
add dx, word [eax + 2]
shl ecx, 2
lea edx, [edx + edx*4]
lea ecx, [ecx + ecx*4]
neg edx
add cx, word [eax]
add ecx, edx
add cx, word [eax + 0xa]
add ecx, 0xffffd80a
mov word [ebp + ebx + 0x94], cx
movzx ecx, word [eax + 8]
movzx edx, word [eax + 0xa]
add cx, word [eax + 6]
add dx, word [eax + 4]
shl ecx, 2
lea edx, [edx + edx*4]
lea ecx, [ecx + ecx*4]
neg edx
add cx, word [eax + 2]
add ecx, edx
add cx, word [eax + 0xc]
add eax, edi
add ecx, 0xffffd80a
mov word [ebp + ebx + 0x96], cx
add ebx, 0x10
jne 0x101016d2
mov ecx, dword [esp + 0xc]
mov eax, esi
mov edx, esi
and esi, 0x7ffffffe
xor ebx, ebx
mov dword [esp + 8], ebp
sar eax, 1
and edx, 0xfffffffe
lea eax, [eax + eax*2]
add edx, ecx
lea esi, [ecx + esi*2]
lea eax, [ecx + eax*2]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
movsx eax, word [ebp + ebx]
movsx esi, word [ebp + ebx + 0x30]
movsx edx, word [ebp + ebx + 0x40]
mov edi, ebp
mov dword [esp], eax
movsx eax, word [ebp + ebx + 0x10]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
movsx eax, word [ebp + ebx + 0x20]
movsx ebp, word [ebp + ebx + 0x50]
lea ecx, [esi + eax + 0x4fec]
mov dword [esp + 0x1c], eax
mov eax, dword [esp]
lea esi, [esi + 0x27f6]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x18], esi
lea eax, [eax + ebp + 0x27f6]
add ebp, 0x27f6
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x14]
mov dword [esp + 4], ebp
mov ebp, edi
movsx esi, word [ebp + ebx + 0x80]
lea eax, [edx + eax + 0x27f6]
add edx, 0x27f6
lea eax, [eax + eax*4]
mov dword [esp], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], esi
sub ecx, eax
movsx eax, word [edi + ebx + 0x60]
movsx edi, word [edi + ebx + 0x70]
add ecx, 0xffff6228
sar ecx, 0xa
lea edx, [edx + 0x27f6]
add eax, 0x27f6
cmp ecx, 0x400
jb 0x1010188c
neg ecx
sar ecx, 0x1f
and ecx, 0x3ff
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
add edx, dword [esp + 4]
add edi, 0x27f6
mov word [ebp + ebx], cx
mov ecx, dword [esp]
lea ebp, [edx + edx*4]
lea ecx, [ecx + esi]
mov esi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
add esi, eax
lea ecx, [esi + ecx*4]
sub ecx, ebp
add ecx, 0x29f6
sar ecx, 0xa
cmp ecx, 0x400
jb 0x101018d6
neg ecx
sar ecx, 0x1f
and ecx, 0x3ff
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0x10]
mov word [edx + ebx], cx
mov ecx, dword [esp]
mov edx, dword [esp + 4]
lea ecx, [edx + ecx]
mov edx, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
add edx, edi
lea ecx, [edx + ecx*4]
mov edx, dword [esp + 0x18]
add edx, eax
lea edx, [edx + edx*4]
sub ecx, edx
add ecx, 0x29f6
sar ecx, 0xa
cmp ecx, 0x400
jb 0x10101923
neg ecx
sar ecx, 0x1f
and ecx, 0x3ff
mov edx, dword [esp + 0x24]
add eax, dword [esp + 4]
add edi, dword [esp]
add esi, dword [esp + 0x2c]
mov word [edx + ebx], cx
lea ecx, [eax + eax*4]
lea eax, [edi + edi*4]
lea ecx, [esi + ecx*4]
sub ecx, eax
add ecx, 0x51ec
sar ecx, 0xa
cmp ecx, 0x400
jb 0x1010195d
neg ecx
sar ecx, 0x1f
and ecx, 0x3ff
mov eax, dword [esp + 0x20]
mov word [eax + ebx], cx
add ebx, 2
cmp ebx, 8
jne 0x101017d6
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret