Function at 0x1003af20
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc0
mov eax, dword [0x103b2018]
xor eax, esp
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
push ebx
mov ebx, dword [esp + 0xcc]
push ebp
mov ebp, dword [esp + 0xcc]
push esi
push edi
mov edi, dword [esp + 0xdc]
push ebx
push str.Page__d:
lea edx, [esp + 0x68]
xor esi, esi
push edx
push 0x64
mov dword [esp + 0x24], ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call sym.NirvanaBiz.dll_sqlite3_snprintf
mov eax, dword [ebp]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 0x24]
add esp, 0x10
mov dword [esp + 0x38], eax
cmp ebx, esi
je 0x1003afdc
push edi
mov eax, ebx
mov edx, ebp
call fcn.1003ac00
add esp, 4
test eax, eax
jne 0x1003afdc
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push ecx
mov esi, ebx
call fcn.10033fe0
add esp, 4
test eax, eax
je 0x1003afe3
push eax
push str.unable_to_get_the_page._error_code_d
lea edi, [esp + 0x68]
mov esi, ebp
call fcn.1003ab90
add esp, 8
xor eax, eax
jmp 0x1003b5e0
mov edi, dword [esp + 0x10]
mov esi, edi
mov byte [edi], 0
call fcn.10033d30
xor esi, esi
cmp eax, esi
je 0x1003b01f
push eax
push str.btreeInitPage___returns_error_code__d
lea edi, [esp + 0x68]
mov esi, ebp
call fcn.1003ab90
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x44]
push eax
call fcn.1002f2b0
add esp, 0xc
xor eax, eax
jmp 0x1003b5e0
xor ecx, ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], esi
cmp cx, word [edi + 0x10]
jae 0x1003b244
cmp dword [ebp + 0x10], 0
je 0x1003b244
push esi
push ebx
push str.On_tree_page__d_cell__d:
lea edx, [esp + 0x6c]
push edx
push 0x64
call sym.NirvanaBiz.dll_sqlite3_snprintf
mov eax, dword [edi + 0x40]
movzx ecx, byte [eax + esi*2]
movzx ebp, byte [eax + esi*2 + 1]
mov edi, dword [esp + 0x24]
movzx edx, word [edi + 0x12]
lea eax, [eax + esi*2]
shl ecx, 8
or ebp, ecx
and ebp, edx
add ebp, dword [edi + 0x38]
add esp, 0x14
push edi
lea eax, [esp + 0x44]
mov ecx, ebp
call fcn.10033400
mov ebx, dword [esp + 0x50]
add esp, 4
cmp byte [edi + 2], 0
jne 0x1003b095
mov eax, dword [esp + 0x40]
add ebx, eax
jmp 0x1003b100
test esi, esi
jne 0x1003b0b3
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
jmp 0x1003b100
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
cmp eax, edx
jg 0x1003b0f4
mov ecx, dword [esp + 0x20]
jl 0x1003b0cb
cmp dword [esp + 0x40], ecx
ja 0x1003b0f4
mov esi, dword [esp + 0x14]
push edx
push ecx
mov ecx, dword [esp + 0x48]
push eax
push ecx
push str.Rowid__lld_out_of_order__previous_was__lld_
lea edi, [esp + 0x74]
call fcn.1003ab90
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
add esp, 0x14
mov edx, dword [esp + 0x40]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
movzx eax, word [esp + 0x56]
cmp ebx, eax
jbe 0x1003b17c
mov edx, dword [esp + 0x28]
movzx ecx, word [esp + 0x58]
mov edx, dword [edx + 0x24]
add edx, dword [edi + 0x38]
add ecx, ebp
cmp ecx, edx
ja 0x1003b17c
mov edx, dword [esp + 0x38]
sub ebx, eax
lea eax, [ebx + edx - 5]
lea esi, [edx - 4]
xor edx, edx
div esi
mov edi, eax
call fcn.10026c00
mov esi, eax
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x11], 0
je 0x1003b15d
mov eax, dword [esp + 0xd8]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x18]
push esi
mov bl, 3
call fcn.1003ac60
add esp, 8
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x60]
push edx
push edi
push 0
push eax
mov eax, esi
call fcn.1003acf0
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
add esp, 0x10
cmp byte [edi + 3], 0
jne 0x1003b224
movzx esi, byte [ebp]
movzx ecx, byte [ebp + 1]
movzx edx, byte [ebp + 2]
movzx eax, byte [ebp + 3]
shl esi, 8
or esi, ecx
mov ecx, dword [esp + 0x28]
shl esi, 8
or esi, edx
shl esi, 8
or esi, eax
cmp byte [ecx + 0x11], 0
je 0x1003b1ce
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x60]
push edx
push esi
mov bl, 5
call fcn.1003ac60
mov edi, dword [esp + 0x18]
add esp, 8
mov ebp, dword [esp + 0x1c]
mov eax, ebp
neg eax
sbb eax, eax
lea ecx, [esp + 0x20]
and eax, ecx
mov ecx, dword [esp + 0x14]
push eax
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x68]
push eax
push esi
push ecx
call fcn.1003af20
add esp, 0x14
mov ebx, eax
test ebp, ebp
jle 0x1003b21c
cmp ebx, dword [esp + 0x3c]
je 0x1003b21c
mov esi, dword [esp + 0x14]
push str.Child_page_depth_differs
lea edi, [esp + 0x64]
call fcn.1003ab90
mov edi, dword [esp + 0x14]
add esp, 4
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x3c], ebx
movzx edx, word [edi + 0x10]
mov ebx, dword [esp + 0xd8]
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
inc esi
cmp esi, edx
mov dword [esp + 0x1c], esi
jl 0x1003b033
cmp byte [edi + 3], 0
jne 0x1003b2db
movzx eax, byte [edi + 5]
mov ecx, dword [edi + 0x38]
movzx esi, byte [eax + ecx + 8]
movzx edx, byte [eax + ecx + 9]
lea eax, [eax + ecx + 8]
movzx ecx, byte [eax + 2]
shl esi, 8
or esi, edx
movzx edx, byte [eax + 3]
push ebx
shl esi, 8
or esi, ecx
push str.On_page__d_at_right_child:
lea eax, [esp + 0x68]
push eax
shl esi, 8
push 0x64
or esi, edx
call sym.NirvanaBiz.dll_sqlite3_snprintf
mov ecx, dword [esp + 0x38]
add esp, 0x10
cmp byte [ecx + 0x11], 0
je 0x1003b2b1
lea edx, [esp + 0x60]
push edx
mov eax, ebx
push esi
mov bl, 5
mov ecx, ebp
call fcn.1003ac60
mov edi, dword [esp + 0x18]
add esp, 8
movzx eax, word [edi + 0x10]
neg eax
sbb eax, eax
lea ecx, [esp + 0x20]
and eax, ecx
push eax
push 0
lea edx, [esp + 0x68]
push edx
push esi
push ebp
call fcn.1003af20
add esp, 0x14
cmp byte [edi + 3], 0
je 0x1003b3dc
cmp byte [edi + 2], 0
je 0x1003b3dc
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x1003b3a0
mov edx, dword [esp + 0x18]
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
test edx, edx
jne 0x1003b328
mov edx, dword [esp + 0x24]
cmp edx, eax
jl 0x1003b3dc
jg 0x1003b316
cmp dword [esp + 0x20], ecx
jbe 0x1003b3dc
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
push str.Rowid__lld_out_of_order__max_larger_than_parent_min_of__lld_
jmp 0x1003b3ca
cmp dword [esp + 0x34], eax
jg 0x1003b35d
jl 0x1003b336
cmp dword [esp + 0x30], ecx
ja 0x1003b35d
mov edx, dword [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
push edx
push str.Rowid__lld_out_of_order__min_less_than_parent_min_of__lld_
lea edi, [esp + 0x74]
mov esi, ebp
call fcn.1003ab90
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
add esp, 0x14
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov edx, dword [esp + 0x24]
cmp edx, eax
jl 0x1003b391
jg 0x1003b372
cmp dword [esp + 0x20], ecx
jbe 0x1003b391
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
push str.Rowid__lld_out_of_order__max_larger_than_parent_max_of__lld_
lea edi, [esp + 0x74]
mov esi, ebp
call fcn.1003ab90
mov edi, dword [esp + 0x24]
add esp, 0x14
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [ebx], ecx
mov dword [ebx + 4], edx
jmp 0x1003b3dc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1003b3dc
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x34]
cmp edx, eax
jg 0x1003b3dc
jl 0x1003b3bd
cmp dword [esp + 0x30], ecx
ja 0x1003b3dc
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
push str.Rowid__lld_out_of_order__min_less_than_parent_max_of__lld_
lea edi, [esp + 0x74]
mov esi, ebp
call fcn.1003ab90
mov edi, dword [esp + 0x24]
add esp, 0x14
mov ecx, dword [esp + 0x10]
mov ebp, dword [edi + 0x38]
movzx edi, byte [ecx + 5]
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x20]
mov dword [esp + 0x2c], edi
call fcn.1002aca0
mov ebx, eax
test ebx, ebx
jne 0x1003b40d
mov eax, dword [esp + 0x14]
mov dword [eax + 0x18], 1
jmp 0x1003b5c4
movzx esi, byte [edi + ebp + 5]
movzx ecx, byte [edi + ebp + 6]
mov edx, dword [esp + 0x38]
shl esi, 8
or esi, ecx
dec esi
and esi, 0xffff
inc esi
sub edx, esi
push edx
lea eax, [esi + ebx]
push 0
push eax
call fcn.1012a6a0
add esp, 0xc
push esi
push 1
push ebx
call fcn.1012a6a0
movzx edi, byte [edi + ebp + 3]
mov edx, dword [esp + 0x38]
movzx ecx, byte [edx + ebp + 4]
mov eax, dword [esp + 0x1c]
shl edi, 8
or edi, ecx
movzx ecx, byte [eax + 3]
mov eax, 3
sub eax, ecx
add esp, 0xc
mov dword [esp + 0x28], edi
lea eax, [edx + eax*4]
mov dword [esp + 0x1c], 0
test edi, edi
jle 0x1003b50f
add eax, ebp
mov dword [esp + 0x18], eax
movzx ecx, byte [eax]
movzx esi, byte [eax + 1]
shl ecx, 8
or esi, ecx
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffffc
cmp esi, ecx
mov eax, 0x10000
jg 0x1003b4b3
mov eax, dword [esp + 0x10]
lea edx, [esi + ebp]
push edx
call fcn.10033550
add esp, 4
movzx eax, ax
lea eax, [eax + esi - 1]
cmp eax, dword [esp + 0x38]
jl 0x1003b4e3
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
push eax
push ecx
push str.Corruption_detected_in_cell__d_on_page__d
xor edi, edi
call fcn.1003ab90
mov edi, dword [esp + 0x34]
add esp, 0xc
jmp 0x1003b4ef
cmp eax, esi
jl 0x1003b4ef
inc byte [eax + ebx]
dec eax
cmp eax, esi
jge 0x1003b4e7
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
inc ecx
add eax, 2
cmp ecx, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
jl 0x1003b484
mov edx, dword [esp + 0x2c]
movzx ecx, byte [edx + ebp + 1]
movzx edx, byte [edx + ebp + 2]
shl ecx, 8
or ecx, edx
jle 0x1003b551
movzx eax, byte [ecx + ebp + 2]
movzx edx, byte [ecx + ebp + 3]
shl eax, 8
or eax, edx
lea eax, [eax + ecx - 1]
cmp eax, ecx
jl 0x1003b53f
inc byte [eax + ebx]
dec eax
cmp eax, ecx
jge 0x1003b537
movzx eax, byte [ecx + ebp]
movzx ecx, byte [ecx + ebp + 1]
shl eax, 8
or eax, ecx
mov ecx, eax
jg 0x1003b520
mov esi, dword [esp + 0x38]
xor edx, edx
xor eax, eax
test esi, esi
jle 0x1003b59a
lea ecx, [ecx]
mov cl, byte [eax + ebx]
test cl, cl
jne 0x1003b56a
inc edx
jmp 0x1003b56f
cmp cl, 1
jg 0x1003b576
inc eax
cmp eax, esi
jl 0x1003b560
jmp 0x1003b59a
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xd8]
push edx
push eax
push str.Multiple_uses_for_byte__d_of_page__d
xor edi, edi
call fcn.1003ab90
mov edx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax + ebp + 7]
cmp edx, eax
je 0x1003b5c4
mov ecx, dword [esp + 0xd8]
mov esi, dword [esp + 0x14]
push ecx
push eax
push edx
push str.Fragmentation_of__d_bytes_reported_as__d_on_page__d
xor edi, edi
call fcn.1003ab90
add esp, 0x10
mov esi, ebx
call fcn.1002ada0
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x44]
push eax
call fcn.1002f2b0
mov eax, dword [esp + 0x40]
add esp, 4
inc eax
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10126cba
add esp, 0xc0
ret