Function at 0x10071070
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
xor ebx, ebx
mov dword [esp + 0x34], eax
mov eax, dword [edi]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0x24]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x18], eax
cmp esi, ebx
jne 0x100710c3
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov eax, edi
call fcn.10062fd0
add esp, 4
test eax, eax
jne 0x100710ba
mov edx, dword [esp + 0x14]
push ebx
lea ecx, [esp + 0x2c]
push ecx
mov dword [edi + 0x1c], str.Page__d:
mov dword [edi + 0x20], esi
mov eax, dword [edx]
push esi
push eax
call fcn.1006b8c0
add esp, 0x10
cmp eax, ebx
jne 0x10071151
mov eax, dword [esp + 0x28]
mov ebx, dword [eax + 8]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x44], eax
cmp esi, 1
setne al
dec al
mov dword [ebx + 0x48], esi
and al, 0x64
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x34], edx
mov byte [ebx + 6], al
mov esi, ebx
mov dword [esp + 0xc], ebx
mov byte [ebx], 0
call fcn.100670b0
test eax, eax
je 0x1007116c
push eax
push str.btreeInitPage___returns_error_code__d
call fcn.10062b10
add esp, 8
mov eax, ebx
call fcn.10025600
mov dword [esp + 0x1c], 0xffffffff
jmp 0x10071763
push eax
push str.unable_to_get_the_page._error_code_d
call fcn.10062b10
add esp, 8
mov dword [esp + 0x1c], 0xffffffff
jmp 0x10071763
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
cmp cx, word [ebx + 0x12]
jae 0x1007133b
cmp dword [edi + 0x10], 0
je 0x1007133b
mov esi, dword [esp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [edi + 0x24], eax
mov dword [edi + 0x20], edx
mov dword [edi + 0x1c], str.On_tree_page__d_cell__d:
mov ecx, dword [esi + 0x40]
movzx edx, byte [ecx + eax*2]
movzx ebx, byte [ecx + eax*2 + 1]
lea eax, [ecx + eax*2]
movzx eax, word [esi + 0x14]
shl edx, 8
or ebx, edx
and ebx, eax
add ebx, dword [esi + 0x38]
lea eax, [esp + 0x50]
push ebx
push esi
mov dword [esp + 0x30], ebx
call fcn.10021450
add esp, 8
cmp byte [esi + 2], 0
je 0x1007122b
cmp dword [esp + 0x10], 0
mov esi, dword [esp + 0x54]
jne 0x100711f2
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], esi
jmp 0x1007121b
mov ecx, dword [esp + 0x44]
cmp esi, ecx
jg 0x1007121b
mov eax, dword [esp + 0x40]
jl 0x10071206
cmp dword [esp + 0x50], eax
ja 0x1007121b
mov edx, dword [esp + 0x50]
push ecx
push eax
push esi
push edx
push str.Rowid__lld_out_of_order__previous_was__lld_
call fcn.10062b10
add esp, 0x14
mov eax, dword [esp + 0x50]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x40], eax
movzx ecx, word [esp + 0x60]
mov eax, dword [esp + 0x5c]
cmp eax, ecx
jbe 0x100712a3
mov edx, dword [esp + 0x14]
movzx ecx, word [esp + 0x62]
mov edx, dword [edx + 0x24]
add edx, dword [esi + 0x38]
add ecx, ebx
cmp ecx, edx
ja 0x100712a3
movzx edx, word [esp + 0x60]
sub eax, edx
mov edx, dword [esp + 0x18]
lea eax, [eax + edx - 5]
lea esi, [edx - 4]
xor edx, edx
div esi
mov dword [esp + 0x24], eax
call fcn.100163d0
mov esi, eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x11], 0
je 0x1007128c
mov ecx, dword [ebp + 0xc]
push ecx
mov bl, 3
mov eax, edi
call fcn.1006d410
mov ebx, dword [esp + 0x2c]
add esp, 4
mov edx, dword [esp + 0x24]
push edx
push 0
mov eax, esi
mov ecx, edi
call fcn.1006f120
mov esi, dword [esp + 0x14]
add esp, 8
cmp byte [esi + 5], 0
jne 0x10071322
movzx esi, byte [ebx]
movzx eax, byte [ebx + 1]
movzx ecx, byte [ebx + 2]
movzx edx, byte [ebx + 3]
shl esi, 8
or esi, eax
mov eax, dword [esp + 0x14]
shl esi, 8
or esi, ecx
shl esi, 8
or esi, edx
cmp byte [eax + 0x11], 0
je 0x100712e1
mov ecx, dword [ebp + 0xc]
push ecx
mov bl, 5
mov eax, edi
call fcn.1006d410
add esp, 4
mov ebx, dword [esp + 0x10]
mov edx, ebx
neg edx
sbb edx, edx
lea eax, [esp + 0x40]
and edx, eax
push edx
lea ecx, [esp + 0x4c]
push ecx
push esi
push edi
call fcn.10071070
add esp, 0x10
mov esi, eax
test ebx, ebx
jle 0x1007131a
cmp esi, dword [esp + 0x1c]
je 0x1007131a
push str.Child_page_depth_differs
call fcn.10062b10
add esp, 4
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
movzx edx, word [esi + 0x12]
mov ebx, dword [esp + 0xc]
inc eax
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x10071182
cmp byte [ebx + 5], 0
jne 0x100713b2
movzx eax, byte [ebx + 6]
mov ecx, dword [ebx + 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]
mov eax, dword [ebp + 0xc]
shl esi, 8
or esi, ecx
mov ecx, dword [esp + 0x14]
shl esi, 8
or esi, edx
mov dword [edi + 0x1c], str.On_page__d_at_right_child:
mov dword [edi + 0x20], eax
cmp byte [ecx + 0x11], 0
je 0x10071397
mov edx, eax
push edx
mov bl, 5
mov eax, edi
call fcn.1006d410
mov ebx, dword [esp + 0x10]
add esp, 4
movzx eax, word [ebx + 0x12]
neg eax
sbb eax, eax
lea ecx, [esp + 0x40]
and eax, ecx
push eax
push 0
push esi
push edi
call fcn.10071070
add esp, 0x10
mov edx, dword [ebp + 0xc]
mov dword [edi + 0x1c], str.Page__d:
mov dword [edi + 0x20], edx
cmp byte [ebx + 5], 0
je 0x100714b1
cmp byte [ebx + 2], 0
je 0x100714b1
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x10071480
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x10071416
mov eax, dword [esi]
mov esi, dword [esi + 4]
cmp dword [esp + 0x44], esi
jl 0x100714b1
jg 0x10071400
cmp dword [esp + 0x40], eax
jbe 0x100714b1
mov ecx, dword [esp + 0x40]
push esi
push eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
push str.Rowid__lld_out_of_order__max_larger_than_parent_min_of__lld_
jmp 0x100714a9
mov eax, dword [esi + 4]
cmp dword [esp + 0x4c], eax
mov ecx, dword [esi]
jg 0x10071445
jl 0x10071429
cmp dword [esp + 0x48], ecx
ja 0x10071445
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
push str.Rowid__lld_out_of_order__min_less_than_parent_min_of__lld_
call fcn.10062b10
mov edx, dword [ebp + 0x14]
add esp, 0x14
mov eax, dword [edx + 4]
cmp dword [esp + 0x44], eax
mov ecx, dword [edx]
jl 0x10071471
jg 0x10071458
cmp dword [esp + 0x40], ecx
jbe 0x10071471
mov edx, dword [esp + 0x40]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
push edx
push str.Rowid__lld_out_of_order__max_larger_than_parent_max_of__lld_
call fcn.10062b10
add esp, 0x14
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp 0x100714b1
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100714b1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x4c]
cmp edx, eax
jg 0x100714b1
jl 0x1007149c
cmp dword [esp + 0x48], ecx
ja 0x100714b1
push eax
push ecx
push edx
mov edx, dword [esp + 0x54]
push edx
push str.Rowid__lld_out_of_order__min_less_than_parent_max_of__lld_
call fcn.10062b10
add esp, 0x14
movzx eax, byte [ebx + 6]
mov ecx, dword [esp + 0x14]
mov esi, dword [ebx + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x28], esi
call fcn.10028490
mov dword [esp + 0x14], eax
mov dword [edi + 0x1c], 0
test eax, eax
jne 0x100714e7
mov dword [edi + 0x18], 1
jmp 0x100716aa
mov eax, dword [esp + 0x20]
movzx ebx, byte [eax + esi + 5]
movzx edx, byte [eax + esi + 6]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
shl ebx, 8
or ebx, edx
dec ebx
and ebx, 0xffff
inc ebx
sub eax, ebx
push eax
lea edx, [ebx + ecx]
push 0
push edx
call fcn.10004b00
mov eax, dword [esp + 0x20]
add esp, 0xc
push ebx
push 1
push eax
call fcn.10004b00
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx + esi + 3]
movzx edx, byte [ecx + esi + 4]
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x18]
movzx edx, byte [edx + 5]
mov ebx, 3
sub ebx, edx
add esp, 0xc
mov dword [esp + 0x30], eax
lea ecx, [ecx + ebx*4]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x10071603
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
add eax, 0xfffffffc
add ecx, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
lea esp, [esp]
mov eax, dword [esp + 0x24]
movzx esi, byte [eax]
movzx ecx, byte [eax + 1]
shl esi, 8
or esi, ecx
cmp esi, dword [esp + 0x2c]
mov eax, 0x10000
jg 0x100715b6
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
lea ebx, [esi + edx]
push eax
call fcn.100148c0
mov ebx, dword [esp + 0x18]
add esp, 4
movzx eax, ax
lea eax, [eax + esi - 1]
cmp eax, dword [esp + 0x18]
jl 0x100715df
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x10]
push ecx
push edx
push str.Corruption_detected_in_cell__d_on_page__d
mov dword [edi + 0x1c], 0
call fcn.10062b10
add esp, 0xc
jmp 0x100715eb
cmp eax, esi
jl 0x100715eb
inc byte [eax + ebx]
dec eax
cmp eax, esi
jge 0x100715e3
mov eax, dword [esp + 0x10]
add dword [esp + 0x24], 2
inc eax
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
jl 0x10071580
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + esi + 1]
movzx eax, byte [eax + esi + 2]
mov edx, dword [esp + 0x14]
shl ecx, 8
or ecx, eax
jle 0x10071651
lea esp, [esp]
movzx eax, byte [esi + ecx + 2]
movzx ebx, byte [esi + ecx + 3]
shl eax, 8
or eax, ebx
lea eax, [eax + ecx - 1]
cmp eax, ecx
jl 0x1007163f
inc byte [eax + edx]
dec eax
cmp eax, ecx
jge 0x10071637
movzx eax, byte [esi + ecx]
movzx ecx, byte [esi + ecx + 1]
shl eax, 8
or eax, ecx
mov ecx, eax
jg 0x10071620
xor eax, eax
xor ebx, ebx
cmp dword [esp + 0x18], eax
jle 0x1007168a
jmp 0x10071660
mov cl, byte [eax + edx]
test cl, cl
jne 0x1007166a
inc ebx
jmp 0x1007166f
cmp cl, 1
jg 0x10071678
inc eax
cmp eax, dword [esp + 0x18]
jl 0x10071660
jmp 0x1007168a
mov edx, dword [ebp + 0xc]
push edx
push eax
push str.Multiple_uses_for_byte__d_of_page__d
call fcn.10062b10
add esp, 0xc
mov eax, dword [esp + 0x20]
movzx eax, byte [eax + esi + 7]
cmp ebx, eax
je 0x100716aa
mov ecx, dword [ebp + 0xc]
push ecx
push eax
push ebx
push str.Fragmentation_of__d_bytes_reported_as__d_on_page__d
call fcn.10062b10
add esp, 0x10
mov esi, dword [esp + 0x14]
call fcn.10022570
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x44]
test byte [eax + 0x18], 0x40
mov esi, dword [eax + 0x10]
je 0x10071703
dec dword [esi + 0x78]
mov ecx, dword [esi + 0x88]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x88], eax
mov ebx, dword [ecx]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x98]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.100083f0
push edx
mov edx, dword [ebx + 0x48]
push eax
mov eax, dword [esi + 0x3c]
push eax
call edx
add esp, 0x10
jmp 0x10071708
call fcn.1001d7d0
cmp dword [esi + 0x78], 0
jne 0x10071763
mov eax, dword [esi + 0xdc]
cmp dword [eax + 0xc], 0
jne 0x10071763
mov al, byte [esi + 0x10]
cmp al, 6
je 0x1007175c
test al, al
je 0x1007175c
cmp al, 2
jb 0x10071748
mov eax, dword [0x100cd594]
test eax, eax
je 0x10071734
call eax
mov eax, esi
call fcn.10069de0
mov eax, dword [0x100cd598]
test eax, eax
je 0x1007175c
call eax
jmp 0x1007175c
cmp byte [esi + 4], 0
jne 0x1007175c
push 0
push 0
mov eax, esi
call fcn.10027e40
add esp, 8
mov eax, esi
call fcn.1002cba0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], edx
pop edi
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret