Function at 0x4051a0
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 0x4051da
cmp dword [esp + 0x210], esi
je 0x4051cd
push str.__check_records_and_index_references
jmp 0x4051d2
push str.__check_record_links
call fcn.00427189
add esp, 4
mov ebp, dword [esp + 0x20c]
mov eax, dword [ebp]
mov ecx, dword [eax + 0xe8]
push esi
push ecx
call fcn.004209f0
add esp, 8
cmp eax, esi
mov dword [esp + 0x28], eax
jne 0x405218
push str.Not_Enough_memory
push ebx
call fcn.004038a0
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 0x4052a4
mov eax, dword [ecx + 0xf8]
xor edi, edi
cmp eax, esi
jbe 0x4052a4
mov eax, dword [ecx + 0x14c]
add eax, 0x10
mov edx, dword [eax]
cmp edx, 4
je 0x40529f
cmp edx, 8
je 0x40529f
mov edx, dword [ecx + 0xf8]
inc edi
add eax, 0x20
cmp edi, edx
jb 0x405283
jmp 0x4052a4
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 0x405e21
jb 0x405308
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x20]
jae 0x405e21
mov eax, dword [ebp]
mov ecx, dword [eax + 0x1b8]
sub ecx, 0
je 0x405a7c
dec ecx
je 0x4054e7
dec ecx
jne 0x405b70
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.00416e10
add esp, 0x18
test eax, eax
jne 0x405dd3
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.00416ba0
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 0x4054bb
cmp eax, dword [ecx + 0x198]
ja 0x4054bb
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.00416e10
add esp, 0x18
test eax, eax
jne 0x405dd3
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.00415b60
mov edi, dword [esp + 0x24]
add esp, 0x10
test eax, eax
je 0x405449
lea edx, [esp + 0x70]
push edx
push edi
push esi
call fcn.00423a10
push eax
push str.Found_wrong_record_at__s
push ebx
call fcn.004038a0
add esp, 0x18
mov dword [esp + 0x44], 1
mov al, byte [esp + 0x33]
test al, al
je 0x40545e
mov eax, dword [esp + 0x28]
push eax
push ebp
call fcn.004150a0
jmp 0x405469
mov ecx, dword [esp + 0x28]
push ecx
push ebp
call fcn.00415000
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 0x405b6c
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x70]
push eax
push ecx
push esi
call fcn.00423a10
mov edx, dword [esp + 0xa8]
push eax
push edx
push str.Found_block_with_wrong_recordlength:__d_at__s
push ebx
call fcn.004038a0
add esp, 0x1c
jmp 0x4058dd
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.00416e10
add esp, 0x18
test eax, eax
jne 0x405dd3
mov eax, esi
and eax, 3
xor ecx, ecx
or eax, ecx
jne 0x405cfc
push edi
push esi
lea eax, [esp + 0x90]
push 0xffffffffffffffff
push eax
call fcn.00414a10
add esp, 0x10
test al, 0x3c
mov dword [esp + 0xd0], eax
jne 0x405760
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 0x405860
ja 0x4055b2
mov edx, dword [ebp + 4]
mov edx, dword [edx + 0x20]
cmp edx, ecx
jb 0x405860
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 0x40563e
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 0x40587f
mov edx, dword [eax + 0x110]
test edx, edx
je 0x405630
push ecx
push ebp
call fcn.00414250
add esp, 8
test eax, eax
mov dword [esp + 0x6c], eax
je 0x4058b3
mov ecx, dword [esp + 0x9c]
jmp 0x40563a
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 0x40592e
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.00416e10
add esp, 0x18
test eax, eax
jne 0x405dd3
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 0x405995
test byte [esp + 0xd0], 2
jne 0x40594a
mov ecx, dword [ebp + 4]
mov esi, dword [ecx + 0x24]
mov eax, dword [esp + 0xbc]
cmp esi, eax
jb 0x405966
mov esi, dword [esp + 0xb8]
ja 0x405754
mov ecx, dword [ecx + 0x20]
cmp ecx, esi
jb 0x405966
mov ebx, dword [esp + 0x208]
jmp 0x405510
test al, 0x10
je 0x405796
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x405d1c
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 0x405906
test al, 4
je 0x405d8d
mov edx, dword [ebp]
mov ecx, dword [esp + 0xa4]
cmp ecx, dword [edx + 0xf4]
jb 0x405d41
mov esi, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov eax, esi
and eax, edx
cmp eax, 0xffffffff
je 0x4057e2
mov eax, dword [ebp + 4]
cmp edx, dword [eax + 0x24]
ja 0x405d68
jb 0x4057e2
cmp esi, dword [eax + 0x20]
jae 0x405d68
mov esi, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov eax, esi
and eax, edx
cmp eax, 0xffffffff
je 0x405810
mov eax, dword [ebp + 4]
cmp edx, dword [eax + 0x24]
ja 0x405d68
jb 0x405810
cmp esi, dword [eax + 0x20]
jae 0x405d68
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 0x405906
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x70]
push ecx
push edx
push eax
call fcn.00423a10
push eax
push str.Recordlink_that_points_outside_datafile_at__s
jmp 0x40597f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x70]
push ecx
push edx
push eax
call fcn.00423a10
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.004038a0
add esp, 0x1c
jmp 0x4058dd
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x70]
push edx
push eax
push ecx
call fcn.00423a10
push eax
push str.Not_enough_memory_for_blob_at__s
mov ebx, dword [esp + 0x21c]
push ebx
call fcn.004038a0
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 0x405dfd
test byte [ebx + 0x94], 1
je 0x405dfd
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x1c]
cmp edx, dword [eax + 0x24]
jb 0x405308
ja 0x405925
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x20]
jb 0x405308
mov esi, dword [esp + 0x34]
jmp 0x405e21
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x70]
push edx
push eax
push ecx
call fcn.00423a10
push eax
push str.Found_too_long_record_at__s
jmp 0x405978
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x70]
push edx
push eax
push ecx
call fcn.00423a10
push eax
push str.Record_link_to_short_for_record_at__s
jmp 0x405978
lea eax, [esp + 0x70]
push eax
push edx
push edi
call fcn.00423a10
push eax
push str.Found_next_recordlink_that_points_outside_datafile_at__s
mov ebx, dword [esp + 0x21c]
push ebx
call fcn.004038a0
add esp, 0x18
mov dword [esp + 0x44], 1
jmp 0x405a48
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x405a41
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.00413be0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4059e2
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x70]
push eax
push ecx
push edx
call fcn.00423a10
push eax
push str.Found_wrong_record_at__s
jmp 0x4058cd
push esi
push ebp
call fcn.00415000
mov ebx, dword [esp + 0x210]
mov dword [ebp + 0x90], eax
mov eax, dword [ebx + 0x94]
add esp, 8
test eax, 0x40009
je 0x405a33
push esi
push ebp
call fcn.00413980
add esp, 8
test al, al
je 0x405a33
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x70]
push eax
push ecx
push edx
call fcn.00423a10
push eax
push str.Found_wrong_packed_record_at__s
jmp 0x4058d4
mov eax, dword [ebp + 0x90]
add dword [ebx + 0x5c], eax
jmp 0x405b7c
mov ebx, dword [esp + 0x208]
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x405b70
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 0x405b70
mov ecx, dword [eax + 0xe8]
mov esi, dword [ebx + 0x2c0]
mov eax, dword [ebx + 0x2c4]
lea edx, [esi + ecx]
cmp edx, eax
ja 0x405ab8
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 0x405ad6
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 0x405dd3
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 0x405b3c
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 0x405906
mov eax, dword [esp + 0x28]
push eax
push ebp
call fcn.004150a0
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 0x4058dd
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 0x405bd2
xor edx, edx
mov eax, ecx
mov esi, 0x3e8
div esi
test edx, edx
jne 0x405bd2
lea edx, [esp + 0x70]
push edx
push 0
push ecx
call fcn.00423a10
push eax
push 0x439f64
call fcn.00427148
push 0x44ccd8
call fcn.00427201
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 0x405906
nop
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.004277d0
and eax, dword [edi + 0x78]
and edx, dword [edi + 0x7c]
or eax, edx
je 0x405cda
mov ecx, dword [esp + 0x2c]
mov al, byte [ecx + 2]
test al, al
js 0x405cda
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.00411890
mov ecx, dword [esp + 0x228]
add esp, 0x18
test ecx, ecx
je 0x405cba
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.0040dd80
add esp, 0x1c
test eax, eax
je 0x405cda
mov eax, dword [esp + 0x14]
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0x74]
push edx
push eax
push edi
call fcn.00423a10
add esp, 0xc
push eax
push str.Record_at:__10s__Cant_find_key_for_index:__2d
push ebx
call fcn.004038a0
mov eax, dword [esp + 0x50]
add esp, 0x10
mov ecx, eax
inc eax
cmp ecx, 0x14
mov dword [esp + 0x40], eax
jg 0x405dfd
test byte [ebx + 0x94], 1
je 0x405dfd
jmp 0x405cda
mov edx, dword [ebp + 0xa4]
push eax
push edx
call fcn.0040a2f0
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 0x405bf0
jmp 0x405906
lea edx, [esp + 0x70]
push edx
push edi
push esi
call fcn.00423a10
push eax
push str.Wrong_aligned_block_at__s
push ebx
call fcn.004038a0
add esp, 0x18
jmp 0x405dfd
lea eax, [esp + 0x70]
push eax
push edi
push esi
call fcn.00423a10
mov ecx, dword [esp + 0x94]
push eax
and ecx, 0xff
push ecx
push str.Unexpected_byte:__d_at_link:__s
jmp 0x405df4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x70]
push edx
push eax
push ecx
call fcn.00423a10
mov edx, dword [esp + 0xb0]
push eax
push edx
push str.Deleted_block_with_impossible_length__lu_at__s
jmp 0x405df4
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x70]
push eax
push ecx
push edx
call fcn.00423a10
push eax
push str.Delete_link_points_outside_datafile_at__s
push ebx
call fcn.004038a0
add esp, 0x18
jmp 0x405dfd
lea eax, [esp + 0x70]
push eax
push edi
push esi
call fcn.00423a10
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.004038a0
add esp, 0x24
jmp 0x405dfd
call fcn.00420640
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x70]
push ecx
push 0
push edx
mov esi, eax
call fcn.00423a10
push eax
mov eax, dword [esi]
push eax
push str.got_error:__d_when_reading_datafile_at_record:__s
push ebx
call fcn.004038a0
add esp, 0x1c
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00420a80
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 0x405e48
push 0x44ccd8
push str.___________r
call fcn.0042785d
push 0x44ccd8
call fcn.00427201
add esp, 0xc
mov edx, dword [ebp + 4]
mov eax, dword [edx]
mov edi, dword [esp + 0x68]
cmp edi, eax
je 0x405e95
lea ecx, [esp + 0xd4]
push ecx
push 0
push eax
call fcn.00423a10
add esp, 0xc
push eax
lea edx, [esp + 0x74]
push edx
push 0
push edi
call fcn.00423a10
add esp, 0xc
push eax
push str.Record_count_is_not_ok__is___10s___Should_be:__s
push ebx
call fcn.004038a0
add esp, 0x10
mov dword [esp + 0x40], 1
jmp 0x405f6f
mov eax, dword [ebx + 0x58]
xor edi, edi
cmp eax, edi
je 0x405ebf
cmp eax, dword [esp + 0x3c]
je 0x405ebf
push str.Keypointers_and_record_positions_doesnt_match
push ebx
call fcn.004038a0
add esp, 8
mov dword [esp + 0x40], 1
jmp 0x405f6f
mov eax, dword [ebp]
mov ecx, dword [ebx + 0x5c]
cmp ecx, dword [eax + 0x80]
je 0x405ef1
test byte [eax + 0x170], 0x24
je 0x405ef1
push str.Record_checksum_is_not_the_same_as_checksum_stored_in_the_index_file_n
push ebx
call fcn.00403800
add esp, 8
mov dword [esp + 0x40], 1
jmp 0x405f6f
cmp dword [esp + 0x210], edi
jne 0x405f6f
cmp dword [eax + 0x108], edi
jbe 0x405f6f
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 0x405f4b
mov eax, dword [eax + 0x140]
mov ecx, dword [esp + 0x54]
mov dl, byte [eax + ecx + 2]
test dl, dl
js 0x405f4b
lea edx, [edi + 1]
push edx
push str.Checksum_for_key:__2d_doesnt_match_checksum_for_records
push ebx
call fcn.004038a0
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 0x405f10
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 0x405fa8
cmp eax, dword [ecx + 0x24]
je 0x40603b
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
lea eax, [esp + 0xec]
push eax
push ecx
push edx
call fcn.00423a10
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.00423a10
mov ecx, dword [esp + 0x48]
add esp, 0xc
push eax
lea eax, [esp + 0x78]
push eax
push ecx
push esi
call fcn.00423a10
add esp, 0xc
push eax
push str.Found__s_record_data_and__s_unused_data_and__s_deleted_data
push ebx
call fcn.00403800
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.00423a10
mov ecx, dword [esp + 0x34]
add esp, 0x20
push eax
lea eax, [esp + 0x74]
push eax
push ecx
push edi
call fcn.00423a10
add esp, 0xc
push eax
push str.Total__s__Should_be:__s
push ebx
call fcn.00403800
add esp, 0x10
mov edx, dword [ebp + 4]
mov eax, dword [edx + 4]
cmp dword [esp + 0x48], eax
je 0x40607e
lea ecx, [esp + 0xd4]
push ecx
push 0
push eax
call fcn.00423a10
add esp, 0xc
push eax
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x74]
push edx
push 0
push eax
call fcn.00423a10
add esp, 0xc
push eax
push str.Found__10s_deleted_blocks_______Should_be:__s
push ebx
call fcn.00403800
add esp, 0x10
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x40]
mov edx, dword [esp + 0x20]
xor ecx, ecx
cmp edx, eax
jne 0x406094
cmp dword [esp + 0x24], ecx
je 0x4060cd
lea edx, [esp + 0xd4]
push edx
push ecx
push eax
call fcn.00423a10
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.00423a10
add esp, 0xc
push eax
push str.Found__10s_parts________________Should_be:__s_parts
push ebx
call fcn.00403800
add esp, 0x10
test byte [ebx + 0x94], 0x10
je 0x406329
mov eax, dword [ebx + 0x78]
test eax, eax
jne 0x4060e8
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4060f5
push 0x450448
call fcn.00427189
add esp, 4
mov ecx, dword [esp + 0x38]
mov eax, esi
or eax, ecx
je 0x40626d
mov eax, dword [ebx + 0x7c]
test eax, eax
jne 0x40626d
mov ebp, dword [ebp]
mov eax, dword [ebp + 0x110]
test eax, eax
je 0x40612d
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
jmp 0x406162
mov eax, dword [ebp + 0xe4]
mul dword [esp + 0x68]
push edx
push eax
call fcn.004044e0
mov ecx, dword [esp + 0x40]
push ecx
fstp qword [esp + 0x1c]
push esi
call fcn.004044e0
fsubr qword [esp + 0x20]
add esp, 0x10
fdiv qword [esp + 0x10]
fmul qword [0x4351a0]
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.00427bc0
push eax
lea edx, [esp + 0x7c]
push edx
xor eax, eax
push eax
push ebp
call fcn.00423a10
add esp, 0xc
push eax
push str.Records:_18s____M.recordlength:_9lu___Packed:_14.0f___n
call fcn.00427148
add esp, 0x14
test ebp, ebp
jne 0x4061bb
mov dword [esp + 0x3c], 0x64
jmp 0x4061ef
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.004044e0
fstp qword [esp + 0x18]
mov edx, dword [esp + 0x40]
push edx
push esi
call fcn.004044e0
fdivr qword [esp + 0x20]
add esp, 0x10
fmul qword [0x4351a0]
call fcn.00427c78
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.004044e0
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.004044e0
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.004044e0
fdivr qword [esp + 0x2c]
add esp, 8
fmul qword [0x4351a0]
fstp qword [esp]
push str.Recordspace_used:_9.0f_____Empty_space:_12d____Blocks_Record:__6.2f_n
call fcn.00427148
add esp, 0x18
mov ebx, dword [esp + 0x48]
lea eax, [esp + 0xd4]
push eax
xor edi, edi
push edi
push ebx
call fcn.00423a10
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.00423a10
add esp, 0xc
push eax
push str.Record_blocks:_12s____Delete_blocks:_10s_n
call fcn.00427148
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0xe0]
push edx
push eax
push ecx
call fcn.00423a10
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.00423a10
add esp, 0xc
push eax
push str.Record_data:___12s____Deleted_data:__10s_n
call fcn.00427148
lea eax, [esp + 0xe0]
push eax
push ebx
push edi
call fcn.00423a10
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.00423a10
add esp, 0xc
push eax
push str.Lost_space:____12s____Linkdata:______10s_n
call fcn.00427148
add esp, 0xc
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00420a80
mov eax, dword [esp + 0x44]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f4
ret