Function at 0x47a3a0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esi + 0x60]
sub esp, 0x10
push ebx
xor eax, eax
cmp ecx, eax
push ebp
push edi
je 0x47a619
cmp dword [esi + 8], eax
mov ebx, dword [esi + 0xc]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esp + 0xc], eax
jle 0x47a438
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
xor edi, edi
test eax, eax
jle 0x47a425
lea ebp, [ecx + 0xc]
mov ecx, dword [ebp - 4]
sub ecx, edi
lea ecx, [ecx + eax - 1]
sub eax, edi
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 [esi + 0x30]
imul eax, dword [ebx + 0xc]
test ecx, ecx
je 0x47a408
cmp ecx, edx
jge 0x47a408
mov edx, ecx
mov ecx, dword [esi + 0x34]
test ecx, ecx
mov dword [esi + 0x30], edx
je 0x47a418
cmp ecx, eax
jge 0x47a418
mov eax, ecx
mov dword [esi + 0x34], eax
mov eax, dword [ebx]
inc edi
add ebp, 0x14
cmp edi, eax
jl 0x47a3d3
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 8]
inc eax
add ebx, 0x10
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x47a3c5
mov edx, dword [esi + 0x3c]
mov dword [esi + 0x60], 0
mov dword [esi + 0x2c], edx
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x44]
jge 0x47a67b
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x40]
mov edx, ecx
cmp edx, eax
mov dword [esi + 0x28], ecx
jge 0x47a656
mov eax, dword [esi + 0x48]
movzx eax, word [eax + 4]
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x18], eax
shl eax, 4
add eax, ecx
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x10], eax
cmp ecx, dword [esi + 8]
jge 0x47a642
mov eax, dword [esi + 0x48]
movzx edx, word [eax + 6]
cmp ecx, edx
jge 0x47a642
movzx eax, byte [eax + 1]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x1c], eax
mov edx, dword [ecx + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov ebp, dword [esi + 0x10]
mov dword [esi + 0x14], eax
mov edi, dword [ebp]
mov eax, dword [esi + 0x1c]
cmp eax, edi
jge 0x47a630
mov ecx, dword [esi + 0x48]
movzx ecx, byte [ecx + 2]
cmp eax, ecx
jge 0x47a630
mov ecx, dword [esi + 0x14]
cmp dword [ecx], 0
je 0x47a61e
mov ebx, dword [ebp + 8]
sub edi, eax
mov eax, dword [esi + 0x38]
dec edi
mov ecx, edi
shl ebx, cl
lea eax, [ebx + eax - 1]
cdq
idiv ebx
mov ebx, dword [ebp + 0xc]
shl ebx, cl
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x3c]
lea eax, [ebx + eax - 1]
cdq
idiv ebx
cmp ecx, dword [esi + 0x38]
mov ebx, dword [esi + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x10], eax
lea edx, [eax + edi]
jne 0x47a53d
mov eax, dword [esp + 0x14]
mov ecx, edi
shl eax, cl
mov ecx, 1
mov dword [esp + 0x18], ecx
mov ecx, edx
mov edx, dword [esp + 0x18]
shl edx, cl
mov ecx, edx
xor edx, edx
div ecx
test edx, edx
jne 0x47a55d
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], ecx
lea ecx, [eax + edi]
mov eax, dword [esp + 0x18]
shl eax, cl
mov ecx, eax
mov eax, dword [esi + 0x28]
cdq
idiv ecx
test edx, edx
jne 0x47a61e
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x3c]
jne 0x47a585
mov eax, dword [esp + 0xc]
mov ecx, edi
shl eax, cl
mov ecx, 1
mov edx, ecx
mov ecx, dword [ebx + 0xc]
add ecx, edi
shl edx, cl
mov ecx, edx
xor edx, edx
div ecx
test edx, edx
jne 0x47a5a4
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xc]
lea ecx, [eax + edi]
mov eax, dword [esp + 0x18]
shl eax, cl
mov ecx, eax
mov eax, dword [esi + 0x2c]
cdq
idiv ecx
test edx, edx
jne 0x47a61e
mov eax, dword [ebp + 0xc]
mov ebp, dword [ebp + 8]
mov ecx, edi
shl eax, cl
shl ebp, cl
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x18], eax
lea eax, [eax + ecx - 1]
cdq
idiv dword [esp + 0x18]
mov ecx, dword [ebx + 0xc]
mov edi, eax
mov eax, dword [esp + 0xc]
shr eax, cl
sar edi, cl
mov ecx, dword [esp + 0x10]
sub edi, eax
mov eax, dword [esi + 0x28]
imul edi, dword [ebx + 0x10]
lea eax, [eax + ebp - 1]
cdq
idiv ebp
mov dword [esi + 0x24], 0
sar eax, cl
add edi, eax
mov eax, dword [esp + 0x14]
shr eax, cl
sub edi, eax
mov dword [esi + 0x20], edi
mov eax, dword [esi + 0x24]
cmp eax, dword [esi]
jge 0x47a61e
mov ecx, dword [esi + 0x48]
movzx edx, word [ecx + 8]
cmp eax, edx
jge 0x47a61e
mov edx, dword [esi + 0x14]
mov edx, dword [edx + 4]
mov ecx, dword [esi + 0x20]
lea ecx, [edx + ecx*4]
cmp eax, dword [ecx]
jge 0x47a66d
inc dword [esi + 0x24]
jmp 0x47a5f7
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x14]
inc ecx
mov dword [esi + 0x1c], ecx
add eax, 0x14
jmp 0x47a4a7
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x18], ecx
add eax, 0x10
jmp 0x47a476
mov ecx, dword [esi + 0x28]
mov edi, dword [esi + 0x30]
mov eax, ecx
cdq
idiv edi
sub ecx, edx
add ecx, edi
jmp 0x47a454
mov ecx, dword [esi + 0x2c]
mov edi, dword [esi + 0x34]
mov eax, ecx
cdq
idiv edi
sub ecx, edx
add ecx, edi
mov dword [esi + 0x2c], ecx
jmp 0x47a445
mov eax, dword [ecx]
pop edi
inc eax
pop ebp
mov dword [ecx], eax
xor eax, eax
pop ebx
add esp, 0x10
ret
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret