Function at 0x4fa6e0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x60]
xor ebx, ebx
mov eax, dword [ecx]
xor ecx, ecx
mov cl, byte [eax + esi + 0xb]
add eax, esi
mov esi, ecx
xor ecx, ecx
mov cl, byte [eax]
mov bl, byte [eax + 1]
mov edi, ecx
xor ecx, ecx
mov cl, byte [eax + 0xa]
mov ebp, ebx
mov dword [esp + 0x38], ecx
add ecx, ebp
mov dword [esp + 0x18], ecx
xor ebx, ebx
mov bl, byte [eax + 2]
xor ecx, ecx
mov cl, byte [eax + 9]
mov dword [esp + 0x3c], ebx
add ebx, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x1c], ebx
xor ebx, ebx
mov bl, byte [eax + 3]
xor ecx, ecx
mov cl, byte [eax + 8]
mov dword [esp + 0x44], ebx
add ebx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x24], ebx
xor ebx, ebx
mov bl, byte [eax + 4]
xor ecx, ecx
mov cl, byte [eax + 7]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ecx
add ebx, ecx
xor ecx, ecx
mov dword [esp + 0x30], esi
mov cl, byte [eax + 6]
add esi, edi
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov cl, byte [eax + 5]
mov eax, ecx
mov ecx, dword [esp + 0x2c]
add ecx, eax
mov dword [esp + 0x5c], ecx
add ecx, esi
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x5c]
sub esi, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], esi
lea esi, [ebx + ecx]
sub ecx, ebx
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x1c]
lea ebx, [esi + ecx]
sub ecx, esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x38]
sub edi, ecx
mov ecx, edi
mov edi, dword [esp + 0x40]
sub ebp, ebx
sub esi, edi
mov edi, dword [esp + 0x44]
mov ebx, ebp
sub edi, dword [esp + 0x48]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
sub edi, ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x2c]
sub eax, edi
mov edi, dword [esp + 0x1c]
add edi, ebp
mov ebp, dword [esp + 0x20]
add edi, ebp
mov ebp, dword [esp + 0x18]
lea edi, [edi*4 - 0x1800]
mov dword [edx - 0x10], edi
mov edi, dword [esp + 0x14]
sub edi, ebp
mov ebp, dword [esp + 0x10]
sub edi, ebp
mov ebp, dword [esp + 0x1c]
shl edi, 2
mov dword [edx + 8], edi
mov edi, dword [esp + 0x20]
sub edi, ebp
lea ebp, [edi + edi*2]
lea ebp, [edi + ebp*4]
shl ebp, 4
add ebp, edi
lea ebp, [ebp + ebp*2]
shl ebp, 4
lea edi, [edi + ebp + 0x400]
mov ebp, dword [esp + 0x14]
sar edi, 0xb
mov dword [edx], edi
mov edi, dword [esp + 0x18]
add ebp, edi
mov edi, ebp
shl edi, 5
sub edi, ebp
lea edi, [edi + edi*2]
lea ebp, [ebp + edi*4]
lea edi, [ebp + ebp*2]
mov ebp, dword [esp + 0x18]
lea edi, [edi + edi*4]
shl edi, 1
sub edi, ebp
mov ebp, dword [esp + 0x10]
lea edi, [edi + ebp + 0x400]
sar edi, 0xb
mov dword [edx - 8], edi
mov edi, dword [esp + 0x30]
lea ebp, [edi + ebx]
lea edi, [ebp + ebp*2]
shl edi, 3
sub edi, ebp
lea edi, [edi + edi*2]
lea edi, [ebp + edi*4]
shl edi, 4
add edi, ebp
lea ebp, [ebx + ebx*2]
shl ebp, 4
add ebp, ebx
shl ebp, 6
sub ebp, ebx
lea ebx, [edi + ebp*2]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x30]
lea ebp, [ebx + ebx*2]
lea ebp, [ebp + ebp*4]
shl ebp, 2
sub ebp, ebx
lea ebp, [ebx + ebp*8]
shl ebp, 5
add ebp, ebx
lea ebx, [esi + ecx]
sub edi, ebp
mov dword [esp + 0x18], edi
mov edi, ebx
shl edi, 4
add edi, ebx
lea edi, [edi + edi*2]
lea edi, [edi + edi*8]
lea edi, [ebx + edi*2]
lea edi, [edi + edi*4]
lea edi, [ebx + edi*2]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
lea ebp, [ebx + ecx]
lea edi, [ebp + ebp*2]
shl edi, 4
sub edi, ebp
lea edi, [edi + edi*4]
lea edi, [edi + edi*4]
lea ebp, [ebp + edi*2]
lea edi, [ebp + ebp*2]
mov dword [esp + 0x14], edi
mov edi, ecx
shl edi, 5
add edi, ecx
lea edi, [edi + edi*2]
lea edi, [ecx + edi*8]
sub ecx, ebx
imul ecx, ecx, 0x29cf
lea edi, [edi + edi*2]
shl edi, 1
mov ebp, edi
lea edi, [eax + eax*2]
shl edi, 4
sub edi, eax
lea edi, [eax + edi*4]
shl edi, 3
sub edi, ebp
mov ebp, dword [esp + 0x1c]
add edi, ebp
mov ebp, dword [esp + 0x10]
add edi, ebp
mov ebp, dword [esp + 0x14]
add edi, ebp
lea ebp, [ebx + esi]
mov dword [esp + 0x20], edi
mov edi, ebp
shl edi, 6
sub edi, ebp
neg edi
lea edi, [edi + edi*2]
shl edi, 3
mov dword [esp + 0x5c], edi
mov edi, eax
shl edi, 4
add edi, eax
lea edi, [edi + edi*2]
lea edi, [edi + edi*8]
lea edi, [eax + edi*2]
lea edi, [edi + edi*4]
lea edi, [eax + edi*2]
mov ebp, edi
mov edi, ebx
shl edi, 5
sub edi, ebx
shl edi, 5
sub edi, ebx
lea edi, [edi + edi*2]
shl edi, 1
sub edi, ebp
mov ebp, dword [esp + 0x10]
sub edi, ebp
mov ebp, dword [esp + 0x5c]
add edi, ebp
mov ebp, dword [esp + 0x14]
add ebp, edi
mov edi, dword [esp + 0x20]
add edi, 0x400
sar edi, 0xb
mov dword [edx - 0xc], edi
lea edi, [eax + esi]
lea ebx, [edi + edi*2]
shl ebx, 3
sub ebx, edi
lea ebx, [ebx + ebx*2]
pop ebx
pop ebx
lea ebx, [edi + ebx*4]
shl ebx, 4
add ebx, edi
sub ecx, ebx
mov edi, dword [esp + 0x18]
add ebp, 0x400
sar ebp, 0xb
lea ecx, [ecx + edi + 0x400]
mov dword [edx + 0xc], ebp
sar ecx, 0xb
mov dword [edx - 4], ecx
lea ecx, [esi + esi*2]
add edx, 0x20
lea ecx, [ecx + ecx*4]
shl ecx, 5
sub ecx, esi
lea esi, [esi + ecx*8]
lea ecx, [esi + esi*4]
mov esi, ecx
lea ecx, [eax + eax*2]
shl ecx, 4
sub ecx, eax
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x1c]
lea eax, [eax + eax*2]
sub eax, esi
sub eax, edi
add eax, ecx
mov ecx, dword [esp + 0x5c]
lea eax, [eax + ecx + 0x400]
mov ecx, dword [esp + 0x28]
sar eax, 0xb
mov dword [edx - 0x1c], eax
mov eax, dword [esp + 0x34]
add ecx, 4
dec eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], eax
jne 0x4fa40d
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x58], 8
lea eax, [ecx + 0x80]
mov esi, dword [eax]
mov edi, dword [eax - 0x60]
mov ebx, dword [eax - 0x20]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax - 0x80]
add esi, edi
mov dword [esp + 0x5c], esi
mov esi, dword [eax - 0x40]
add ebx, esi
add ecx, edx
mov dword [esp + 0x1c], ebx
add ebx, ecx
sub ecx, dword [esp + 0x1c]
mov ebp, ecx
mov ecx, dword [eax + 0x20]
sub edx, ecx
mov ecx, dword [eax]
sub edi, ecx
mov ecx, dword [eax - 0x20]
sub esi, ecx
mov ecx, dword [esp + 0x5c]
add ecx, ebx
mov dword [esp + 0x18], edi
lea edi, [ecx + ecx*4]
lea edi, [edi + edi*8]
lea edi, [ecx + edi*2]
lea edi, [edi + edi*4]
lea ecx, [ecx + edi*8]
lea edi, [esi + edx]
lea ecx, [ecx*4 + 0x8000]
sar ecx, 0x10
mov dword [eax - 0x80], ecx
mov ecx, ebp
shl ecx, 5
sub ecx, ebp
shl ecx, 5
sub ecx, ebp
lea ecx, [ecx + ecx*8]
shl ecx, 1
sub ecx, ebp
add ecx, 0x8000
sar ecx, 0x10
mov dword [eax - 0x40], ecx
mov ecx, dword [esp + 0x5c]
add ecx, ecx
sub ebx, ecx
lea ecx, [ebx + ebx*8]
shl ecx, 4
sub ecx, ebx
lea ecx, [ecx + ecx*8]
lea ecx, [ebx + ecx*4]
mov ebx, dword [esp + 0x18]
lea ecx, [ecx + ecx + 0x8000]
sar ecx, 0x10
mov dword [eax], ecx
lea ecx, [edi*8]
sub ecx, edi
shl ecx, 4
sub ecx, edi
shl ecx, 4
add ecx, edi
lea edi, [ebx + edx]
sub edx, esi
lea ebp, [edi + edi*4]
lea ecx, [ecx + ecx*2]
sub edx, ebx
lea ebp, [ebp + ebp*8]
lea ebp, [edi + ebp*2]
lea ebp, [ebp + ebp*4]
lea edi, [edi + ebp*8]
lea edi, [ecx + edi*4 + 0x8000]
sar edi, 0x10
mov dword [eax - 0x60], edi
lea edi, [edx + edx*4]
lea edi, [edi + edi*8]
lea edi, [edx + edi*2]
lea edi, [edi + edi*4]
lea edx, [edx + edi*8]
lea edx, [edx*4 + 0x8000]
sar edx, 0x10
sub esi, ebx
mov dword [eax - 0x20], edx
add eax, 4
lea edx, [esi + esi*4]
lea edx, [edx + edx*8]
lea edx, [esi + edx*2]
push esi
lea edx, [edx + edx*4]
lea edx, [esi + edx*8]
lea ecx, [ecx + edx*4 + 0x8000]
sar ecx, 0x10
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x58]
dec ecx
mov dword [esp + 0x58], ecx
jne 0x4fa779
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret