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

Disassembly:
sub esp, 0x1f4
push ebx
mov ebx, dword [esp + 0x1fc]
mov al, byte [ebx + 0x94]
push ebp
push esi
xor esi, esi
test al, 2
push edi
jne 0x49f58a
cmp dword [esp + 0x210], esi
je 0x49f57d
push str.__check_records_and_index_references
jmp 0x49f582
push str.__check_record_links
call fcn.004b75eb
add esp, 4
mov ebp, dword [esp + 0x20c]
mov eax, dword [ebp]
mov ecx, dword [eax + 0xe8]
push esi
push ecx
call fcn.0047fff0
add esp, 8
cmp eax, esi
mov dword [esp + 0x28], eax
jne 0x49f5c8
push str.Not_Enough_memory
push ebx
call fcn.0040cca0
add esp, 8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1f4
ret
mov dword [ebx + 0x5c], esi
mov ecx, dword [ebp]
cmp dword [ecx + 0x1b8], 2
mov edx, dword [ecx + 0x150]
mov dword [esp + 0x48], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], esi
mov byte [esp + 0x33], 1
jne 0x49f654
mov eax, dword [ecx + 0xf8]
xor edi, edi
cmp eax, esi
jbe 0x49f654
mov eax, dword [ecx + 0x14c]
add eax, 0x10
mov edx, dword [eax]
cmp edx, 4
je 0x49f64f
cmp edx, 8
je 0x49f64f
mov edx, dword [ecx + 0xf8]
inc edi
add eax, 0x20
cmp edi, edx
jb 0x49f633
jmp 0x49f654
mov byte [esp + 0x33], 0
mov edx, dword [ebx + 0x2cc]
mov eax, dword [ebx + 0x2c0]
mov edi, dword [ebx + 0x2b0]
mov ecx, dword [ecx + 0x108]
sub eax, edx
cdq
add eax, edi
mov dword [esp + 0x18], eax
adc edx, dword [ebx + 0x2b4]
shl ecx, 2
mov dword [esp + 0x1c], edx
mov edx, ecx
shr ecx, 2
xor eax, eax
lea edi, [esp + 0x104]
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x24]
ja 0x4a01d1
jb 0x49f6b8
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x20]
jae 0x4a01d1
mov eax, dword [ebp]
mov ecx, dword [eax + 0x1b8]
sub ecx, 0
je 0x49fe2c
dec ecx
je 0x49f897
dec ecx
jne 0x49ff20
mov eax, dword [eax + 0x154]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 1
push eax
push ecx
push edx
lea eax, [esp + 0x98]
push eax
lea eax, [ebx + 0x2b0]
push eax
call fcn.004b31c0
add esp, 0x18
test eax, eax
jne 0x4a0183
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push 0
push ecx
push eax
mov dword [esp + 0x20], ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x98]
add edi, 1
push ecx
mov esi, eax
adc edx, 0
push ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edx
call fcn.004ae710
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0xc8]
xor edi, edi
add esp, 0x18
mov ecx, eax
add ecx, edx
adc edi, dword [esp + 0xb4]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp]
mov dword [esp + 0x1c], edi
cmp eax, dword [ecx + 0x194]
jb 0x49f86b
cmp eax, dword [ecx + 0x198]
ja 0x49f86b
mov ecx, dword [ebp + 0xac]
push 1
push eax
mov eax, dword [esp + 0xbc]
push eax
push edx
push ecx
lea eax, [ebx + 0x2b0]
push eax
call fcn.004b31c0
add esp, 0x18
test eax, eax
jne 0x4a0183
mov edx, dword [esp + 0x9c]
mov eax, dword [ebp + 0xac]
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
push ebp
call fcn.004ad6f0
mov edi, dword [esp + 0x24]
add esp, 0x10
test eax, eax
je 0x49f7f9
lea edx, [esp + 0x70]
push edx
push edi
push esi
call fcn.0048a7d0
push eax
push str.Found_wrong_record_at__s
push ebx
call fcn.0040cca0
add esp, 0x18
mov dword [esp + 0x44], 1
mov al, byte [esp + 0x33]
test al, al
je 0x49f80e
mov eax, dword [esp + 0x28]
push eax
push ebp
call fcn.004aea20
jmp 0x49f819
mov ecx, dword [esp + 0x28]
push ecx
push ebp
call fcn.004ae980
mov ecx, dword [ebx + 0x5c]
mov edx, dword [esp + 0xb8]
add ecx, eax
mov eax, dword [esp + 0xbc]
add esp, 8
sub edx, esi
mov dword [ebx + 0x5c], ecx
mov ecx, dword [esp + 0x4c]
sbb eax, edi
add ecx, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x50]
adc ecx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x18]
sub ecx, esi
mov esi, dword [esp + 0x34]
sbb edx, edi
add esi, ecx
mov dword [esp + 0x34], esi
adc eax, edx
jmp 0x49ff1c
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x70]
push eax
push ecx
push esi
call fcn.0048a7d0
mov edx, dword [esp + 0xa8]
push eax
push edx
push str.Found_block_with_wrong_recordlength:__d_at__s
push ebx
call fcn.0040cca0
add esp, 0x1c
jmp 0x49fc8d
mov esi, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], eax
lea ebx, [ebx]
mov edx, dword [esp + 0x2c]
xor ecx, ecx
test edx, edx
sete cl
lea edx, [esp + 0x88]
mov edi, eax
or ecx, 2
push ecx
push 0x14
push eax
push esi
push edx
lea eax, [ebx + 0x2b0]
push eax
call fcn.004b31c0
add esp, 0x18
test eax, eax
jne 0x4a0183
mov eax, esi
and eax, 3
xor ecx, ecx
or eax, ecx
jne 0x4a00ac
push edi
push esi
lea eax, [esp + 0x90]
push 0xffffffffffffffff
push eax
call fcn.004abfc0
add esp, 0x10
test al, 0x3c
mov dword [esp + 0xd0], eax
jne 0x49fb10
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xb4]
add ecx, eax
mov eax, 0
adc eax, edx
mov edx, dword [ebp + 4]
mov edx, dword [edx + 0x24]
cmp edx, eax
jb 0x49fc10
ja 0x49f962
mov edx, dword [ebp + 4]
mov edx, dword [edx + 0x20]
cmp edx, ecx
jb 0x49fc10
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
add edx, 1
adc ebx, 0
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov ebx, edx
inc edx
test ebx, ebx
mov dword [esp + 0x2c], edx
jne 0x49f9ee
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xf0]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x9c]
cmp ecx, edx
ja 0x49fc2f
mov edx, dword [eax + 0x110]
test edx, edx
je 0x49f9e0
push ecx
push ebp
call fcn.004ab800
add esp, 8
test eax, eax
mov dword [esp + 0x6c], eax
je 0x49fc63
mov ecx, dword [esp + 0x9c]
jmp 0x49f9ea
mov eax, dword [ebp + 0xac]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0xa0]
cmp dword [esp + 0x54], eax
jb 0x49fcde
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0xb4]
xor ecx, ecx
cmp ebx, 1
mov ebx, dword [esp + 0x208]
sete cl
push ecx
mov ecx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0xb8]
push edx
push eax
push ecx
lea eax, [ebx + 0x2b0]
push eax
call fcn.004b31c0
add esp, 0x18
test eax, eax
jne 0x4a0183
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x4c]
add edx, eax
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0xb0]
sub edx, esi
sbb ecx, edi
add ebx, edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x4c], ebx
adc dword [esp + 0x50], ecx
xor ebx, ebx
mov ecx, eax
sub ecx, esi
mov esi, dword [esp + 0x34]
sbb ebx, edi
mov edi, dword [esp + 0xb0]
add ecx, edi
adc ebx, edx
add esi, ecx
mov ecx, dword [esp + 0x38]
adc ecx, ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0xa4]
sub ecx, eax
add ebx, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x64]
adc esi, 0
sub ecx, eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x54], ecx
je 0x49fd45
test byte [esp + 0xd0], 2
jne 0x49fcfa
mov ecx, dword [ebp + 4]
mov esi, dword [ecx + 0x24]
mov eax, dword [esp + 0xbc]
cmp esi, eax
jb 0x49fd16
mov esi, dword [esp + 0xb8]
ja 0x49fb04
mov ecx, dword [ecx + 0x20]
cmp ecx, esi
jb 0x49fd16
mov ebx, dword [esp + 0x208]
jmp 0x49f8c0
test al, 0x10
je 0x49fb46
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4a00cc
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xb0]
xor ecx, ecx
add eax, edx
mov dword [esp + 0x18], eax
adc ecx, dword [esp + 0xb4]
mov dword [esp + 0x1c], ecx
jmp 0x49fcb6
test al, 4
je 0x4a013d
mov edx, dword [ebp]
mov ecx, dword [esp + 0xa4]
cmp ecx, dword [edx + 0xf4]
jb 0x4a00f1
mov esi, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov eax, esi
and eax, edx
cmp eax, 0xffffffff
je 0x49fb92
mov eax, dword [ebp + 4]
cmp edx, dword [eax + 0x24]
ja 0x4a0118
jb 0x49fb92
cmp esi, dword [eax + 0x20]
jae 0x4a0118
mov esi, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov eax, esi
and eax, edx
cmp eax, 0xffffffff
je 0x49fbc0
mov eax, dword [ebp + 4]
cmp edx, dword [eax + 0x24]
ja 0x4a0118
jb 0x49fbc0
cmp esi, dword [eax + 0x20]
jae 0x4a0118
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
inc esi
xor eax, eax
add edx, ecx
adc edi, eax
mov dword [esp + 0x48], esi
add ecx, dword [esp + 0xb0]
mov dword [esp + 0x58], edx
adc eax, dword [esp + 0xb4]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
add ecx, 1
adc eax, 0
mov dword [esp + 0x5c], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jmp 0x49fcb6
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x70]
push ecx
push edx
push eax
call fcn.0048a7d0
push eax
push str.Recordlink_that_points_outside_datafile_at__s
jmp 0x49fd2f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x70]
push ecx
push edx
push eax
call fcn.0048a7d0
mov ecx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x214]
push eax
push ecx
push str.Found_too_long_record___d__at__s
push ebx
call fcn.0040cca0
add esp, 0x1c
jmp 0x49fc8d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x70]
push edx
push eax
push ecx
call fcn.0048a7d0
push eax
push str.Not_enough_memory_for_blob_at__s
mov ebx, dword [esp + 0x21c]
push ebx
call fcn.0040cca0
add esp, 0x18
mov eax, dword [esp + 0x40]
mov ecx, eax
inc eax
cmp ecx, 0x14
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], eax
jg 0x4a01ad
test byte [ebx + 0x94], 1
je 0x4a01ad
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x1c]
cmp edx, dword [eax + 0x24]
jb 0x49f6b8
ja 0x49fcd5
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x20]
jb 0x49f6b8
mov esi, dword [esp + 0x34]
jmp 0x4a01d1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x70]
push edx
push eax
push ecx
call fcn.0048a7d0
push eax
push str.Found_too_long_record_at__s
jmp 0x49fd28
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x70]
push edx
push eax
push ecx
call fcn.0048a7d0
push eax
push str.Record_link_to_short_for_record_at__s
jmp 0x49fd28
lea eax, [esp + 0x70]
push eax
push edx
push edi
call fcn.0048a7d0
push eax
push str.Found_next_recordlink_that_points_outside_datafile_at__s
mov ebx, dword [esp + 0x21c]
push ebx
call fcn.0040cca0
add esp, 0x18
mov dword [esp + 0x44], 1
jmp 0x49fdf8
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x49fdf1
mov ecx, dword [esp + 0x9c]
mov edx, dword [ebp + 0xac]
mov esi, dword [esp + 0x28]
push ecx
push edx
push esi
push ebp
call fcn.004ab190
add esp, 0x10
cmp eax, 0xffffffff
jne 0x49fd92
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x70]
push eax
push ecx
push edx
call fcn.0048a7d0
push eax
push str.Found_wrong_record_at__s
jmp 0x49fc7d
push esi
push ebp
call fcn.004ae980
mov ebx, dword [esp + 0x210]
mov dword [ebp + 0x90], eax
mov eax, dword [ebx + 0x94]
add esp, 8
test eax, 0x40009
je 0x49fde3
push esi
push ebp
call fcn.004aaf30
add esp, 8
test al, al
je 0x49fde3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x70]
push eax
push ecx
push edx
call fcn.0048a7d0
push eax
push str.Found_wrong_packed_record_at__s
jmp 0x49fc84
mov eax, dword [ebp + 0x90]
add dword [ebx + 0x5c], eax
jmp 0x49ff2c
mov ebx, dword [esp + 0x208]
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x49ff20
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
xor eax, eax
add ecx, esi
adc eax, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jmp 0x49ff20
mov ecx, dword [eax + 0xe8]
mov esi, dword [ebx + 0x2c0]
mov eax, dword [ebx + 0x2c4]
lea edx, [esi + ecx]
cmp edx, eax
ja 0x49fe68
mov edi, dword [esp + 0x28]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
mov edx, dword [ecx + 0xe8]
add dword [ebx + 0x2c0], edx
jmp 0x49fe86
mov eax, dword [esp + 0x28]
push ecx
push eax
lea eax, [ebx + 0x2b0]
push eax
call dword [ebx + 0x2d0]
add esp, 0xc
test eax, eax
jne 0x4a0183
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp]
mov eax, dword [ecx + 0xe8]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
xor ecx, ecx
mov dword [esp + 0x10], edx
add edx, eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], esi
adc esi, ecx
add edx, 1
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x28]
adc edi, ecx
cmp byte [edx], cl
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], edi
jne 0x49feec
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x58]
inc esi
add edx, eax
mov eax, dword [esp + 0x5c]
adc eax, ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
jmp 0x49fcb6
mov eax, dword [esp + 0x28]
push eax
push ebp
call fcn.004aea20
mov edx, dword [ebx + 0x5c]
add edx, eax
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x5c], edx
mov ecx, dword [ebp]
mov edx, dword [ecx + 0xe8]
mov ecx, dword [esp + 0x3c]
add esp, 8
add ecx, edx
mov dword [esp + 0x34], ecx
adc eax, 0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x49fc8d
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x68]
add esi, eax
mov eax, dword [ebx + 0x94]
inc ecx
test ah, 1
mov dword [esp + 0x3c], esi
mov dword [esp + 0x68], ecx
je 0x49ff82
xor edx, edx
mov eax, ecx
mov esi, 0x3e8
div esi
test edx, edx
jne 0x49ff82
lea edx, [esp + 0x70]
push edx
push 0
push ecx
call fcn.0048a7d0
push eax
push 0x508f98
call fcn.004b7563
push 0x50b4e0
call fcn.004b6eab
add esp, 0x18
mov edi, dword [ebp]
mov eax, dword [edi + 0x140]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x108]
xor esi, esi
test eax, eax
jbe 0x49fcb6
nop
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.004b6370
and eax, dword [edi + 0x78]
and edx, dword [edi + 0x7c]
or eax, edx
je 0x4a008a
mov ecx, dword [esp + 0x2c]
mov al, byte [ecx + 2]
test al, al
js 0x4a008a
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0xa4]
push edx
push edi
push eax
push ecx
push esi
push ebp
call fcn.004ac5b0
mov ecx, dword [esp + 0x228]
add esp, 0x18
test ecx, ecx
je 0x4a006a
mov edx, dword [ebp]
mov ecx, dword [edx + 0x68]
mov edx, dword [ecx + esi*8 + 4]
mov ecx, dword [ecx + esi*8]
push edx
mov edx, dword [ebp + 0xa4]
push ecx
push 4
push eax
mov eax, dword [esp + 0x3c]
push edx
push eax
push ebp
call fcn.004af380
add esp, 0x1c
test eax, eax
je 0x4a008a
mov eax, dword [esp + 0x14]
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0x74]
push edx
push eax
push edi
call fcn.0048a7d0
add esp, 0xc
push eax
push str.Record_at:__10s__Cant_find_key_for_index:__2d
push ebx
call fcn.0040cca0
mov eax, dword [esp + 0x50]
add esp, 0x10
mov ecx, eax
inc eax
cmp ecx, 0x14
mov dword [esp + 0x40], eax
jg 0x4a01ad
test byte [ebx + 0x94], 1
je 0x4a01ad
jmp 0x4a008a
mov edx, dword [ebp + 0xa4]
push eax
push edx
call fcn.004a3e90
mov ecx, dword [esp + esi*4 + 0x10c]
add esp, 8
add ecx, eax
mov dword [esp + esi*4 + 0x104], ecx
mov ecx, dword [esp + 0x2c]
mov edi, dword [ebp]
mov eax, dword [edi + 0x108]
inc esi
add ecx, 0x2c
cmp esi, eax
mov dword [esp + 0x2c], ecx
jb 0x49ffa0
jmp 0x49fcb6
lea edx, [esp + 0x70]
push edx
push edi
push esi
call fcn.0048a7d0
push eax
push str.Wrong_aligned_block_at__s
push ebx
call fcn.0040cca0
add esp, 0x18
jmp 0x4a01ad
lea eax, [esp + 0x70]
push eax
push edi
push esi
call fcn.0048a7d0
mov ecx, dword [esp + 0x94]
push eax
and ecx, 0xff
push ecx
push str.Unexpected_byte:__d_at_link:__s
jmp 0x4a01a4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x70]
push edx
push eax
push ecx
call fcn.0048a7d0
mov edx, dword [esp + 0xb0]
push eax
push edx
push str.Deleted_block_with_impossible_length__lu_at__s
jmp 0x4a01a4
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x70]
push eax
push ecx
push edx
call fcn.0048a7d0
push eax
push str.Delete_link_points_outside_datafile_at__s
push ebx
call fcn.0040cca0
add esp, 0x18
jmp 0x4a01ad
lea eax, [esp + 0x70]
push eax
push edi
push esi
call fcn.0048a7d0
mov ecx, dword [esp + 0x96]
mov edx, dword [esp + 0x95]
push eax
mov eax, dword [esp + 0x98]
and ecx, 0xff
push ecx
and edx, 0xff
push edx
and eax, 0xff
push eax
push str.Wrong_bytesec:__d__d__d_at_linkstart:__s
push ebx
call fcn.0040cca0
add esp, 0x24
jmp 0x4a01ad
call fcn.00480930
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x70]
push ecx
push 0
push edx
mov esi, eax
call fcn.0048a7d0
push eax
mov eax, dword [esi]
push eax
push str.got_error:__d_when_reading_datafile_at_record:__s
push ebx
call fcn.0040cca0
add esp, 0x1c
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00480080
add esp, 4
pop edi
pop esi
pop ebp
mov byte [ebx + 0x9d], 1
mov eax, 1
pop ebx
add esp, 0x1f4
ret
mov eax, dword [ebx + 0x94]
test ah, 1
je 0x4a01f8
push 0x50b4e0
push str.___________r
call fcn.004b7fd8
push 0x50b4e0
call fcn.004b6eab
add esp, 0xc
mov edx, dword [ebp + 4]
mov eax, dword [edx]
mov edi, dword [esp + 0x68]
cmp edi, eax
je 0x4a0245
lea ecx, [esp + 0xd4]
push ecx
push 0
push eax
call fcn.0048a7d0
add esp, 0xc
push eax
lea edx, [esp + 0x74]
push edx
push 0
push edi
call fcn.0048a7d0
add esp, 0xc
push eax
push str.Record_count_is_not_ok__is___10s___Should_be:__s
push ebx
call fcn.0040cca0
add esp, 0x10
mov dword [esp + 0x40], 1
jmp 0x4a031f
mov eax, dword [ebx + 0x58]
xor edi, edi
cmp eax, edi
je 0x4a026f
cmp eax, dword [esp + 0x3c]
je 0x4a026f
push str.Keypointers_and_record_positions_doesnt_match
push ebx
call fcn.0040cca0
add esp, 8
mov dword [esp + 0x40], 1
jmp 0x4a031f
mov eax, dword [ebp]
mov ecx, dword [ebx + 0x5c]
cmp ecx, dword [eax + 0x80]
je 0x4a02a1
test byte [eax + 0x170], 0x24
je 0x4a02a1
push str.Record_checksum_is_not_the_same_as_checksum_stored_in_the_index_file_n
push ebx
call fcn.0040ce40
add esp, 8
mov dword [esp + 0x40], 1
jmp 0x4a031f
cmp dword [esp + 0x210], edi
jne 0x4a031f
cmp dword [eax + 0x108], edi
jbe 0x4a031f
lea edx, [ebx + 0x488]
mov dword [esp + 0x54], edi
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + edi*4 + 0x104]
mov edx, dword [esp + 0x3c]
cmp ecx, dword [edx]
je 0x4a02fb
mov eax, dword [eax + 0x140]
mov ecx, dword [esp + 0x54]
mov dl, byte [eax + ecx + 2]
test dl, dl
js 0x4a02fb
lea edx, [edi + 1]
push edx
push str.Checksum_for_key:__2d_doesnt_match_checksum_for_records
push ebx
call fcn.0040cca0
add esp, 0xc
mov dword [esp + 0x40], 1
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x54]
add eax, 4
mov dword [esp + 0x3c], eax
mov eax, dword [ebp]
mov ecx, dword [eax + 0x108]
inc edi
add edx, 0x2c
cmp edi, ecx
mov dword [esp + 0x54], edx
jb 0x4a02c0
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
add edi, edx
adc eax, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x18], edi
add edi, esi
mov dword [esp + 0x1c], eax
adc eax, ecx
mov ecx, dword [ebp + 4]
cmp edi, dword [ecx + 0x20]
mov dword [esp + 0x14], eax
jne 0x4a0358
cmp eax, dword [ecx + 0x24]
je 0x4a03eb
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
lea eax, [esp + 0xec]
push eax
push ecx
push edx
call fcn.0048a7d0
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
add esp, 0xc
push eax
lea eax, [esp + 0xd8]
push eax
push ecx
push edx
call fcn.0048a7d0
mov ecx, dword [esp + 0x48]
add esp, 0xc
push eax
lea eax, [esp + 0x78]
push eax
push ecx
push esi
call fcn.0048a7d0
add esp, 0xc
push eax
push str.Found__s_record_data_and__s_unused_data_and__s_deleted_data
push ebx
call fcn.0040ce40
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0xe8]
push edx
mov edx, dword [eax + 0x20]
push ecx
push edx
call fcn.0048a7d0
mov ecx, dword [esp + 0x34]
add esp, 0x20
push eax
lea eax, [esp + 0x74]
push eax
push ecx
push edi
call fcn.0048a7d0
add esp, 0xc
push eax
push str.Total__s__Should_be:__s
push ebx
call fcn.0040ce40
add esp, 0x10
mov edx, dword [ebp + 4]
mov eax, dword [edx + 4]
cmp dword [esp + 0x48], eax
je 0x4a042e
lea ecx, [esp + 0xd4]
push ecx
push 0
push eax
call fcn.0048a7d0
add esp, 0xc
push eax
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x74]
push edx
push 0
push eax
call fcn.0048a7d0
add esp, 0xc
push eax
push str.Found__10s_deleted_blocks_______Should_be:__s
push ebx
call fcn.0040ce40
add esp, 0x10
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x40]
mov edx, dword [esp + 0x20]
xor ecx, ecx
cmp edx, eax
jne 0x4a0444
cmp dword [esp + 0x24], ecx
je 0x4a047d
lea edx, [esp + 0xd4]
push edx
push ecx
push eax
call fcn.0048a7d0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add esp, 0xc
push eax
lea eax, [esp + 0x74]
push eax
push ecx
push edx
call fcn.0048a7d0
add esp, 0xc
push eax
push str.Found__10s_parts________________Should_be:__s_parts
push ebx
call fcn.0040ce40
add esp, 0x10
test byte [ebx + 0x94], 0x10
je 0x4a06d9
mov eax, dword [ebx + 0x78]
test eax, eax
jne 0x4a0498
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4a04a5
push 0x50f0d4
call fcn.004b75eb
add esp, 4
mov ecx, dword [esp + 0x38]
mov eax, esi
or eax, ecx
je 0x4a061d
mov eax, dword [ebx + 0x7c]
test eax, eax
jne 0x4a061d
mov ebp, dword [ebp]
mov eax, dword [ebp + 0x110]
test eax, eax
je 0x4a04dd
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
jmp 0x4a0512
mov eax, dword [ebp + 0xe4]
mul dword [esp + 0x68]
push edx
push eax
call fcn.0049e890
mov ecx, dword [esp + 0x40]
push ecx
fstp qword [esp + 0x1c]
push esi
call fcn.0049e890
fsubr qword [esp + 0x20]
add esp, 0x10
fdiv qword [esp + 0x10]
fmul qword [0x4e58b8]
fstp qword [esp + 0x10]
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x68]
mov edi, esi
sub edi, ebx
mov ebx, dword [esp + 0x38]
sbb ebx, edx
mov edx, dword [esp + 0x14]
push edx
push ecx
xor eax, eax
push eax
push ebp
push ebx
push edi
call fcn.004b5e90
push eax
lea edx, [esp + 0x7c]
push edx
xor eax, eax
push eax
push ebp
call fcn.0048a7d0
add esp, 0xc
push eax
push str.Records:_18s____M.recordlength:_9lu___Packed:_14.0f___n
call fcn.004b7563
add esp, 0x14
test ebp, ebp
jne 0x4a056b
mov dword [esp + 0x3c], 0x64
jmp 0x4a059f
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.0049e890
fstp qword [esp + 0x18]
mov edx, dword [esp + 0x40]
push edx
push esi
call fcn.0049e890
fdivr qword [esp + 0x20]
add esp, 0x10
fmul qword [0x4e58b8]
call fcn.004b5cec
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
xor eax, eax
sub ecx, edx
mov edx, dword [esp + 0x24]
sbb edx, eax
push edx
push ecx
call fcn.0049e890
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], 0
fild qword [esp + 0x18]
mov eax, dword [esp + 0x44]
fdivp st(1)
fstp qword [esp]
push eax
push ebx
push edi
call fcn.0049e890
fstp qword [esp + 0x24]
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x60]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x4c]
sub ecx, ebp
sbb edx, ebx
add ecx, esi
adc edx, eax
push edx
push ecx
call fcn.0049e890
fdivr qword [esp + 0x2c]
add esp, 8
fmul qword [0x4e58b8]
fstp qword [esp]
push str.Recordspace_used:_9.0f_____Empty_space:_12d____Blocks_Record:__6.2f_n
call fcn.004b7563
add esp, 0x18
mov ebx, dword [esp + 0x48]
lea eax, [esp + 0xd4]
push eax
xor edi, edi
push edi
push ebx
call fcn.0048a7d0
add esp, 0xc
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x2c]
sub eax, ebx
sbb ecx, edi
push ecx
push eax
call fcn.0048a7d0
add esp, 0xc
push eax
push str.Record_blocks:_12s____Delete_blocks:_10s_n
call fcn.004b7563
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0xe0]
push edx
push eax
push ecx
call fcn.0048a7d0
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
add esp, 0x18
push eax
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x74]
sub esi, edi
push edx
sbb eax, ebx
push eax
push esi
call fcn.0048a7d0
add esp, 0xc
push eax
push str.Record_data:___12s____Deleted_data:__10s_n
call fcn.004b7563
lea eax, [esp + 0xe0]
push eax
push ebx
push edi
call fcn.0048a7d0
mov edx, dword [esp + 0x7c]
add esp, 0x18
push eax
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x74]
push ecx
push edx
push eax
call fcn.0048a7d0
add esp, 0xc
push eax
push str.Lost_space:____12s____Linkdata:______10s_n
call fcn.004b7563
add esp, 0xc
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00480080
mov eax, dword [esp + 0x44]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f4
ret