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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x2c]
mov eax, 1
push esi
push edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x20]
xor edi, edi
mov esi, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x24], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
call fcn.1002b8c0
cmp dword [ebx + 0x10], edi
je 0x1002c30a
mov eax, dword [ebx]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 0x28]
mov dword [esp + 0x28], eax
cmp esi, edi
jne 0x1002bd80
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
mov edi, esi
call fcn.1002b9e0
add esp, 4
test eax, eax
jne 0x1002bd77
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
xor ecx, ecx
mov dword [ebx + 0x20], str.Tree__u_page__u:
mov dword [ebx + 0x28], esi
call fcn.10022590
add esp, 4
test eax, eax
je 0x1002bdc4
push eax
push str.unable_to_get_the_page._error_code_d
push ebx
call fcn.1002b930
add esp, 0xc
jmp 0x1002c2fa
mov esi, dword [esp + 0x14]
mov dl, byte [esi]
mov edi, esi
mov byte [esp + 0x13], dl
mov byte [esi], 0
call fcn.100223b0
test eax, eax
je 0x1002bdf0
push eax
push str.btreeInitPage___returns_error_code__d
push ebx
call fcn.1002b930
add esp, 0xc
jmp 0x1002c2fe
push esi
call fcn.10022180
add esp, 4
test eax, eax
je 0x1002be11
push eax
push str.free_space_corruption
push ebx
call fcn.1002b930
add esp, 0xc
jmp 0x1002c2fe
movzx ecx, byte [esi + 9]
mov edi, dword [esi + 0x38]
mov dword [ebx + 0x20], str.Tree__u_page__u_cell__u:
movzx eax, byte [ecx + edi + 5]
movzx edx, byte [ecx + edi + 6]
movzx esi, byte [ecx + edi + 3]
mov dword [esp + 0x34], ecx
movzx ecx, byte [ecx + edi + 4]
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x14]
shl esi, 8
or esi, ecx
movzx ecx, byte [edx + 8]
mov edx, 3
sub edx, ecx
mov ecx, edx
mov edx, dword [esp + 0x34]
lea ecx, [edx + ecx*4]
mov dword [esp + 0x58], ecx
lea ecx, [ecx + esi*2]
dec eax
lea ecx, [ecx + edi - 2]
and eax, 0xffff
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x14]
inc eax
cmp byte [ecx + 8], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
jne 0x1002bee9
mov eax, dword [edx + edi + 8]
mov edx, dword [esp + 0x2c]
cmp byte [edx + 0x11], 0
bswap eax
mov dword [esp + 0x30], eax
je 0x1002bec1
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebx + 0x20], str.Tree__u_page__u_right_child:
push ecx
mov bl, 5
mov edi, eax
call fcn.1002ba60
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov ebx, esi
mov esi, dword [esp + 0x20]
add esp, 4
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push edx
push ecx
lea edx, [ebp + 0x14]
push edx
push eax
push ebx
call fcn.1002bd10
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
add esp, 0x14
mov dword [esp + 0x30], 0
jmp 0x1002bef6
mov ecx, dword [ebx + 0x48]
mov dword [esp + 0x24], ecx
mov dword [ecx], 0
lea ecx, [esi - 1]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x1c], ecx
test ecx, ecx
js 0x1002c117
jmp 0x1002bf14
mov ecx, dword [esp + 0x1c]
cmp dword [ebx + 0x10], 0
je 0x1002c117
mov dword [ebx + 0x2c], ecx
mov ecx, dword [esp + 0x3c]
mov dx, word [ecx]
sub dword [esp + 0x3c], 2
mov ch, dl
mov cl, dh
movzx esi, cx
mov dword [esp + 0x4c], esi
cmp esi, eax
jb 0x1002c0e9
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffffc
mov dword [esp + 0x48], ecx
cmp esi, ecx
ja 0x1002c0e9
lea edx, [esp + 0x68]
lea eax, [esi + edi]
push edx
push eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax + 0x50]
call eax
movzx ecx, word [esp + 0x86]
add ecx, esi
add esp, 0xc
cmp ecx, dword [esp + 0x28]
jbe 0x1002bf90
push str.Extends_off_end_of_page
push ebx
call fcn.1002b930
add esp, 8
jmp 0x1002c101
mov edx, dword [esp + 0x14]
cmp byte [edx + 1], 0
je 0x1002bfe9
cmp dword [esp + 0x30], 0
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
je 0x1002bfb7
cmp eax, dword [ebp + 0x18]
jg 0x1002bfc3
jl 0x1002bfdb
cmp ecx, dword [ebp + 0x14]
ja 0x1002bfc3
jmp 0x1002bfdb
cmp eax, dword [ebp + 0x18]
jl 0x1002bfdb
jg 0x1002bfc3
cmp ecx, dword [ebp + 0x14]
jb 0x1002bfdb
push eax
push ecx
push str.Rowid__lld_out_of_order
push ebx
call fcn.1002b930
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
add esp, 0x10
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x18], eax
mov dword [esp + 0x30], 0
movzx ecx, word [esp + 0x78]
mov eax, dword [esp + 0x74]
cmp eax, ecx
jbe 0x1002c059
sub eax, ecx
mov ecx, dword [esp + 0x28]
lea eax, [eax + ecx - 5]
xor edx, edx
div dword [esp + 0x48]
movzx edx, word [esp + 0x7a]
mov ecx, dword [esp + 0x2c]
cmp byte [ecx + 0x11], 0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
mov eax, dword [edx + eax - 4]
bswap eax
mov dword [esp + 0x48], eax
je 0x1002c048
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push edx
mov bl, 3
mov edi, eax
call fcn.1002ba60
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
mov ebx, esi
mov esi, dword [esp + 0x50]
add esp, 4
mov ecx, dword [esp + 0x50]
push ecx
push 0
mov ecx, ebx
call fcn.1002baf0
add esp, 8
mov edx, dword [esp + 0x14]
cmp byte [edx + 8], 0
jne 0x1002c0d0
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov ecx, dword [esp + 0x2c]
cmp byte [ecx + 0x11], 0
bswap eax
mov dword [esp + 0x30], eax
je 0x1002c096
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push edx
mov bl, 5
mov edi, eax
call fcn.1002ba60
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
add esp, 4
mov ebx, esi
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push ecx
push edx
lea ecx, [ebp + 0x14]
push ecx
push eax
push ebx
call fcn.1002bd10
mov esi, eax
add esp, 0x14
mov dword [esp + 0x30], 0
cmp esi, dword [esp + 0x38]
je 0x1002c109
push str.Child_page_depth_differs
push ebx
call fcn.1002b930
add esp, 8
mov dword [esp + 0x38], esi
jmp 0x1002c109
movzx edx, word [esp + 0x7a]
mov eax, dword [esp + 0x24]
lea ecx, [edx + esi - 1]
shl esi, 0x10
or ecx, esi
call fcn.1002bc80
jmp 0x1002c109
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffffc
push ecx
push eax
push esi
push str.Offset__u_out_of_range__u.._u
push ebx
call fcn.1002b930
add esp, 0x14
mov dword [esp + 0x40], 0
dec dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
jns 0x1002bf10
cmp dword [esp + 0x40], 0
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov edx, dword [ebp + 0x18]
mov dword [ecx + 4], edx
mov dword [ebx + 0x20], 0
je 0x1002c2f0
cmp dword [ebx + 0x10], 0
jle 0x1002c2fa
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 8], 0
jne 0x1002c1b9
mov eax, dword [ebx + 0x48]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov dword [eax], 0
test edi, edi
js 0x1002c1b1
mov edx, dword [esp + 0x58]
lea eax, [edx + edi*2]
add eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
jmp 0x1002c175
mov eax, dword [esp + 0x40]
mov ax, word [eax]
mov edx, dword [esp + 0x18]
mov ch, al
mov cl, ah
movzx esi, cx
lea eax, [esi + edx]
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x4c]
push eax
call ecx
movzx eax, ax
lea ecx, [eax + esi - 1]
mov eax, dword [esp + 0x2c]
shl esi, 0x10
add esp, 8
or ecx, esi
call fcn.1002bc80
sub dword [esp + 0x40], 2
dec edi
jns 0x1002c171
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
movzx edx, byte [edx + edi + 1]
mov ecx, dword [esp + 0x34]
movzx ecx, byte [ecx + edi + 2]
shl edx, 8
or edx, ecx
mov dword [esp + 0x1c], edx
jle 0x1002c23b
movzx eax, byte [edi + edx + 2]
movzx ecx, byte [edi + edx + 3]
mov esi, dword [esp + 0x24]
inc dword [esi]
shl eax, 8
or eax, ecx
lea eax, [eax + edx - 1]
mov ecx, edx
shl ecx, 0x10
or eax, ecx
mov ecx, dword [esi]
mov dword [esi + ecx*4], eax
mov eax, ecx
shr eax, 1
je 0x1002c21f
mov edx, dword [esi + eax*4]
mov edi, dword [esi + ecx*4]
cmp edx, edi
jbe 0x1002c217
mov dword [esi + eax*4], edi
mov dword [esi + ecx*4], edx
mov ecx, eax
shr eax, 1
jne 0x1002c201
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
movzx eax, byte [edx + edi]
movzx ecx, byte [edi + edx + 1]
shl eax, 8
or eax, ecx
mov edx, eax
mov dword [esp + 0x1c], eax
jg 0x1002c1d6
mov eax, dword [esp + 0x20]
jmp 0x1002c23f
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x44]
lea edi, [eax - 1]
push edx
mov eax, esi
mov dword [esp + 0x44], 0
call fcn.1002bcb0
add esp, 4
test eax, eax
je 0x1002c2b0
lea ecx, [ecx]
mov edx, dword [esp + 0x44]
mov eax, edx
mov ecx, edi
shr eax, 0x10
and ecx, 0xffff
cmp ecx, eax
jae 0x1002c29a
sub eax, ecx
mov ecx, dword [esp + 0x40]
lea eax, [ecx + eax - 1]
lea ecx, [esp + 0x44]
mov dword [esp + 0x40], eax
push ecx
mov eax, esi
mov edi, edx
call fcn.1002bcb0
add esp, 4
test eax, eax
jne 0x1002c260
jmp 0x1002c2b0
mov eax, dword [ebp + 0xc]
push eax
shr edx, 0x10
push edx
push str.Multiple_uses_for_byte__u_of_page__u
push ebx
call fcn.1002b930
add esp, 0x10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
and edi, 0xffff
sub eax, edi
cmp dword [esi], 0
lea eax, [ecx + eax - 1]
jne 0x1002c2fa
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
movzx ecx, byte [edx + ecx + 7]
cmp eax, ecx
je 0x1002c2fa
mov edx, dword [ebp + 0xc]
push edx
push ecx
push eax
push str.Fragmentation_of__u_bytes_reported_as__u_on_page__u
push ebx
call fcn.1002b930
add esp, 0x14
jmp 0x1002c2fa
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x14]
mov byte [ecx], al
mov esi, dword [esp + 0x14]
test esi, esi
je 0x1002c30a
mov eax, dword [esi + 0x48]
call fcn.1001c220
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x38]
pop edi
pop esi
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x2c], ecx
inc eax
pop ebx
mov esp, ebp
pop ebp
ret