Function at 0xd26430
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
movzx ecx, word [esi + 2]
movsx eax, word [ebx + 2]
movsx edx, word [ebx]
sar cx, 1
movsx ecx, cx
imul ecx, eax
movzx eax, word [esi]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 4]
add ecx, eax
movzx eax, word [esi + 4]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 6]
add ecx, eax
movzx eax, word [esi + 6]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 8]
add ecx, eax
movzx eax, word [esi + 8]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0xa]
add ecx, eax
movzx eax, word [esi + 0xa]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0xc]
add ecx, eax
movzx eax, word [esi + 0xc]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0xe]
add ecx, eax
movzx eax, word [esi + 0xe]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x10]
add ecx, eax
movzx eax, word [esi + 0x10]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x12]
add ecx, eax
movzx eax, word [esi + 0x12]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x14]
add ecx, eax
movzx eax, word [esi + 0x14]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x16]
add ecx, eax
movzx eax, word [esi + 0x16]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x18]
add ecx, eax
movzx eax, word [esi + 0x18]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x1a]
add ecx, eax
movzx eax, word [esi + 0x1a]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x1c]
add ecx, eax
movzx eax, word [esi + 0x1c]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x1e]
add ecx, eax
movzx eax, word [esi + 0x1e]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x20]
add ecx, eax
movzx eax, word [esi + 0x20]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x22]
add ecx, eax
movzx eax, word [esi + 0x22]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x24]
add ecx, eax
movzx eax, word [esi + 0x24]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x26]
add ecx, eax
movzx eax, word [esi + 0x26]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x28]
add ecx, eax
movzx eax, word [esi + 0x28]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x2a]
add ecx, eax
movzx eax, word [esi + 0x2a]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x2c]
add ecx, eax
movzx eax, word [esi + 0x2c]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x2e]
add ecx, eax
movzx eax, word [esi + 0x2e]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x30]
add ecx, eax
movzx eax, word [esi + 0x30]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x32]
add ecx, eax
movzx eax, word [esi + 0x32]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x34]
add ecx, eax
movzx eax, word [esi + 0x34]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x36]
add ecx, eax
movzx eax, word [esi + 0x36]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x38]
add ecx, eax
movzx eax, word [esi + 0x38]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x3a]
add ecx, eax
movzx eax, word [esi + 0x3a]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x3c]
add ecx, eax
movzx eax, word [esi + 0x3c]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x3e]
add ecx, eax
movzx eax, word [esi + 0x3e]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x40]
add ecx, eax
movzx eax, word [esi + 0x40]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x42]
add ecx, eax
movzx eax, word [esi + 0x42]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x44]
add ecx, eax
movzx eax, word [esi + 0x44]
sar ax, 1
cwde
imul eax, edx
movsx edx, word [ebx + 0x46]
add ecx, eax
movzx eax, word [esi + 0x46]
sar ax, 1
cwde
imul eax, edx
movzx edx, word [esi + 0x48]
add ecx, eax
movsx eax, word [ebx + 0x48]
sar dx, 1
movsx edx, dx
imul edx, eax
movzx eax, word [esi + 0x4a]
add edx, ecx
movsx ecx, word [ebx + 0x4a]
sar ax, 1
cwde
imul eax, ecx
movsx ecx, word [ebx + 0x4c]
add edx, eax
movzx eax, word [esi + 0x4c]
sar ax, 1
cwde
imul eax, ecx
movsx ecx, word [ebx + 0x4e]
add edx, eax
movzx eax, word [esi + 0x4e]
sar ax, 1
cwde
imul eax, ecx
add edx, eax
lea ebx, [edx + edx]
lea eax, [ebx + 1]
mov dword [esp], eax
call fcn.00d1afb0
cmp ax, 0x10
mov edi, eax
jg 0xd2679b
cwde
mov ecx, 0x11
sub ecx, eax
sar ebx, cl
mov word [ebp - 0x28], bx
xor eax, eax
cmp word [ebp - 0x28], 0
jle 0xd26793
mov ecx, esi
mov ebx, 0x14
xor esi, esi
movzx edx, word [ecx]
movzx eax, word [ecx + 2]
add ecx, 4
sar dx, 1
sar ax, 1
movsx edx, dx
cwde
imul eax, eax
imul edx, edx
sar eax, 2
sar edx, 2
add eax, edx
add esi, eax
sub bx, 1
jne 0xd26721
lea ebx, [esi*8]
mov dword [esp], ebx
call fcn.00d1afb0
cmp ax, 0xf
mov esi, eax
jle 0xd267ac
movsx ecx, ax
mov eax, ebx
sub ecx, 0x10
shl eax, cl
cwde
mov dword [esp + 4], eax
movsx eax, word [ebp - 0x28]
mov dword [esp], eax
call fcn.00d194b0
lea ecx, [edi + 5]
sub cx, si
cmp cx, 1
jle 0xd267ba
movsx ecx, cx
cwde
sub ecx, 1
sar eax, cl
cwde
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
movsx ecx, ax
sub ecx, 0x11
shl ebx, cl
mov word [ebp - 0x28], bx
jmp 0xd2670f
cwde
mov ecx, 0x10
sub ecx, eax
mov eax, ebx
sar eax, cl
jmp 0xd2676c
movsx edx, ax
movsx eax, cx
mov ecx, 1
sub ecx, eax
mov eax, edx
shl eax, cl
cwde
jmp 0xd26793