Function at 0x421040
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc8
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xd0]
xorps xmm0, xmm0
push ebx
push ebp
push esi
mov esi, dword [esp + 0xd8]
mov ebx, ecx
push edi
mov edi, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xe4]
push edi
mov dword [esp + 0x24], eax
lea eax, [esp + 0x6c]
push str.Page__d:
push eax
push 0x64
mov dword [esp + 0x34], edi
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x68], xmm0
call fcn.004090c0
mov ebp, dword [ebx]
add esp, 0x10
mov dword [esp + 0x18], ebp
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x28], eax
test edi, edi
je 0x421784
push esi
mov edx, edi
mov ecx, ebx
call fcn.00420cb0
add esp, 4
test eax, eax
jne 0x421784
mov ecx, dword [ebp]
mov edx, edi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00414320
add esp, 8
test eax, eax
jne 0x421770
mov ecx, dword [esp + 0x1c]
cmp edi, 1
mov ebp, dword [ecx + 8]
mov eax, dword [ecx + 4]
mov dword [ebp + 0x38], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x34], eax
setne al
dec al
mov dword [ebp + 0x44], ecx
and al, 0x64
mov dword [ebp + 0x48], edi
mov byte [ebp + 5], al
mov ecx, ebp
mov byte [ebp], 0
call fcn.004197f0
test eax, eax
je 0x42113c
push eax
push str.btreeInitPage___returns_error_code__d
lea eax, [esp + 0x70]
push eax
push ebx
call fcn.00420c30
add esp, 0x10
mov ecx, ebp
call fcn.00419c30
jmp 0x421784
xor esi, esi
mov dword [esp + 0x34], 0
xor eax, eax
mov dword [esp + 0x14], esi
cmp ax, word [ebp + 0x10]
jae 0x421365
cmp dword [ebx + 0x10], 0
je 0x421365
push esi
push edi
push str.On_tree_page__d_cell__d:
lea eax, [esp + 0x74]
push eax
push 0x64
call fcn.004090c0
mov eax, dword [ebp + 0x40]
add esp, 0x14
mov ecx, ebp
movzx edi, byte [eax + esi*2]
movzx eax, byte [eax + esi*2 + 1]
shl edi, 8
or edi, eax
movzx eax, word [ebp + 0x12]
and edi, eax
lea eax, [esp + 0x38]
add edi, dword [ebp + 0x38]
push eax
mov edx, edi
call fcn.00418eb0
mov edx, dword [esp + 0x48]
add esp, 4
cmp byte [ebp + 2], 0
mov dword [esp + 0x1c], edx
jne 0x4211b5
add edx, dword [esp + 0x38]
jmp 0x42121a
test esi, esi
jne 0x4211d3
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
jmp 0x42121a
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
cmp ecx, dword [esp + 0x5c]
jg 0x421212
jl 0x4211e9
cmp eax, dword [esp + 0x58]
ja 0x421212
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push ecx
push eax
push str.Rowid__lld_out_of_order__previous_was__lld_
lea eax, [esp + 0x7c]
push eax
push ebx
call fcn.00420c30
mov eax, dword [esp + 0x54]
add esp, 0x1c
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
movzx eax, word [esp + 0x4e]
cmp edx, eax
jbe 0x4212bc
mov esi, dword [esp + 0x18]
movzx ecx, word [esp + 0x50]
mov eax, dword [ebp + 0x38]
add ecx, edi
mov dword [esp + 0x1c], ecx
add eax, dword [esi + 0x24]
mov esi, dword [esp + 0x14]
cmp ecx, eax
ja 0x4212bc
mov ecx, dword [esp + 0x28]
movzx eax, word [esp + 0x4e]
sub edx, eax
lea eax, [ecx - 5]
add ecx, 0xfffffffc
add eax, edx
xor edx, edx
div ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
movzx esi, byte [eax]
movzx ecx, byte [eax + 1]
shl esi, 8
or esi, ecx
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl esi, 8
or esi, ecx
shl esi, 8
or esi, eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x11], 0
je 0x4212a2
lea eax, [esp + 0x68]
mov edx, esi
push eax
push dword [esp + 0x28]
mov ecx, ebx
push 3
call fcn.00420d10
add esp, 0xc
lea eax, [esp + 0x68]
xor edx, edx
push eax
push dword [esp + 0x30]
mov ecx, ebx
push esi
call fcn.00420da0
mov esi, dword [esp + 0x20]
add esp, 0xc
cmp byte [ebp + 3], 0
jne 0x421350
movzx esi, byte [edi]
movzx eax, byte [edi + 1]
shl esi, 8
or esi, eax
movzx eax, byte [edi + 2]
shl esi, 8
or esi, eax
movzx eax, byte [edi + 3]
shl esi, 8
or esi, eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x11], 0
je 0x421305
lea eax, [esp + 0x68]
mov edx, esi
push eax
push dword [esp + 0x28]
mov ecx, ebx
push 5
call fcn.00420d10
add esp, 0xc
xor ecx, ecx
lea eax, [esp + 0x58]
cmp dword [esp + 0x14], ecx
mov edx, esi
cmove eax, ecx
mov ecx, ebx
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00421040
mov esi, dword [esp + 0x20]
add esp, 0xc
mov edi, eax
test esi, esi
jle 0x42134c
cmp edi, dword [esp + 0x34]
je 0x42134c
push str.Child_page_depth_differs
lea eax, [esp + 0x6c]
push eax
push ebx
call fcn.00420c30
add esp, 0xc
mov dword [esp + 0x34], edi
movzx eax, word [ebp + 0x10]
inc esi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x14], esi
cmp esi, eax
jl 0x421156
cmp byte [ebp + 3], 0
jne 0x4213f2
movzx ecx, byte [ebp + 5]
add ecx, dword [ebp + 0x38]
push edi
push str.On_page__d_at_right_child:
movzx esi, byte [ecx + 8]
movzx eax, byte [ecx + 9]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0xa]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0xb]
shl esi, 8
or esi, eax
lea eax, [esp + 0x70]
push eax
push 0x64
call fcn.004090c0
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp byte [eax + 0x11], 0
je 0x4213c8
lea eax, [esp + 0x68]
mov edx, esi
push eax
push edi
push 5
mov ecx, ebx
call fcn.00420d10
add esp, 0xc
xor ecx, ecx
lea eax, [esp + 0x58]
cmp word [ebp + 0x10], cx
mov edx, esi
cmove eax, ecx
push eax
push ecx
lea eax, [esp + 0x70]
mov ecx, ebx
push eax
call fcn.00421040
add esp, 0xc
cmp byte [ebp + 3], 0
je 0x4214e1
cmp byte [ebp + 2], 0
je 0x4214e1
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4214a9
mov edi, dword [esp + 0x20]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test edi, edi
jne 0x42143f
cmp dword [esp + 0x5c], ecx
jl 0x4214e1
jg 0x42142b
cmp dword [esp + 0x58], eax
jbe 0x4214e1
push ecx
push eax
push dword [esp + 0x64]
push dword [esp + 0x64]
push str.Rowid__lld_out_of_order__max_larger_than_parent_min_of__lld_
jmp 0x4214d3
cmp dword [esp + 0x64], ecx
jg 0x42146a
jl 0x42144d
cmp dword [esp + 0x60], eax
ja 0x42146a
push ecx
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x74]
push dword [esp + 0x6c]
push str.Rowid__lld_out_of_order__min_less_than_parent_min_of__lld_
push eax
push ebx
call fcn.00420c30
add esp, 0x1c
mov ecx, dword [edi + 4]
mov eax, dword [edi]
cmp dword [esp + 0x5c], ecx
jl 0x42149a
jg 0x42147d
cmp dword [esp + 0x58], eax
jbe 0x42149a
push ecx
push eax
push dword [esp + 0x64]
lea eax, [esp + 0x74]
push dword [esp + 0x64]
push str.Rowid__lld_out_of_order__max_larger_than_parent_max_of__lld_
push eax
push ebx
call fcn.00420c30
add esp, 0x1c
mov eax, dword [esp + 0x58]
mov dword [esi], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 4], eax
jmp 0x4214e1
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4214e1
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp dword [esp + 0x64], ecx
jg 0x4214e1
jl 0x4214c4
cmp dword [esp + 0x60], eax
ja 0x4214e1
push ecx
push eax
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push str.Rowid__lld_out_of_order__min_less_than_parent_max_of__lld_
lea eax, [esp + 0x7c]
push eax
push ebx
call fcn.00420c30
add esp, 0x1c
movzx eax, byte [ebp + 5]
mov esi, dword [ebp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], esi
mov ecx, dword [eax + 0x20]
call fcn.0040f550
mov edi, eax
test edi, edi
jne 0x42150e
mov dword [ebx + 0x18], 1
jmp 0x4216bd
mov eax, dword [esp + 0x14]
add eax, esi
mov dword [esp + 0x18], eax
movzx esi, byte [eax + 5]
movzx eax, byte [eax + 6]
shl esi, 8
or esi, eax
mov eax, dword [esp + 0x28]
dec esi
and esi, 0xffff
inc esi
sub eax, esi
push eax
push 0
lea eax, [esi + edi]
push eax
call fcn.004cb9a0
add esp, 0xc
push esi
push 1
push edi
call fcn.004cb9a0
mov esi, dword [esp + 0x24]
mov ecx, 3
add esp, 0xc
movzx edx, byte [esi + 3]
movzx eax, byte [esi + 4]
shl edx, 8
or edx, eax
movzx eax, byte [ebp + 3]
sub ecx, eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x14]
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [esp + 0x14], ecx
test edx, edx
jle 0x421616
mov edx, dword [esp + 0x28]
add edx, 0xfffffffc
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x1c], eax
jmp 0x4215a0
movzx esi, byte [eax]
movzx eax, byte [eax + 1]
shl esi, 8
or esi, eax
mov eax, 0x10000
cmp esi, dword [esp + 0x30]
jg 0x4215c7
add edx, esi
mov ecx, ebp
call fcn.00418ff0
mov ecx, dword [esp + 0x14]
movzx eax, ax
dec eax
add eax, esi
cmp eax, dword [esp + 0x28]
jl 0x4215eb
push dword [esp + 0x24]
push ecx
push str.Corruption_detected_in_cell__d_on_page__d
push 0
push ebx
call fcn.00420c30
mov ecx, dword [esp + 0x28]
add esp, 0x14
jmp 0x4215f8
cmp eax, esi
jl 0x4215f8
nop
inc byte [eax + edi]
dec eax
cmp eax, esi
jge 0x4215f0
mov eax, dword [esp + 0x1c]
inc ecx
mov edx, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
cmp ecx, dword [esp + 0x2c]
jl 0x4215a0
mov esi, dword [esp + 0x18]
movzx edx, byte [esi + 1]
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
jle 0x421662
mov esi, dword [esp + 0x20]
lea esp, [esp]
movzx ecx, byte [esi + edx + 2]
movzx eax, byte [edx + esi + 3]
shl ecx, 8
or ecx, eax
lea eax, [edx - 1]
add eax, ecx
cmp eax, edx
jl 0x421650
inc byte [eax + edi]
dec eax
cmp eax, edx
jge 0x421648
movzx ecx, byte [esi + edx]
movzx eax, byte [esi + edx + 1]
shl ecx, 8
or ecx, eax
mov edx, ecx
jg 0x421630
mov edx, dword [esp + 0x28]
xor esi, esi
xor eax, eax
test edx, edx
jle 0x42169b
mov edi, edi
mov cl, byte [eax + edi]
test cl, cl
jne 0x42167a
inc esi
jmp 0x42167f
cmp cl, 1
jg 0x421686
inc eax
cmp eax, edx
jl 0x421670
jmp 0x42169b
push dword [esp + 0x24]
push eax
push str.Multiple_uses_for_byte__d_of_page__d
push 0
push ebx
call fcn.00420c30
add esp, 0x14
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 7]
cmp esi, eax
je 0x4216bd
push dword [esp + 0x24]
push eax
push esi
push str.Fragmentation_of__d_bytes_reported_as__d_on_page__d
push 0
push ebx
call fcn.00420c30
add esp, 0x18
mov ecx, edi
call fcn.0040f660
mov ecx, dword [ebp + 0x44]
test ecx, ecx
je 0x421769
test byte [ecx + 0x18], 0x40
mov esi, dword [ecx + 0x10]
je 0x4216ee
call fcn.004131f0
mov ecx, esi
call fcn.004142f0
mov eax, dword [esp + 0x34]
inc eax
jmp 0x421786
dec word [ecx + 0x1a]
jne 0x421762
mov eax, dword [ecx + 0x1c]
dec dword [eax + 0xc]
test byte [ecx + 0x18], 2
jne 0x421734
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x1c], 0
je 0x421762
cmp dword [ecx + 0x14], 1
jne 0x421716
mov dword [eax + 0x2c], 0
push 0
push dword [ecx]
push dword [eax + 0x28]
call dword [0x510fa4]
add esp, 0xc
mov ecx, esi
call fcn.004142f0
mov eax, dword [esp + 0x34]
inc eax
jmp 0x421786
call fcn.0040eee0
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
mov dword [ecx + 0x20], edx
test edx, edx
je 0x421748
mov dword [edx + 0x24], ecx
cmp dword [eax + 4], 0
mov dword [eax], ecx
jne 0x421753
mov dword [eax + 4], ecx
cmp dword [eax + 8], 0
jne 0x421762
test byte [ecx + 0x18], 4
jne 0x421762
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.004142f0
mov eax, dword [esp + 0x34]
inc eax
jmp 0x421786
push eax
push str.unable_to_get_the_page._error_code_d
lea eax, [esp + 0x70]
push eax
push ebx
call fcn.00420c30
add esp, 0x10
xor eax, eax
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c515f
add esp, 0xc8
ret