Function at 0x10057e40
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc0
mov eax, dword [0x1011f07c]
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.10041370
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 0x10057efe
push edi
mov eax, ebx
mov edx, ebp
call fcn.10057b30
add esp, 4
test eax, eax
jne 0x10057efe
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push ecx
xor ecx, ecx
mov esi, ebx
call fcn.10050e70
add esp, 4
test eax, eax
je 0x10057f05
push eax
push str.unable_to_get_the_page._error_code_d
lea edi, [esp + 0x68]
mov esi, ebp
call fcn.10057a80
add esp, 8
xor eax, eax
jmp 0x10058510
mov edi, dword [esp + 0x10]
mov esi, edi
mov byte [edi], 0
call fcn.10050b90
xor esi, esi
cmp eax, esi
je 0x10057f41
push eax
push str.btreeInitPage___returns_error_code__d
lea edi, [esp + 0x68]
mov esi, ebp
call fcn.10057a80
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x44]
push eax
call fcn.1004bd30
add esp, 0xc
xor eax, eax
jmp 0x10058510
xor ecx, ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], esi
cmp cx, word [edi + 0x10]
jae 0x10058166
cmp dword [ebp + 0x10], 0
je 0x10058166
push esi
push ebx
push str.On_tree_page__d_cell__d:
lea edx, [esp + 0x6c]
push edx
push 0x64
call fcn.10041370
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.10050230
mov ebx, dword [esp + 0x50]
add esp, 4
cmp byte [edi + 2], 0
jne 0x10057fb7
mov eax, dword [esp + 0x40]
add ebx, eax
jmp 0x10058022
test esi, esi
jne 0x10057fd5
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 0x10058022
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
cmp eax, edx
jg 0x10058016
mov ecx, dword [esp + 0x20]
jl 0x10057fed
cmp dword [esp + 0x40], ecx
ja 0x10058016
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.10057a80
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 0x1005809e
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 0x1005809e
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.10042af0
mov esi, eax
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x11], 0
je 0x1005807f
mov eax, dword [esp + 0xd8]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x18]
push esi
mov bl, 3
call fcn.10057b90
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.10057c20
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
add esp, 0x10
cmp byte [edi + 3], 0
jne 0x10058146
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 0x100580f0
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x60]
push edx
push esi
mov bl, 5
call fcn.10057b90
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.10057e40
add esp, 0x14
mov ebx, eax
test ebp, ebp
jle 0x1005813e
cmp ebx, dword [esp + 0x3c]
je 0x1005813e
mov esi, dword [esp + 0x14]
push str.Child_page_depth_differs
lea edi, [esp + 0x64]
call fcn.10057a80
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 0x10057f55
cmp byte [edi + 3], 0
jne 0x100581fd
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.10041370
mov ecx, dword [esp + 0x38]
add esp, 0x10
cmp byte [ecx + 0x11], 0
je 0x100581d3
lea edx, [esp + 0x60]
push edx
mov eax, ebx
push esi
mov bl, 5
mov ecx, ebp
call fcn.10057b90
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.10057e40
add esp, 0x14
cmp byte [edi + 3], 0
je 0x100582fe
cmp byte [edi + 2], 0
je 0x100582fe
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x100582c2
mov edx, dword [esp + 0x18]
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
test edx, edx
jne 0x1005824a
mov edx, dword [esp + 0x24]
cmp edx, eax
jl 0x100582fe
jg 0x10058238
cmp dword [esp + 0x20], ecx
jbe 0x100582fe
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 0x100582ec
cmp dword [esp + 0x34], eax
jg 0x1005827f
jl 0x10058258
cmp dword [esp + 0x30], ecx
ja 0x1005827f
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.10057a80
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 0x100582b3
jg 0x10058294
cmp dword [esp + 0x20], ecx
jbe 0x100582b3
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.10057a80
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 0x100582fe
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100582fe
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x34]
cmp edx, eax
jg 0x100582fe
jl 0x100582df
cmp dword [esp + 0x30], ecx
ja 0x100582fe
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.10057a80
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.10047240
mov ebx, eax
test ebx, ebx
jne 0x1005832f
mov eax, dword [esp + 0x14]
mov dword [eax + 0x18], 1
jmp 0x100584f4
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 0x10058438
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 0x100583d5
mov eax, dword [esp + 0x10]
lea edx, [esi + ebp]
push edx
call fcn.100503b0
add esp, 4
movzx eax, ax
lea eax, [eax + esi - 1]
cmp eax, dword [esp + 0x38]
jl 0x10058405
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.10057a80
mov edi, dword [esp + 0x34]
add esp, 0xc
jmp 0x10058418
cmp eax, esi
jl 0x10058418
lea esp, [esp]
inc byte [eax + ebx]
dec eax
cmp eax, esi
jge 0x10058410
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 0x100583a6
mov edx, dword [esp + 0x2c]
movzx ecx, byte [edx + ebp + 1]
movzx edx, byte [edx + ebp + 2]
shl ecx, 8
or ecx, edx
jle 0x10058481
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 0x1005846f
inc byte [eax + ebx]
dec eax
cmp eax, ecx
jge 0x10058467
movzx eax, byte [ecx + ebp]
movzx ecx, byte [ecx + ebp + 1]
shl eax, 8
or eax, ecx
mov ecx, eax
jg 0x10058450
mov esi, dword [esp + 0x38]
xor edx, edx
xor eax, eax
test esi, esi
jle 0x100584ca
lea ecx, [ecx]
mov cl, byte [eax + ebx]
test cl, cl
jne 0x1005849a
inc edx
jmp 0x1005849f
cmp cl, 1
jg 0x100584a6
inc eax
cmp eax, esi
jl 0x10058490
jmp 0x100584ca
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.10057a80
mov edx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax + ebp + 7]
cmp edx, eax
je 0x100584f4
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.10057a80
add esp, 0x10
mov esi, ebx
call fcn.10047340
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x44]
push eax
call fcn.1004bd30
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.100e78b2
add esp, 0xc0
ret