Function at 0x5989a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x124
mov eax, dword [esp + 0x138]
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x12c]
push ebx
push ebp
push esi
mov esi, dword [eax]
mov eax, dword [esp + 0x13c]
lea eax, [ecx + eax + 1]
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 9
movzx edi, byte [eax]
movzx ebx, byte [eax - 1]
imul ebx, esi
mov ebp, edx
imul ebp, edi
lea ebx, [ebx + ebp + 0x40]
sar ebx, 7
mov dword [ecx - 4], ebx
movzx ebx, byte [eax + 1]
mov ebp, edx
imul ebp, ebx
mov ebx, esi
imul ebx, edi
lea edi, [ebx + ebp + 0x40]
movzx ebx, byte [eax + 1]
sar edi, 7
mov dword [ecx], edi
movzx edi, byte [eax + 2]
mov ebp, esi
imul ebp, ebx
mov ebx, edx
imul ebx, edi
lea ebx, [ebx + ebp + 0x40]
sar ebx, 7
mov dword [ecx + 4], ebx
movzx ebx, byte [eax + 3]
mov ebp, edx
imul ebp, ebx
mov ebx, esi
imul ebx, edi
lea edi, [ebx + ebp + 0x40]
sar edi, 7
mov dword [ecx + 8], edi
movzx edi, byte [eax + 4]
mov ebx, edx
imul ebx, edi
movzx edi, byte [eax + 3]
mov ebp, esi
imul ebp, edi
lea edi, [ebx + ebp + 0x40]
sar edi, 7
mov dword [ecx + 0xc], edi
movzx edi, byte [eax + 5]
mov ebx, edx
imul ebx, edi
movzx edi, byte [eax + 4]
mov ebp, esi
imul ebp, edi
lea edi, [ebx + ebp + 0x40]
sar edi, 7
mov dword [ecx + 0x10], edi
movzx edi, byte [eax + 6]
mov ebx, edx
imul ebx, edi
movzx edi, byte [eax + 5]
mov ebp, esi
imul ebp, edi
lea edi, [ebx + ebp + 0x40]
movzx ebx, byte [eax + 7]
sar edi, 7
imul ebx, edx
mov dword [ecx + 0x14], edi
movzx edi, byte [eax + 6]
add eax, dword [esp + 0x144]
mov ebp, esi
imul ebp, edi
lea edi, [ebx + ebp + 0x40]
sar edi, 7
mov dword [ecx + 0x18], edi
add ecx, 0x20
sub dword [esp + 0x10], 1
jne 0x5989d4
mov ecx, dword [esp + 0x14c]
mov edx, dword [esp + 0x138]
lea eax, [esp + 0x14]
mov esi, 8
mov edi, dword [eax + 0x20]
imul edi, dword [ecx + 4]
mov ebx, dword [eax]
imul ebx, dword [ecx]
lea edi, [edi + ebx + 0x40]
mov ebx, dword [eax + 4]
sar edi, 7
mov word [edx], di
imul ebx, dword [ecx]
mov edi, dword [eax + 0x24]
imul edi, dword [ecx + 4]
lea edi, [edi + ebx + 0x40]
mov ebx, dword [eax + 8]
sar edi, 7
mov word [edx + 2], di
imul ebx, dword [ecx]
mov edi, dword [eax + 0x28]
imul edi, dword [ecx + 4]
lea edi, [edi + ebx + 0x40]
mov ebx, dword [eax + 0xc]
sar edi, 7
mov word [edx + 4], di
imul ebx, dword [ecx]
mov edi, dword [eax + 0x2c]
imul edi, dword [ecx + 4]
lea edi, [edi + ebx + 0x40]
mov ebx, dword [eax + 0x10]
sar edi, 7
mov word [edx + 6], di
imul ebx, dword [ecx]
mov edi, dword [eax + 0x30]
imul edi, dword [ecx + 4]
lea edi, [edi + ebx + 0x40]
mov ebx, dword [eax + 0x14]
sar edi, 7
mov word [edx + 8], di
imul ebx, dword [ecx]
mov edi, dword [eax + 0x34]
imul edi, dword [ecx + 4]
lea edi, [edi + ebx + 0x40]
mov ebx, dword [eax + 0x18]
sar edi, 7
mov word [edx + 0xa], di
imul ebx, dword [ecx]
mov edi, dword [eax + 0x38]
imul edi, dword [ecx + 4]
lea edi, [edi + ebx + 0x40]
mov ebx, dword [eax + 0x1c]
sar edi, 7
mov word [edx + 0xc], di
imul ebx, dword [ecx]
mov edi, dword [eax + 0x3c]
imul edi, dword [ecx + 4]
lea edi, [edi + ebx + 0x40]
sar edi, 7
mov word [edx + 0xe], di
add edx, 0x10
add eax, 0x20
sub esi, 1
jne 0x598ad2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret 0x18