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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x4d625c]
xor eax, esp
mov dword [esp + 0xc8], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x2c], eax
xor eax, eax
push esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push str.Page__d:
lea eax, [esp + 0x70]
push eax
push 0x64
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], edx
call fcn.00405ca0
mov ebx, dword [edi]
mov ecx, dword [ebx + 0x24]
add esp, 0x10
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ecx
test esi, esi
je 0x41e027
mov edx, dword [esp + 0x2c]
push edx
push edi
mov eax, esi
call fcn.0041dbf0
add esp, 8
test eax, eax
jne 0x41e027
mov ecx, dword [ebx]
push eax
lea eax, [esp + 0x30]
push eax
push esi
push ecx
call fcn.00411050
add esp, 0x10
test eax, eax
jne 0x41e013
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp esi, 1
setne cl
mov dword [ebx + 0x44], eax
mov eax, dword [esp + 0x34]
dec cl
mov dword [ebx + 0x48], esi
and cl, 0x64
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x34], eax
mov byte [ebx + 5], cl
mov esi, ebx
mov dword [esp + 0x24], ebx
mov byte [ebx], 0
call fcn.00416410
test eax, eax
je 0x41e03e
push eax
push str.btreeInitPage___returns_error_code__d
lea eax, [esp + 0x70]
push eax
push edi
call fcn.0041db60
mov eax, dword [ebx + 0x44]
add esp, 0x10
call fcn.004113b0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.0049d48e
mov esp, ebp
pop ebp
ret
push eax
push str.unable_to_get_the_page._error_code_d
lea edx, [esp + 0x70]
push edx
push edi
call fcn.0041db60
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.0049d48e
mov esp, ebp
pop ebp
ret
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
cmp cx, word [ebx + 0x10]
jae 0x41e269
cmp dword [edi + 0x10], 0
je 0x41e269
mov esi, dword [esp + 0x14]
mov edx, dword [ebp + 0xc]
push esi
push edx
push str.On_tree_page__d_cell__d:
lea eax, [esp + 0x74]
push eax
push 0x64
call fcn.00405ca0
mov ecx, dword [ebx + 0x40]
movzx edx, byte [ecx + esi*2 + 1]
lea eax, [ecx + esi*2]
movzx esi, byte [eax]
movzx eax, word [ebx + 0x12]
shl esi, 8
or esi, edx
and esi, eax
add esi, dword [ebx + 0x38]
add esp, 0x14
push esi
push ebx
lea eax, [esp + 0x50]
mov dword [esp + 0x4c], esi
call fcn.00415b30
mov edi, dword [esp + 0x5c]
add esp, 8
cmp byte [ebx + 2], 0
jne 0x41e0b9
add edi, dword [esp + 0x48]
jmp 0x41e11b
cmp dword [esp + 0x14], 0
jne 0x41e0d2
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
jmp 0x41e113
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x4c], ecx
jg 0x41e10b
mov eax, dword [esp + 0x18]
jl 0x41e0e8
cmp dword [esp + 0x48], eax
ja 0x41e10b
mov edx, dword [esp + 0x4c]
push ecx
push eax
mov eax, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x18]
push eax
push str.Rowid__lld_out_of_order__previous_was__lld_
lea ecx, [esp + 0x7c]
push ecx
push edx
call fcn.0041db60
add esp, 0x1c
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
movzx eax, word [esp + 0x5e]
cmp edi, eax
jbe 0x41e1b3
mov edx, dword [esp + 0x34]
movzx ecx, word [esp + 0x60]
mov edx, dword [edx + 0x24]
add edx, dword [ebx + 0x38]
add ecx, esi
cmp ecx, edx
ja 0x41e1b3
mov edx, dword [esp + 0x30]
sub edi, eax
lea eax, [edi + edx - 5]
lea edi, [edx - 4]
xor edx, edx
div edi
movzx edi, byte [ecx]
movzx edx, byte [ecx + 2]
shl edi, 8
mov dword [esp + 0x40], eax
movzx eax, byte [ecx + 1]
or edi, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [esp + 0x34]
shl edi, 8
or edi, edx
shl edi, 8
or edi, eax
cmp byte [ecx + 0x11], 0
je 0x41e199
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0xc]
lea edx, [esp + 0x68]
push edx
push eax
mov bl, 3
call fcn.0041dc70
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x2c]
add esp, 8
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push 0
mov eax, edi
call fcn.0041dcf0
add esp, 0xc
cmp byte [ebx + 3], 0
jne 0x41e250
movzx edi, byte [esi]
movzx eax, byte [esi + 1]
movzx ecx, byte [esi + 2]
movzx edx, byte [esi + 3]
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x34]
shl edi, 8
or edi, ecx
shl edi, 8
or edi, edx
cmp byte [eax + 0x11], 0
je 0x41e200
mov edx, dword [ebp + 0xc]
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x68]
push ecx
push edx
mov bl, 5
call fcn.0041dc70
mov ebx, dword [esp + 0x2c]
add esp, 8
mov esi, dword [esp + 0x14]
mov eax, esi
neg eax
sbb eax, eax
lea ecx, [esp + 0x18]
and eax, ecx
mov ecx, dword [esp + 0xc]
push eax
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x70]
push eax
push edi
push ecx
call fcn.0041df00
add esp, 0x14
mov edi, eax
test esi, esi
jle 0x41e24c
cmp edi, dword [esp + 0x2c]
je 0x41e24c
mov eax, dword [esp + 0xc]
push str.Child_page_depth_differs
lea edx, [esp + 0x6c]
push edx
push eax
call fcn.0041db60
add esp, 0xc
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x14]
movzx ecx, word [ebx + 0x10]
mov edi, dword [esp + 0xc]
inc eax
mov dword [esp + 0x14], eax
cmp eax, ecx
jl 0x41e054
cmp byte [ebx + 3], 0
mov esi, dword [esp + 0x10]
jne 0x41e316
movzx edx, byte [ebx + 5]
mov eax, dword [ebx + 0x38]
movzx edi, byte [edx + eax + 8]
movzx ecx, byte [edx + eax + 9]
lea eax, [edx + eax + 8]
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl edi, 8
or edi, ecx
mov ecx, dword [ebp + 0xc]
shl edi, 8
push ecx
or edi, edx
push str.On_page__d_at_right_child:
lea edx, [esp + 0x70]
push edx
shl edi, 8
push 0x64
or edi, eax
call fcn.00405ca0
mov eax, dword [esp + 0x44]
add esp, 0x10
cmp byte [eax + 0x11], 0
je 0x41e2e0
mov edx, dword [ebp + 0xc]
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x68]
push ecx
push edx
mov bl, 5
call fcn.0041dc70
mov ebx, dword [esp + 0x2c]
add esp, 8
movzx eax, word [ebx + 0x10]
neg eax
sbb eax, eax
lea ecx, [esp + 0x18]
and eax, ecx
push eax
mov eax, dword [esp + 0x10]
push 0
lea edx, [esp + 0x70]
push edx
push edi
push eax
call fcn.0041df00
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
add esp, 0x14
cmp byte [ebx + 3], 0
je 0x41e410
cmp byte [ebx + 2], 0
je 0x41e410
test esi, esi
je 0x41e3d8
mov edx, dword [esp + 0x28]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
test edx, edx
jne 0x41e366
cmp dword [esp + 0x1c], eax
jl 0x41e410
jg 0x41e34b
cmp dword [esp + 0x18], ecx
jbe 0x41e410
mov edx, dword [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push edx
push str.Rowid__lld_out_of_order__max_larger_than_parent_min_of__lld_
lea eax, [esp + 0x7c]
push eax
jmp 0x41e407
cmp dword [esp + 0x3c], eax
jg 0x41e397
jl 0x41e374
cmp dword [esp + 0x38], ecx
ja 0x41e397
mov edx, dword [esp + 0x38]
push eax
push ecx
mov ecx, dword [esp + 0x44]
push ecx
push edx
push str.Rowid__lld_out_of_order__min_less_than_parent_min_of__lld_
lea eax, [esp + 0x7c]
push eax
push edi
call fcn.0041db60
mov edx, dword [esp + 0x44]
add esp, 0x1c
mov eax, dword [edx + 4]
mov ecx, dword [edx]
cmp dword [esp + 0x1c], eax
jl 0x41e3c9
jg 0x41e3aa
cmp dword [esp + 0x18], ecx
jbe 0x41e3c9
mov edx, dword [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push edx
push str.Rowid__lld_out_of_order__max_larger_than_parent_max_of__lld_
lea eax, [esp + 0x7c]
push eax
push edi
call fcn.0041db60
add esp, 0x1c
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esi], ecx
mov dword [esi + 4], edx
jmp 0x41e410
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41e410
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x3c]
cmp edx, eax
jg 0x41e410
jl 0x41e3f5
cmp dword [esp + 0x38], ecx
ja 0x41e410
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
push str.Rowid__lld_out_of_order__min_less_than_parent_max_of__lld_
lea ecx, [esp + 0x7c]
push ecx
push edi
call fcn.0041db60
add esp, 0x1c
movzx eax, byte [ebx + 5]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebx + 0x38]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x10], edx
call fcn.0040c210
mov esi, eax
test esi, esi
jne 0x41e43d
mov dword [edi + 0x18], 1
jmp 0x41e5fa
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
movzx edi, byte [ecx + eax + 5]
movzx edx, byte [ecx + eax + 6]
mov eax, dword [esp + 0x30]
shl edi, 8
or edi, edx
dec edi
and edi, 0xffff
inc edi
sub eax, edi
push eax
lea ecx, [edi + esi]
push 0
push ecx
call fcn.0049d4a0
add esp, 0xc
push edi
push 1
push esi
call fcn.0049d4a0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
movzx eax, byte [ecx + edx + 3]
movzx edx, byte [ecx + edx + 4]
shl eax, 8
or eax, edx
movzx edx, byte [ebx + 3]
mov edi, 3
sub edi, edx
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x40], eax
lea ecx, [ecx + edi*4]
mov dword [esp + 0x14], 0
test eax, eax
jle 0x41e542
add ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x28]
movzx edi, byte [eax]
movzx ecx, byte [eax + 1]
shl edi, 8
or edi, ecx
lea ecx, [edx - 4]
mov eax, 0x10000
cmp edi, ecx
jg 0x41e4f7
mov edx, dword [esp + 0x10]
lea eax, [edi + edx]
push eax
mov eax, ebx
call fcn.00415c60
mov edx, dword [esp + 0x34]
add esp, 4
movzx eax, ax
lea eax, [eax + edi - 1]
cmp eax, edx
jl 0x41e522
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push ecx
push edx
push str.Corruption_detected_in_cell__d_on_page__d
push 0
push eax
call fcn.0041db60
mov edx, dword [esp + 0x44]
add esp, 0x14
jmp 0x41e52e
cmp eax, edi
jl 0x41e52e
inc byte [eax + esi]
dec eax
cmp eax, edi
jge 0x41e526
mov eax, dword [esp + 0x14]
add dword [esp + 0x28], 2
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x40]
jl 0x41e4c2
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
movzx ecx, byte [edi + eax + 1]
movzx edi, byte [edi + eax + 2]
shl ecx, 8
or ecx, edi
jle 0x41e593
jmp 0x41e560
movzx edi, byte [eax + ecx + 2]
movzx eax, byte [eax + ecx + 3]
shl edi, 8
or edi, eax
lea eax, [edi + ecx - 1]
cmp eax, ecx
jl 0x41e57f
inc byte [eax + esi]
dec eax
cmp eax, ecx
jge 0x41e577
mov eax, dword [esp + 0x10]
movzx edi, byte [eax + ecx]
movzx ecx, byte [eax + ecx + 1]
shl edi, 8
or ecx, edi
jg 0x41e560
xor edi, edi
xor eax, eax
test edx, edx
jle 0x41e5cf
jmp 0x41e5a0
mov cl, byte [eax + esi]
test cl, cl
jne 0x41e5aa
inc edi
jmp 0x41e5af
cmp cl, 1
jg 0x41e5b6
inc eax
cmp eax, edx
jl 0x41e5a0
jmp 0x41e5cf
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, dword [esp + 0x14]
push str.Multiple_uses_for_byte__d_of_page__d
push 0
push eax
call fcn.0041db60
add esp, 0x14
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
movzx eax, byte [ecx + edx + 7]
cmp edi, eax
je 0x41e5fa
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0xc]
push ecx
push eax
push edi
push str.Fragmentation_of__d_bytes_reported_as__d_on_page__d
push 0
push edx
call fcn.0041db60
add esp, 0x18
call fcn.0040c310
mov eax, dword [ebx + 0x44]
test byte [eax + 0x18], 0x40
mov edi, dword [eax + 0x10]
je 0x41e64b
dec dword [edi + 0x78]
mov ecx, dword [edi + 0x88]
mov dword [eax + 0xc], ecx
mov esi, dword [edi + 0x3c]
mov dword [edi + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [edi + 0x98]
mov ebx, dword [esi]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.0049f7f0
push edx
mov edx, dword [ebx + 0x48]
push eax
push esi
call edx
add esp, 0x10
jmp 0x41e709
or edx, 0xffffffff
add word [eax + 0x1a], dx
jne 0x41e709
mov ecx, dword [eax + 0x1c]
add dword [ecx + 0xc], edx
test byte [eax + 0x18], 2
jne 0x41e692
mov ecx, dword [eax + 0x1c]
cmp dword [ecx + 0x1c], 0
je 0x41e709
cmp dword [eax + 0x14], 1
jne 0x41e67e
mov dword [ecx + 0x2c], 0
mov eax, dword [eax]
mov ecx, dword [ecx + 0x28]
push 0
push eax
push ecx
call dword [0x4d77a8]
add esp, 0xc
jmp 0x41e709
mov edx, dword [eax + 0x1c]
mov bl, 4
cmp dword [edx + 8], eax
jne 0x41e6b2
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x41e6af
test byte [ecx + 0x18], bl
je 0x41e6af
mov ecx, dword [ecx + 0x24]
test ecx, ecx
jne 0x41e6a3
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x41e6c1
mov esi, dword [eax + 0x24]
mov dword [ecx + 0x24], esi
jmp 0x41e6c7
mov ecx, dword [eax + 0x24]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 0x24]
xor esi, esi
cmp ecx, esi
je 0x41e6d8
mov edx, dword [eax + 0x20]
mov dword [ecx + 0x20], edx
jmp 0x41e6dd
mov ecx, dword [eax + 0x20]
mov dword [edx], ecx
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], esi
mov edx, dword [ecx]
mov dword [eax + 0x20], edx
cmp edx, esi
je 0x41e6f2
mov dword [edx + 0x24], eax
mov dword [ecx], eax
cmp dword [ecx + 4], esi
jne 0x41e6fc
mov dword [ecx + 4], eax
cmp dword [ecx + 8], esi
jne 0x41e709
test byte [eax + 0x18], bl
jne 0x41e709
mov dword [ecx + 8], eax
cmp dword [edi + 0x78], 0
jne 0x41e764
mov edx, dword [edi + 0xdc]
cmp dword [edx + 0xc], 0
jne 0x41e764
mov al, byte [edi + 0xf]
cmp al, 6
je 0x41e75d
test al, al
je 0x41e75d
cmp al, 2
jb 0x41e749
mov eax, dword [0x4de2b4]
test eax, eax
je 0x41e735
call eax
mov eax, edi
call fcn.00411da0
mov eax, dword [0x4de2b8]
test eax, eax
je 0x41e75d
call eax
jmp 0x41e75d
cmp byte [edi + 4], 0
jne 0x41e75d
push 0
push 0
mov ebx, edi
call fcn.0040e380
add esp, 8
mov ebx, edi
call fcn.0040e220
mov ecx, dword [esp + 0xd4]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
inc eax
call fcn.0049d48e
mov esp, ebp
pop ebp
ret