Function at 0x425600
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
test eax, eax
jle 0x425991
mov edi, dword [ebp + 8]
dec dword [ebp + 0x14]
cmp dword [edi + 0x10], 0
je 0x425991
cmp esi, 1
jl 0x425956
test esi, esi
je 0x425991
cmp esi, dword [edi + 8]
ja 0x425922
mov eax, dword [edi + 0xc]
cmp dword [eax + esi*4], 1
je 0x42593c
mov ecx, dword [eax + esi*4]
lea eax, [eax + esi*4]
lea edx, [ecx + 1]
mov dword [eax], edx
cmp ecx, 1
jg 0x425991
mov ecx, dword [edi + 4]
mov ebx, dword [ecx + 0x28]
mov dword [esp + 0x10], ecx
test ebx, ebx
jne 0x42576b
mov edi, dword [ecx + 0xa8]
lea eax, [esp + 0xc]
push eax
push 1
push esi
call fcn.004135c0
mov ecx, dword [esp + 0x1c]
mov edi, dword [ebp + 8]
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x42576b
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x10], eax
jne 0x425786
mov dword [edi + 0x10], ecx
cmp esi, 0x7fffffff
ja 0x425716
mov eax, dword [0x4aa804]
mov ebx, dword [ecx + 0x80]
cdq
idiv ebx
inc eax
cmp esi, eax
je 0x425716
cmp byte [ecx + 0xe], 0
jne 0x4256f7
cmp dword [ecx + 0x18], esi
jb 0x4256f7
mov edx, dword [ecx + 0x3c]
cmp dword [edx], 0
je 0x4256f7
mov eax, edi
call fcn.004169c0
mov ebx, eax
test ebx, ebx
je 0x425786
jmp 0x425734
cmp esi, dword [ecx + 0x84]
jbe 0x425706
mov ebx, 0xd
jmp 0x425734
mov eax, dword [edi]
push ebx
push 0
push eax
call fcn.00489020
add esp, 0xc
jmp 0x425786
push 0x4a3a6c
push 0xa63a
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0040e570
add esp, 0x10
mov ebx, 0xb
test byte [edi + 0x14], 2
je 0x425741
mov eax, edi
call fcn.00413560
mov eax, dword [edi + 0x18]
dec dword [eax + 0xc]
cmp dword [edi + 0xc], 1
jne 0x425754
mov dword [eax + 0x2c], 0
mov ecx, dword [eax + 0x28]
push 1
push edi
push ecx
call dword [0x4aa79c]
mov ecx, dword [esp + 0x1c]
mov edi, dword [ebp + 8]
add esp, 0xc
mov eax, ecx
call fcn.004183b0
mov dword [esp + 0xc], 0
test ebx, ebx
jne 0x42597e
mov edi, dword [esp + 0xc]
cmp dword [ebp + 0xc], 0
mov ebx, dword [edi]
mov dword [esp + 0x10], ebx
je 0x42589a
movzx ecx, byte [ebx + 4]
movzx edx, byte [ebx + 5]
movzx eax, byte [ebx + 6]
shl ecx, 8
or ecx, edx
movzx edx, byte [ebx + 7]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edx
mov edx, dword [eax]
cmp byte [edx + 0x15], 0
mov dword [esp + 0x1c], ecx
je 0x4257ea
mov ecx, dword [ebp + 0x18]
push ecx
mov edi, esi
push 0
mov bl, 2
mov esi, eax
call fcn.00425580
mov esi, dword [ebp + 0x10]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 8]
add esp, 8
mov edx, dword [eax]
mov eax, dword [edx + 0x28]
cdq
and edx, 3
add eax, edx
sar eax, 2
sub eax, 2
cmp ecx, eax
jle 0x42581d
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
push esi
push str.freelist_leaf_count_too_big_on_page__d
push eax
push ecx
call fcn.004254b0
add esp, 0x10
dec dword [ebp + 0x14]
jmp 0x4258e2
test ecx, ecx
jle 0x425895
lea esi, [ebx + 0xa]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
lea esp, [esp]
movzx edi, byte [esi - 2]
movzx edx, byte [esi - 1]
movzx eax, byte [esi]
movzx ecx, byte [esi + 1]
shl edi, 8
or edi, edx
shl edi, 8
or edi, eax
shl edi, 8
or edi, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
cmp byte [edx + 0x15], 0
je 0x425876
mov eax, dword [ebp + 0x18]
push eax
push 0
mov bl, 2
mov esi, ecx
call fcn.00425580
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
add esp, 8
mov edx, dword [ebp + 0x18]
mov eax, edi
call fcn.00425520
add esi, 4
dec dword [esp + 0x18]
mov dword [esp + 0x14], esi
jne 0x425830
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
sub dword [ebp + 0x14], ecx
jmp 0x4258e2
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp byte [ecx + 0x15], 0
je 0x4258e2
cmp dword [ebp + 0x14], 0
jle 0x4258e2
movzx edi, byte [ebx]
movzx ecx, byte [ebx + 1]
mov edx, dword [ebp + 0x18]
shl edi, 8
or edi, ecx
movzx ecx, byte [ebx + 3]
push edx
movzx edx, byte [ebx + 2]
shl edi, 8
or edi, edx
push esi
shl edi, 8
or edi, ecx
mov bl, 4
mov esi, eax
call fcn.00425580
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
add esp, 8
movzx eax, byte [ebx]
movzx edx, byte [ebx + 1]
movzx ecx, byte [ebx + 2]
mov esi, dword [edi + 0x10]
shl eax, 8
or eax, edx
movzx edx, byte [ebx + 3]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
mov dword [ebp + 0x10], eax
mov eax, edi
call fcn.00413740
mov eax, esi
call fcn.004183b0
cmp dword [ebp + 0x14], 0
jle 0x425991
mov esi, dword [ebp + 0x10]
jmp 0x425622
mov eax, dword [ebp + 0x18]
push esi
push str.invalid_page_number__d
push eax
push edi
call fcn.004254b0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x18]
push esi
push str.2nd_reference_to_page__d
push ecx
push edi
call fcn.004254b0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x18]
push eax
inc ecx
push ecx
push str._d_of__d_pages_missing_from_overflow_list_starting_at__d
push edx
push edi
call fcn.004254b0
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x18]
push esi
push str.failed_to_get_page__d
push eax
push edi
call fcn.004254b0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret