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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x5c2b80]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
mov ebx, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
push esi
mov eax, dword [ebx + 0x1c]
mov esi, dword [ebx]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0x24]
push edi
mov edi, edx
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x60], xmm0
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], eax
test edi, edi
jne 0x498626
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0052ab62
mov esp, ebp
pop ebp
ret
call fcn.00498270
test eax, eax
jne 0x498612
push eax
lea eax, [esp + 0x14]
mov dword [ebx + 0x1c], str.Page__d:
mov dword [ebx + 0x20], edi
mov edx, edi
mov ecx, dword [esi]
push eax
call fcn.0048a9c0
add esp, 8
test eax, eax
jne 0x498cfa
mov ecx, dword [esp + 0x10]
cmp edi, 1
mov esi, dword [ecx + 8]
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], esi
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x34], eax
setne al
dec al
mov dword [esi + 0x44], ecx
and al, 0x64
mov dword [esi + 0x48], edi
mov byte [esi + 6], al
mov ecx, esi
mov byte [esi], 0
call fcn.00490220
test eax, eax
je 0x4986ab
push eax
push str.btreeInitPage___returns_error_code__d
push ebx
call fcn.004981a0
mov ecx, dword [esi + 0x44]
add esp, 0xc
call fcn.0048ae10
or eax, 0xffffffff
jmp 0x498cd2
xor ecx, ecx
mov dword [esp + 0x2c], 0
xor eax, eax
mov dword [esp + 0x1c], ecx
cmp ax, word [esi + 0x12]
jae 0x4988aa
jmp 0x4986d4
mov edi, dword [esp + 0x20]
cmp dword [ebx + 0x10], 0
je 0x4988aa
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x1c], str.On_tree_page__d_cell__d:
mov eax, dword [esi + 0x40]
movzx edi, byte [eax + ecx*2 + 1]
movzx eax, byte [eax + ecx*2]
mov ecx, esi
shl eax, 8
or edi, eax
movzx eax, word [esi + 0x14]
and edi, eax
lea eax, [esp + 0x38]
add edi, dword [esi + 0x38]
push eax
mov edx, edi
call fcn.0048f7f0
add esp, 4
cmp byte [esi + 2], 0
je 0x498774
cmp dword [esp + 0x1c], 0
mov eax, dword [esp + 0x3c]
jne 0x498735
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
jmp 0x49876c
mov ecx, dword [esp + 0x64]
cmp eax, ecx
jg 0x498768
mov edx, dword [esp + 0x60]
jl 0x49874f
mov ecx, dword [esp + 0x38]
cmp ecx, edx
ja 0x49876c
mov ecx, dword [esp + 0x64]
push ecx
push edx
push eax
push dword [esp + 0x44]
push str.Rowid__lld_out_of_order__previous_was__lld_
push ebx
call fcn.004981a0
mov eax, dword [esp + 0x54]
add esp, 0x18
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
movzx eax, word [esp + 0x48]
mov edx, dword [esp + 0x44]
cmp edx, eax
jbe 0x498812
mov eax, dword [esi + 0x38]
mov esi, dword [esp + 0x18]
movzx ecx, word [esp + 0x4a]
add ecx, edi
mov dword [esp + 0x10], ecx
add eax, dword [esi + 0x24]
mov esi, dword [esp + 0x28]
cmp ecx, eax
ja 0x498812
mov ecx, dword [esp + 0x24]
movzx eax, word [esp + 0x48]
sub edx, eax
lea eax, [ecx - 5]
add ecx, 0xfffffffc
add eax, edx
xor edx, edx
div ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
movzx ecx, byte [eax + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl edx, 8
or edx, ecx
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], edx
cmp byte [eax + 0x11], 0
je 0x498801
push dword [esp + 0x20]
mov ecx, ebx
push 3
call fcn.004982e0
mov edx, dword [esp + 0x18]
add esp, 8
push dword [esp + 0x30]
mov ecx, ebx
push edx
xor edx, edx
call fcn.00498360
add esp, 8
cmp byte [esi + 5], 0
jne 0x498895
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 0x498852
push dword [esp + 0x20]
mov edx, esi
mov ecx, ebx
push 5
call fcn.004982e0
add esp, 8
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x60]
xor ecx, ecx
mov edx, esi
test edi, edi
cmove eax, ecx
mov ecx, ebx
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.004985b0
add esp, 8
mov esi, eax
test edi, edi
jle 0x49888d
cmp esi, dword [esp + 0x2c]
je 0x49888d
push str.Child_page_depth_differs
push ebx
call fcn.004981a0
add esp, 8
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
movzx eax, word [esi + 0x12]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jl 0x4986d0
cmp byte [esi + 5], 0
jne 0x498918
movzx ecx, byte [esi + 6]
add ecx, dword [esi + 0x38]
movzx edi, byte [ecx + 8]
movzx eax, byte [ecx + 9]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0xa]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0xb]
mov ecx, dword [esp + 0x18]
shl edi, 8
or edi, eax
mov dword [ebx + 0x1c], str.On_page__d_at_right_child:
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x20], eax
cmp byte [ecx + 0x11], 0
je 0x4988fd
push eax
push 5
mov edx, edi
mov ecx, ebx
call fcn.004982e0
add esp, 8
xor ecx, ecx
lea eax, [esp + 0x60]
cmp word [esi + 0x12], cx
mov edx, edi
cmove eax, ecx
push eax
push ecx
mov ecx, ebx
call fcn.004985b0
add esp, 8
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x1c], str.Page__d:
mov dword [ebx + 0x20], eax
cmp byte [esi + 5], 0
je 0x498a13
cmp byte [esi + 2], 0
je 0x498a13
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4989e0
cmp dword [esp + 0x14], 0
mov eax, dword [edi]
mov ecx, dword [edi + 4]
jne 0x49897c
cmp dword [esp + 0x64], ecx
jl 0x498a13
jg 0x498968
cmp dword [esp + 0x60], eax
jbe 0x498a13
push ecx
push eax
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push str.Rowid__lld_out_of_order__max_larger_than_parent_min_of__lld_
jmp 0x498a0a
cmp dword [esp + 0x6c], ecx
jg 0x4989a2
jl 0x49898a
cmp dword [esp + 0x68], eax
ja 0x4989a2
push ecx
push eax
push dword [esp + 0x74]
push dword [esp + 0x74]
push str.Rowid__lld_out_of_order__min_less_than_parent_min_of__lld_
push ebx
call fcn.004981a0
add esp, 0x18
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp dword [esp + 0x64], ecx
jl 0x4989d1
jg 0x4989b9
cmp dword [esp + 0x60], eax
jbe 0x4989d1
push ecx
push eax
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push str.Rowid__lld_out_of_order__max_larger_than_parent_max_of__lld_
push ebx
call fcn.004981a0
add esp, 0x18
mov eax, dword [esp + 0x60]
mov dword [edi], eax
mov eax, dword [esp + 0x64]
mov dword [edi + 4], eax
jmp 0x498a13
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x498a13
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp dword [esp + 0x6c], ecx
jg 0x498a13
jl 0x4989fb
cmp dword [esp + 0x68], eax
ja 0x498a13
push ecx
push eax
push dword [esp + 0x74]
push dword [esp + 0x74]
push str.Rowid__lld_out_of_order__min_less_than_parent_max_of__lld_
push ebx
call fcn.004981a0
add esp, 0x18
mov eax, dword [esi + 0x38]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 6]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x20]
call fcn.00485b00
mov edi, eax
mov dword [ebx + 0x1c], 0
test edi, edi
jne 0x498a47
mov dword [ebx + 0x18], 1
jmp 0x498c13
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x14]
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 + 0x24]
dec esi
and esi, 0xffff
inc esi
sub eax, esi
push eax
push 0
lea eax, [esi + edi]
push eax
call fcn.0052ebd0
add esp, 0xc
push esi
push 1
push edi
call fcn.0052ebd0
mov eax, dword [esp + 0x24]
mov ecx, 3
mov esi, dword [esp + 0x34]
add esp, 0xc
movzx edx, byte [eax + 3]
movzx eax, byte [eax + 4]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 5]
sub ecx, eax
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x14]
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [esp + 0x14], ecx
test edx, edx
jle 0x498b5c
mov edx, dword [esp + 0x24]
add edx, 0xfffffffc
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x1c]
add eax, edx
mov dword [esp + 0x10], eax
jmp 0x498ae0
movzx esi, byte [eax]
movzx eax, byte [eax + 1]
shl esi, 8
or esi, eax
mov eax, 0x10000
cmp esi, dword [esp + 0x34]
jg 0x498b09
mov ecx, dword [esp + 0x28]
add edx, esi
call fcn.0048f930
mov ecx, dword [esp + 0x14]
movzx eax, ax
dec eax
add eax, esi
cmp eax, dword [esp + 0x24]
jl 0x498b32
push dword [esp + 0x20]
mov dword [ebx + 0x1c], 0
push ecx
push str.Corruption_detected_in_cell__d_on_page__d
push ebx
call fcn.004981a0
mov ecx, dword [esp + 0x24]
add esp, 0x10
jmp 0x498b3e
cmp eax, esi
jl 0x498b3e
inc byte [eax + edi]
dec eax
cmp eax, esi
jge 0x498b36
mov eax, dword [esp + 0x10]
inc ecx
mov edx, dword [esp + 0x1c]
add eax, 2
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
cmp ecx, dword [esp + 0x30]
jl 0x498ae0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
movzx edx, byte [eax + 1]
movzx eax, byte [eax + 2]
shl edx, 8
or edx, eax
jle 0x498bae
mov esi, dword [esp + 0x1c]
movzx ecx, byte [edx + esi + 2]
movzx eax, byte [esi + edx + 3]
shl ecx, 8
or ecx, eax
lea eax, [edx - 1]
add eax, ecx
cmp eax, edx
jl 0x498b98
jmp 0x498b90
inc byte [eax + edi]
dec eax
cmp eax, edx
jge 0x498b90
movzx ecx, byte [esi + edx]
movzx eax, byte [esi + edx + 1]
shl ecx, 8
or ecx, eax
mov edx, ecx
jg 0x498b73
mov esi, dword [esp + 0x28]
xor edx, edx
xor eax, eax
mov dword [esp + 0x10], edx
cmp dword [esp + 0x24], eax
jle 0x498bf3
lea esp, [esp]
mov cl, byte [eax + edi]
test cl, cl
jne 0x498bce
inc edx
mov dword [esp + 0x10], edx
jmp 0x498bd3
cmp cl, 1
jg 0x498bdc
inc eax
cmp eax, dword [esp + 0x24]
jl 0x498bc0
jmp 0x498bf3
push dword [esp + 0x20]
push eax
push str.Multiple_uses_for_byte__d_of_page__d
push ebx
call fcn.004981a0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 7]
cmp edx, eax
je 0x498c13
push dword [esp + 0x20]
push eax
push edx
push str.Fragmentation_of__d_bytes_reported_as__d_on_page__d
push ebx
call fcn.004981a0
add esp, 0x14
mov ecx, edi
call fcn.00485c20
mov ecx, dword [esi + 0x44]
test byte [ecx + 0x18], 0x40
mov esi, dword [ecx + 0x10]
mov dword [esp + 0x10], esi
je 0x498c6e
dec dword [esi + 0x78]
mov eax, dword [esi + 0x88]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x14]
mov eax, dword [eax + 0x98]
dec ecx
mov esi, dword [esi + 0x3c]
cdq
push edx
push eax
mov edi, dword [esi]
push 0
push ecx
call fcn.00530230
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [esp + 0x20]
add esp, 0x10
jmp 0x498c73
call fcn.00485670
cmp dword [esi + 0x78], 0
jne 0x498cce
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x498cce
mov al, byte [esi + 0x10]
cmp al, 6
je 0x498cc7
test al, al
je 0x498cc7
cmp al, 2
jb 0x498cb3
mov eax, dword [0x5cfa50]
test eax, eax
je 0x498c9f
call eax
mov ecx, esi
call fcn.0048b7c0
mov eax, dword [0x5cfa54]
test eax, eax
je 0x498cc7
call eax
jmp 0x498cc7
cmp byte [esi + 4], 0
jne 0x498cc7
push 0
xor edx, edx
mov ecx, esi
call fcn.00487e10
add esp, 4
mov ecx, esi
call fcn.00487c80
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
inc eax
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x58]
mov dword [ebx + 0x20], ecx
mov ecx, dword [esp + 0x54]
pop edi
mov dword [ebx + 0x24], ecx
mov ecx, dword [esp + 0x70]
pop esi
pop ebx
xor ecx, esp
call fcn.0052ab62
mov esp, ebp
pop ebp
ret
push eax
push str.unable_to_get_the_page._error_code_d
push ebx
call fcn.004981a0
add esp, 0xc
or eax, 0xffffffff
jmp 0x498cd2