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

Disassembly:
sub esp, 0x70
and dword [esp + 8], 0
xor eax, eax
or dword [esp + 0x20], 0xffffffff
inc eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], eax
mov ebp, edx
xor ebx, ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x4c], edi
mov eax, dword [edi + 0x1c]
mov esi, dword [edi]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], eax
test ebp, ebp
je 0x100390a5
call fcn.10038897
test eax, eax
jne 0x100390a5
push eax
lea eax, [esp + 0x1c]
mov dword [edi + 0x1c], str.Page__d:
push eax
mov edx, ebp
mov dword [edi + 0x20], ebp
mov ecx, esi
call fcn.10032a6c
pop ecx
pop ecx
test eax, eax
je 0x10038bd3
push eax
push str.unable_to_get_the_page._error_code_d
push edi
call fcn.10038830
add esp, 0xc
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x10038bb4
mov ecx, dword [ebp + 0x48]
call fcn.1002e583
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x60]
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x64]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x30]
inc eax
jmp 0x100390a7
mov ebp, dword [esp + 0x18]
mov ecx, ebp
mov al, byte [ebp]
mov byte [esp + 0x13], al
mov byte [ebp], bl
call fcn.100328b0
test eax, eax
je 0x10038bfd
push eax
push str.btreeInitPage___returns_error_code__d
push edi
call fcn.10038830
add esp, 0xc
jmp 0x10038ba8
mov ecx, ebp
call fcn.1003270f
test eax, eax
je 0x10038c10
push eax
push str.free_space_corruption
jmp 0x10038bf2
mov edx, dword [ebp + 0x38]
movzx esi, byte [ebp + 9]
mov dword [edi + 0x1c], str.On_tree_page__d_cell__d:
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], edx
movzx ecx, byte [esi + edx + 5]
movzx eax, byte [esi + edx + 6]
movzx esi, byte [esi + edx + 3]
shl ecx, 8
or ecx, eax
shl esi, 8
dec ecx
movzx eax, cx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
push 3
movzx eax, byte [eax + edx + 4]
mov dl, byte [ebp + 8]
or esi, eax
movzx ecx, dl
pop eax
sub eax, ecx
mov dword [esp + 0x48], esi
mov ecx, dword [esp + 0x20]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], eax
lea eax, [eax + esi*2]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x40], eax
test dl, dl
jne 0x10038cd9
mov eax, dword [esp + 0x20]
mov esi, dword [eax + ecx + 8]
mov eax, dword [esp + 0x34]
bswap esi
cmp byte [eax + 0x11], bl
je 0x10038ca9
push dword [esp + 0x24]
mov edx, esi
mov dword [edi + 0x1c], str.On_page__d_at_right_child:
push 5
mov ecx, edi
call fcn.100388eb
pop ecx
pop ecx
push dword [esp + 0x8c]
lea eax, [esp + 0x8c]
mov edx, esi
push dword [esp + 0x8c]
mov ecx, edi
push eax
call fcn.10038b15
mov esi, dword [esp + 0x54]
add esp, 0xc
and dword [esp + 0x28], ebx
mov dword [esp + 0x30], eax
jmp 0x10038cdf
mov ebx, dword [edi + 0x40]
and dword [ebx], 0
sub esi, 1
mov dword [esp + 0x3c], esi
mov eax, esi
mov dword [esp + 0x48], esi
js 0x10038f00
cmp dword [edi + 0x10], 0
je 0x10038efc
mov edx, dword [esp + 0x40]
mov dword [edi + 0x24], eax
mov ax, word [edx]
sub edx, 2
mov ch, al
mov dword [esp + 0x40], edx
mov cl, ah
movzx esi, cx
mov ecx, dword [esp + 0x2c]
inc ecx
cmp esi, ecx
jb 0x10038ece
mov eax, dword [esp + 0x1c]
add eax, 0xfffffffc
cmp esi, eax
ja 0x10038ece
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x68]
add eax, esi
push ecx
push eax
push ebp
mov dword [esp + 0x50], eax
call dword [ebp + 0x50]
movzx eax, word [esp + 0x86]
add esp, 0xc
mov edx, dword [esp + 0x1c]
add eax, esi
cmp eax, edx
jbe 0x10038d6b
push str.Extends_off_end_of_page
push edi
call fcn.10038830
pop ecx
pop ecx
jmp 0x10038ee6
cmp byte [ebp + 2], 0
je 0x10038de4
cmp dword [esp + 0x28], 0
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
je 0x10038da1
cmp eax, dword [esp + 0x8c]
jl 0x10038d99
jg 0x10038d94
cmp edx, dword [esp + 0x88]
jbe 0x10038d99
xor ecx, ecx
inc ecx
jmp 0x10038d9b
xor ecx, ecx
test ecx, ecx
je 0x10038dcd
jmp 0x10038db5
cmp eax, dword [esp + 0x8c]
jl 0x10038dcd
jg 0x10038db5
cmp edx, dword [esp + 0x88]
jb 0x10038dcd
push eax
push edx
push str.Rowid__lld_out_of_order
push edi
call fcn.10038830
mov eax, dword [esp + 0x7c]
add esp, 0x10
mov edx, dword [esp + 0x68]
and dword [esp + 0x28], 0
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x8c], eax
movzx ecx, word [esp + 0x78]
mov eax, dword [esp + 0x74]
cmp eax, ecx
jbe 0x10038e4d
sub eax, ecx
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add eax, 0xfffffffb
add eax, edx
xor edx, edx
lea ecx, [ecx - 4]
div ecx
movzx ecx, word [esp + 0x7a]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x44]
mov eax, dword [ecx + eax - 4]
mov ecx, dword [esp + 0x34]
bswap eax
mov dword [esp + 0x50], eax
cmp byte [ecx + 0x11], 0
je 0x10038e3d
push dword [esp + 0x24]
mov edx, eax
mov ecx, edi
push 3
call fcn.100388eb
mov eax, dword [esp + 0x58]
pop ecx
pop ecx
push dword [esp + 0x54]
xor edx, edx
mov ecx, edi
push eax
call fcn.10038960
pop ecx
pop ecx
cmp byte [ebp + 8], 0
jne 0x10038eb8
mov eax, dword [esp + 0x44]
mov esi, dword [eax]
mov eax, dword [esp + 0x34]
bswap esi
cmp byte [eax + 0x11], 0
je 0x10038e76
push dword [esp + 0x24]
mov edx, esi
mov ecx, edi
push 5
call fcn.100388eb
pop ecx
pop ecx
push dword [esp + 0x8c]
lea eax, [esp + 0x8c]
mov edx, esi
push dword [esp + 0x8c]
mov ecx, edi
push eax
call fcn.10038b15
and dword [esp + 0x34], 0
mov esi, eax
add esp, 0xc
cmp esi, dword [esp + 0x30]
je 0x10038eeb
push str.Child_page_depth_differs
push edi
call fcn.10038830
pop ecx
pop ecx
mov dword [esp + 0x30], esi
jmp 0x10038eeb
movzx edx, word [esp + 0x7a]
mov ecx, ebx
dec edx
add edx, esi
shl esi, 0x10
or edx, esi
call fcn.10038aed
jmp 0x10038eeb
mov eax, dword [esp + 0x1c]
add eax, 0xfffffffc
push eax
push ecx
push esi
push str.Offset__d_out_of_range__d.._d
push edi
call fcn.10038830
add esp, 0x14
and dword [esp + 0x38], 0
mov eax, dword [esp + 0x48]
sub eax, 1
mov dword [esp + 0x48], eax
jns 0x10038cf2
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
mov dword [edi + 0x1c], eax
cmp dword [esp + 0x38], eax
je 0x10039099
cmp dword [edi + 0x10], eax
jle 0x10038ba8
cmp byte [ebp + 8], al
jne 0x10038f85
mov ebx, dword [edi + 0x40]
mov dword [ebx], eax
test esi, esi
js 0x10038f85
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x14]
lea edi, [eax + esi*2]
add edi, edx
mov ax, word [edi]
mov ch, al
mov cl, ah
movzx esi, cx
lea eax, [esi + edx]
push eax
push ebp
call dword [ebp + 0x4c]
movzx edx, ax
dec edx
add edx, esi
shl esi, 0x10
pop ecx
pop ecx
or edx, esi
mov ecx, ebx
call fcn.10038aed
sub dword [esp + 0x3c], 1
lea edi, [edi - 2]
mov edx, dword [esp + 0x14]
jns 0x10038f4d
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
movzx ebp, byte [ecx + eax + 1]
movzx eax, byte [ecx + eax + 2]
shl ebp, 8
or ebp, eax
jbe 0x10038fd3
mov edi, dword [esp + 0x14]
lea esi, [edi + ebp]
mov ecx, ebx
movzx edx, byte [esi + 2]
movzx eax, byte [esi + 3]
shl edx, 8
or edx, eax
dec edx
add edx, ebp
shl ebp, 0x10
or edx, ebp
call fcn.10038aed
movzx eax, byte [esi]
movzx ebp, byte [esi + 1]
shl eax, 8
or ebp, eax
ja 0x10038fa2
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x2c]
xor ebp, ebp
mov ecx, dword [ebx]
test ecx, ecx
je 0x10039054
mov eax, dword [ebx + 4]
xor edx, edx
mov dword [esp + 0x58], eax
inc edx
mov eax, dword [ebx + ecx*4]
mov dword [ebx + 4], eax
or dword [ebx + ecx*4], 0xffffffff
dec dword [ebx]
push 2
pop ecx
cmp dword [ebx], ecx
jb 0x1003901e
mov eax, dword [ebx + ecx*4]
cmp eax, dword [ebx + ecx*4 + 4]
jbe 0x10039006
inc ecx
mov eax, dword [ebx + edx*4]
mov esi, dword [ebx + ecx*4]
cmp eax, esi
jb 0x1003901e
mov dword [ebx + edx*4], esi
mov edx, ecx
mov dword [ebx + ecx*4], eax
add ecx, ecx
cmp ecx, dword [ebx]
jbe 0x10038ffc
mov ecx, dword [esp + 0x58]
mov eax, ecx
mov edx, dword [esp + 0x2c]
shr eax, 0x10
movzx esi, dx
cmp esi, eax
jae 0x1003903f
sub eax, esi
dec eax
add ebp, eax
mov eax, ecx
mov dword [esp + 0x2c], eax
jmp 0x10038fd9
push dword [esp + 0x24]
push eax
push str.Multiple_uses_for_byte__u_of_page__d
push edi
call fcn.10038830
add esp, 0x10
jmp 0x10039057
movzx esi, ax
mov eax, dword [esp + 0x1c]
lea ecx, [ebp - 1]
sub eax, esi
add ecx, eax
cmp dword [ebx], 0
jne 0x10038ba4
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
movzx eax, byte [edx + eax + 7]
cmp ecx, eax
je 0x10038ba4
push dword [esp + 0x24]
push eax
push ecx
push str.Fragmentation_of__d_bytes_reported_as__d_on_page__d
push edi
call fcn.10038830
add esp, 0x14
jmp 0x10038ba4
mov al, byte [esp + 0x13]
mov byte [ebp], al
jmp 0x10038ba8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret