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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov dword [ebp - 8], 0
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebx]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x20], edi
test eax, eax
je 0x10080cd3
push eax
push ebx
call fcn.100806b0
add esp, 8
test eax, eax
jne 0x10080cd3
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 8]
push esi
push ecx
push eax
push edi
mov dword [ebx + 0x1c], str.Page__d:
mov dword [ebx + 0x20], eax
call fcn.1007eb40
add esp, 0x10
test eax, eax
je 0x1008080d
push eax
push str.unable_to_get_the_page._error_code_d
push ebx
call fcn.100802a0
add esp, 0xc
mov edi, dword [ebp - 8]
test edi, edi
je 0x10080cb6
mov edx, dword [edi + 0x48]
test byte [edx + 0x1c], 0x20
je 0x10080cad
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.1010cc90
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x10080cb6
mov eax, dword [ebp - 8]
push eax
mov cl, byte [eax]
mov byte [ebp - 1], cl
mov byte [eax], 0
call fcn.1007ece0
add esp, 4
test eax, eax
je 0x10080830
push eax
push str.btreeInitPage___returns_error_code__d
jmp 0x100807aa
mov edi, dword [ebp - 8]
push edi
call fcn.1007e030
add esp, 4
test eax, eax
je 0x10080854
push eax
push str.free_space_corruption
push ebx
call fcn.100802a0
add esp, 0xc
jmp 0x100807b6
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x38]
movzx edi, byte [edx + 9]
mov dword [ebp - 0xc], eax
add eax, edi
mov dword [ebp - 0x2c], eax
mov dword [ebx + 0x1c], str.On_tree_page__d_cell__d:
mov dl, byte [edx + 8]
movzx ecx, byte [eax + 5]
movzx eax, byte [eax + 6]
shl ecx, 8
or ecx, eax
dec ecx
movzx eax, cx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 3]
movzx eax, byte [eax + 4]
shl ecx, 8
or ecx, eax
movzx eax, dl
mov dword [ebp - 0x28], ecx
mov ecx, 3
sub ecx, eax
mov eax, dword [ebp - 0x28]
lea ecx, [edi + ecx*4]
lea eax, [ecx + eax*2]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0xc]
add eax, 0xfffffffe
add eax, ecx
mov dword [ebp - 0x30], eax
test dl, dl
jne 0x100808fe
lea eax, [edi + ecx]
mov edi, dword [eax + 8]
mov eax, dword [ebp - 0x20]
bswap edi
cmp byte [eax + 0x11], dl
je 0x100808e2
push dword [ebp + 0xc]
mov dword [ebx + 0x1c], str.On_page__d_at_right_child:
push 5
push edi
push ebx
call fcn.10080620
add esp, 0x10
push dword [ebp + 0x18]
lea eax, [ebp + 0x14]
push dword [ebp + 0x14]
push eax
push edi
push ebx
call fcn.10080720
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], esi
jmp 0x10080907
mov esi, dword [ebx + 0x40]
mov dword [esi], 0
mov edi, dword [ebp - 0x28]
sub edi, 1
mov dword [ebp - 0x28], edi
mov eax, edi
mov dword [ebp - 0x38], edi
js 0x10080ae3
nop dword [eax + eax]
cmp dword [ebx + 0x10], 0
je 0x10080ae0
mov edx, dword [ebp - 0x30]
mov dword [ebx + 0x24], eax
mov ax, word [edx]
sub edx, 2
mov ch, al
mov dword [ebp - 0x30], edx
mov cl, ah
mov eax, dword [ebp - 0x10]
movzx edi, cx
add eax, 0xfffffffc
mov ecx, dword [ebp - 0x18]
inc ecx
cmp edi, ecx
jb 0x10080ab9
cmp edi, eax
ja 0x10080ab9
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x68]
add eax, edi
push ecx
push eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax + 0x50]
call eax
movzx eax, word [ebp - 0x56]
add esp, 0xc
mov edx, dword [ebp - 0x10]
add eax, edi
cmp eax, edx
jbe 0x10080993
push str.Extends_off_end_of_page
push ebx
call fcn.100802a0
add esp, 8
jmp 0x10080aca
mov eax, dword [ebp - 8]
cmp byte [eax + 2], 0
je 0x100809e8
cmp dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
je 0x100809b6
cmp eax, dword [ebp + 0x18]
jl 0x100809db
jg 0x100809c2
cmp ecx, dword [ebp + 0x14]
jbe 0x100809db
jmp 0x100809c2
cmp eax, dword [ebp + 0x18]
jl 0x100809db
jg 0x100809c2
cmp ecx, dword [ebp + 0x14]
jb 0x100809db
push eax
push ecx
push str.Rowid__lld_out_of_order
push ebx
call fcn.100802a0
mov eax, dword [ebp - 0x64]
add esp, 0x10
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x10]
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x18], eax
mov dword [ebp - 0x14], 0
movzx ecx, word [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
cmp eax, ecx
jbe 0x10080a44
sub eax, ecx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add eax, 0xfffffffb
add eax, edx
xor edx, edx
lea ecx, [ecx - 4]
div ecx
movzx ecx, word [ebp - 0x56]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [ecx + eax - 4]
mov ecx, dword [ebp - 0x20]
bswap eax
mov dword [ebp - 0x3c], eax
cmp byte [ecx + 0x11], 0
je 0x10080a35
push dword [ebp + 0xc]
push 3
push eax
push ebx
call fcn.10080620
mov eax, dword [ebp - 0x3c]
add esp, 0x10
push dword [ebp - 0x40]
push eax
push 0
push ebx
call fcn.10080450
add esp, 0x10
mov eax, dword [ebp - 8]
cmp byte [eax + 8], 0
jne 0x10080aa1
mov eax, dword [ebp - 0x34]
mov edi, dword [eax]
mov eax, dword [ebp - 0x20]
bswap edi
cmp byte [eax + 0x11], 0
je 0x10080a6c
push dword [ebp + 0xc]
push 5
push edi
push ebx
call fcn.10080620
add esp, 0x10
push dword [ebp + 0x18]
lea eax, [ebp + 0x14]
push dword [ebp + 0x14]
push eax
push edi
push ebx
call fcn.10080720
mov edi, eax
mov dword [ebp - 0x14], 0
add esp, 0x14
cmp edi, dword [ebp - 0x1c]
je 0x10080ad1
push str.Child_page_depth_differs
push ebx
call fcn.100802a0
add esp, 8
mov dword [ebp - 0x1c], edi
jmp 0x10080ad1
movzx eax, word [ebp - 0x56]
dec eax
add eax, edi
shl edi, 0x10
or eax, edi
push eax
push esi
call fcn.1007eca0
add esp, 8
jmp 0x10080ad1
push eax
push ecx
push edi
push str.Offset__d_out_of_range__d.._d
push ebx
call fcn.100802a0
add esp, 0x14
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x38]
sub eax, 1
mov dword [ebp - 0x38], eax
jns 0x10080920
mov edi, dword [ebp - 0x28]
cmp dword [ebp - 0x24], 0
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 4], eax
mov dword [ebx + 0x1c], 0
je 0x10080ca0
cmp dword [ebx + 0x10], 0
jle 0x100807b3
mov edx, dword [ebp - 8]
cmp byte [edx + 8], 0
jne 0x10080b67
mov esi, dword [ebx + 0x40]
mov dword [esi], 0
test edi, edi
js 0x10080b67
mov eax, dword [ebp - 0x44]
lea ebx, [eax + edi*2]
add ebx, dword [ebp - 0xc]
nop dword [eax + eax]
mov ax, word [ebx]
mov ch, al
mov cl, ah
mov eax, dword [ebp - 0xc]
movzx edi, cx
add eax, edi
push eax
mov eax, dword [edx + 0x4c]
push edx
call eax
movzx eax, ax
dec eax
add eax, edi
shl edi, 0x10
or eax, edi
push eax
push esi
call fcn.1007eca0
mov edx, dword [ebp - 8]
lea ebx, [ebx - 2]
add esp, 0x10
sub dword [ebp - 0x28], 1
jns 0x10080b30
mov eax, dword [ebp - 0x2c]
movzx ebx, byte [eax + 1]
movzx eax, byte [eax + 2]
shl ebx, 8
or ebx, eax
jbe 0x10080bd1
mov edx, dword [ebp - 0xc]
nop dword [eax]
movzx ecx, byte [edx + ebx + 2]
movzx eax, byte [edx + ebx + 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 0x10080bbf
mov ecx, dword [esi + eax*4]
mov edx, dword [esi + edi*4]
cmp ecx, edx
jbe 0x10080bbc
mov dword [esi + eax*4], edx
mov dword [esi + edi*4], ecx
mov edi, eax
shr eax, 1
jne 0x10080ba6
mov edx, dword [ebp - 0xc]
movzx ecx, byte [ebx + edx]
movzx eax, byte [edx + ebx + 1]
shl ecx, 8
mov ebx, ecx
or ebx, eax
ja 0x10080b80
xor edx, edx
mov ecx, dword [esi]
mov dword [ebp - 0x28], edx
test ecx, ecx
je 0x10080c5f
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 0x10080c29
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 0x10080c26
mov dword [esi + edi*4], ecx
mov edi, edx
mov dword [esi + edx*4], eax
lea ecx, [edi + edi]
cmp ecx, dword [esi]
jbe 0x10080c00
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov eax, ebx
shr eax, 0x10
movzx ecx, cx
cmp ecx, eax
jae 0x10080c42
sub eax, ecx
mov dword [ebp - 0x18], ebx
dec edx
add edx, eax
jmp 0x10080bd3
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push edi
push eax
push str.Multiple_uses_for_byte__u_of_page__d
push ebx
call fcn.100802a0
mov ecx, dword [esi]
add esp, 0x10
mov edx, dword [ebp - 0x28]
jmp 0x10080c65
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
movzx eax, ax
sub esi, eax
dec esi
add edx, esi
test ecx, ecx
jne 0x100807b3
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 7]
cmp edx, eax
je 0x100807b3
push edi
push eax
push edx
push str.Fragmentation_of__d_bytes_reported_as__d_on_page__d
push ebx
call fcn.100802a0
add esp, 0x14
jmp 0x100807b3
mov edi, dword [ebp - 8]
mov al, byte [ebp - 1]
mov byte [edi], al
jmp 0x100807b6
push edx
call fcn.100d4f60
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x50]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret