Function at 0x4c8450
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x20]
mov ecx, 1
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0x1c]
push edi
mov edi, dword [ebx]
xor eax, eax
mov dword [esp + 0x54], ecx
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x58], edx
mov edx, dword [edi + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], edx
cmp esi, eax
jne 0x4c84b0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov eax, ebx
call fcn.004c8100
add esp, 4
test eax, eax
jne 0x4c84a7
lea eax, [esp + 0x10]
push eax
xor ecx, ecx
mov dword [ebx + 0x1c], str.Page__d:
mov dword [ebx + 0x20], esi
call fcn.004c0180
add esp, 4
test eax, eax
je 0x4c84f1
push eax
push str.unable_to_get_the_page._error_code_d
mov esi, ebx
call fcn.004c8030
add esp, 8
jmp 0x4c8a0f
mov esi, dword [esp + 0x10]
mov cl, byte [esi]
mov byte [esp + 0xf], cl
mov byte [esi], 0
call fcn.004bfdb0
test eax, eax
je 0x4c851c
push eax
push str.btreeInitPage___returns_error_code__d
mov esi, ebx
call fcn.004c8030
add esp, 8
jmp 0x4c8a0f
mov edi, dword [esi + 0x38]
mov edx, dword [esp + 0x10]
movzx ecx, byte [edx + 9]
mov dword [ebx + 0x1c], str.On_tree_page__d_cell__d:
movzx eax, byte [ecx + edi + 5]
movzx esi, byte [ecx + edi + 6]
movzx edx, byte [edx + 8]
shl eax, 8
or eax, esi
movzx esi, byte [ecx + edi + 3]
dec eax
and eax, 0xffff
inc eax
mov dword [esp + 0x40], eax
movzx eax, byte [ecx + edi + 4]
shl esi, 8
or esi, eax
mov eax, 3
sub eax, edx
lea eax, [ecx + eax*4]
lea edx, [eax + esi*2]
mov dword [esp + 0x50], eax
lea eax, [edx + edi - 2]
mov edx, dword [esp + 0x10]
cmp byte [edx + 8], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
jne 0x4c85e7
mov ecx, dword [ecx + edi + 8]
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x11], 0
bswap ecx
mov dword [esp + 0x3c], ecx
je 0x4c85bf
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebx + 0x1c], str.On_page__d_at_right_child:
push edx
mov bl, 5
mov edi, ecx
call fcn.004c8180
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
add esp, 4
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push eax
push edx
lea eax, [ebp + 0x14]
push eax
push ecx
push ebx
call fcn.004c8450
mov ecx, dword [esp + 0x34]
add esp, 0x14
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 0
jmp 0x4c85f4
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x1c], eax
mov dword [eax], 0
lea eax, [esi - 1]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x18], eax
test eax, eax
jl 0x4c880d
jmp 0x4c8614
mov eax, dword [esp + 0x18]
cmp dword [ebx + 0x10], 0
je 0x4c880d
mov ecx, dword [esp + 0x30]
sub dword [esp + 0x30], 2
mov esi, dword [esp + 0x28]
mov dword [ebx + 0x24], eax
mov dx, word [ecx]
mov ah, dl
mov al, dh
movzx edi, ax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], edi
cmp edi, eax
jb 0x4c87dd
lea ecx, [esi - 4]
mov dword [esp + 0x44], ecx
cmp edi, ecx
ja 0x4c87dd
mov ecx, dword [esp + 0x14]
lea eax, [edi + ecx]
lea edx, [esp + 0x60]
push edx
push eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [eax + 0x50]
call eax
movzx ecx, word [esp + 0x7e]
add ecx, edi
add esp, 0xc
cmp ecx, esi
jbe 0x4c8694
push str.Extends_off_end_of_page
mov esi, ebx
call fcn.004c8030
add esp, 4
jmp 0x4c87f2
mov edx, dword [esp + 0x10]
cmp byte [edx + 2], 0
je 0x4c86f2
cmp dword [esp + 0x24], 0
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
je 0x4c86bb
cmp eax, dword [ebp + 0x18]
jg 0x4c86c7
jl 0x4c86e4
cmp ecx, dword [ebp + 0x14]
ja 0x4c86c7
jmp 0x4c86e4
cmp eax, dword [ebp + 0x18]
jl 0x4c86e4
jg 0x4c86c7
cmp ecx, dword [ebp + 0x14]
jb 0x4c86e4
push eax
push ecx
push str.Rowid__lld_out_of_order
mov esi, ebx
call fcn.004c8030
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x34]
add esp, 0xc
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x18], eax
mov dword [esp + 0x24], 0
movzx ecx, word [esp + 0x70]
mov eax, dword [esp + 0x6c]
cmp eax, ecx
jbe 0x4c8757
sub eax, ecx
lea eax, [eax + esi - 5]
xor edx, edx
div dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
cmp byte [edx + 0x11], 0
mov dword [esp + 0x44], eax
movzx eax, word [esp + 0x72]
mov eax, dword [eax + ecx - 4]
bswap eax
mov esi, eax
je 0x4c8744
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
mov bl, 3
mov edi, esi
call fcn.004c8180
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x4c]
add esp, 4
mov ecx, dword [esp + 0x44]
push ecx
push 0
mov eax, esi
mov ecx, ebx
call fcn.004c8200
add esp, 8
mov edx, dword [esp + 0x10]
cmp byte [edx + 8], 0
jne 0x4c87c4
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x11], 0
bswap eax
mov edi, eax
je 0x4c8789
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
mov bl, 5
call fcn.004c8180
mov ebx, dword [ebp + 8]
add esp, 4
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
push ecx
lea edx, [ebp + 0x14]
push edx
push edi
push ebx
call fcn.004c8450
mov edi, eax
add esp, 0x14
mov dword [esp + 0x24], 0
cmp edi, dword [esp + 0x2c]
je 0x4c87fa
push str.Child_page_depth_differs
mov esi, ebx
call fcn.004c8030
add esp, 4
mov dword [esp + 0x2c], edi
jmp 0x4c87fa
movzx eax, word [esp + 0x72]
lea ecx, [eax + edi - 1]
mov eax, dword [esp + 0x1c]
shl edi, 0x10
or ecx, edi
call fcn.004c83c0
jmp 0x4c87fa
add esi, 0xfffffffc
push esi
push eax
push edi
push str.Offset__d_out_of_range__d.._d
mov esi, ebx
call fcn.004c8030
add esp, 0x10
mov dword [esp + 0x38], 0
sub dword [esp + 0x18], 1
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
jns 0x4c8610
cmp dword [esp + 0x38], 0
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + 4], edx
mov dword [ebx + 0x1c], 0
je 0x4c8a05
cmp dword [ebx + 0x10], 0
jle 0x4c8a0f
mov eax, dword [esp + 0x10]
cmp byte [eax + 8], 0
jne 0x4c88af
mov eax, dword [ebx + 0x40]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov dword [eax], 0
test esi, esi
jl 0x4c88af
mov ecx, dword [esp + 0x50]
lea eax, [ecx + esi*2]
add eax, edi
mov dword [esp + 0x38], eax
jmp 0x4c8869
mov eax, dword [esp + 0x38]
mov dx, word [eax]
mov ecx, dword [esp + 0x14]
mov ah, dl
mov al, dh
movzx edi, ax
mov eax, dword [esp + 0x10]
lea edx, [edi + ecx]
push edx
push eax
mov eax, dword [eax + 0x4c]
call eax
movzx eax, ax
lea ecx, [eax + edi - 1]
mov eax, dword [esp + 0x24]
shl edi, 0x10
add esp, 8
or ecx, edi
call fcn.004c83c0
sub dword [esp + 0x38], 2
dec esi
test esi, esi
jge 0x4c8865
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
movzx edx, byte [ecx + edi + 1]
movzx ecx, byte [ecx + edi + 2]
shl edx, 8
or edx, ecx
mov dword [esp + 0x18], edx
jg 0x4c8942
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x40]
push eax
dec esi
mov eax, edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], esi
call fcn.004c83f0
add esp, 4
test eax, eax
je 0x4c89c4
mov edx, dword [esp + 0x40]
mov eax, edx
mov ecx, esi
shr eax, 0x10
and ecx, 0xffff
cmp ecx, eax
jae 0x4c89a9
sub eax, ecx
mov ecx, dword [esp + 0x38]
lea eax, [ecx + eax - 1]
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], eax
push ecx
mov eax, edi
mov dword [esp + 0x28], edx
call fcn.004c83f0
mov esi, dword [esp + 0x28]
add esp, 4
test eax, eax
jne 0x4c88f0
jmp 0x4c89c4
mov edi, eax
movzx eax, byte [edi + edx + 2]
movzx ecx, byte [edi + edx + 3]
mov edi, dword [esp + 0x1c]
inc dword [edi]
shl eax, 8
or eax, ecx
lea eax, [eax + edx - 1]
mov ecx, edx
shl ecx, 0x10
or eax, ecx
mov ecx, dword [edi]
mov dword [edi + ecx*4], eax
mov eax, ecx
shr eax, 1
je 0x4c898a
lea ecx, [ecx]
mov edx, dword [edi + eax*4]
mov esi, dword [edi + ecx*4]
cmp edx, esi
jbe 0x4c8986
mov dword [edi + eax*4], esi
mov dword [edi + ecx*4], edx
mov ecx, eax
shr eax, 1
jne 0x4c8970
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
movzx ecx, byte [edx + eax]
movzx edx, byte [eax + edx + 1]
shl ecx, 8
or ecx, edx
mov edx, ecx
mov dword [esp + 0x18], ecx
jg 0x4c8940
jmp 0x4c88c8
mov eax, dword [ebp + 0xc]
push eax
shr edx, 0x10
push edx
push str.Multiple_uses_for_byte__u_of_page__d
mov esi, ebx
call fcn.004c8030
mov esi, dword [esp + 0x30]
add esp, 0xc
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
and esi, 0xffff
sub eax, esi
cmp dword [edi], 0
lea eax, [ecx + eax - 1]
jne 0x4c8a0f
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
movzx ecx, byte [edx + ecx + 7]
cmp eax, ecx
je 0x4c8a0f
mov edx, dword [ebp + 0xc]
push edx
push ecx
push eax
push str.Fragmentation_of__d_bytes_reported_as__d_on_page__d
mov esi, ebx
call fcn.004c8030
add esp, 0x10
jmp 0x4c8a0f
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x10]
mov byte [ecx], al
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c8a2e
mov eax, dword [eax + 0x48]
test byte [eax + 0x1c], 0x20
je 0x4c8a29
mov ecx, eax
call fcn.004b8a90
jmp 0x4c8a2e
call fcn.004b4a10
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x2c]
pop edi
pop esi
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x24], ecx
inc eax
pop ebx
mov esp, ebp
pop ebp
ret