Function at 0x425a70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov eax, dword [0x4a93dc]
xor eax, esp
mov dword [esp + 0xd0], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [esp + 0x30], eax
xor eax, eax
push esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push str.Page__d:
lea eax, [esp + 0x78]
push eax
push 0x64
mov dword [esp + 0x20], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x28], edx
call fcn.0040e540
mov edi, dword [ebx]
mov ecx, dword [edi + 0x28]
add esp, 0x10
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], ecx
test esi, esi
je 0x425c97
mov edx, dword [esp + 0x30]
mov eax, esi
mov ecx, ebx
call fcn.004255e0
test eax, eax
jne 0x425c97
mov ebx, dword [edi]
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x425b1c
mov edi, dword [ebx + 0xa8]
lea edx, [esp + 0x30]
push edx
push 1
push esi
call fcn.00413680
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x425bee
mov edi, dword [esp + 0x30]
cmp dword [edi + 0x10], eax
jne 0x425bfd
mov dword [edi + 0x10], ebx
cmp esi, 0x7fffffff
ja 0x425b9d
mov eax, dword [0x4aa804]
mov ecx, dword [ebx + 0x80]
cdq
idiv ecx
inc eax
cmp esi, eax
je 0x425b9d
cmp byte [ebx + 0xe], 0
jne 0x425b7b
cmp dword [ebx + 0x18], esi
jb 0x425b7b
mov eax, dword [ebx + 0x3c]
cmp dword [eax], 0
je 0x425b7b
mov eax, edi
call fcn.00416a80
mov dword [esp + 0x14], eax
test eax, eax
je 0x425bfd
jmp 0x425bbe
cmp esi, dword [ebx + 0x84]
jbe 0x425b8d
mov dword [esp + 0x14], 0xd
jmp 0x425bbe
push ecx
mov ecx, dword [edi]
push 0
push ecx
call fcn.00489270
add esp, 0xc
jmp 0x425bfd
push 0x4a3a6c
push 0xa63a
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0040e630
add esp, 0x10
mov dword [esp + 0x14], 0xb
test byte [edi + 0x14], 2
je 0x425bcb
mov eax, edi
call fcn.00413620
mov eax, dword [edi + 0x18]
dec dword [eax + 0xc]
cmp dword [edi + 0xc], 1
jne 0x425bde
mov dword [eax + 0x2c], 0
mov edx, dword [eax + 0x28]
push 1
push edi
push edx
call dword [0x4aa79c]
add esp, 0xc
mov eax, ebx
call fcn.00418470
xor edi, edi
cmp dword [esp + 0x14], edi
jne 0x425c7b
mov ebx, dword [edi + 4]
mov eax, dword [edi]
mov ecx, dword [esp + 0x1c]
cmp esi, 1
setne dl
dec dl
mov dword [ebx + 0x44], edi
and dl, 0x64
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x48], esi
mov byte [ebx + 5], dl
mov edi, ebx
mov dword [esp + 0x2c], ebx
mov byte [ebx], 0
call fcn.0041d790
xor esi, esi
cmp eax, esi
je 0x425cae
mov ecx, dword [esp + 0x10]
push eax
push str.btreeInitPage___returns_error_code__d
lea eax, [esp + 0x78]
push eax
push ecx
call fcn.00425570
mov ebx, dword [ebx + 0x44]
add esp, 0x10
cmp ebx, esi
je 0x425c64
mov esi, dword [ebx + 0x10]
mov eax, ebx
call fcn.00413800
mov eax, esi
call fcn.00418470
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.0048036c
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
push str.unable_to_get_the_page._error_code_d
lea ecx, [esp + 0x78]
push ecx
push edx
call fcn.00425570
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.0048036c
mov esp, ebp
pop ebp
ret
xor edx, edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], esi
cmp dx, word [ebx + 0x10]
jae 0x425eec
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x10], 0
je 0x425ef2
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
push esi
push ecx
push str.On_tree_page__d_cell__d:
lea edx, [esp + 0x7c]
push edx
push 0x64
call fcn.0040e540
mov eax, dword [ebx + 0x40]
movzx ecx, word [ebx + 0xc]
add ecx, eax
movzx edx, byte [ecx + esi*2]
lea ecx, [ecx + esi*2]
movzx esi, byte [ecx + 1]
movzx ecx, word [ebx + 0x12]
shl edx, 8
or esi, edx
and esi, ecx
add esi, eax
add esp, 0x14
push esi
push ebx
lea eax, [esp + 0x58]
mov dword [esp + 0x50], esi
call fcn.0041cec0
mov edi, dword [esp + 0x64]
add esp, 8
cmp byte [ebx + 2], 0
jne 0x425d30
add edi, dword [esp + 0x50]
jmp 0x425d9d
cmp dword [esp + 0x14], 0
jne 0x425d51
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
jmp 0x425d9d
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x54], ecx
jg 0x425d8d
mov eax, dword [esp + 0x20]
jl 0x425d67
cmp dword [esp + 0x50], eax
ja 0x425d8d
push ecx
mov ecx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push str.Rowid__lld_out_of_order__previous_was__lld_
lea edx, [esp + 0x84]
push edx
push eax
call fcn.00425570
add esp, 0x1c
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
movzx eax, word [esp + 0x66]
cmp edi, eax
jbe 0x425e3a
movzx ecx, word [esp + 0x68]
mov edx, dword [ebx + 0x40]
mov eax, dword [esp + 0x1c]
add edx, dword [eax + 0x28]
add ecx, esi
cmp ecx, edx
ja 0x425e3a
movzx eax, word [esp + 0x66]
mov edx, dword [esp + 0x34]
sub edi, eax
lea eax, [edi + edx - 5]
lea edi, [edx - 4]
xor edx, edx
div edi
movzx edi, byte [ecx]
movzx edx, byte [ecx + 1]
shl edi, 8
or edi, edx
mov edx, dword [esp + 0x1c]
shl edi, 8
mov dword [esp + 0x4c], eax
movzx eax, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
or edi, eax
shl edi, 8
or edi, ecx
cmp byte [edx + 0x15], 0
je 0x425e20
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x70]
push eax
push ecx
mov bl, 3
call fcn.00425640
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x50]
add esp, 8
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x70]
push edx
push eax
push edi
push 0
push ecx
call fcn.004256c0
add esp, 0x14
cmp byte [ebx + 3], 0
jne 0x425ed7
movzx edi, byte [esi]
movzx edx, byte [esi + 1]
movzx eax, byte [esi + 2]
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, edx
mov edx, dword [esp + 0x1c]
shl edi, 8
or edi, eax
shl edi, 8
or edi, ecx
cmp byte [edx + 0x15], 0
je 0x425e87
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x70]
push eax
push ecx
mov bl, 5
call fcn.00425640
mov ebx, dword [esp + 0x34]
add esp, 8
mov esi, dword [esp + 0x14]
mov edx, esi
neg edx
sbb edx, edx
lea eax, [esp + 0x20]
and edx, eax
mov eax, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x78]
push edx
push edi
push eax
call fcn.00425a70
add esp, 0x14
mov edi, eax
test esi, esi
jle 0x425ed3
cmp edi, dword [esp + 0x30]
je 0x425ed3
mov edx, dword [esp + 0x10]
push str.Child_page_depth_differs
lea ecx, [esp + 0x74]
push ecx
push edx
call fcn.00425570
add esp, 0xc
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x14]
movzx ecx, word [ebx + 0x10]
inc eax
mov dword [esp + 0x14], eax
cmp eax, ecx
jl 0x425cc2
mov edi, dword [esp + 0x10]
jmp 0x425ef4
mov edi, eax
cmp byte [ebx + 3], 0
jne 0x425f99
movzx edx, byte [ebx + 5]
mov eax, dword [ebx + 0x40]
movzx ecx, byte [edx + eax + 8]
movzx edi, byte [edx + eax + 9]
lea eax, [edx + eax + 8]
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
or edi, ecx
mov ecx, dword [ebp + 0xc]
shl edi, 8
push ecx
or edi, edx
push str.On_page__d_at_right_child:
lea edx, [esp + 0x78]
push edx
shl edi, 8
push 0x64
or edi, eax
call fcn.0040e540
mov eax, dword [esp + 0x2c]
add esp, 0x10
cmp byte [eax + 0x15], 0
je 0x425f67
mov edx, dword [ebp + 0xc]
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x70]
push ecx
push edx
mov bl, 5
call fcn.00425640
mov ebx, dword [esp + 0x34]
add esp, 8
movzx eax, word [ebx + 0x10]
neg eax
sbb eax, eax
lea ecx, [esp + 0x20]
and eax, ecx
push eax
mov eax, dword [esp + 0x14]
push 0
lea edx, [esp + 0x78]
push edx
push edi
push eax
call fcn.00425a70
mov edi, dword [esp + 0x24]
add esp, 0x14
cmp byte [ebx + 3], 0
je 0x4260a6
cmp byte [ebx + 2], 0
je 0x4260a6
mov esi, dword [esp + 0x44]
test esi, esi
je 0x42606b
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x425fee
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x24]
cmp ecx, esi
jl 0x4260a6
jg 0x425fd4
cmp dword [esp + 0x20], eax
jbe 0x4260a6
push esi
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push str.Rowid__lld_out_of_order__max_larger_than_parent_min_of__lld_
lea edx, [esp + 0x84]
push edx
jmp 0x42609d
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cmp dword [esp + 0x3c], eax
jg 0x426027
jl 0x426001
cmp dword [esp + 0x38], ecx
ja 0x426027
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push eax
push ecx
push str.Rowid__lld_out_of_order__min_less_than_parent_min_of__lld_
lea edx, [esp + 0x84]
push edx
push edi
call fcn.00425570
mov edx, dword [esp + 0x34]
add esp, 0x1c
mov eax, dword [edx + 4]
mov ecx, dword [edx]
cmp dword [esp + 0x24], eax
jl 0x42605c
jg 0x42603a
cmp dword [esp + 0x20], ecx
jbe 0x42605c
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push eax
push ecx
push str.Rowid__lld_out_of_order__max_larger_than_parent_max_of__lld_
lea edx, [esp + 0x84]
push edx
push edi
call fcn.00425570
add esp, 0x1c
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp 0x4260a6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4260a6
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x3c]
cmp edx, eax
jg 0x4260a6
jl 0x426088
cmp dword [esp + 0x38], ecx
ja 0x4260a6
push eax
push ecx
push edx
mov edx, dword [esp + 0x44]
push edx
push str.Rowid__lld_out_of_order__min_less_than_parent_max_of__lld_
lea eax, [esp + 0x84]
push eax
push edi
call fcn.00425570
add esp, 0x1c
movzx edx, byte [ebx + 5]
mov ecx, dword [ebx + 0x40]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], edx
call fcn.00413cb0
mov esi, eax
test esi, esi
jne 0x4260d3
mov dword [edi + 0x18], 1
jmp 0x426298
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
movzx edi, byte [ecx + eax + 5]
movzx ecx, byte [ecx + eax + 6]
mov edx, dword [esp + 0x34]
shl edi, 8
or edi, ecx
dec edi
and edi, 0xffff
inc edi
sub edx, edi
push edx
lea eax, [edi + esi]
push 0
push eax
call fcn.00489270
add esp, 0xc
push edi
push 1
push esi
call fcn.00489270
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
movzx eax, byte [ecx + edx + 3]
movzx edx, byte [ecx + edx + 4]
shl eax, 8
or eax, edx
movzx edx, byte [ebx + 3]
mov edi, 3
sub edi, edx
add esp, 0xc
mov dword [esp + 0x44], eax
lea ecx, [ecx + edi*4]
mov dword [esp + 0x14], 0
test eax, eax
jle 0x4261d4
add ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
movzx edi, byte [ecx + 1]
movzx ecx, byte [ecx]
shl ecx, 8
or edi, ecx
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffffc
mov eax, 0x10000
cmp edi, ecx
jg 0x426185
mov edx, dword [esp + 0x18]
lea eax, [edi + edx]
push eax
mov eax, ebx
call fcn.0041cff0
add esp, 4
movzx eax, ax
lea eax, [eax + edi - 1]
cmp eax, dword [esp + 0x34]
jl 0x4261ae
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ecx
push edx
push str.Corruption_detected_in_cell__d_on_page__d
push 0
push eax
call fcn.00425570
add esp, 0x14
jmp 0x4261ba
cmp eax, edi
jl 0x4261ba
inc byte [eax + esi]
dec eax
cmp eax, edi
jge 0x4261b2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc eax
add ecx, 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
cmp eax, dword [esp + 0x44]
jl 0x426154
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
movzx ecx, byte [eax + edi + 1]
movzx edx, byte [eax + edi + 2]
shl ecx, 8
or ecx, edx
jle 0x42621f
lea ecx, [ecx]
movzx eax, byte [edi + ecx + 2]
movzx edx, byte [edi + ecx + 3]
shl eax, 8
or eax, edx
lea eax, [eax + ecx - 1]
cmp eax, ecx
jl 0x42620f
inc byte [eax + esi]
dec eax
cmp eax, ecx
jge 0x426207
movzx eax, byte [edi + ecx]
movzx ecx, byte [edi + ecx + 1]
shl eax, 8
or ecx, eax
jg 0x4261f0
xor edx, edx
xor eax, eax
mov dword [esp + 0x18], edx
cmp dword [esp + 0x34], eax
jle 0x42626d
lea ecx, [ecx]
mov cl, byte [eax + esi]
test cl, cl
jne 0x42623a
inc edx
jmp 0x42623f
cmp cl, 1
jg 0x42624c
inc eax
cmp eax, dword [esp + 0x34]
jl 0x426230
mov dword [esp + 0x18], edx
jmp 0x42626d
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, dword [esp + 0x18]
push str.Multiple_uses_for_byte__d_of_page__d
push 0
push eax
call fcn.00425570
mov edx, dword [esp + 0x2c]
add esp, 0x14
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx + edi + 7]
cmp edx, eax
je 0x426298
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x20]
push eax
push str.Fragmentation_of__d_bytes_reported_as__d_on_page__d
push 0
push ecx
call fcn.00425570
add esp, 0x18
call fcn.00413db0
mov eax, dword [ebx + 0x44]
xor esi, esi
cmp eax, esi
je 0x4263ba
mov edi, dword [eax + 0x10]
or edx, 0xffffffff
add word [eax + 0x16], dx
mov dword [esp + 0x44], edi
jne 0x426369
mov ecx, dword [eax + 0x18]
add dword [ecx + 0xc], edx
test byte [eax + 0x14], 2
jne 0x4262f0
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x1c], esi
je 0x426369
cmp dword [eax + 0xc], 1
jne 0x4262df
mov dword [ecx + 0x2c], esi
mov edx, dword [ecx + 0x28]
push esi
push eax
push edx
call dword [0x4aa79c]
add esp, 0xc
jmp 0x426369
mov edx, dword [eax + 0x18]
mov bl, 4
cmp dword [edx + 8], eax
jne 0x426310
mov ecx, dword [eax + 0x20]
cmp ecx, esi
je 0x42630d
test byte [ecx + 0x14], bl
je 0x42630d
mov ecx, dword [ecx + 0x20]
cmp ecx, esi
jne 0x426301
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x1c]
cmp ecx, esi
je 0x426323
mov edi, dword [eax + 0x20]
mov dword [ecx + 0x20], edi
mov edi, dword [esp + 0x44]
jmp 0x426329
mov ecx, dword [eax + 0x20]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 0x20]
cmp ecx, esi
je 0x426338
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x1c], edx
jmp 0x42633d
mov ecx, dword [eax + 0x1c]
mov dword [edx], ecx
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], esi
mov edx, dword [ecx]
mov dword [eax + 0x1c], edx
cmp edx, esi
je 0x426352
mov dword [edx + 0x20], eax
mov dword [ecx], eax
cmp dword [ecx + 4], esi
jne 0x42635c
mov dword [ecx + 4], eax
cmp dword [ecx + 8], esi
jne 0x426369
test byte [eax + 0x14], bl
jne 0x426369
mov dword [ecx + 8], eax
mov edx, dword [edi + 0xa8]
cmp dword [edx + 0xc], esi
jne 0x4263ba
mov al, byte [edi + 0xf]
cmp al, 6
je 0x4263b3
test al, al
je 0x4263b3
cmp al, 2
jb 0x4263a2
mov eax, dword [0x4ac97c]
cmp eax, esi
je 0x42638e
call eax
mov eax, edi
call fcn.004191a0
mov eax, dword [0x4ac980]
cmp eax, esi
je 0x4263b3
call eax
jmp 0x4263b3
cmp byte [edi + 4], 0
jne 0x4263b3
push esi
mov ebx, edi
call fcn.00415e20
add esp, 4
mov ebx, edi
call fcn.00415cd0
mov ecx, dword [esp + 0xdc]
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebx
xor ecx, esp
inc eax
call fcn.0048036c
mov esp, ebp
pop ebp
ret