Function at 0x4259a0
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.0040e480
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 0x425bc7
mov edx, dword [esp + 0x30]
mov eax, esi
mov ecx, ebx
call fcn.00425520
test eax, eax
jne 0x425bc7
mov ebx, dword [edi]
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x425a4c
mov edi, dword [ebx + 0xa8]
lea edx, [esp + 0x30]
push edx
push 1
push esi
call fcn.004135c0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x425b1e
mov edi, dword [esp + 0x30]
cmp dword [edi + 0x10], eax
jne 0x425b2d
mov dword [edi + 0x10], ebx
cmp esi, 0x7fffffff
ja 0x425acd
mov eax, dword [0x4aa804]
mov ecx, dword [ebx + 0x80]
cdq
idiv ecx
inc eax
cmp esi, eax
je 0x425acd
cmp byte [ebx + 0xe], 0
jne 0x425aab
cmp dword [ebx + 0x18], esi
jb 0x425aab
mov eax, dword [ebx + 0x3c]
cmp dword [eax], 0
je 0x425aab
mov eax, edi
call fcn.004169c0
mov dword [esp + 0x14], eax
test eax, eax
je 0x425b2d
jmp 0x425aee
cmp esi, dword [ebx + 0x84]
jbe 0x425abd
mov dword [esp + 0x14], 0xd
jmp 0x425aee
push ecx
mov ecx, dword [edi]
push 0
push ecx
call fcn.00489020
add esp, 0xc
jmp 0x425b2d
push 0x4a3a6c
push 0xa63a
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0040e570
add esp, 0x10
mov dword [esp + 0x14], 0xb
test byte [edi + 0x14], 2
je 0x425afb
mov eax, edi
call fcn.00413560
mov eax, dword [edi + 0x18]
dec dword [eax + 0xc]
cmp dword [edi + 0xc], 1
jne 0x425b0e
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.004183b0
xor edi, edi
cmp dword [esp + 0x14], edi
jne 0x425bab
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.0041d6d0
xor esi, esi
cmp eax, esi
je 0x425bde
mov ecx, dword [esp + 0x10]
push eax
push str.btreeInitPage___returns_error_code__d
lea eax, [esp + 0x78]
push eax
push ecx
call fcn.004254b0
mov ebx, dword [ebx + 0x44]
add esp, 0x10
cmp ebx, esi
je 0x425b94
mov esi, dword [ebx + 0x10]
mov eax, ebx
call fcn.00413740
mov eax, esi
call fcn.004183b0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.0048014c
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.004254b0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.0048014c
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 0x425e1c
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x10], 0
je 0x425e22
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.0040e480
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.0041ce00
mov edi, dword [esp + 0x64]
add esp, 8
cmp byte [ebx + 2], 0
jne 0x425c60
add edi, dword [esp + 0x50]
jmp 0x425ccd
cmp dword [esp + 0x14], 0
jne 0x425c81
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 0x425ccd
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x54], ecx
jg 0x425cbd
mov eax, dword [esp + 0x20]
jl 0x425c97
cmp dword [esp + 0x50], eax
ja 0x425cbd
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.004254b0
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 0x425d6a
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 0x425d6a
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 0x425d50
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x70]
push eax
push ecx
mov bl, 3
call fcn.00425580
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.00425600
add esp, 0x14
cmp byte [ebx + 3], 0
jne 0x425e07
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 0x425db7
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x70]
push eax
push ecx
mov bl, 5
call fcn.00425580
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.004259a0
add esp, 0x14
mov edi, eax
test esi, esi
jle 0x425e03
cmp edi, dword [esp + 0x30]
je 0x425e03
mov edx, dword [esp + 0x10]
push str.Child_page_depth_differs
lea ecx, [esp + 0x74]
push ecx
push edx
call fcn.004254b0
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 0x425bf2
mov edi, dword [esp + 0x10]
jmp 0x425e24
mov edi, eax
cmp byte [ebx + 3], 0
jne 0x425ec9
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.0040e480
mov eax, dword [esp + 0x2c]
add esp, 0x10
cmp byte [eax + 0x15], 0
je 0x425e97
mov edx, dword [ebp + 0xc]
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x70]
push ecx
push edx
mov bl, 5
call fcn.00425580
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.004259a0
mov edi, dword [esp + 0x24]
add esp, 0x14
cmp byte [ebx + 3], 0
je 0x425fd6
cmp byte [ebx + 2], 0
je 0x425fd6
mov esi, dword [esp + 0x44]
test esi, esi
je 0x425f9b
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x425f1e
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x24]
cmp ecx, esi
jl 0x425fd6
jg 0x425f04
cmp dword [esp + 0x20], eax
jbe 0x425fd6
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 0x425fcd
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cmp dword [esp + 0x3c], eax
jg 0x425f57
jl 0x425f31
cmp dword [esp + 0x38], ecx
ja 0x425f57
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.004254b0
mov edx, dword [esp + 0x34]
add esp, 0x1c
mov eax, dword [edx + 4]
mov ecx, dword [edx]
cmp dword [esp + 0x24], eax
jl 0x425f8c
jg 0x425f6a
cmp dword [esp + 0x20], ecx
jbe 0x425f8c
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.004254b0
add esp, 0x1c
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp 0x425fd6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x425fd6
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x3c]
cmp edx, eax
jg 0x425fd6
jl 0x425fb8
cmp dword [esp + 0x38], ecx
ja 0x425fd6
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.004254b0
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.00413bf0
mov esi, eax
test esi, esi
jne 0x426003
mov dword [edi + 0x18], 1
jmp 0x4261c8
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.00489020
add esp, 0xc
push edi
push 1
push esi
call fcn.00489020
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 0x426104
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 0x4260b5
mov edx, dword [esp + 0x18]
lea eax, [edi + edx]
push eax
mov eax, ebx
call fcn.0041cf30
add esp, 4
movzx eax, ax
lea eax, [eax + edi - 1]
cmp eax, dword [esp + 0x34]
jl 0x4260de
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.004254b0
add esp, 0x14
jmp 0x4260ea
cmp eax, edi
jl 0x4260ea
inc byte [eax + esi]
dec eax
cmp eax, edi
jge 0x4260e2
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 0x426084
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 0x42614f
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 0x42613f
inc byte [eax + esi]
dec eax
cmp eax, ecx
jge 0x426137
movzx eax, byte [edi + ecx]
movzx ecx, byte [edi + ecx + 1]
shl eax, 8
or ecx, eax
jg 0x426120
xor edx, edx
xor eax, eax
mov dword [esp + 0x18], edx
cmp dword [esp + 0x34], eax
jle 0x42619d
lea ecx, [ecx]
mov cl, byte [eax + esi]
test cl, cl
jne 0x42616a
inc edx
jmp 0x42616f
cmp cl, 1
jg 0x42617c
inc eax
cmp eax, dword [esp + 0x34]
jl 0x426160
mov dword [esp + 0x18], edx
jmp 0x42619d
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.004254b0
mov edx, dword [esp + 0x2c]
add esp, 0x14
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx + edi + 7]
cmp edx, eax
je 0x4261c8
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.004254b0
add esp, 0x18
call fcn.00413cf0
mov eax, dword [ebx + 0x44]
xor esi, esi
cmp eax, esi
je 0x4262ea
mov edi, dword [eax + 0x10]
or edx, 0xffffffff
add word [eax + 0x16], dx
mov dword [esp + 0x44], edi
jne 0x426299
mov ecx, dword [eax + 0x18]
add dword [ecx + 0xc], edx
test byte [eax + 0x14], 2
jne 0x426220
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x1c], esi
je 0x426299
cmp dword [eax + 0xc], 1
jne 0x42620f
mov dword [ecx + 0x2c], esi
mov edx, dword [ecx + 0x28]
push esi
push eax
push edx
call dword [0x4aa79c]
add esp, 0xc
jmp 0x426299
mov edx, dword [eax + 0x18]
mov bl, 4
cmp dword [edx + 8], eax
jne 0x426240
mov ecx, dword [eax + 0x20]
cmp ecx, esi
je 0x42623d
test byte [ecx + 0x14], bl
je 0x42623d
mov ecx, dword [ecx + 0x20]
cmp ecx, esi
jne 0x426231
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x1c]
cmp ecx, esi
je 0x426253
mov edi, dword [eax + 0x20]
mov dword [ecx + 0x20], edi
mov edi, dword [esp + 0x44]
jmp 0x426259
mov ecx, dword [eax + 0x20]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 0x20]
cmp ecx, esi
je 0x426268
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x1c], edx
jmp 0x42626d
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 0x426282
mov dword [edx + 0x20], eax
mov dword [ecx], eax
cmp dword [ecx + 4], esi
jne 0x42628c
mov dword [ecx + 4], eax
cmp dword [ecx + 8], esi
jne 0x426299
test byte [eax + 0x14], bl
jne 0x426299
mov dword [ecx + 8], eax
mov edx, dword [edi + 0xa8]
cmp dword [edx + 0xc], esi
jne 0x4262ea
mov al, byte [edi + 0xf]
cmp al, 6
je 0x4262e3
test al, al
je 0x4262e3
cmp al, 2
jb 0x4262d2
mov eax, dword [0x4ac97c]
cmp eax, esi
je 0x4262be
call eax
mov eax, edi
call fcn.004190e0
mov eax, dword [0x4ac980]
cmp eax, esi
je 0x4262e3
call eax
jmp 0x4262e3
cmp byte [edi + 4], 0
jne 0x4262e3
push esi
mov ebx, edi
call fcn.00415d60
add esp, 4
mov ebx, edi
call fcn.00415c10
mov ecx, dword [esp + 0xdc]
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebx
xor ecx, esp
inc eax
call fcn.0048014c
mov esp, ebp
pop ebp
ret