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

Disassembly:
sub esp, 0x64
push ebx
push ebp
mov ebp, dword [esp + 0x70]
push esi
mov esi, dword [esp + 0x78]
push edi
mov eax, dword [ebp + 0x1c]
xor edi, edi
mov ebx, dword [ebp]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x30], 1
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], eax
test esi, esi
je 0x10018820
push esi
push ebp
call fcn.100181c0
add esp, 8
test eax, eax
jne 0x10018820
push eax
lea eax, [esp + 0x18]
mov dword [ebp + 0x1c], str.Page__d:
push eax
push esi
push ebx
mov dword [ebp + 0x20], esi
call fcn.10016da0
add esp, 0x10
test eax, eax
je 0x10018300
push eax
push str.unable_to_get_the_page._error_code_d
push ebp
call fcn.10017dc0
add esp, 0xc
mov esi, dword [esp + 0x14]
test esi, esi
je 0x100182de
push dword [esi + 0x48]
call fcn.1004f580
add esp, 4
mov eax, dword [esp + 0x50]
mov dword [ebp + 0x1c], eax
mov eax, dword [esp + 0x54]
mov dword [ebp + 0x20], eax
mov eax, dword [esp + 0x58]
pop edi
mov dword [ebp + 0x24], eax
mov eax, dword [esp + 0x24]
pop esi
pop ebp
inc eax
pop ebx
add esp, 0x64
ret
mov eax, dword [esp + 0x14]
push eax
mov cl, byte [eax]
mov byte [esp + 0x17], cl
mov byte [eax], 0
call fcn.10016ee0
add esp, 4
test eax, eax
je 0x10018322
push eax
push str.btreeInitPage___returns_error_code__d
jmp 0x100182c2
mov esi, dword [esp + 0x14]
push esi
call fcn.100165b0
add esp, 4
test eax, eax
je 0x10018344
push eax
push str.free_space_corruption
push ebp
call fcn.10017dc0
add esp, 0xc
jmp 0x100182cf
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x38]
movzx esi, byte [edx + 9]
lea ebx, [esi + eax]
mov dword [esp + 0x18], eax
mov dword [ebp + 0x1c], str.On_tree_page__d_cell__d:
movzx ecx, byte [ebx + 5]
movzx eax, byte [ebx + 6]
mov dl, byte [edx + 8]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x34], ebx
movzx ebx, byte [ebx + 3]
dec ecx
movzx eax, cx
mov ecx, 3
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
shl ebx, 8
movzx eax, byte [eax + 4]
or ebx, eax
movzx eax, dl
sub ecx, eax
lea eax, [esi + ecx*4]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
lea eax, [eax + ebx*2]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x38], eax
test dl, dl
jne 0x10018401
lea eax, [esi + ecx]
mov esi, dword [eax + 8]
mov eax, dword [esp + 0x2c]
bswap esi
cmp byte [eax + 0x11], dl
je 0x100183d7
push dword [esp + 0x7c]
mov dword [ebp + 0x1c], str.On_page__d_at_right_child:
push 5
push esi
push ebp
call fcn.10018130
add esp, 0x10
push dword [esp + 0x88]
lea eax, [esp + 0x88]
push dword [esp + 0x88]
push eax
push esi
push ebp
call fcn.10018230
add esp, 0x14
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], edi
jmp 0x1001840a
mov edi, dword [ebp + 0x40]
mov dword [edi], 0
lea edx, [ebx - 1]
mov eax, edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
test eax, eax
js 0x10018633
nop
cmp dword [ebp + 0x10], 0
je 0x1001862f
mov edx, dword [esp + 0x38]
mov dword [ebp + 0x24], eax
mov ax, word [edx]
sub edx, 2
mov ch, al
mov dword [esp + 0x38], edx
mov cl, ah
mov eax, dword [esp + 0x1c]
movzx esi, cx
add eax, 0xfffffffc
mov ecx, dword [esp + 0x24]
inc ecx
cmp esi, ecx
jb 0x10018605
cmp esi, eax
ja 0x10018605
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x5c]
add eax, esi
push ecx
push eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax + 0x50]
call eax
mov bx, word [esp + 0x7a]
add esp, 0xc
mov edx, dword [esp + 0x1c]
movzx eax, bx
add eax, esi
cmp eax, edx
jbe 0x100184a0
push str.Extends_off_end_of_page
push ebp
call fcn.10017dc0
add esp, 8
jmp 0x10018616
mov eax, dword [esp + 0x14]
cmp byte [eax + 2], 0
je 0x1001851a
cmp dword [esp + 0x20], 0
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
je 0x100184cf
cmp eax, dword [esp + 0x88]
jl 0x10018504
jg 0x100184e3
cmp ecx, dword [esp + 0x84]
jbe 0x10018504
jmp 0x100184e3
cmp eax, dword [esp + 0x88]
jl 0x10018504
jg 0x100184e3
cmp ecx, dword [esp + 0x84]
jb 0x10018504
push eax
push ecx
push str.Rowid__lld_out_of_order
push ebp
call fcn.10017dc0
mov bx, word [esp + 0x7e]
add esp, 0x10
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x20], 0
movzx ecx, word [esp + 0x6c]
mov eax, dword [esp + 0x68]
cmp eax, ecx
jbe 0x1001857e
sub eax, ecx
mov ebp, dword [esp + 0x78]
mov ecx, dword [esp + 0x1c]
add eax, 0xfffffffb
add eax, edx
xor edx, edx
lea ecx, [ecx - 4]
div ecx
movzx ecx, bx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov ebx, dword [ecx + ebx - 4]
mov ecx, dword [esp + 0x2c]
bswap ebx
cmp byte [ecx + 0x11], 0
je 0x1001856c
push dword [esp + 0x7c]
push 3
push ebx
push ebp
call fcn.10018130
mov eax, dword [esp + 0x58]
add esp, 0x10
push eax
push ebx
push 0
push ebp
call fcn.10017f60
mov bx, word [esp + 0x7e]
add esp, 0x10
mov eax, dword [esp + 0x14]
cmp byte [eax + 8], 0
jne 0x100185ee
mov eax, dword [esp + 0x3c]
mov esi, dword [eax]
mov eax, dword [esp + 0x2c]
bswap esi
cmp byte [eax + 0x11], 0
je 0x100185aa
push dword [esp + 0x7c]
push 5
push esi
push ebp
call fcn.10018130
add esp, 0x10
push dword [esp + 0x88]
lea eax, [esp + 0x88]
push dword [esp + 0x88]
push eax
push esi
push ebp
call fcn.10018230
mov esi, eax
mov dword [esp + 0x34], 0
add esp, 0x14
cmp esi, dword [esp + 0x28]
je 0x1001861e
push str.Child_page_depth_differs
push ebp
call fcn.10017dc0
add esp, 8
mov dword [esp + 0x28], esi
jmp 0x1001861e
movzx eax, bx
dec eax
add eax, esi
shl esi, 0x10
or eax, esi
push eax
push edi
call fcn.10016eb0
add esp, 8
jmp 0x1001861e
push eax
push ecx
push esi
push str.Offset__d_out_of_range__d.._d
push ebp
call fcn.10017dc0
add esp, 0x14
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x40]
sub eax, 1
mov dword [esp + 0x40], eax
jns 0x10018420
mov edx, dword [esp + 0x44]
cmp dword [esp + 0x30], 0
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov dword [ecx], eax
mov eax, dword [esp + 0x88]
mov dword [ecx + 4], eax
mov dword [ebp + 0x1c], 0
je 0x10018811
cmp dword [ebp + 0x10], 0
jle 0x100182cb
mov eax, dword [esp + 0x14]
cmp byte [eax + 8], 0
jne 0x100186ce
mov edi, dword [ebp + 0x40]
mov dword [edi], 0
test edx, edx
js 0x100186ce
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x18]
lea ebx, [eax + ebp*2]
add ebx, edx
mov ax, word [ebx]
mov ch, al
mov cl, ah
movzx esi, cx
lea eax, [esi + edx]
push eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [eax + 0x4c]
call eax
movzx eax, ax
dec eax
add eax, esi
shl esi, 0x10
or eax, esi
push eax
push edi
call fcn.10016eb0
mov edx, dword [esp + 0x28]
lea ebx, [ebx - 2]
add esp, 0x10
sub ebp, 1
jns 0x10018691
mov ebp, dword [esp + 0x78]
mov eax, dword [esp + 0x34]
movzx ebx, byte [eax + 1]
movzx eax, byte [eax + 2]
shl ebx, 8
or ebx, eax
jbe 0x10018742
mov edx, dword [esp + 0x18]
jmp 0x100186f0
movzx ecx, byte [edx + ebx + 2]
movzx eax, byte [edx + ebx + 3]
inc dword [edi]
mov esi, dword [edi]
shl ecx, 8
or ecx, eax
mov eax, ebx
dec ecx
shl eax, 0x10
add ecx, ebx
or ecx, eax
mov eax, esi
shr eax, 1
mov dword [edi + esi*4], ecx
je 0x10018730
mov ecx, dword [edi + eax*4]
mov edx, dword [edi + esi*4]
cmp ecx, edx
jbe 0x1001872c
mov dword [edi + eax*4], edx
mov dword [edi + esi*4], ecx
mov esi, eax
shr eax, 1
jne 0x10018716
mov edx, dword [esp + 0x18]
movzx ecx, byte [ebx + edx]
movzx eax, byte [edx + ebx + 1]
shl ecx, 8
mov ebx, ecx
or ebx, eax
ja 0x100186f0
xor edx, edx
mov ecx, dword [edi]
mov dword [esp + 0x78], edx
test ecx, ecx
je 0x100187cf
mov eax, dword [edi + ecx*4]
mov esi, 1
mov ebx, dword [edi + 4]
mov dword [edi + 4], eax
mov eax, 2
mov dword [edi + ecx*4], 0xffffffff
dec dword [edi]
cmp dword [edi], eax
jb 0x10018798
mov ecx, dword [edi + eax*4]
cmp ecx, dword [edi + eax*4 + 4]
jbe 0x1001877c
inc eax
mov ecx, dword [edi + esi*4]
mov edx, dword [edi + eax*4]
cmp ecx, edx
jb 0x10018794
mov dword [edi + esi*4], edx
mov esi, eax
mov dword [edi + eax*4], ecx
add eax, eax
cmp eax, dword [edi]
jbe 0x10018772
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x24]
mov eax, ebx
shr eax, 0x10
movzx ecx, cx
cmp ecx, eax
jae 0x100187b3
sub eax, ecx
mov dword [esp + 0x24], ebx
dec edx
add edx, eax
jmp 0x10018744
mov ebx, dword [esp + 0x7c]
push ebx
push eax
push str.Multiple_uses_for_byte__u_of_page__d
push ebp
call fcn.10017dc0
mov ecx, dword [edi]
add esp, 0x10
mov edx, dword [esp + 0x78]
jmp 0x100187d3
mov ebx, dword [esp + 0x7c]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
movzx eax, ax
sub esi, eax
dec esi
add edx, esi
test ecx, ecx
jne 0x100182cb
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + 7]
cmp edx, eax
je 0x100182cb
push ebx
push eax
push edx
push str.Fragmentation_of__d_bytes_reported_as__d_on_page__d
push ebp
call fcn.10017dc0
add esp, 0x14
jmp 0x100182cb
mov esi, dword [esp + 0x14]
mov al, byte [esp + 0x13]
mov byte [esi], al
jmp 0x100182cf
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret