Function at 0x10021f10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xa8
mov eax, dword [0x10058040]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xb4]
push ebx
mov ebx, dword [esp + 0xb0]
push ebp
mov ebp, dword [esp + 0xc0]
push esi
mov esi, dword [esp + 0xbc]
push edi
push esi
lea ecx, [esp + 0x54]
push str.Page__d:
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], eax
call fcn.1004086c
mov edi, dword [ebx]
movzx edx, word [edi + 0x16]
add esp, 0xc
test esi, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edx
je 0x10021fa7
mov eax, ebp
mov edx, esi
mov ecx, ebx
call fcn.10018270
test eax, eax
jne 0x10021fa7
lea eax, [esp + 0x18]
push eax
xor eax, eax
call fcn.1001e830
add esp, 4
test eax, eax
je 0x10021fae
push eax
push str.unable_to_get_the_page._error_code_d
lea eax, [esp + 0x58]
mov ecx, ebx
call fcn.100181f0
add esp, 8
xor eax, eax
jmp 0x1002245c
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x18]
push ecx
mov ebx, ebp
call fcn.10004cc0
xor edi, edi
add esp, 4
cmp eax, edi
je 0x10021ff4
mov ecx, dword [esp + 0x10]
push eax
push str.initPage___returns_error_code__d
lea eax, [esp + 0x58]
call fcn.100181f0
add esp, 8
cmp ebp, edi
je 0x10021fed
mov edx, dword [ebp + 0x48]
push edx
call fcn.10017750
add esp, 4
xor eax, eax
jmp 0x1002245c
cmp word [ebp + 0x14], di
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
jbe 0x1002219d
jmp 0x10022010
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x10], 0
je 0x1002219d
push edi
push esi
lea ecx, [esp + 0x58]
push str.On_tree_page__d_cell__d:
push ecx
call fcn.1004086c
mov eax, dword [ebp + 0x44]
movzx edx, word [ebp + 0xe]
mov ebx, dword [esp + 0x28]
add edx, eax
lea ecx, [edx + edi*2]
xor edx, edx
mov dh, byte [ecx]
lea esi, [esp + 0x40]
mov dl, byte [ecx + 1]
add edx, eax
mov ebp, edx
push ebp
mov eax, ebx
call fcn.100049b0
mov eax, dword [esp + 0x54]
add esp, 0x14
cmp byte [ebx + 3], 0
jne 0x10022069
mov ecx, dword [esp + 0x38]
add eax, ecx
movzx ecx, word [esp + 0x4a]
cmp eax, ecx
jle 0x100220f5
sub eax, ecx
mov ecx, dword [esp + 0x1c]
lea eax, [eax + ecx - 5]
cdq
add ecx, 0xfffffffc
idiv ecx
mov dword [esp + 0x28], eax
movzx eax, word [esp + 0x4c]
movzx edx, byte [eax + ebp + 1]
mov dh, byte [eax + ebp]
movzx ecx, byte [eax + ebp + 2]
add eax, ebp
movzx eax, byte [eax + 3]
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x14]
shl edx, 8
or edx, eax
cmp byte [ecx + 0x12], 0
mov esi, edx
je 0x100220db
mov eax, dword [esp + 0xc0]
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x50]
push edx
push eax
mov bl, 3
call fcn.10021c50
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
add esp, 8
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push 0
mov eax, esi
call fcn.10021cc0
add esp, 0xc
cmp byte [ebx + 4], 0
jne 0x1002217f
movzx ecx, byte [ebp + 2]
movzx edx, byte [ebp + 3]
xor eax, eax
mov ah, byte [ebp]
mov al, byte [ebp + 1]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
mov esi, eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x12], 0
je 0x10022148
mov edx, dword [esp + 0xc0]
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x50]
push ecx
push edx
mov bl, 5
call fcn.10021c50
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
add esp, 8
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x50]
push eax
push ebx
push esi
push ebp
call fcn.10021f10
add esp, 0x10
test edi, edi
mov esi, eax
jle 0x1002217b
cmp esi, dword [esp + 0x24]
je 0x1002217b
push str.Child_page_depth_differs
lea eax, [esp + 0x54]
mov ecx, ebp
call fcn.100181f0
add esp, 4
mov dword [esp + 0x24], esi
movzx ecx, word [ebx + 0x14]
mov esi, dword [esp + 0xc0]
mov ebp, dword [esp + 0x18]
add edi, 1
cmp edi, ecx
mov dword [esp + 0x20], edi
jl 0x10022010
cmp byte [ebp + 4], 0
jne 0x10022215
movzx edx, byte [ebp + 8]
mov eax, dword [ebp + 0x44]
movzx ecx, byte [edx + eax + 9]
mov ch, byte [edx + eax + 8]
lea eax, [edx + eax + 8]
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
mov edi, ecx
push esi
lea ecx, [esp + 0x54]
push str.On_page__d_at_right_child:
push ecx
mov dword [esp + 0x34], edi
call fcn.1004086c
mov edx, dword [esp + 0x20]
add esp, 0xc
cmp byte [edx + 0x12], 0
je 0x10022201
push 0
push esi
mov esi, edi
mov edi, dword [esp + 0x18]
mov bl, 5
call fcn.10021c50
add esp, 8
mov edi, esi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x50]
push eax
push ebp
push edi
push ecx
call fcn.10021f10
add esp, 0x10
movzx edi, byte [ebp + 8]
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebx, dword [ebp + 0x44]
mov dword [esp + 0x2c], edi
jle 0x10022449
cmp dword [0x100593ac], 0
je 0x10022242
cmp dword [0x100593b8], 0
jg 0x10022449
push eax
call fcn.10041469
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x10022258
call fcn.10008ea0
jmp 0x10022268
mov edx, dword [esp + 0x1c]
push edx
push 0
push ebp
call fcn.10041850
add esp, 0xc
test ebp, ebp
je 0x10022445
xor eax, eax
mov ah, byte [edi + ebx + 5]
mov al, byte [edi + ebx + 6]
push eax
push 1
push ebp
call fcn.10041850
mov ecx, dword [esp + 0x24]
movzx edx, byte [ecx + 4]
xor eax, eax
mov ah, byte [edi + ebx + 3]
mov ecx, 3
sub ecx, edx
add esp, 0xc
lea ecx, [edi + ecx*4]
mov dword [esp + 0x20], 0
mov al, byte [edi + ebx + 4]
test eax, eax
mov dword [esp + 0x28], eax
jle 0x1002234d
lea eax, [ecx + ebx]
mov dword [esp + 0x14], eax
jmp 0x100222c4
mov eax, dword [esp + 0x14]
xor edx, edx
mov dh, byte [eax]
lea esi, [esp + 0x30]
mov dl, byte [eax + 1]
mov edi, edx
lea eax, [edi + ebx]
push eax
mov eax, dword [esp + 0x1c]
call fcn.100049b0
movzx eax, word [esp + 0x52]
lea eax, [eax + edi - 1]
add esp, 4
cmp eax, dword [esp + 0x1c]
jge 0x1002230d
test edi, edi
jl 0x1002230d
cmp eax, edi
jl 0x1002232f
jmp 0x10022300
add byte [eax + ebp], 1
sub eax, 1
cmp eax, edi
jge 0x10022300
jmp 0x1002232f
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0x20]
push 0
push ecx
mov ecx, dword [esp + 0x18]
push edx
push str.Corruption_detected_in_cell__d_on_page__d
xor eax, eax
call fcn.100181f0
add esp, 0x10
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], 2
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
jl 0x100222c0
mov edi, dword [esp + 0x2c]
movzx eax, byte [edi + ebx + 2]
mov ah, byte [edi + ebx + 1]
mov dword [esp + 0x14], 0
mov esi, eax
test esi, esi
jle 0x100223d4
mov edx, dword [esp + 0x1c]
cmp esi, edx
jge 0x100223d8
cmp dword [esp + 0x14], 0x2710
jge 0x100223d8
xor eax, eax
mov ah, byte [ebx + esi + 2]
mov al, byte [ebx + esi + 3]
lea eax, [eax + esi - 1]
cmp eax, edx
jge 0x1002239d
test esi, esi
jl 0x1002239d
cmp eax, esi
jl 0x100223bf
add byte [eax + ebp], 1
sub eax, 1
cmp eax, esi
jge 0x10022390
jmp 0x100223bf
mov ecx, dword [esp + 0xc0]
push 0
push ecx
mov ecx, dword [esp + 0x18]
push esi
push str.Corruption_detected_in_cell__d_on_page__d
xor eax, eax
call fcn.100181f0
mov edx, dword [esp + 0x2c]
add esp, 0x10
movzx eax, byte [ebx + esi + 1]
mov ah, byte [ebx + esi]
add dword [esp + 0x14], 1
mov esi, eax
test esi, esi
jg 0x10022364
jmp 0x100223d8
mov edx, dword [esp + 0x1c]
xor esi, esi
xor eax, eax
test edx, edx
jle 0x10022416
mov cl, byte [eax + ebp]
test cl, cl
jne 0x100223ec
add esi, 1
jmp 0x100223f1
cmp cl, 1
jg 0x100223fa
add eax, 1
cmp eax, edx
jl 0x100223e0
jmp 0x10022416
mov ecx, dword [esp + 0xc0]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push str.Multiple_uses_for_byte__d_of_page__d
xor eax, eax
call fcn.100181f0
add esp, 0xc
movzx eax, byte [edi + ebx + 7]
cmp esi, eax
je 0x1002243c
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0x10]
push edx
push eax
push esi
push str.Fragmented_space_is__d_byte_reported_as__d_on_page__d
xor eax, eax
call fcn.100181f0
add esp, 0x10
push ebp
call fcn.100417c0
add esp, 4
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp + 0x48]
push eax
call fcn.10017750
mov eax, dword [esp + 0x28]
add esp, 4
add eax, 1
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100408e7
add esp, 0xa8
ret