Function at 0x10060b40
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
cmp dword [esi + 0x60], ecx
je 0x10060dcb
mov eax, dword [esi + 8]
mov ebx, dword [esi + 0xc]
cmp eax, ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ecx
jle 0x10060bd8
mov dword [esp + 0x30], eax
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
xor edi, edi
test edx, edx
jle 0x10060bca
lea ebp, [eax + 0xc]
mov eax, dword [ebp - 4]
sub eax, edi
lea ecx, [eax + edx - 1]
mov eax, 1
shl eax, cl
mov ecx, dword [ebp]
sub ecx, edi
imul eax, dword [ebx + 8]
lea ecx, [ecx + edx - 1]
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 0x30]
imul edx, dword [ebx + 0xc]
test ecx, ecx
je 0x10060bad
cmp ecx, eax
jge 0x10060bad
mov eax, ecx
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x34]
test eax, eax
je 0x10060bbd
cmp eax, edx
jge 0x10060bbd
mov edx, eax
mov dword [esi + 0x34], edx
mov edx, dword [ebx]
inc edi
add ebp, 0x14
cmp edi, edx
jl 0x10060b78
mov eax, dword [esp + 0x30]
add ebx, 0x10
dec eax
mov dword [esp + 0x30], eax
jne 0x10060b6a
mov edx, dword [esi + 0x3c]
mov dword [esi + 0x60], 0
mov dword [esi + 0x2c], edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x44]
cmp eax, ecx
jge 0x10060e22
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x40]
mov edx, ecx
cmp edx, eax
mov dword [esi + 0x28], ecx
jge 0x10060e0b
mov ecx, dword [esi + 0x48]
xor eax, eax
mov ax, word [ecx + 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 0x10060df7
mov eax, dword [esi + 0x48]
xor edx, edx
mov dx, word [eax + 6]
cmp ecx, edx
jge 0x10060df7
mov edx, dword [esi + 0x10]
xor ecx, ecx
mov cl, byte [eax + 1]
mov eax, ecx
mov dword [esi + 0x1c], eax
mov ecx, dword [edx + 4]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4]
mov dword [esi + 0x14], edx
mov ebp, dword [esi + 0x10]
mov eax, dword [esi + 0x1c]
mov edi, dword [ebp]
cmp eax, edi
jge 0x10060de5
mov ecx, dword [esi + 0x48]
xor edx, edx
mov dl, byte [ecx + 2]
cmp eax, edx
jge 0x10060de5
mov ecx, dword [esi + 0x14]
cmp dword [ecx], 0
je 0x10060dd0
mov ebx, dword [ebp + 8]
sub edi, eax
mov eax, dword [esi + 0x38]
dec edi
mov ecx, edi
mov dword [esp + 0x20], ebx
shl ebx, cl
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0x24], ebp
shl ebp, cl
lea eax, [ebx + eax - 1]
cdq
idiv ebx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x3c]
lea eax, [eax + ebp - 1]
cdq
idiv ebp
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], eax
add eax, edi
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x28]
cmp eax, dword [esi + 0x38]
mov dword [esp + 0x14], ecx
lea edx, [ecx + edi]
jne 0x10060cfc
mov eax, dword [esp + 0x18]
mov ecx, edi
shl eax, cl
mov ecx, 1
mov dword [esp + 0x1c], ecx
mov ecx, edx
mov edx, dword [esp + 0x1c]
shl edx, cl
mov ecx, edx
xor edx, edx
div ecx
test edx, edx
jne 0x10060d18
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 0x28]
add ecx, edi
shl edx, cl
mov dword [esp + 0x20], edx
cdq
idiv dword [esp + 0x20]
test edx, edx
jne 0x10060dd0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
jne 0x10060d3d
mov eax, dword [esp + 0x10]
mov ecx, edi
shl eax, cl
mov ecx, dword [esp + 0x30]
mov edi, 1
shl edi, cl
xor edx, edx
div edi
test edx, edx
jne 0x10060d51
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
mov eax, dword [esi + 0x2c]
shl edi, cl
cdq
idiv edi
test edx, edx
jne 0x10060dd0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x28]
lea eax, [eax + ebp - 1]
cdq
idiv ebp
mov edi, eax
mov eax, dword [esp + 0x10]
sar edi, cl
shr eax, cl
mov ecx, dword [esp + 0x14]
sub edi, eax
mov eax, dword [esi + 0x14]
imul edi, dword [eax + 0x10]
mov eax, dword [esi + 0x28]
mov dword [esi + 0x24], 0
lea eax, [ebx + eax - 1]
cdq
idiv ebx
sar eax, cl
add edi, eax
mov eax, dword [esp + 0x18]
shr eax, cl
sub edi, eax
mov dword [esi + 0x20], edi
mov edx, dword [esi + 0x24]
mov eax, dword [esi]
cmp edx, eax
jge 0x10060dd0
mov eax, dword [esi + 0x48]
xor ecx, ecx
mov cx, word [eax + 8]
cmp edx, ecx
jge 0x10060dd0
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x20]
mov ecx, dword [ecx + 4]
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
cmp edx, ecx
jl 0x10060dcb
inc ecx
pop edi
pop esi
mov dword [eax], ecx
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
inc dword [esi + 0x24]
jmp 0x10060d96
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x14]
inc ecx
add eax, 0x14
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x14], eax
jmp 0x10060c53
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x10]
inc ecx
add eax, 0x10
mov dword [esi + 0x18], ecx
jmp 0x10060c1a
mov ecx, dword [esi + 0x28]
mov edi, dword [esi + 0x30]
mov eax, ecx
cdq
idiv edi
sub ecx, edx
add ecx, edi
jmp 0x10060bf6
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 0x10060be5
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret