Function at 0x47a0a0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [edi + 0x60]
sub esp, 0x10
push ebx
xor eax, eax
cmp ecx, eax
push ebp
push esi
je 0x47a32d
cmp dword [edi + 8], eax
mov ebx, dword [edi + 0xc]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [esp + 0x10], eax
jle 0x47a138
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
xor esi, esi
test eax, eax
jle 0x47a125
lea ebp, [ecx + 0xc]
mov ecx, dword [ebp - 4]
sub ecx, esi
lea ecx, [ecx + eax - 1]
sub eax, esi
mov edx, 1
shl edx, cl
mov ecx, dword [ebp]
lea ecx, [eax + ecx - 1]
mov eax, 1
imul edx, dword [ebx + 8]
shl eax, cl
mov ecx, dword [edi + 0x30]
imul eax, dword [ebx + 0xc]
test ecx, ecx
je 0x47a106
cmp ecx, edx
jl 0x47a108
mov ecx, edx
mov dword [edi + 0x30], ecx
mov ecx, dword [edi + 0x34]
test ecx, ecx
je 0x47a118
cmp ecx, eax
jge 0x47a118
mov eax, ecx
mov dword [edi + 0x34], eax
mov eax, dword [ebx]
inc esi
add ebp, 0x14
cmp esi, eax
jl 0x47a0d3
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 8]
inc eax
add ebx, 0x10
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x47a0c5
mov eax, dword [edi + 0x48]
mov dword [edi + 0x60], 0
movzx edx, byte [eax + 1]
mov dword [edi + 0x1c], edx
mov ecx, dword [edi + 0x48]
movzx ecx, byte [ecx + 2]
mov eax, dword [edi + 0x1c]
cmp eax, ecx
jge 0x47a385
cmp eax, dword [edi + 4]
jge 0x47a385
mov edx, dword [edi + 0x3c]
mov dword [edi + 0x2c], edx
mov eax, dword [edi + 0x2c]
cmp eax, dword [edi + 0x44]
jge 0x47a36f
mov ecx, dword [edi + 0x38]
mov eax, dword [edi + 0x40]
mov edx, ecx
cmp edx, eax
mov dword [edi + 0x28], ecx
jge 0x47a358
mov eax, dword [edi + 0x48]
movzx eax, word [eax + 4]
mov ecx, dword [edi + 0xc]
mov dword [edi + 0x18], eax
shl eax, 4
add eax, ecx
mov ecx, dword [edi + 0x48]
mov dword [edi + 0x10], eax
movzx ecx, word [ecx + 6]
mov eax, dword [edi + 0x18]
cmp eax, ecx
jge 0x47a344
cmp eax, dword [edi + 8]
jge 0x47a344
mov ebx, dword [edi + 0x10]
mov eax, dword [edi + 0x1c]
cmp eax, dword [ebx]
jge 0x47a332
mov ecx, dword [ebx + 4]
lea edx, [eax + eax*4]
lea ecx, [ecx + edx*4]
mov dword [edi + 0x14], ecx
cmp dword [ecx], 0
mov dword [esp + 0xc], ecx
je 0x47a332
mov esi, dword [ebx]
mov edx, dword [ecx + 8]
mov ebp, dword [ebx + 8]
sub esi, eax
mov eax, dword [edi + 0x38]
dec esi
mov ecx, esi
shl ebp, cl
mov dword [esp + 0x10], edx
lea eax, [eax + ebp - 1]
cdq
idiv ebp
mov ebp, dword [ebx + 0xc]
shl ebp, cl
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x3c]
lea eax, [eax + ebp - 1]
cdq
idiv ebp
mov ebp, eax
mov eax, dword [edi + 0x28]
cmp eax, ecx
jne 0x47a244
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, esi
shl eax, cl
mov ecx, 1
mov dword [esp + 0x18], ecx
lea ecx, [edx + esi]
mov edx, dword [esp + 0x18]
shl edx, cl
mov ecx, edx
xor edx, edx
div ecx
test edx, edx
jne 0x47a261
mov ecx, dword [esp + 0x10]
add ecx, esi
mov eax, 1
shl eax, cl
mov ecx, eax
mov eax, dword [edi + 0x28]
cdq
idiv ecx
test edx, edx
jne 0x47a332
mov eax, dword [edi + 0x2c]
cmp eax, dword [edi + 0x3c]
jne 0x47a291
mov edx, dword [esp + 0xc]
mov ecx, esi
mov eax, ebp
shl eax, cl
mov ecx, 1
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x18]
add ecx, esi
shl edx, cl
mov ecx, edx
xor edx, edx
div ecx
test edx, edx
jne 0x47a2b6
mov ecx, dword [esp + 0xc]
mov eax, 1
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0xc]
lea ecx, [eax + esi]
mov eax, dword [esp + 0x18]
shl eax, cl
mov ecx, eax
mov eax, dword [edi + 0x2c]
cdq
idiv ecx
test edx, edx
jne 0x47a332
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
mov ecx, esi
shl eax, cl
shl ebx, cl
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x18], eax
lea eax, [eax + ecx - 1]
cdq
idiv dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0xc]
shr ebp, cl
mov esi, eax
sar esi, cl
mov eax, edx
mov ecx, dword [esp + 0x10]
sub esi, ebp
imul esi, dword [eax + 0x10]
mov eax, dword [edi + 0x28]
lea eax, [ebx + eax - 1]
cdq
idiv ebx
mov dword [edi + 0x24], 0
sar eax, cl
add esi, eax
mov eax, dword [esp + 0x14]
shr eax, cl
sub esi, eax
mov dword [edi + 0x20], esi
mov eax, dword [edi + 0x24]
cmp eax, dword [edi]
jge 0x47a332
mov ecx, dword [edi + 0x48]
movzx ecx, word [ecx + 8]
cmp eax, ecx
jge 0x47a332
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x20]
mov ecx, dword [ecx + 4]
lea ecx, [ecx + edx*4]
cmp eax, dword [ecx]
jge 0x47a377
inc dword [edi + 0x24]
jmp 0x47a30b
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x10]
inc ecx
mov dword [edi + 0x18], ecx
add eax, 0x10
jmp 0x47a19b
mov ecx, dword [edi + 0x28]
mov esi, dword [edi + 0x30]
mov eax, ecx
cdq
idiv esi
sub ecx, edx
add ecx, esi
jmp 0x47a179
mov ecx, dword [edi + 0x2c]
mov esi, dword [edi + 0x34]
mov eax, ecx
cdq
idiv esi
sub ecx, edx
add ecx, esi
mov dword [edi + 0x2c], ecx
jmp 0x47a16a
inc dword [edi + 0x1c]
jmp 0x47a149
mov eax, dword [ecx]
pop esi
inc eax
pop ebp
mov dword [ecx], eax
xor eax, eax
pop ebx
add esp, 0x10
ret
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret