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

Disassembly:
sub esp, 0x80
push ebx
mov ebx, ecx
mov dword [esp + 0x30], 0xffffffff
push ebp
push esi
push edi
mov eax, dword [ebx + 0x1c]
mov ebp, edx
mov edi, dword [ebx]
xor esi, esi
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], eax
test ebp, ebp
je 0x48b6e0
call fcn.0048abc0
test eax, eax
jne 0x48b6e0
push esi
mov dword [ebx + 0x1c], str.Page__u:
lea ecx, [esp + 0x5c]
mov dword [ebx + 0x20], ebp
mov eax, dword [edi]
push ecx
push ebp
push eax
mov eax, dword [eax + 0xdc]
call eax
add esp, 0x10
test eax, eax
je 0x48afae
push eax
push str.unable_to_get_the_page._error_code_d
push ebx
call fcn.0048ab40
add esp, 0xc
jmp 0x48b6bb
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + 8]
mov dword [esp + 0x14], edx
lea edi, [edx + 0x38]
lea ebp, [edx + 9]
cmp eax, dword [edx + 4]
je 0x48afeb
mov eax, dword [ecx + 4]
mov dword [edi], eax
mov eax, dword [esp + 0x2c]
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 [ebp], al
mov al, byte [edx]
mov ecx, edx
mov byte [esp + 0x23], al
mov byte [edx], 0
call fcn.004809c0
test eax, eax
je 0x48b031
push eax
push str.btreeInitPage___returns_error_code__d
push ebx
call fcn.0048ab40
add esp, 0xc
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x48b6bb
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x48b6b6
call fcn.00478c10
jmp 0x48b6bb
mov ecx, dword [esp + 0x14]
call fcn.00480790
test eax, eax
je 0x48b046
push eax
push str.free_space_corruption
jmp 0x48b005
mov eax, dword [edi]
movzx edi, byte [ebp]
lea edx, [edi + eax]
mov dword [esp + 0x28], eax
mov dword [ebx + 0x1c], str.On_tree_page__u_cell__d:
movzx ecx, byte [edx + 5]
movzx eax, byte [edx + 6]
movzx ebp, byte [edx + 3]
shl ecx, 8
or ecx, eax
shl ebp, 8
dec ecx
mov dword [esp + 0x44], edx
movzx eax, cx
mov ecx, 3
mov dword [esp + 0x34], eax
movzx eax, byte [edx + 4]
or ebp, eax
mov eax, dword [esp + 0x14]
mov dl, byte [eax + 8]
movzx eax, dl
sub ecx, eax
lea eax, [edi + ecx*4]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x68], eax
lea eax, [eax + ebp*2]
lea edi, [ecx - 2]
add edi, eax
mov dword [esp + 0x1c], edi
test dl, dl
jne 0x48b164
mov eax, dword [esp + 0x44]
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x2c]
bswap edi
cmp byte [eax + 0x11], dl
je 0x48b134
mov ecx, dword [ebx]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x17]
mov dword [ebx + 0x1c], str.On_page__u_at_right_child:
push eax
mov edx, edi
call fcn.0047f660
add esp, 8
test eax, eax
je 0x48b107
cmp eax, 7
je 0x48b0ef
cmp eax, 0xc0a
jne 0x48b0f6
mov dword [ebx + 0x18], 1
push edi
push str.Failed_to_read_ptrmap_key_d
push ebx
call fcn.0048ab40
add esp, 0xc
jmp 0x48b134
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x40]
cmp cl, 5
jne 0x48b11a
cmp eax, dword [esp + 0x18]
je 0x48b134
push eax
movzx eax, cl
push eax
push dword [esp + 0x20]
push 5
push edi
push str.Bad_ptr_map_entry_key_d_expected__d__d__got__d__d_
push ebx
call fcn.0048ab40
add esp, 0x1c
push dword [esp + 0x9c]
lea eax, [esp + 0x9c]
mov edx, edi
push dword [esp + 0x9c]
mov ecx, ebx
push eax
call fcn.0048af10
mov edi, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], esi
jmp 0x48b16d
mov esi, dword [ebx + 0x40]
mov dword [esi], 0
add ebp, 0xffffffff
mov eax, ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x4c], eax
js 0x48b22e
mov edx, dword [esp + 0x38]
add edx, 0xfffffffc
mov dword [esp + 0x50], edx
nop dword [eax + eax]
cmp dword [ebx + 0x10], 0
je 0x48b22a
mov dword [ebx + 0x24], eax
mov ax, word [edi]
sub edi, 2
mov ch, al
mov dword [esp + 0x1c], edi
mov cl, ah
movzx ebp, cx
mov ecx, dword [esp + 0x34]
lea eax, [ecx + 1]
cmp ebp, eax
jb 0x48b630
cmp ebp, edx
ja 0x48b630
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x78]
add eax, ebp
push ecx
push eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax + 0x50]
call eax
mov di, word [esp + 0x96]
add esp, 0xc
mov edx, dword [esp + 0x38]
movzx eax, di
add eax, ebp
cmp eax, edx
jbe 0x48b3cc
push str.Extends_off_end_of_page
push ebx
call fcn.0048ab40
add esp, 8
mov dword [esp + 0x24], 0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
sub eax, 1
mov dword [esp + 0x4c], eax
jns 0x48b190
mov ebp, dword [esp + 0x40]
cmp dword [esp + 0x24], 0
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [ebx + 0x1c], 0
je 0x48b6a7
cmp dword [ebx + 0x10], 0
jle 0x48b00e
mov edx, dword [esp + 0x14]
cmp byte [edx + 8], 0
jne 0x48b2e9
mov esi, dword [ebx + 0x40]
mov dword [esi], 0
test ebp, ebp
js 0x48b2e9
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x68]
lea ebp, [eax + ebx*2]
add ebp, dword [esp + 0x28]
nop word [eax + eax]
mov ax, word [ebp]
mov ch, al
mov cl, ah
mov eax, dword [esp + 0x28]
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 0x48b2d9
mov ecx, dword [esi + eax*4]
mov edx, dword [esi + edi*4]
cmp ecx, edx
jbe 0x48b2d9
mov dword [esi + eax*4], edx
mov dword [esi + edi*4], ecx
mov edi, eax
shr eax, 1
jne 0x48b2c3
mov edx, dword [esp + 0x14]
sub ebp, 2
sub ebx, 1
jns 0x48b290
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
movzx edx, byte [eax + 1]
movzx eax, byte [eax + 2]
shl edx, 8
or edx, eax
jbe 0x48b351
mov ebx, dword [esp + 0x28]
movzx ecx, byte [edx + ebx + 2]
lea ebp, [edx + ebx]
movzx eax, byte [ebp + 3]
inc dword [esi]
mov edi, dword [esi]
shl ecx, 8
or ecx, eax
lea eax, [edx - 1]
add eax, ecx
shl edx, 0x10
or eax, edx
mov dword [esi + edi*4], eax
mov eax, edi
shr eax, 1
je 0x48b33e
mov ecx, dword [esi + eax*4]
mov edx, dword [esi + edi*4]
cmp ecx, edx
jbe 0x48b33e
mov dword [esi + eax*4], edx
mov dword [esi + edi*4], ecx
mov edi, eax
shr eax, 1
jne 0x48b328
movzx eax, byte [ebp]
movzx edx, byte [ebp + 1]
shl eax, 8
or edx, eax
ja 0x48b300
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x34]
xor edx, edx
mov ecx, dword [esi]
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x48b668
mov eax, dword [esi + ecx*4]
mov edi, 1
mov ebp, 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 0x48b3ab
mov eax, dword [esi + ecx*4]
cmp eax, dword [esi + ecx*4 + 4]
jbe 0x48b38f
inc ecx
mov eax, dword [esi + edi*4]
mov edx, dword [esi + ecx*4]
cmp eax, edx
jb 0x48b3a7
mov dword [esi + edi*4], edx
mov edi, ecx
mov dword [esi + ecx*4], eax
add ecx, ecx
cmp ecx, dword [esi]
jbe 0x48b385
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov eax, ebp
shr eax, 0x10
movzx edi, cx
cmp edi, eax
jae 0x48b64e
sub eax, edi
dec eax
add edx, eax
mov eax, ebp
mov dword [esp + 0x34], eax
jmp 0x48b357
mov eax, dword [esp + 0x14]
cmp byte [eax + 1], 0
je 0x48b45d
cmp dword [esp + 0x30], 0
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
je 0x48b40c
cmp eax, dword [esp + 0x9c]
jl 0x48b404
jg 0x48b3fd
cmp edx, dword [esp + 0x98]
jbe 0x48b404
mov ecx, 1
jmp 0x48b406
xor ecx, ecx
test ecx, ecx
je 0x48b443
jmp 0x48b420
cmp eax, dword [esp + 0x9c]
jl 0x48b443
jg 0x48b420
cmp edx, dword [esp + 0x98]
jb 0x48b443
push eax
push edx
push str.Rowid__lld_out_of_order
push ebx
call fcn.0048ab40
mov eax, dword [esp + 0x8c]
add esp, 0x10
mov edx, dword [esp + 0x78]
mov di, word [esp + 0x8a]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x30], 0
movzx ecx, word [esp + 0x88]
mov eax, dword [esp + 0x84]
cmp eax, ecx
jbe 0x48b518
sub eax, ecx
movzx ecx, di
add eax, 0xfffffffb
mov edi, dword [esp + 0x48]
add eax, edx
xor edx, edx
div dword [esp + 0x50]
mov edi, dword [ecx + edi - 4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x2c]
bswap edi
cmp byte [eax + 0x11], 0
je 0x48b507
mov ecx, dword [ebx]
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x17]
mov edx, edi
push eax
call fcn.0047f660
add esp, 8
test eax, eax
je 0x48b4da
cmp eax, 7
je 0x48b4c2
cmp eax, 0xc0a
jne 0x48b4c9
mov dword [ebx + 0x18], 1
push edi
push str.Failed_to_read_ptrmap_key_d
push ebx
call fcn.0048ab40
add esp, 0xc
jmp 0x48b507
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x5c]
cmp cl, 3
jne 0x48b4ed
cmp eax, dword [esp + 0x18]
je 0x48b507
push eax
movzx eax, cl
push eax
push dword [esp + 0x20]
push 3
push edi
push str.Bad_ptr_map_entry_key_d_expected__d__d__got__d__d_
push ebx
call fcn.0048ab40
add esp, 0x1c
push dword [esp + 0x60]
xor edx, edx
mov ecx, ebx
push edi
call fcn.0048ac50
add esp, 8
mov eax, dword [esp + 0x14]
cmp byte [eax + 8], 0
jne 0x48b5f0
mov eax, dword [esp + 0x48]
mov edi, dword [eax]
mov eax, dword [esp + 0x2c]
bswap edi
cmp byte [eax + 0x11], 0
je 0x48b5a3
mov ecx, dword [ebx]
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x26]
mov edx, edi
push eax
call fcn.0047f660
add esp, 8
test eax, eax
je 0x48b576
cmp eax, 7
je 0x48b55e
cmp eax, 0xc0a
jne 0x48b565
mov dword [ebx + 0x18], 1
push edi
push str.Failed_to_read_ptrmap_key_d
push ebx
call fcn.0048ab40
add esp, 0xc
jmp 0x48b5a3
mov cl, byte [esp + 0x22]
mov eax, dword [esp + 0x64]
cmp cl, 5
jne 0x48b589
cmp eax, dword [esp + 0x18]
je 0x48b5a3
push eax
movzx eax, cl
push eax
push dword [esp + 0x20]
push 5
push edi
push str.Bad_ptr_map_entry_key_d_expected__d__d__got__d__d_
push ebx
call fcn.0048ab40
add esp, 0x1c
push dword [esp + 0x9c]
lea eax, [esp + 0x9c]
mov edx, edi
push dword [esp + 0x9c]
mov ecx, ebx
push eax
call fcn.0048af10
mov edi, eax
mov dword [esp + 0x3c], 0
add esp, 0xc
cmp edi, dword [esp + 0x3c]
je 0x48b211
push str.Child_page_depth_differs
push ebx
call fcn.0048ab40
add esp, 8
mov dword [esp + 0x3c], edi
jmp 0x48b211
movzx eax, word [esp + 0x8a]
inc dword [esi]
dec eax
mov edi, dword [esi]
add eax, ebp
shl ebp, 0x10
or eax, ebp
mov dword [esi + edi*4], eax
mov eax, edi
shr eax, 1
je 0x48b211
mov ecx, dword [esi + eax*4]
mov edx, dword [esi + edi*4]
cmp ecx, edx
jbe 0x48b211
mov dword [esi + eax*4], edx
mov dword [esi + edi*4], ecx
mov edi, eax
shr eax, 1
jne 0x48b611
jmp 0x48b211
push edx
push eax
push ebp
push str.Offset__d_out_of_range__d.._d
push ebx
call fcn.0048ab40
add esp, 0x14
mov dword [esp + 0x24], 0
jmp 0x48b215
mov ebp, dword [esp + 0x18]
push ebp
push eax
push str.Multiple_uses_for_byte__u_of_page__u
push ebx
call fcn.0048ab40
mov edx, dword [esp + 0x34]
add esp, 0x10
jmp 0x48b66f
mov ebp, dword [esp + 0x18]
movzx edi, ax
mov ecx, dword [esp + 0x38]
sub ecx, edi
dec ecx
add ecx, edx
cmp dword [esi], 0
jne 0x48b00e
mov eax, dword [esp + 0x44]
movzx eax, byte [eax + 7]
cmp ecx, eax
je 0x48b00e
push ebp
push eax
push ecx
push str.Fragmentation_of__d_bytes_reported_as__d_on_page__u
push ebx
call fcn.0048ab40
add esp, 0x14
jmp 0x48b00e
mov ecx, dword [esp + 0x14]
mov al, byte [esp + 0x23]
mov byte [ecx], al
jmp 0x48b012
call fcn.00474e50
mov eax, dword [esp + 0x6c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x74]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x3c]
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x80
ret