Function at 0x10058070
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc0
mov eax, dword [0x1012007c]
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 fcn.10041580
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 0x1005812e
push edi
mov eax, ebx
mov edx, ebp
call fcn.10057d60
add esp, 4
test eax, eax
jne 0x1005812e
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push ecx
xor ecx, ecx
mov esi, ebx
call fcn.100510a0
add esp, 4
test eax, eax
je 0x10058135
push eax
push str.unable_to_get_the_page._error_code_d
lea edi, [esp + 0x68]
mov esi, ebp
call fcn.10057cb0
add esp, 8
xor eax, eax
jmp 0x10058740
mov edi, dword [esp + 0x10]
mov esi, edi
mov byte [edi], 0
call fcn.10050dc0
xor esi, esi
cmp eax, esi
je 0x10058171
push eax
push str.btreeInitPage___returns_error_code__d
lea edi, [esp + 0x68]
mov esi, ebp
call fcn.10057cb0
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x44]
push eax
call fcn.1004bf40
add esp, 0xc
xor eax, eax
jmp 0x10058740
xor ecx, ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], esi
cmp cx, word [edi + 0x10]
jae 0x10058396
cmp dword [ebp + 0x10], 0
je 0x10058396
push esi
push ebx
push str.On_tree_page__d_cell__d:
lea edx, [esp + 0x6c]
push edx
push 0x64
call fcn.10041580
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.10050460
mov ebx, dword [esp + 0x50]
add esp, 4
cmp byte [edi + 2], 0
jne 0x100581e7
mov eax, dword [esp + 0x40]
add ebx, eax
jmp 0x10058252
test esi, esi
jne 0x10058205
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 0x10058252
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
cmp eax, edx
jg 0x10058246
mov ecx, dword [esp + 0x20]
jl 0x1005821d
cmp dword [esp + 0x40], ecx
ja 0x10058246
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.10057cb0
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 0x100582ce
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 0x100582ce
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.10042d00
mov esi, eax
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x11], 0
je 0x100582af
mov eax, dword [esp + 0xd8]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x18]
push esi
mov bl, 3
call fcn.10057dc0
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.10057e50
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
add esp, 0x10
cmp byte [edi + 3], 0
jne 0x10058376
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 0x10058320
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x60]
push edx
push esi
mov bl, 5
call fcn.10057dc0
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.10058070
add esp, 0x14
mov ebx, eax
test ebp, ebp
jle 0x1005836e
cmp ebx, dword [esp + 0x3c]
je 0x1005836e
mov esi, dword [esp + 0x14]
push str.Child_page_depth_differs
lea edi, [esp + 0x64]
call fcn.10057cb0
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 0x10058185
cmp byte [edi + 3], 0
jne 0x1005842d
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 fcn.10041580
mov ecx, dword [esp + 0x38]
add esp, 0x10
cmp byte [ecx + 0x11], 0
je 0x10058403
lea edx, [esp + 0x60]
push edx
mov eax, ebx
push esi
mov bl, 5
mov ecx, ebp
call fcn.10057dc0
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.10058070
add esp, 0x14
cmp byte [edi + 3], 0
je 0x1005852e
cmp byte [edi + 2], 0
je 0x1005852e
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x100584f2
mov edx, dword [esp + 0x18]
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
test edx, edx
jne 0x1005847a
mov edx, dword [esp + 0x24]
cmp edx, eax
jl 0x1005852e
jg 0x10058468
cmp dword [esp + 0x20], ecx
jbe 0x1005852e
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 0x1005851c
cmp dword [esp + 0x34], eax
jg 0x100584af
jl 0x10058488
cmp dword [esp + 0x30], ecx
ja 0x100584af
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.10057cb0
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 0x100584e3
jg 0x100584c4
cmp dword [esp + 0x20], ecx
jbe 0x100584e3
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.10057cb0
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 0x1005852e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1005852e
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x34]
cmp edx, eax
jg 0x1005852e
jl 0x1005850f
cmp dword [esp + 0x30], ecx
ja 0x1005852e
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.10057cb0
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.10047440
mov ebx, eax
test ebx, ebx
jne 0x1005855f
mov eax, dword [esp + 0x14]
mov dword [eax + 0x18], 1
jmp 0x10058724
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 sub.MSVCR90.dll_memset
add esp, 0xc
push esi
push 1
push ebx
call sub.MSVCR90.dll_memset
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 0x10058668
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 0x10058605
mov eax, dword [esp + 0x10]
lea edx, [esi + ebp]
push edx
call fcn.100505e0
add esp, 4
movzx eax, ax
lea eax, [eax + esi - 1]
cmp eax, dword [esp + 0x38]
jl 0x10058635
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.10057cb0
mov edi, dword [esp + 0x34]
add esp, 0xc
jmp 0x10058648
cmp eax, esi
jl 0x10058648
lea esp, [esp]
inc byte [eax + ebx]
dec eax
cmp eax, esi
jge 0x10058640
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 0x100585d6
mov edx, dword [esp + 0x2c]
movzx ecx, byte [edx + ebp + 1]
movzx edx, byte [edx + ebp + 2]
shl ecx, 8
or ecx, edx
jle 0x100586b1
lea esp, [esp]
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 0x1005869f
inc byte [eax + ebx]
dec eax
cmp eax, ecx
jge 0x10058697
movzx eax, byte [ecx + ebp]
movzx ecx, byte [ecx + ebp + 1]
shl eax, 8
or eax, ecx
mov ecx, eax
jg 0x10058680
mov esi, dword [esp + 0x38]
xor edx, edx
xor eax, eax
test esi, esi
jle 0x100586fa
lea ecx, [ecx]
mov cl, byte [eax + ebx]
test cl, cl
jne 0x100586ca
inc edx
jmp 0x100586cf
cmp cl, 1
jg 0x100586d6
inc eax
cmp eax, esi
jl 0x100586c0
jmp 0x100586fa
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.10057cb0
mov edx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax + ebp + 7]
cmp edx, eax
je 0x10058724
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.10057cb0
add esp, 0x10
mov esi, ebx
call fcn.10047540
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x44]
push eax
call fcn.1004bf40
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.100e7da2
add esp, 0xc0
ret