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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov edi, edx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x80], ecx
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x5c], eax
mov ecx, ebx
call fcn.1016aec0
xor ecx, ecx
dec ecx
cmp dword [ebx + 0x10], 0
je 0x1016ac29
mov dword [esp], ebx
xor ebx, ebx
test edi, edi
je 0x1016ac41
mov ecx, dword [esp]
mov eax, dword [ecx]
mov dword [esp + 0x30], eax
mov eax, dword [eax + 0x28]
mov dword [esp + 0x38], eax
mov edx, edi
call fcn.1016ae40
test eax, eax
jne 0x1016ac41
mov eax, dword [esp]
mov dword [eax + 0x20], str.Tree__u_page__u:
mov dword [eax + 0x28], edi
mov dword [eax + 0x24], edi
mov eax, dword [esp + 0x30]
mov ebx, dword [eax]
mov ecx, dword [ebx + 0xdc]
call dword [section..00cfg]
lea eax, [esp + 0x68]
push 0
push eax
push edi
push ebx
call ecx
add esp, 0x10
test eax, eax
jne 0x1016ad30
mov eax, dword [esp + 0x68]
mov edx, edi
mov edi, dword [eax + 8]
cmp dword [edi + 4], edx
je 0x1016a717
mov ecx, dword [eax + 4]
mov dword [edi + 0x38], ecx
mov dword [edi + 0x48], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x34], eax
mov dword [edi + 4], edx
xor eax, eax
cmp edx, 1
mov ecx, 0x64
cmovne ecx, eax
mov byte [edi + 9], cl
mov dword [esp + 0x28], edx
mov al, byte [edi]
mov byte [esp + 0x27], al
mov byte [edi], 0
mov ecx, edi
call fcn.10006c20
test eax, eax
mov ebx, dword [esp]
jne 0x1016ad4b
mov ecx, edi
call fcn.1000e000
test eax, eax
jne 0x1016ad68
mov edx, dword [edi + 0x38]
movzx eax, byte [edi + 9]
mov dword [ebx + 0x20], str.Tree__u_page__u_cell__u:
movzx ecx, byte [eax + edx + 5]
shl ecx, 8
mov dword [esp + 0x20], ecx
movzx ecx, byte [eax + edx + 6]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], eax
movzx edx, word [eax + edx + 3]
rol dx, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
add eax, ecx
dec eax
mov dword [esp + 0xc], eax
movzx eax, dx
mov dword [esp + 0x48], eax
mov dword [esp + 8], edi
movzx edi, byte [edi + 8]
test edi, edi
je 0x1016ad70
mov ebx, dword [ebx + 0x48]
mov dword [ebx], 0
xor ecx, ecx
dec ecx
mov dword [esp + 0x14], ecx
xor ecx, ecx
inc ecx
mov dword [esp + 0x18], ecx
shl edi, 2
movzx ecx, word [esp + 0xc]
mov edx, dword [esp + 0x48]
lea esi, [edx - 1]
mov dword [esp + 0x34], esi
test edx, edx
mov esi, dword [esp + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], edi
je 0x1016aaad
mov eax, dword [esp + 0x2c]
sub eax, edi
lea edx, [eax + edx*2]
add edx, 0xa
lea eax, [ecx + 1]
mov dword [esp + 0x58], eax
add edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
add eax, 0xfffffffc
mov dword [esp + 0x40], eax
xor eax, eax
inc eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov edi, dword [ebp + 8]
mov eax, dword [esp]
cmp dword [eax + 0x10], 0
je 0x1016aa86
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x2c], ecx
mov dword [esp + 4], edx
movzx eax, word [edx]
rol ax, 8
movzx ecx, ax
cmp dword [esp + 0x20], ecx
jae 0x1016a981
cmp dword [esp + 0x40], ecx
jb 0x1016a981
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
mov edi, esi
mov ecx, dword [esp + 0xc]
lea esi, [eax + ecx]
mov ecx, dword [edi + 0x50]
call dword [section..00cfg]
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x50], esi
push esi
mov esi, edi
mov edi, dword [esp + 0x14]
push esi
call ecx
add esp, 0xc
movzx eax, word [esp + 0x7a]
add eax, edi
cmp eax, dword [esp + 0x38]
ja 0x1016a9a8
cmp byte [esi + 1], 0
je 0x1016a8d3
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
cmp dword [esp + 0x18], 0
je 0x1016a955
cmp esi, eax
sbb edx, ecx
jl 0x1016a961
mov esi, dword [esp + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x18], 0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x74]
movzx ecx, word [esp + 0x78]
cmp eax, ecx
ja 0x1016a9bb
cmp byte [esi + 8], 0
je 0x1016aa1e
movzx eax, word [esp + 0x7a]
add eax, edi
dec eax
shl edi, 0x10
or edi, eax
mov ecx, dword [ebx]
lea eax, [ecx + 1]
mov dword [ebx], eax
mov dword [ebx + ecx*4 + 4], edi
cmp eax, 2
jae 0x1016a914
mov edi, dword [ebp + 8]
jmp 0x1016a93a
mov ecx, eax
mov edi, dword [ebp + 8]
shr ecx, 1
mov edx, dword [ebx + ecx*4]
mov esi, dword [ebx + eax*4]
cmp edx, esi
jbe 0x1016a932
mov dword [ebx + ecx*4], esi
mov dword [ebx + eax*4], edx
cmp eax, 3
mov eax, ecx
ja 0x1016a919
mov esi, dword [esp + 8]
mov edx, dword [esp + 4]
add edx, 0xfffffffe
mov ecx, dword [esp + 0x10]
lea eax, [ecx - 1]
test ecx, ecx
mov dword [esp + 0x10], eax
jg 0x1016a811
jmp 0x1016aa86
cmp eax, esi
mov esi, ecx
sbb esi, edx
jl 0x1016a8b9
push ecx
push eax
push str.Rowid__lld_out_of_order
push dword [esp + 0xc]
call fcn.1016a4a0
add esp, 0x10
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
jmp 0x1016a8b9
push dword [esp + 0x40]
push dword [esp + 0x5c]
push ecx
push str.Offset__u_out_of_range__u.._u
push dword [esp + 0x10]
call fcn.1016a4a0
add esp, 0x14
mov dword [esp + 0x3c], 0
mov edi, dword [ebp + 8]
jmp 0x1016a936
push str.Extends_off_end_of_page
push dword [esp + 4]
call fcn.1016a4a0
add esp, 8
jmp 0x1016a99b
add eax, dword [esp + 0x38]
sub eax, ecx
add eax, 0xfffffffb
xor edx, edx
div dword [esp + 0x40]
mov dword [esp + 0x50], eax
movzx eax, word [esp + 0x7a]
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + ecx - 4]
bswap eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x11], 0
je 0x1016aa00
mov ecx, dword [esp]
mov edx, dword [esp + 0x44]
push dword [esp + 0x28]
push 3
call fcn.1016a570
add esp, 8
mov ecx, dword [esp]
xor edx, edx
push dword [esp + 0x50]
push dword [esp + 0x48]
call fcn.1016a2b0
add esp, 8
mov edx, dword [esp + 4]
jmp 0x1016a8e8
mov eax, dword [esp + 0x4c]
mov edi, dword [eax]
bswap edi
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x11], 0
je 0x1016aa43
mov ecx, dword [esp]
mov edx, edi
push dword [esp + 0x28]
push 5
call fcn.1016a570
add esp, 8
mov ecx, dword [esp]
mov edx, edi
push dword [esp + 0x84]
push dword [esp + 0x84]
lea eax, [esp + 0x88]
push eax
call fcn.1016a620
add esp, 0xc
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x14]
cmp eax, ecx
mov edi, dword [ebp + 8]
jne 0x1016adcf
mov dword [esp + 0x14], ecx
jmp 0x1016a936
movsd xmm0, qword [esp + 0x80]
movsd qword [edi], xmm0
mov eax, dword [esp]
mov dword [eax + 0x20], 0
cmp dword [esp + 0x3c], 0
je 0x1016ac14
mov eax, dword [esp]
jmp 0x1016aac7
movsd xmm0, qword [esp + 0x80]
mov eax, dword [ebp + 8]
movsd qword [eax], xmm0
mov eax, dword [esp]
mov dword [eax + 0x20], 0
cmp dword [eax + 0x10], 0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
jle 0x1016ac1a
cmp byte [esi + 8], 0
je 0x1016ac59
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
movzx eax, word [eax + ecx + 1]
rol ax, 8
test ax, ax
je 0x1016ab56
movzx eax, ax
movzx ecx, word [eax + ecx + 2]
rol cx, 8
movzx ecx, cx
mov edx, eax
shl edx, 0x10
lea esi, [eax + ecx]
dec esi
or esi, edx
mov edx, dword [ebx]
lea ecx, [edx + 1]
mov dword [ebx], ecx
mov dword [ebx + edx*4 + 4], esi
cmp ecx, 2
jae 0x1016ab39
mov ecx, dword [esp + 0x1c]
movzx eax, word [ecx + eax]
rol ax, 8
movzx eax, ax
test ax, ax
jne 0x1016aafc
jmp 0x1016ab56
mov edx, ecx
shr edx, 1
mov esi, dword [ebx + edx*4]
mov edi, dword [ebx + ecx*4]
cmp esi, edi
jbe 0x1016ab23
mov dword [ebx + edx*4], edi
mov dword [ebx + ecx*4], esi
cmp ecx, 3
mov ecx, edx
ja 0x1016ab3b
jmp 0x1016ab23
mov ecx, dword [ebx]
xor edx, edx
test ecx, ecx
je 0x1016acfb
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 0x18], edx
mov eax, dword [ebx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + ecx*4]
mov dword [ebx + 4], eax
mov dword [ebx + ecx*4], 0xffffffff
dec ecx
mov dword [ebx], ecx
mov dword [esp + 0x10], ecx
cmp ecx, 2
jb 0x1016aba4
mov edi, dword [ebx + 4]
mov eax, dword [ebx + 8]
xor edx, edx
cmp eax, dword [ebx + 0xc]
seta dl
mov esi, dword [ebx + edx*4 + 8]
cmp edi, esi
jae 0x1016abd7
mov edx, dword [esp + 4]
movzx esi, dx
mov edi, dword [esp + 0x20]
mov eax, edi
shr eax, 0x10
cmp eax, esi
jbe 0x1016ae0e
not esi
mov edx, dword [esp + 0x18]
add edx, esi
add edx, eax
mov dword [esp + 4], edi
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x1016ab6a
jmp 0x1016acff
or edx, 2
xor eax, eax
inc eax
mov dword [esp + 0xc], edi
mov dword [ebx + eax*4], esi
mov dword [ebx + edx*4], edi
lea esi, [edx + edx]
mov ecx, dword [ebx]
mov dword [esp + 0x10], ecx
cmp esi, ecx
ja 0x1016aba4
mov eax, edx
mov ecx, ebx
mov edi, dword [ebx + esi*4]
mov edx, esi
or edx, 1
cmp edi, dword [ebx + edx*4]
ja 0x1016ac07
mov edx, esi
mov esi, dword [ebx + edx*4]
mov edi, dword [esp + 0xc]
cmp edi, esi
jae 0x1016abe1
jmp 0x1016aba4
mov al, byte [esp + 0x27]
mov byte [esi], al
mov ebx, dword [esp]
mov ecx, dword [esi + 0x48]
call fcn.10157e40
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x64]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x60]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x5c]
mov dword [ebx + 0x2c], eax
inc ecx
mov ebx, ecx
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.10157a00
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp]
mov ebx, dword [eax + 0x48]
mov dword [ebx], 0
test edx, edx
je 0x1016aae3
mov edx, dword [esp + 0x54]
neg edx
mov eax, dword [esp + 0x2c]
add eax, edx
add eax, 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x10]
lea eax, [eax + ecx*2]
mov edx, dword [esp + 0x1c]
movzx eax, word [edx + eax]
rol ax, 8
movzx edi, ax
mov ecx, dword [esi + 0x4c]
lea esi, [edx + edi]
call dword [section..00cfg]
push esi
mov esi, dword [esp + 0xc]
push esi
call ecx
add esp, 8
movzx eax, ax
add eax, edi
dec eax
shl edi, 0x10
or edi, eax
mov ecx, dword [ebx]
lea eax, [ecx + 1]
mov dword [ebx], eax
mov dword [ebx + ecx*4 + 4], edi
cmp eax, 2
jae 0x1016acde
mov ecx, dword [esp + 0x34]
lea eax, [ecx - 1]
test ecx, ecx
mov ecx, eax
jg 0x1016ac80
jmp 0x1016aae3
mov ecx, eax
shr ecx, 1
mov edx, dword [ebx + ecx*4]
mov edi, dword [ebx + eax*4]
cmp edx, edi
jbe 0x1016accc
mov dword [ebx + ecx*4], edi
mov dword [ebx + eax*4], edx
cmp eax, 3
mov eax, ecx
ja 0x1016ace0
jmp 0x1016accc
mov edi, dword [esp + 0x20]
not edi
or edi, 0xffff0000
mov ecx, dword [esp + 0x38]
add ecx, edi
add ecx, edx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
movzx eax, byte [edx + eax + 7]
cmp ecx, eax
jne 0x1016adf1
mov ebx, dword [esp]
mov esi, dword [esp + 8]
jmp 0x1016ac1d
push eax
push str.unable_to_get_the_page._error_code_d
mov ebx, dword [esp + 8]
push ebx
call fcn.1016a4a0
add esp, 0xc
xor ecx, ecx
dec ecx
jmp 0x1016ac29
push eax
push str.btreeInitPage___returns_error_code__d
push ebx
call fcn.1016a4a0
add esp, 0xc
xor eax, eax
dec eax
mov dword [esp + 0x14], eax
mov esi, edi
jmp 0x1016ac1d
push eax
push str.free_space_corruption
jmp 0x1016ad51
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [ecx + eax + 8]
bswap ebx
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x11], 0
je 0x1016ada2
mov ecx, dword [esp]
mov dword [ecx + 0x20], str.Tree__u_page__u_right_child:
mov edx, ebx
push dword [esp + 0x28]
push 5
call fcn.1016a570
add esp, 8
lea eax, [esp + 0x80]
mov ecx, dword [esp]
mov edx, ebx
push esi
push dword [esp + 0x14]
push eax
call fcn.1016a620
add esp, 0xc
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0x18], 0
jmp 0x1016a7b6
push str.Child_page_depth_differs
push dword [esp + 4]
mov dword [esp + 0x14], eax
call fcn.1016a4a0
add esp, 8
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
jmp 0x1016a936
push dword [esp + 0x28]
push eax
push ecx
push str.Fragmentation_of__u_bytes_reported_as__u_on_page__u
mov ebx, dword [esp + 0x10]
push ebx
call fcn.1016a4a0
add esp, 0x14
jmp 0x1016ad27
push dword [esp + 0x28]
push eax
push str.Multiple_uses_for_byte__u_of_page__u
push dword [esp + 0xc]
mov edi, edx
call fcn.1016a4a0
add esp, 0x10
cmp dword [ebx], 0
mov edx, dword [esp + 0x18]
jne 0x1016ad24
jmp 0x1016acff