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

Disassembly:
sub esp, 0xd0
mov eax, dword [0x4d25ac]
xor eax, esp
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
push ebx
mov ebx, dword [esp + 0xe0]
push ebp
push esi
mov esi, dword [esp + 0xe4]
push edi
mov edi, dword [esp + 0xe4]
push esi
push str.Page__d:
lea edx, [esp + 0x78]
mov dword [esp + 0x3c], eax
xor eax, eax
push edx
push 0x64
mov dword [esp + 0x24], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call fcn.00424fc0
mov ebp, dword [edi]
mov eax, dword [ebp + 0x28]
add esp, 0x10
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x38], eax
test esi, esi
je 0x439a64
mov ecx, ebx
mov eax, esi
mov edx, edi
call fcn.004393f0
test eax, eax
jne 0x439a64
mov ebp, dword [ebp]
mov edi, dword [ebp + 0x28]
test edi, edi
jne 0x4399e4
mov edi, dword [ebp + 0xa8]
lea ecx, [esp + 0x3c]
push ecx
push 1
push esi
call fcn.004293b0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4399e4
mov ebx, dword [esp + 0x3c]
cmp dword [ebx + 0x10], eax
jne 0x4399f3
mov dword [ebx + 0x10], ebp
cmp esi, 0x7fffffff
ja 0x439993
mov eax, dword [0x4d361c]
mov ecx, dword [ebp + 0x80]
cdq
idiv ecx
inc eax
cmp esi, eax
je 0x439993
cmp byte [ebp + 0xd], 0
jne 0x439974
cmp dword [ebp + 0x18], esi
jb 0x439974
mov edx, dword [ebp + 0x3c]
cmp dword [edx], edi
je 0x439974
mov eax, ebx
call fcn.0042c200
mov edi, eax
test edi, edi
je 0x4399f3
jmp 0x4399b4
cmp esi, dword [ebp + 0x84]
jbe 0x439983
mov edi, 0xd
jmp 0x4399b4
mov eax, dword [ebx]
push ecx
push 0
push eax
call fcn.004957a0
add esp, 0xc
jmp 0x4399f3
push 0x4c510c
push 0x9a42
push str.database_corruption_at_line__d_of___.10s_
mov eax, 0xb
call fcn.004250c0
add esp, 0xc
mov edi, 0xb
test byte [ebx + 0x14], 2
je 0x4399c1
mov eax, ebx
call fcn.00429310
mov eax, dword [ebx + 0x18]
dec dword [eax + 0xc]
cmp dword [ebx + 0xc], 1
jne 0x4399d4
mov dword [eax + 0x2c], 0
mov ecx, dword [eax + 0x28]
push 1
push ebx
push ecx
call dword [0x4d3698]
add esp, 0xc
push ebp
call fcn.0042d9d0
add esp, 4
xor ebx, ebx
test edi, edi
jne 0x439a4e
mov edi, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [esp + 0x1c]
cmp esi, 1
setne cl
dec cl
and cl, 0x64
mov dword [edi + 0x40], edx
mov dword [edi + 0x44], ebx
mov dword [edi + 0x3c], eax
mov dword [edi + 0x48], esi
mov byte [edi + 5], cl
mov dword [esp + 0x18], edi
mov byte [edi], 0
call fcn.00432160
xor ecx, ecx
cmp eax, ecx
je 0x439a6b
mov esi, dword [esp + 0x14]
push eax
push str.btreeInitPage___returns_error_code__d
lea ebx, [esp + 0x78]
call fcn.00439380
mov edx, dword [edi + 0x44]
push edx
call fcn.0042db90
add esp, 0xc
xor eax, eax
jmp 0x43a0ff
mov esi, dword [esp + 0x14]
push edi
push str.unable_to_get_the_page._error_code_d
lea ebx, [esp + 0x78]
call fcn.00439380
add esp, 8
xor eax, eax
jmp 0x43a0ff
xor eax, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], ecx
cmp ax, word [edi + 0x10]
jae 0x439c8d
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x10], 0
je 0x439c8d
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0xe8]
push ebx
push edx
push str.On_tree_page__d_cell__d:
lea eax, [esp + 0x7c]
push eax
push 0x64
call fcn.00424fc0
mov esi, dword [esp + 0x2c]
movzx ecx, word [esi + 0xc]
mov eax, dword [esi + 0x40]
add ecx, eax
movzx edx, byte [ecx + ebx*2]
movzx ebp, byte [ecx + ebx*2 + 1]
lea ecx, [ecx + ebx*2]
movzx ecx, word [esi + 0x12]
shl edx, 8
or ebp, edx
add esp, 0x14
and ebp, ecx
lea edx, [esp + 0x50]
push edx
add ebp, eax
push ebp
push esi
call fcn.004318c0
mov edi, dword [esp + 0x6c]
add esp, 0xc
cmp byte [esi + 2], 0
jne 0x439af5
mov eax, dword [esp + 0x58]
add edi, eax
jmp 0x439b59
test ebx, ebx
jne 0x439b0b
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
jmp 0x439b51
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x5c], ecx
jg 0x439b49
mov eax, dword [esp + 0x28]
jl 0x439b21
cmp dword [esp + 0x58], eax
ja 0x439b49
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x60]
push eax
push ecx
push edx
push str.Rowid__lld_out_of_order__previous_was__lld_
lea ebx, [esp + 0x84]
call fcn.00439380
mov esi, dword [esp + 0x2c]
add esp, 0x14
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
movzx eax, word [esp + 0x6a]
cmp edi, eax
jbe 0x439bd2
movzx edx, word [esp + 0x6c]
mov ebx, dword [esp + 0x1c]
lea ecx, [edx + ebp]
mov edx, dword [esi + 0x40]
add edx, dword [ebx + 0x28]
cmp ecx, edx
ja 0x439bd2
mov edx, dword [esp + 0x38]
sub edi, eax
lea eax, [edi + edx - 5]
lea edi, [edx - 4]
xor edx, edx
div edi
mov ebx, eax
call fcn.00426620
mov edi, eax
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x15], 0
je 0x439bbb
mov edx, dword [esp + 0xe8]
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov al, 3
call fcn.00439450
mov esi, dword [esp + 0x20]
add esp, 8
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x70]
push eax
push ebx
push 0
push ecx
mov eax, edi
call fcn.004394e0
add esp, 0x10
cmp byte [esi + 3], 0
jne 0x439c78
movzx ebx, byte [ebp]
movzx edx, byte [ebp + 1]
movzx eax, byte [ebp + 2]
movzx ecx, byte [ebp + 3]
shl ebx, 8
or ebx, edx
mov edx, dword [esp + 0x1c]
shl ebx, 8
or ebx, eax
shl ebx, 8
or ebx, ecx
cmp byte [edx + 0x15], 0
je 0x439c26
mov ecx, dword [esp + 0xe8]
lea eax, [esp + 0x70]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
mov al, 5
mov edi, ebx
call fcn.00439450
mov esi, dword [esp + 0x20]
add esp, 8
mov ebp, dword [esp + 0x20]
mov edx, ebp
neg edx
sbb edx, edx
lea eax, [esp + 0x28]
and edx, eax
mov eax, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x78]
push edx
push ebx
push eax
call fcn.00439860
add esp, 0x14
mov edi, eax
test ebp, ebp
jle 0x439c74
cmp edi, dword [esp + 0x3c]
je 0x439c74
mov esi, dword [esp + 0x14]
push str.Child_page_depth_differs
lea ebx, [esp + 0x74]
call fcn.00439380
mov esi, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x20]
movzx ecx, word [esi + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x439a7f
mov ebp, dword [esp + 0x18]
cmp byte [ebp + 3], 0
jne 0x439d2f
movzx edx, byte [ebp + 5]
mov eax, dword [ebp + 0x40]
movzx ecx, byte [edx + eax + 8]
movzx edi, byte [edx + eax + 9]
mov esi, dword [esp + 0xe8]
lea eax, [edx + eax + 8]
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
or edi, ecx
push esi
shl edi, 8
or edi, edx
push str.On_page__d_at_right_child:
lea ecx, [esp + 0x78]
push ecx
shl edi, 8
push 0x64
or edi, eax
call fcn.00424fc0
mov edx, dword [esp + 0x2c]
add esp, 0x10
cmp byte [edx + 0x15], 0
je 0x439d01
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x70]
push eax
push esi
mov al, 5
call fcn.00439450
add esp, 8
movzx ecx, word [ebp + 0x10]
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x28]
and ecx, edx
push ecx
mov ecx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x78]
push eax
push edi
push ecx
call fcn.00439860
add esp, 0x14
cmp byte [ebp + 3], 0
je 0x439e34
cmp byte [ebp + 2], 0
je 0x439e34
mov eax, dword [esp + 0x34]
test eax, eax
je 0x439df7
cmp dword [esp + 0x24], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jne 0x439d7b
mov edx, dword [esp + 0x2c]
cmp edx, eax
jl 0x439e34
jg 0x439d69
cmp dword [esp + 0x28], ecx
jbe 0x439e34
push eax
push ecx
push edx
mov edx, dword [esp + 0x34]
push edx
push str.Rowid__lld_out_of_order__max_larger_than_parent_min_of__lld_
jmp 0x439e21
mov edx, dword [esp + 0x44]
cmp edx, eax
jg 0x439dab
jl 0x439d8b
cmp dword [esp + 0x40], ecx
ja 0x439dab
mov esi, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
push str.Rowid__lld_out_of_order__min_less_than_parent_min_of__lld_
lea ebx, [esp + 0x84]
call fcn.00439380
add esp, 0x14
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x2c]
cmp edx, eax
jl 0x439de4
jg 0x439dc4
cmp dword [esp + 0x28], ecx
jbe 0x439de4
mov esi, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x30]
push edx
push ecx
push str.Rowid__lld_out_of_order__max_larger_than_parent_max_of__lld_
lea ebx, [esp + 0x84]
call fcn.00439380
add esp, 0x14
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [eax], edx
mov dword [eax + 4], ecx
jmp 0x439e34
mov eax, dword [esp + 0x24]
test eax, eax
je 0x439e34
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x44]
cmp edx, eax
jg 0x439e34
jl 0x439e14
cmp dword [esp + 0x40], ecx
ja 0x439e34
push eax
push ecx
push edx
mov edx, dword [esp + 0x4c]
push edx
push str.Rowid__lld_out_of_order__min_less_than_parent_max_of__lld_
mov esi, dword [esp + 0x28]
lea ebx, [esp + 0x84]
call fcn.00439380
add esp, 0x14
mov eax, dword [ebp + 0x40]
movzx ecx, byte [ebp + 5]
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [0x4d56a4]
mov dword [esp + 0x24], ecx
test eax, eax
je 0x439e5d
push eax
call dword [0x4d3668]
add esp, 4
mov eax, esi
call fcn.00429970
mov ebp, eax
mov eax, dword [0x4d56a4]
test eax, eax
je 0x439e79
push eax
call dword [0x4d3670]
add esp, 4
test ebp, ebp
jne 0x439e8d
mov eax, dword [esp + 0x14]
mov dword [eax + 0x18], 1
jmp 0x43a052
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
movzx edi, byte [esi + ebx + 5]
movzx ecx, byte [esi + ebx + 6]
mov edx, dword [esp + 0x38]
shl edi, 8
or edi, ecx
dec edi
and edi, 0xffff
inc edi
sub edx, edi
push edx
lea eax, [edi + ebp]
push 0
push eax
call fcn.004957a0
add esp, 0xc
push edi
push 1
push ebp
call fcn.004957a0
movzx esi, byte [esi + ebx + 3]
mov eax, dword [esp + 0x30]
movzx ecx, byte [eax + ebx + 4]
mov edx, dword [esp + 0x24]
shl esi, 8
or esi, ecx
movzx ecx, byte [edx + 3]
mov edx, 3
sub edx, ecx
add esp, 0xc
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x20], 0
test esi, esi
jle 0x439f9e
add eax, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
movzx edi, byte [eax + 1]
movzx eax, byte [eax]
shl eax, 8
or edi, eax
lea ecx, [edx - 4]
cmp edi, ecx
mov eax, 0x10000
jg 0x439f43
mov eax, dword [esp + 0x18]
lea ecx, [edi + ebx]
push ecx
call fcn.00431a00
mov edx, dword [esp + 0x3c]
add esp, 4
movzx eax, ax
lea eax, [eax + edi - 1]
cmp eax, edx
jl 0x439f79
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
push edx
push eax
push str.Corruption_detected_in_cell__d_on_page__d
xor ebx, ebx
call fcn.00439380
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
add esp, 0xc
jmp 0x439f88
cmp eax, edi
jl 0x439f88
lea ecx, [ecx]
inc byte [eax + ebp]
dec eax
cmp eax, edi
jge 0x439f80
mov eax, dword [esp + 0x20]
add dword [esp + 0x1c], 2
inc eax
cmp eax, esi
mov dword [esp + 0x20], eax
jl 0x439f10
mov esi, dword [esp + 0x24]
movzx ecx, byte [esi + ebx + 1]
movzx eax, byte [esi + ebx + 2]
shl ecx, 8
or ecx, eax
jle 0x439fea
movzx eax, byte [ebx + ecx + 2]
movzx edi, byte [ebx + ecx + 3]
shl eax, 8
or eax, edi
lea eax, [eax + ecx - 1]
cmp eax, ecx
jl 0x439fd8
lea ebx, [ebx]
inc byte [eax + ebp]
dec eax
cmp eax, ecx
jge 0x439fd0
movzx eax, byte [ebx + ecx]
movzx ecx, byte [ebx + ecx + 1]
shl eax, 8
or eax, ecx
mov ecx, eax
jg 0x439fb3
xor edi, edi
xor eax, eax
test edx, edx
jle 0x43a02c
mov cl, byte [eax + ebp]
test cl, cl
jne 0x439ffc
inc edi
jmp 0x43a001
cmp cl, 1
jg 0x43a008
inc eax
cmp eax, edx
jl 0x439ff2
jmp 0x43a02c
mov edx, dword [esp + 0xe8]
mov esi, dword [esp + 0x14]
push edx
push eax
push str.Multiple_uses_for_byte__d_of_page__d
xor ebx, ebx
call fcn.00439380
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
add esp, 0xc
movzx eax, byte [esi + ebx + 7]
cmp edi, eax
je 0x43a052
mov ecx, dword [esp + 0xe8]
mov esi, dword [esp + 0x14]
push ecx
push eax
push edi
push str.Fragmentation_of__d_bytes_reported_as__d_on_page__d
xor ebx, ebx
call fcn.00439380
add esp, 0x10
mov eax, dword [0x4d56a4]
test eax, eax
je 0x43a065
push eax
call dword [0x4d3668]
add esp, 4
test ebp, ebp
je 0x43a0d7
cmp ebp, dword [0x4d56cc]
jb 0x43a0a8
cmp ebp, dword [0x4d56d0]
jae 0x43a0a8
mov eax, dword [0x4d57ec]
dec eax
cmp eax, dword [0x4d5814]
mov dword [0x4d57ec], eax
jle 0x43a091
mov dword [0x4d5814], eax
mov edx, dword [0x4d56d4]
mov dword [ebp], edx
inc dword [0x4d56c4]
mov dword [0x4d56d4], ebp
jmp 0x43a0d7
push ebp
call dword [0x4d3644]
mov ecx, dword [0x4d57f0]
sub ecx, eax
add esp, 4
cmp ecx, dword [0x4d5818]
mov dword [0x4d57f0], ecx
jle 0x43a0ce
mov dword [0x4d5818], ecx
push ebp
call fcn.00423940
add esp, 4
mov eax, dword [0x4d56a4]
test eax, eax
je 0x43a0ea
push eax
call dword [0x4d3670]
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x44]
push ecx
call fcn.0042db90
mov eax, dword [esp + 0x40]
add esp, 4
inc eax
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049110c
add esp, 0xd0
ret