Function at 0x41f530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x1c]
mov esi, dword [ebx]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x24]
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
test edi, edi
je 0x41fbd3
push edi
push ebx
call fcn.0041f4b0
add esp, 8
test eax, eax
jne 0x41fbd3
push eax
lea eax, [ebp - 0x1c]
mov dword [ebx + 0x1c], str.Page__d:
push eax
mov dword [ebx + 0x20], edi
push edi
push dword [esi]
call fcn.00457ed0
add esp, 0x10
test eax, eax
je 0x41f5b8
push eax
push str.unable_to_get_the_page._error_code_d
push ebx
call fcn.0041f050
add esp, 0xc
or eax, 0xffffffff
jmp 0x41fbb9
mov ecx, dword [ebp - 0x1c]
cmp edi, 1
mov esi, dword [ecx + 8]
mov eax, dword [ecx + 4]
push esi
mov dword [ebp - 0xc], esi
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x34], eax
setne al
dec al
mov dword [esi + 0x44], ecx
and al, 0x64
mov dword [esi + 0x48], edi
mov byte [esi + 6], al
mov byte [esi], 0
call fcn.0041e320
add esp, 4
test eax, eax
je 0x41f60f
push eax
push str.btreeInitPage___returns_error_code__d
push ebx
call fcn.0041f050
push dword [esi + 0x44]
call fcn.00459d20
add esp, 0x10
or eax, 0xffffffff
jmp 0x41fbb9
xor ecx, ecx
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0x14], ecx
cmp ax, word [esi + 0x12]
jae 0x41f7d6
jmp 0x41f633
mov edi, dword [ebp + 0xc]
cmp dword [ebx + 0x10], 0
je 0x41f7d6
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x1c], str.On_tree_page__d_cell__d:
mov dword [ebx + 0x24], ecx
mov eax, dword [esi + 0x40]
movzx edi, byte [eax + ecx*2 + 1]
movzx eax, byte [eax + ecx*2]
shl eax, 8
or edi, eax
movzx eax, word [esi + 0x14]
and edi, eax
lea eax, [ebp - 0x54]
add edi, dword [esi + 0x38]
push eax
push edi
push esi
call fcn.0041e9e0
add esp, 0xc
cmp byte [esi + 2], 0
je 0x41f6c2
cmp dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x50]
jne 0x41f68c
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jmp 0x41f6bc
mov ecx, dword [ebp - 0x30]
cmp eax, ecx
jg 0x41f6b9
mov edx, dword [ebp - 0x34]
jl 0x41f6a2
mov ecx, dword [ebp - 0x54]
cmp ecx, edx
ja 0x41f6bc
mov ecx, dword [ebp - 0x30]
push ecx
push edx
push eax
push dword [ebp - 0x54]
push str.Rowid__lld_out_of_order__previous_was__lld_
push ebx
call fcn.0041f050
mov eax, dword [ebp - 0x50]
add esp, 0x18
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
movzx eax, word [ebp - 0x44]
mov edx, dword [ebp - 0x48]
cmp edx, eax
jbe 0x41f74c
mov ebx, dword [ebp - 4]
movzx ecx, word [ebp - 0x42]
mov eax, dword [esi + 0x38]
add ecx, edi
mov dword [ebp - 0x1c], ecx
add eax, dword [ebx + 0x24]
mov ebx, dword [ebp + 8]
cmp ecx, eax
ja 0x41f74c
mov ecx, dword [ebp - 8]
movzx eax, word [ebp - 0x44]
sub edx, eax
lea eax, [ecx - 5]
add ecx, 0xfffffffc
add eax, edx
xor edx, edx
div ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
movzx edx, byte [eax]
movzx ecx, byte [eax + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl edx, 8
or edx, ecx
shl edx, 8
or edx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
cmp byte [eax + 0x11], 0
je 0x41f73d
push dword [ebp + 0xc]
push 3
push edx
push ebx
call fcn.0041f420
mov edx, dword [ebp - 0x1c]
add esp, 0x10
push dword [ebp - 0x18]
push edx
push 0
push ebx
call fcn.0041f230
add esp, 0x10
cmp byte [esi + 5], 0
jne 0x41f7c3
movzx esi, byte [edi]
movzx eax, byte [edi + 1]
shl esi, 8
or esi, eax
movzx eax, byte [edi + 2]
shl esi, 8
or esi, eax
movzx eax, byte [edi + 3]
shl esi, 8
or esi, eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x11], 0
je 0x41f788
push dword [ebp + 0xc]
push 5
push esi
push ebx
call fcn.0041f420
add esp, 0x10
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x34]
xor ecx, ecx
test edi, edi
cmove eax, ecx
push eax
lea eax, [ebp - 0x3c]
push eax
push esi
push ebx
call fcn.0041f530
add esp, 0x10
mov esi, eax
test edi, edi
jle 0x41f7bd
cmp esi, dword [ebp - 0x10]
je 0x41f7bd
push str.Child_page_depth_differs
push ebx
call fcn.0041f050
add esp, 8
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
movzx eax, word [esi + 0x12]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, eax
jl 0x41f630
cmp byte [esi + 5], 0
jne 0x41f83d
movzx ecx, byte [esi + 6]
add ecx, dword [esi + 0x38]
movzx edi, byte [ecx + 8]
movzx eax, byte [ecx + 9]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0xa]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 0xb]
mov ecx, dword [ebp - 4]
shl edi, 8
or edi, eax
mov dword [ebx + 0x1c], str.On_page__d_at_right_child:
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x20], eax
cmp byte [ecx + 0x11], 0
je 0x41f825
push eax
push 5
push edi
push ebx
call fcn.0041f420
add esp, 0x10
xor ecx, ecx
lea eax, [ebp - 0x34]
cmp word [esi + 0x12], cx
cmove eax, ecx
push eax
push ecx
push edi
push ebx
call fcn.0041f530
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x1c], str.Page__d:
mov dword [ebx + 0x20], eax
cmp byte [esi + 5], 0
je 0x41f91e
cmp byte [esi + 2], 0
je 0x41f91e
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x41f8f0
cmp dword [ebp + 0x14], 0
mov ecx, dword [edi]
mov eax, dword [edi + 4]
jne 0x41f897
cmp dword [ebp - 0x30], eax
jl 0x41f91e
jg 0x41f888
cmp dword [ebp - 0x34], ecx
jbe 0x41f91e
push eax
push ecx
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push str.Rowid__lld_out_of_order__max_larger_than_parent_min_of__lld_
jmp 0x41f915
cmp dword [ebp - 0x38], eax
jg 0x41f8b9
jl 0x41f8a3
cmp dword [ebp - 0x3c], ecx
ja 0x41f8b9
push eax
push ecx
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push str.Rowid__lld_out_of_order__min_less_than_parent_min_of__lld_
push ebx
call fcn.0041f050
add esp, 0x18
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp dword [ebp - 0x30], eax
jl 0x41f8e3
jg 0x41f8cd
cmp dword [ebp - 0x34], ecx
jbe 0x41f8e3
push eax
push ecx
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push str.Rowid__lld_out_of_order__max_larger_than_parent_max_of__lld_
push ebx
call fcn.0041f050
add esp, 0x18
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [edi], eax
mov dword [edi + 4], ecx
jmp 0x41f91e
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x41f91e
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp dword [ebp - 0x38], eax
jg 0x41f91e
jl 0x41f908
cmp dword [ebp - 0x3c], ecx
ja 0x41f91e
push eax
push ecx
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push str.Rowid__lld_out_of_order__min_less_than_parent_max_of__lld_
push ebx
call fcn.0041f050
add esp, 0x18
mov eax, dword [esi + 0x38]
mov dword [ebp + 8], eax
movzx eax, byte [esi + 6]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push dword [eax + 0x20]
call fcn.00437f90
mov edi, eax
mov dword [ebx + 0x1c], 0
add esp, 4
test edi, edi
jne 0x41f952
mov dword [ebx + 0x18], 1
jmp 0x41faf5
mov eax, dword [ebp - 0x14]
add eax, dword [ebp + 8]
mov dword [ebp - 4], eax
movzx ecx, byte [eax + 5]
movzx eax, byte [eax + 6]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp - 8]
dec ecx
movzx esi, cx
inc esi
sub eax, esi
push eax
push 0
lea eax, [esi + edi]
push eax
call fcn.004a2550
push esi
push 1
push edi
call fcn.004a2550
mov eax, dword [ebp - 4]
mov ecx, 3
mov esi, dword [ebp - 0xc]
add esp, 0x18
movzx edx, byte [eax + 3]
movzx eax, byte [eax + 4]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 5]
sub ecx, eax
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
test edx, edx
je 0x41fa4c
mov esi, dword [ebp - 8]
add esi, 0xfffffffc
add eax, dword [ebp + 8]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
nop dword [eax]
movzx esi, byte [eax]
movzx eax, byte [eax + 1]
shl esi, 8
or esi, eax
mov eax, 0x10000
cmp esi, dword [ebp - 0x20]
jg 0x41fa00
mov eax, dword [ebp + 8]
add eax, esi
push eax
push dword [ebp - 0xc]
call fcn.0041ef80
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x18]
movzx eax, ax
dec eax
add eax, esi
cmp eax, dword [ebp - 8]
jl 0x41fa29
push dword [ebp + 0xc]
mov dword [ebx + 0x1c], 0
push ecx
push str.Corruption_detected_in_cell__d_on_page__d
push ebx
call fcn.0041f050
mov ecx, dword [ebp - 0x14]
add esp, 0x10
mov edx, dword [ebp - 0x18]
jmp 0x41fa38
cmp eax, esi
jl 0x41fa38
nop dword [eax]
inc byte [eax + edi]
dec eax
cmp eax, esi
jge 0x41fa30
mov eax, dword [ebp - 0x1c]
inc ecx
add eax, 2
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], eax
cmp ecx, edx
jl 0x41f9d0
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
movzx edx, byte [eax + 1]
movzx eax, byte [eax + 2]
shl edx, 8
or edx, eax
jbe 0x41fa9c
mov esi, dword [ebp + 8]
movzx ecx, byte [esi + edx + 2]
lea eax, [esi + edx]
mov dword [ebp + 8], eax
movzx eax, byte [eax + 3]
shl ecx, 8
or ecx, eax
lea eax, [edx - 1]
add eax, ecx
cmp eax, edx
jl 0x41fa88
nop
inc byte [eax + edi]
dec eax
cmp eax, edx
jge 0x41fa80
mov eax, dword [ebp + 8]
movzx edx, byte [eax]
movzx eax, byte [eax + 1]
shl edx, 8
or edx, eax
ja 0x41fa61
mov esi, dword [ebp - 0xc]
xor edx, edx
xor eax, eax
mov dword [ebp + 8], edx
cmp dword [ebp - 8], eax
jle 0x41fad7
mov cl, byte [eax + edi]
test cl, cl
jne 0x41fab5
inc edx
mov dword [ebp + 8], edx
jmp 0x41faba
cmp cl, 1
jg 0x41fac2
inc eax
cmp eax, dword [ebp - 8]
jl 0x41faa8
jmp 0x41fad7
push dword [ebp + 0xc]
push eax
push str.Multiple_uses_for_byte__d_of_page__d
push ebx
call fcn.0041f050
mov edx, dword [ebp + 8]
add esp, 0x10
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 7]
cmp edx, eax
je 0x41faf5
push dword [ebp + 0xc]
push eax
push edx
push str.Fragmentation_of__d_bytes_reported_as__d_on_page__d
push ebx
call fcn.0041f050
add esp, 0x14
push edi
call fcn.00438300
mov ecx, dword [esi + 0x44]
add esp, 4
test byte [ecx + 0x18], 0x40
mov esi, dword [ecx + 0x10]
mov dword [ebp + 0xc], esi
je 0x41fb4f
dec dword [esi + 0x78]
mov eax, dword [esi + 0x88]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x14]
mov eax, dword [eax + 0x98]
dec ecx
mov esi, dword [esi + 0x3c]
cdq
push edx
push eax
mov edi, dword [esi]
push 0
push ecx
call fcn.004a0ab0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [ebp + 0xc]
add esp, 0x10
jmp 0x41fb58
push ecx
call fcn.0045a8c0
add esp, 4
cmp dword [esi + 0x78], 0
jne 0x41fbb6
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x41fbb6
mov al, byte [esi + 0x10]
cmp al, 6
je 0x41fbad
test al, al
je 0x41fbad
cmp al, 2
jb 0x41fb9a
mov eax, dword [0x4dc370]
test eax, eax
je 0x41fb84
call eax
push esi
call fcn.004593c0
mov eax, dword [0x4dc374]
add esp, 4
test eax, eax
je 0x41fbad
call eax
jmp 0x41fbad
cmp byte [esi + 4], 0
jne 0x41fbad
push 0
push 0
push esi
call fcn.00435a20
add esp, 0xc
push esi
call fcn.004364b0
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
inc eax
mov dword [ebx + 0x1c], ecx
mov ecx, dword [ebp - 0x28]
pop edi
mov dword [ebx + 0x20], ecx
mov ecx, dword [ebp - 0x2c]
pop esi
mov dword [ebx + 0x24], ecx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret