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

Disassembly:
sub esp, 0x70
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x10], edx
push esi
xor esi, esi
mov dword [esp + 0x54], ebp
push edi
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x4c]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x64], eax
lea eax, [ebp + 0x18]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], 1
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], eax
cmp dword [ecx + 0x128], esi
je 0x676f10
inc dword [ebp + 0x14]
mov dword [eax], 9
mov dword [ebp + 0x10], esi
jmp 0x676f14
mov dword [esp + 0x2c], eax
cmp dword [ecx + 0x174], esi
je 0x676f5d
inc dword [ebp + 0x1c]
xor edx, edx
mov eax, dword [ebp + 0x1c]
div dword [ecx + 0x17c]
test edx, edx
jne 0x676f59
push dword [ecx + 0x178]
mov eax, dword [ecx + 0x174]
call eax
mov edx, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x676f5d
mov eax, dword [esp + 0x2c]
inc dword [ebp + 0x14]
mov dword [ebp + 0x10], esi
mov dword [eax], 9
jmp 0x676f5d
mov edx, dword [esp + 0x18]
cmp dword [ebp + 0x10], esi
je 0x676ffa
mov ebx, dword [ebp]
mov dword [esp + 0x24], ebx
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x20], eax
test edx, edx
je 0x67760d
cmp edx, dword [ebp + 0xc]
ja 0x6775fe
mov ecx, dword [esp + 0x18]
mov edi, edx
shr edi, 3
and ecx, 7
add edi, dword [ebp + 8]
mov eax, 1
shl eax, cl
movzx edx, byte [edi]
test edx, eax
je 0x676fbe
push dword [esp + 0x18]
push str.2nd_reference_to_page__u
push ebp
call fcn.00676ac0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
bts edx, ecx
mov ecx, dword [esp + 0x18]
mov byte [edi], dl
lea edx, [esp + 0x48]
push 0
mov dword [ebp + 0x20], str.Tree__u_page__u:
mov dword [ebp + 0x28], ecx
mov eax, dword [ebx]
push edx
push ecx
push eax
mov eax, dword [eax + 0xdc]
call eax
add esp, 0x10
test eax, eax
je 0x67701c
push eax
push str.unable_to_get_the_page._error_code_d
push ebp
call fcn.00676ac0
add esp, 0xc
mov eax, dword [esp + 0x5c]
mov dword [ebp + 0x20], eax
mov eax, dword [esp + 0x60]
mov dword [ebp + 0x28], eax
mov eax, dword [esp + 0x64]
mov dword [ebp + 0x2c], eax
mov eax, dword [esp + 0x30]
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + 8]
mov dword [esp + 0x14], edx
lea edi, [edx + 0x38]
lea ebx, [edx + 9]
cmp eax, dword [edx + 4]
je 0x677058
mov eax, dword [ecx + 4]
mov dword [edi], eax
mov eax, dword [esp + 0x24]
mov dword [edx + 0x34], eax
mov eax, dword [esp + 0x18]
cmp eax, 1
mov dword [edx + 4], eax
setne al
mov dword [edx + 0x48], ecx
dec al
and al, 0x64
mov byte [ebx], al
mov al, byte [edx]
mov ecx, edx
mov byte [esp + 0x13], al
mov byte [edx], 0
call fcn.0066c400
test eax, eax
je 0x67709e
push eax
push str.btreeInitPage___returns_error_code__d
push ebp
call fcn.00676ac0
add esp, 0xc
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x676ffa
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x6775f4
call fcn.00664480
jmp 0x676ffa
mov ecx, dword [esp + 0x14]
call fcn.0066c1d0
test eax, eax
je 0x6770b3
push eax
push str.free_space_corruption
jmp 0x677072
mov edx, dword [edi]
movzx edi, byte [ebx]
mov dword [ebp + 0x20], str.Tree__u_page__u_cell__u:
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], edx
movzx ecx, byte [edi + edx + 5]
movzx eax, byte [edi + edx + 6]
movzx ebx, byte [edi + edx + 3]
shl ecx, 8
or ecx, eax
shl ebx, 8
dec ecx
movzx eax, cx
mov ecx, 3
inc eax
mov dword [esp + 0x44], eax
movzx eax, byte [edi + edx + 4]
mov edi, dword [esp + 0x14]
or ebx, eax
mov dword [esp + 0x50], ebx
mov dl, byte [edi + 8]
movzx eax, dl
sub ecx, eax
mov eax, dword [esp + 0x2c]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
lea eax, [eax + ebx*2]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x38], eax
test dl, dl
jne 0x67717e
mov eax, dword [esp + 0x2c]
mov edi, dword [eax + ecx + 8]
mov eax, dword [esp + 0x24]
bswap edi
cmp byte [eax + 0x11], dl
je 0x67714e
push dword [esp + 0x18]
mov edx, edi
mov dword [ebp + 0x20], str.Tree__u_page__u_right_child:
push 5
mov ecx, ebp
call fcn.00676bc0
add esp, 8
push dword [esp + 0x8c]
lea eax, [esp + 0x8c]
mov edx, edi
push dword [esp + 0x8c]
mov ecx, ebp
push eax
call fcn.00676eb0
mov edi, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], esi
jmp 0x677187
mov esi, dword [ebp + 0x48]
mov dword [esi], 0
lea eax, [ebx - 1]
mov dword [esp + 0x40], eax
test eax, eax
js 0x6773de
jmp 0x6771a4
mov edi, dword [esp + 0x14]
cmp dword [ebp + 0x10], 0
je 0x6773da
mov edx, dword [esp + 0x38]
mov dword [ebp + 0x2c], eax
mov ax, word [edx]
sub edx, 2
mov ch, al
mov dword [esp + 0x38], edx
mov cl, ah
movzx ebx, cx
mov ecx, dword [esp + 0x44]
cmp ebx, ecx
jb 0x6773a9
mov eax, dword [esp + 0x20]
add eax, 0xfffffffc
cmp ebx, eax
ja 0x6773a9
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x68]
add eax, ebx
push ecx
push eax
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x50]
push edi
call eax
mov di, word [esp + 0x86]
add esp, 0xc
mov edx, dword [esp + 0x20]
movzx eax, di
add eax, ebx
cmp eax, edx
jbe 0x677222
push str.Extends_off_end_of_page
push ebp
call fcn.00676ac0
add esp, 8
jmp 0x6773c1
mov eax, dword [esp + 0x14]
cmp byte [eax + 1], 0
je 0x6772a9
cmp dword [esp + 0x28], 0
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
je 0x67725e
cmp eax, dword [esp + 0x8c]
jl 0x677256
jg 0x67724f
cmp ecx, dword [esp + 0x88]
jbe 0x677256
mov edx, 1
jmp 0x677258
xor edx, edx
test edx, edx
je 0x67728f
jmp 0x677272
cmp eax, dword [esp + 0x8c]
jl 0x677293
jg 0x677272
cmp ecx, dword [esp + 0x88]
jb 0x677293
push eax
push ecx
push str.Rowid__lld_out_of_order
push ebp
call fcn.00676ac0
mov eax, dword [esp + 0x7c]
add esp, 0x10
mov ecx, dword [esp + 0x68]
mov di, word [esp + 0x7a]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x28], 0
movzx ecx, word [esp + 0x78]
mov eax, dword [esp + 0x74]
cmp eax, ecx
jbe 0x677303
sub eax, ecx
lea ecx, [edx - 4]
add eax, 0xfffffffb
add eax, edx
xor edx, edx
div ecx
movzx ecx, di
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov edi, dword [ecx + edi - 4]
mov ecx, dword [esp + 0x24]
bswap edi
cmp byte [ecx + 0x11], 0
je 0x6772f5
push dword [esp + 0x18]
mov edx, edi
mov ecx, ebp
push 3
call fcn.00676bc0
mov eax, dword [esp + 0x54]
add esp, 8
push eax
push edi
xor edx, edx
mov ecx, ebp
call fcn.00676c60
add esp, 8
mov eax, dword [esp + 0x14]
cmp byte [eax + 8], 0
jne 0x677377
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
mov eax, dword [esp + 0x24]
bswap edi
cmp byte [eax + 0x11], 0
je 0x677331
push dword [esp + 0x18]
mov edx, edi
mov ecx, ebp
push 5
call fcn.00676bc0
add esp, 8
push dword [esp + 0x8c]
lea eax, [esp + 0x8c]
mov edx, edi
push dword [esp + 0x8c]
mov ecx, ebp
push eax
call fcn.00676eb0
mov edi, eax
mov dword [esp + 0x34], 0
add esp, 0xc
cmp edi, dword [esp + 0x30]
je 0x6773c9
push str.Child_page_depth_differs
push ebp
call fcn.00676ac0
add esp, 8
mov dword [esp + 0x30], edi
jmp 0x6773c9
movzx eax, word [esp + 0x7a]
inc dword [esi]
dec eax
mov edi, dword [esi]
add eax, ebx
shl ebx, 0x10
or eax, ebx
mov dword [esi + edi*4], eax
mov eax, edi
shr eax, 1
je 0x6773c9
mov ecx, dword [esi + eax*4]
mov edx, dword [esi + edi*4]
cmp ecx, edx
jbe 0x6773c9
mov dword [esi + eax*4], edx
mov dword [esi + edi*4], ecx
mov edi, eax
shr eax, 1
jne 0x677391
jmp 0x6773c9
mov eax, dword [esp + 0x20]
add eax, 0xfffffffc
push eax
push ecx
push ebx
push str.Offset__u_out_of_range__u.._u
push ebp
call fcn.00676ac0
add esp, 0x14
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x40]
sub eax, 1
mov dword [esp + 0x40], eax
jns 0x6771a0
mov ebx, dword [esp + 0x50]
cmp dword [esp + 0x34], 0
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [ebp + 0x20], 0
je 0x6775e5
cmp dword [ebp + 0x10], 0
jle 0x67707b
mov edx, dword [esp + 0x14]
cmp byte [edx + 8], 0
jne 0x677496
add ebx, 0xffffffff
mov esi, dword [ebp + 0x48]
mov dword [esi], 0
js 0x677496
mov eax, dword [esp + 0x54]
lea ebp, [eax + ebx*2]
add ebp, dword [esp + 0x1c]
mov ax, word [ebp]
mov ch, al
mov cl, ah
mov eax, dword [esp + 0x1c]
movzx edi, cx
add eax, edi
push eax
mov eax, dword [edx + 0x4c]
push edx
call eax
inc dword [esi]
add esp, 8
movzx eax, ax
dec eax
add eax, edi
shl edi, 0x10
or eax, edi
mov edi, dword [esi]
mov dword [esi + edi*4], eax
mov eax, edi
shr eax, 1
je 0x677486
lea ebx, [ebx]
mov ecx, dword [esi + eax*4]
mov edx, dword [esi + edi*4]
cmp ecx, edx
jbe 0x677486
mov dword [esi + eax*4], edx
mov dword [esi + edi*4], ecx
mov edi, eax
shr eax, 1
jne 0x677470
mov edx, dword [esp + 0x14]
sub ebp, 2
sub ebx, 1
jns 0x677437
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
movzx ebx, byte [eax + edx + 1]
movzx eax, byte [eax + edx + 2]
shl ebx, 8
or ebx, eax
jbe 0x677502
nop
movzx ecx, byte [ebx + edx + 2]
movzx eax, byte [ebx + edx + 3]
inc dword [esi]
mov edi, dword [esi]
shl ecx, 8
or ecx, eax
mov eax, ebx
dec ecx
shl eax, 0x10
add ecx, ebx
or ecx, eax
mov eax, edi
shr eax, 1
mov dword [esi + edi*4], ecx
je 0x6774f0
mov ecx, dword [esi + eax*4]
mov edx, dword [esi + edi*4]
cmp ecx, edx
jbe 0x6774ec
mov dword [esi + eax*4], edx
mov dword [esi + edi*4], ecx
mov edi, eax
shr eax, 1
jne 0x6774d6
mov edx, dword [esp + 0x1c]
movzx ecx, byte [ebx + edx]
movzx eax, byte [ebx + edx + 1]
shl ecx, 8
mov ebx, ecx
or ebx, eax
ja 0x6774b0
mov eax, dword [esp + 0x44]
xor edx, edx
dec eax
mov ecx, dword [esi]
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], edx
test ecx, ecx
je 0x6775a1
mov eax, dword [esi + ecx*4]
mov edi, 1
mov ebx, dword [esi + 4]
mov dword [esi + 4], eax
mov dword [esi + ecx*4], 0xffffffff
mov ecx, 2
dec dword [esi]
cmp dword [esi], ecx
jb 0x67756a
jmp 0x677540
mov eax, dword [esi + ecx*4 + 4]
lea edx, [ecx + 1]
cmp dword [esi + ecx*4], eax
mov eax, dword [esi + edi*4]
cmovbe edx, ecx
mov ecx, dword [esi + edx*4]
cmp eax, ecx
jb 0x677566
mov dword [esi + edi*4], ecx
mov edi, edx
mov dword [esi + edx*4], eax
lea ecx, [edi + edi]
cmp ecx, dword [esi]
jbe 0x677540
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov eax, ebx
shr eax, 0x10
movzx ecx, cx
cmp ecx, eax
jae 0x677583
sub eax, ecx
dec eax
add edx, eax
mov eax, ebx
jmp 0x677509
mov ebx, dword [esp + 0x18]
push ebx
push eax
push str.Multiple_uses_for_byte__u_of_page__u
push ebp
call fcn.00676ac0
mov eax, dword [esp + 0x44]
add esp, 0x10
mov edx, dword [esp + 0x28]
jmp 0x6775a5
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
movzx eax, ax
sub ecx, eax
dec ecx
add ecx, edx
cmp dword [esi], 0
jne 0x67707b
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
movzx eax, byte [edx + eax + 7]
cmp ecx, eax
je 0x67707b
push ebx
push eax
push ecx
push str.Fragmentation_of__u_bytes_reported_as__u_on_page__u
push ebp
call fcn.00676ac0
add esp, 0x14
jmp 0x67707b
mov ecx, dword [esp + 0x14]
mov al, byte [esp + 0x13]
mov byte [ecx], al
jmp 0x67707f
call fcn.00660770
jmp 0x676ffa
push edx
push str.invalid_page_number__u
push ebp
call fcn.00676ac0
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x70
ret