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

Disassembly:
sub esp, 0x4f4
mov eax, dword [0x93e25c]
push ebx
mov ebx, dword [esp + 0x4fc]
push ebp
mov dword [esp + 0x4f8], eax
mov eax, dword [ebx + 0x98]
push esi
xor esi, esi
test eax, 0x400000
jne 0x5b4d68
cmp dword [esp + 0x50c], esi
je 0x5b4d5b
push str.__check_records_and_index_references
jmp 0x5b4d60
push str.__check_record_links
call fcn.006d1e04
add esp, 4
mov ebp, dword [esp + 0x508]
mov eax, dword [ebp]
mov ecx, dword [eax + 0xf8]
push esi
push ecx
call fcn.005d8b50
add esp, 8
cmp eax, esi
mov dword [esp + 0x34], eax
jne 0x5b4db1
push str.Not_enough_memory_for_record
push ebx
call fcn.004012fd
add esp, 8
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x4f0]
call fcn.006cedd0
add esp, 0x4f4
ret
mov dword [ebx + 0x64], esi
mov eax, dword [ebp]
cmp dword [eax + 0x234], 2
mov edx, dword [eax + 0x19c]
push edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], esi
mov byte [esp + 0x37], 1
jne 0x5b4e44
cmp dword [eax + 0x108], esi
jbe 0x5b4e44
mov ecx, dword [eax + 0x198]
add ecx, 0x10
lea esp, [esp]
mov edx, dword [ecx]
cmp edx, 4
je 0x5b4e3f
cmp edx, 8
je 0x5b4e3f
mov edx, dword [ebp]
mov edi, dword [edx + 0x108]
inc esi
add ecx, 0x20
cmp esi, edi
jb 0x5b4e20
jmp 0x5b4e44
mov byte [esp + 0x37], 0
mov ecx, dword [ebx + 0x2e8]
mov ecx, dword [ecx]
mov edi, dword [ebx + 0x2d4]
mov esi, dword [ebx + 0x2b8]
sub ecx, edi
xor edx, edx
add ecx, esi
mov dword [esp + 0x18], ecx
adc edx, dword [ebx + 0x2bc]
mov ecx, dword [eax + 0x118]
shl ecx, 2
mov esi, ecx
shr ecx, 2
xor eax, eax
lea edi, [esp + 0x104]
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 4]
cmp edx, dword [eax + 0x24]
mov dword [esp + 0x1c], edx
ja 0x5b5626
jb 0x5b4ea7
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x20]
jae 0x5b5626
push ebx
call fcn.00403adf
mov ecx, dword [eax]
add esp, 4
test ecx, ecx
jne 0x5b5aee
mov eax, dword [ebp]
mov ecx, dword [eax + 0x234]
sub ecx, 0
je 0x5b5753
dec ecx
je 0x5b50a3
dec ecx
jne 0x5b5847
mov eax, dword [eax + 0x1a0]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 1
push eax
push ecx
push edx
lea eax, [esp + 0x9c]
push eax
lea eax, [ebx + 0x2b8]
push eax
call fcn.005ceac0
add esp, 0x18
test eax, eax
jne 0x5b5ac4
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push ecx
push eax
add esi, 1
push 0xffffffffffffffff
mov dword [esp + 0x38], esi
adc edx, 0
mov dword [esp + 0x20], ecx
lea esi, [ebp + 0x74]
push esi
lea ecx, [esp + 0x9c]
mov dword [esp + 0x40], edx
push ecx
lea edx, [ebp + 0x3c]
push edx
push ebp
mov dword [esp + 0x2c], eax
call fcn.005c7a70
mov eax, dword [esp + 0xbc]
mov edx, dword [esp + 0xd0]
xor edi, edi
add esp, 0x1c
mov ecx, eax
add ecx, edx
mov edx, dword [esp + 0xb8]
adc edi, edx
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp]
mov dword [esp + 0x1c], edi
cmp eax, dword [ecx + 0x1fc]
jb 0x5b5073
cmp eax, dword [ecx + 0x200]
ja 0x5b5073
push 1
push eax
mov eax, dword [esi]
push edx
mov edx, dword [esp + 0xc0]
push edx
push eax
lea eax, [ebx + 0x2b8]
push eax
call fcn.005ceac0
add esp, 0x18
test eax, eax
jne 0x5b5ac4
mov ecx, dword [esp + 0xa0]
mov edx, dword [esi]
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
lea eax, [ebp + 0x3c]
push eax
push ebp
call fcn.005c7700
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
add esp, 0x14
test eax, eax
je 0x5b5001
lea ecx, [esp + 0x74]
push ecx
push edi
push esi
call fcn.006313d0
push eax
push str.Found_wrong_record_at__s
push ebx
call fcn.004012fd
add esp, 0x18
mov dword [esp + 0x48], 1
mov al, byte [esp + 0x37]
test al, al
je 0x5b5016
mov edx, dword [esp + 0x38]
push edx
push ebp
call fcn.005c3680
jmp 0x5b5021
mov eax, dword [esp + 0x38]
push eax
push ebp
call fcn.005c35d0
mov ecx, dword [ebx + 0x64]
mov edx, dword [esp + 0xc0]
add ecx, eax
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x64], ecx
mov ecx, dword [esp + 0xbc]
add esp, 8
sub ecx, esi
sbb edx, edi
add eax, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x54]
adc eax, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x18]
sub eax, esi
sbb ecx, edi
add edx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], edx
adc eax, ecx
jmp 0x5b5843
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x74]
push edx
push eax
push ecx
call fcn.006313d0
mov edx, dword [esp + 0xac]
push eax
push edx
push str.Found_block_with_wrong_recordlength:__d_at__s
push ebx
call fcn.004012fd
add esp, 0x1c
jmp 0x5b55db
mov esi, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], eax
mov edx, dword [esp + 0x28]
xor ecx, ecx
test edx, edx
sete cl
lea edx, [esp + 0x8c]
mov edi, eax
or ecx, 2
push ecx
push 0x14
push eax
push esi
push edx
lea eax, [ebx + 0x2b8]
push eax
call fcn.005ceac0
add esp, 0x18
test eax, eax
jne 0x5b5ac4
mov eax, esi
and eax, 3
xor ecx, ecx
or eax, ecx
jne 0x5b5a00
push edi
push esi
lea eax, [esp + 0x94]
push 0xffffffffffffffff
push eax
call fcn.005c44a0
add esp, 0x10
test al, 0x3c
mov dword [esp + 0x70], eax
jne 0x5b5311
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xb8]
add ecx, eax
mov eax, 0
adc eax, edx
mov edx, dword [ebp + 4]
mov edx, dword [edx + 0x24]
cmp edx, eax
jb 0x5b5411
ja 0x5b5165
mov edx, dword [ebp + 4]
mov edx, dword [edx + 0x20]
cmp edx, ecx
jb 0x5b5411
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
add edx, 1
adc ebx, 0
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x30], ebx
mov ebx, edx
inc edx
test ebx, ebx
mov dword [esp + 0x28], edx
jne 0x5b51f2
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 + 0x100]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xa0]
cmp ecx, edx
ja 0x5b5430
mov edx, dword [eax + 0x120]
test edx, edx
je 0x5b51e7
lea eax, [ebp + 0x74]
push eax
push ecx
push ebp
call fcn.005ab940
add esp, 0xc
test eax, eax
mov dword [esp + 0x6c], eax
je 0x5b5467
mov ecx, dword [esp + 0xa0]
jmp 0x5b51ee
mov edx, dword [ebp + 0x74]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0xa4]
cmp dword [esp + 0x68], eax
jb 0x5b549e
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0xb8]
xor ecx, ecx
cmp ebx, 1
mov ebx, dword [esp + 0x508]
sete cl
push ecx
mov ecx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0xbc]
push edx
push eax
push ecx
lea eax, [ebx + 0x2b8]
push eax
call fcn.005ceac0
add esp, 0x18
test eax, eax
jne 0x5b5ac4
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0xb8]
mov ebx, dword [esp + 0x50]
add edx, eax
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0xb4]
sub edx, esi
sbb ecx, edi
add ebx, edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x50], ebx
adc dword [esp + 0x54], ecx
xor ebx, ebx
mov ecx, eax
sub ecx, esi
mov esi, dword [esp + 0x20]
sbb ebx, edi
mov edi, dword [esp + 0xb4]
add ecx, edi
adc ebx, edx
add esi, ecx
mov ecx, dword [esp + 0x24]
adc ecx, ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xa8]
sub ecx, eax
add ebx, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x20], 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 + 0x68], ecx
je 0x5b5582
test byte [esp + 0x70], 2
jne 0x5b54dd
mov ecx, dword [ebp + 4]
mov esi, dword [ecx + 0x24]
mov eax, dword [esp + 0xc0]
cmp esi, eax
jb 0x5b5553
mov esi, dword [esp + 0xbc]
ja 0x5b5305
mov ecx, dword [ecx + 0x20]
cmp ecx, esi
jb 0x5b5553
mov ebx, dword [esp + 0x508]
jmp 0x5b50c6
test al, 0x10
je 0x5b5347
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x5b5a20
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0xb4]
xor ecx, ecx
add eax, edx
mov dword [esp + 0x18], eax
adc ecx, dword [esp + 0xb8]
mov dword [esp + 0x1c], ecx
jmp 0x5b5607
test al, 4
je 0x5b5a8c
mov edx, dword [ebp]
mov ecx, dword [esp + 0xa8]
cmp ecx, dword [edx + 0x104]
jb 0x5b5a40
mov esi, dword [esp + 0xbc]
mov edx, dword [esp + 0xc0]
mov eax, esi
and eax, edx
cmp eax, 0xffffffff
je 0x5b5393
mov eax, dword [ebp + 4]
cmp edx, dword [eax + 0x24]
ja 0x5b5a67
jb 0x5b5393
cmp esi, dword [eax + 0x20]
jae 0x5b5a67
mov esi, dword [esp + 0xc4]
mov edx, dword [esp + 0xc8]
mov eax, esi
and eax, edx
cmp eax, 0xffffffff
je 0x5b53c1
mov eax, dword [ebp + 4]
cmp edx, dword [eax + 0x24]
ja 0x5b5a67
jb 0x5b53c1
cmp esi, dword [eax + 0x20]
jae 0x5b5a67
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
inc esi
xor eax, eax
add edx, ecx
adc edi, eax
mov dword [esp + 0x4c], esi
add ecx, dword [esp + 0xb4]
mov dword [esp + 0x40], edx
adc eax, dword [esp + 0xb8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
add ecx, 1
adc eax, 0
mov dword [esp + 0x44], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
jmp 0x5b5607
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x74]
push ecx
push edx
push eax
call fcn.006313d0
push eax
push str.Recordlink_that_points_outside_datafile_at__s
jmp 0x5b556c
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x74]
push ecx
push edx
push eax
call fcn.006313d0
mov ecx, dword [esp + 0xac]
mov ebx, dword [esp + 0x514]
push eax
push ecx
push str.Found_too_long_record___lu__at__s
push ebx
call fcn.004012fd
add esp, 0x1c
jmp 0x5b55db
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x74]
push edx
push eax
push ecx
call fcn.006313d0
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x514]
push eax
push edx
push str.Not_enough_memory___lu__for_blob_at__s
push ebx
call fcn.004012fd
add esp, 0x1c
jmp 0x5b55db
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x74]
push eax
push ecx
push edx
call fcn.006313d0
mov ebx, dword [esp + 0x514]
push eax
mov eax, dword [esp + 0xb4]
push eax
push str.Found_too_long_record___lu__at__s
push ebx
call fcn.004012fd
add esp, 0x1c
mov dword [esp + 0x48], 1
jmp 0x5b571f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xec]
push ecx
push edx
push eax
call fcn.006313d0
mov edx, dword [esp + 0xac]
add esp, 0xc
push eax
lea ecx, [esp + 0xd8]
push ecx
push 0
push edx
call fcn.006313d0
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x78]
add esp, 0xc
push eax
lea eax, [esp + 0x7c]
push eax
sub ecx, edx
push 0
push ecx
call fcn.006313d0
mov ebx, dword [esp + 0x51c]
add esp, 0xc
push eax
push str.Wrong_record_length__s_of__s_at__s
push ebx
call fcn.004012fd
add esp, 0x14
mov dword [esp + 0x48], 1
jmp 0x5b571f
lea eax, [esp + 0x74]
push eax
push edx
push edi
call fcn.006313d0
mov ebx, dword [esp + 0x514]
push eax
push str.Found_next_recordlink_that_points_outside_datafile_at__s
push ebx
call fcn.004012fd
add esp, 0x18
mov dword [esp + 0x48], 1
jmp 0x5b571f
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x5b5718
mov ecx, dword [esp + 0xa0]
mov edx, dword [ebp + 0x74]
mov esi, dword [esp + 0x38]
push ecx
push edx
push esi
push ebp
call fcn.005c6040
add esp, 0x10
cmp eax, 0xffffffff
jne 0x5b569e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x74]
push eax
push ecx
push edx
call fcn.006313d0
mov ebx, dword [esp + 0x514]
push eax
push str.Found_wrong_record_at__s
push ebx
call fcn.004012fd
add esp, 0x18
mov eax, dword [esp + 0x3c]
mov ecx, eax
inc eax
cmp ecx, 0x14
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], eax
jg 0x5b5aee
test dword [ebx + 0x98], 0x10000000
je 0x5b5aee
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x1c]
cmp edx, dword [eax + 0x24]
jb 0x5b4ea7
ja 0x5b5626
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x20]
jb 0x5b4ea7
mov eax, dword [ebx + 0x98]
test eax, eax
mov esi, 1
jns 0x5b5651
push 0x93e3e8
push str.___________r
call fcn.006d079c
push 0x93e3e8
call fcn.006d188b
add esp, 0xc
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
mov edi, dword [esp + 0x5c]
cmp edi, eax
je 0x5b5b28
lea edx, [esp + 0xd4]
push edx
push 0
push eax
call fcn.006313d0
add esp, 0xc
push eax
lea eax, [esp + 0x78]
push eax
push 0
push edi
call fcn.006313d0
add esp, 0xc
push eax
push str.Record_count_is_not_ok__is___10s___Should_be:__s
push ebx
call fcn.004012fd
add esp, 0x10
mov dword [esp + 0x3c], esi
jmp 0x5b5bf1
push esi
push ebp
call fcn.005c35d0
mov ebx, dword [esp + 0x510]
mov dword [ebp + 0xd8], eax
mov eax, dword [ebx + 0x98]
add esp, 8
test eax, 0x10004200
je 0x5b570a
mov eax, dword [ebp]
mov ecx, dword [eax + 0x1e0]
mov edx, dword [esp + 0xa0]
mov eax, dword [ebp + 0x74]
test ecx, ecx
setne cl
push ecx
push edx
push eax
push esi
push ebp
call fcn.005c5db0
add esp, 0x14
test al, al
je 0x5b570a
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x74]
push ecx
push edx
push eax
call fcn.006313d0
push eax
push str.Found_wrong_packed_record_at__s
jmp 0x5b55d2
mov ecx, dword [ebp + 0xd8]
add dword [ebx + 0x64], ecx
jmp 0x5b5853
mov ebx, dword [esp + 0x508]
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x5b5847
mov ecx, dword [esp + 0xa8]
mov esi, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
xor eax, eax
add ecx, esi
adc eax, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jmp 0x5b5847
mov ecx, dword [eax + 0xf8]
mov esi, dword [ebx + 0x2c8]
mov eax, dword [ebx + 0x2cc]
lea edx, [esi + ecx]
cmp edx, eax
ja 0x5b578f
mov edi, dword [esp + 0x38]
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 + 0xf8]
add dword [ebx + 0x2c8], edx
jmp 0x5b57ad
mov eax, dword [esp + 0x38]
push ecx
push eax
lea eax, [ebx + 0x2b8]
push eax
call dword [ebx + 0x30c]
add esp, 0xc
test eax, eax
jne 0x5b5ac4
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp]
mov eax, dword [ecx + 0xf8]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + 0x10], edx
add edx, eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], esi
adc esi, ecx
add edx, 1
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x38]
adc edi, ecx
cmp byte [edx], cl
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], edi
jne 0x5b5813
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
inc esi
add edx, eax
mov eax, dword [esp + 0x44]
adc eax, ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
jmp 0x5b5607
mov eax, dword [esp + 0x38]
push eax
push ebp
call fcn.005c3680
mov edx, dword [ebx + 0x64]
add edx, eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x64], edx
mov ecx, dword [ebp]
mov edx, dword [ecx + 0xf8]
mov ecx, dword [esp + 0x28]
add esp, 8
add ecx, edx
mov dword [esp + 0x20], ecx
adc eax, 0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x5b55db
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
add esi, eax
mov eax, dword [ebx + 0x98]
inc ecx
test eax, eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], ecx
jns 0x5b58a8
xor edx, edx
mov eax, ecx
mov esi, 0x3e8
div esi
test edx, edx
jne 0x5b58a8
lea edx, [esp + 0x74]
push edx
push 0
push ecx
call fcn.006313d0
push eax
push 0x7cbb6c
call fcn.006d1d9e
push 0x93e3e8
call fcn.006d188b
add esp, 0x18
mov eax, dword [ebp]
mov ecx, dword [eax + 0x18c]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x118]
xor esi, esi
test ecx, ecx
jbe 0x5b5607
mov edi, dword [ebp]
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.006cfb80
and eax, dword [edi + 0x90]
and edx, dword [edi + 0x94]
or eax, edx
je 0x5b59de
mov edx, dword [esp + 0x28]
mov al, byte [edx + 6]
test al, al
js 0x5b59de
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov edx, dword [ebp + 0x68]
push eax
push edi
push ecx
push edx
push esi
push ebp
call fcn.005c29d0
mov ecx, dword [esp + 0x528]
add esp, 0x18
test ecx, ecx
je 0x5b59b9
mov ecx, dword [esp + 0x28]
test byte [ecx + 7], 4
je 0x5b5945
mov edx, dword [ebp + 0x68]
push 0x6000
push eax
push edx
push esi
push ebp
call fcn.005cc530
add esp, 0x14
jmp 0x5b5969
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x74]
mov ecx, dword [edx + esi*8 + 4]
mov edx, dword [edx + esi*8]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push 4
push eax
mov eax, dword [ebp + 0x68]
push eax
push ecx
push ebp
call fcn.005cbb80
add esp, 0x1c
test eax, eax
je 0x5b59de
mov ecx, dword [esp + 0x14]
lea edx, [esi + 1]
push edx
lea eax, [esp + 0x78]
push eax
push ecx
push edi
call fcn.006313d0
add esp, 0xc
push eax
push str.Record_at:__10s__Cant_find_key_for_index:__2d
push ebx
call fcn.004012fd
mov eax, dword [esp + 0x4c]
add esp, 0x10
mov edx, eax
inc eax
cmp edx, 0x14
mov dword [esp + 0x3c], eax
jg 0x5b5aee
test dword [ebx + 0x98], 0x10000000
je 0x5b5aee
jmp 0x5b59de
mov ecx, dword [ebp + 0x68]
lea edx, [ecx + eax]
xor eax, eax
cmp ecx, edx
je 0x5b59d7
mov edi, eax
shr edi, 0x1f
lea eax, [edi + eax*2]
movzx edi, byte [ecx]
add eax, edi
inc ecx
cmp ecx, edx
jne 0x5b59c5
add dword [esp + esi*4 + 0x104], eax
mov edx, dword [esp + 0x28]
mov eax, dword [ebp]
mov ecx, dword [eax + 0x118]
inc esi
add edx, 0x3c
cmp esi, ecx
mov dword [esp + 0x28], edx
jb 0x5b58c5
jmp 0x5b5607
lea edx, [esp + 0x74]
push edx
push edi
push esi
call fcn.006313d0
push eax
push str.Wrong_aligned_block_at__s
push ebx
call fcn.004012fd
add esp, 0x18
jmp 0x5b5aee
lea eax, [esp + 0x74]
push eax
push edi
push esi
call fcn.006313d0
movzx ecx, byte [esp + 0x98]
push eax
push ecx
push str.Unexpected_byte:__d_at_link:__s
jmp 0x5b5ae5
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x74]
push edx
push eax
push ecx
call fcn.006313d0
mov edx, dword [esp + 0xb4]
push eax
push edx
push str.Deleted_block_with_impossible_length__lu_at__s
jmp 0x5b5ae5
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x74]
push eax
push ecx
push edx
call fcn.006313d0
push eax
push str.Delete_link_points_outside_datafile_at__s
push ebx
call fcn.004012fd
add esp, 0x18
jmp 0x5b5aee
lea eax, [esp + 0x74]
push eax
push edi
push esi
call fcn.006313d0
movzx ecx, byte [esp + 0x9a]
movzx edx, byte [esp + 0x99]
push eax
movzx eax, byte [esp + 0x9c]
push ecx
push edx
push eax
push str.Wrong_bytesec:__d__d__d_at_linkstart:__s
push ebx
call fcn.004012fd
add esp, 0x24
jmp 0x5b5aee
call fcn.005e0030
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x74]
push ecx
push 0
push edx
mov esi, eax
call fcn.006313d0
push eax
mov eax, dword [esi]
push eax
push str.got_error:__d_when_reading_datafile_at_record:__s
push ebx
call fcn.004012fd
add esp, 0x1c
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005d8be0
mov eax, dword [ebx + 0x98]
add esp, 4
pop edi
pop esi
or eax, 0x100000
mov dword [ebx + 0x98], eax
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x4f0]
call fcn.006cedd0
add esp, 0x4f4
ret
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x5b5b4c
cmp eax, dword [esp + 0x58]
je 0x5b5b4c
push str.Keypointers_and_record_positions_doesnt_match
push ebx
call fcn.004012fd
add esp, 8
mov dword [esp + 0x3c], esi
jmp 0x5b5bf1
mov edx, dword [ebx + 0x64]
cmp edx, dword [ecx + 0x28]
je 0x5b5b77
mov eax, dword [ebp]
test byte [eax + 0x1f8], 0x24
je 0x5b5b77
push str.Record_checksum_is_not_the_same_as_checksum_stored_in_the_index_file_n
push ebx
call fcn.0040ad03
add esp, 8
mov dword [esp + 0x3c], esi
jmp 0x5b5bf1
mov eax, dword [esp + 0x510]
test eax, eax
jne 0x5b5bf1
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x118]
xor esi, esi
test eax, eax
jbe 0x5b5bf1
lea edx, [ebx + 0x468]
xor edi, edi
mov dword [esp + 0x58], edx
lea ecx, [ecx]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + esi*4 + 0x104]
cmp eax, dword [ecx]
je 0x5b5bdb
mov edx, dword [ebp]
mov eax, dword [edx + 0x18c]
test word [eax + edi + 6], 0x480
jne 0x5b5bdb
lea ecx, [esi + 1]
push ecx
push str.Checksum_for_key:__2d_doesnt_match_checksum_for_records
push ebx
call fcn.004012fd
add esp, 0xc
mov dword [esp + 0x3c], 1
add dword [esp + 0x58], 4
mov edx, dword [ebp]
mov eax, dword [edx + 0x118]
inc esi
add edi, 0x3c
cmp esi, eax
jb 0x5b5ba0
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + 8]
cmp dword [esp + 0x40], eax
mov ecx, dword [ecx + 0xc]
jne 0x5b5c06
cmp dword [esp + 0x44], ecx
je 0x5b5c3f
lea edx, [esp + 0x74]
push edx
push ecx
push eax
call fcn.006313d0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
add esp, 0xc
push eax
lea eax, [esp + 0xd8]
push eax
push ecx
push edx
call fcn.006313d0
add esp, 0xc
push eax
push str.Found__s_deleted_space.___Should_be__s
push ebx
call fcn.0040ad03
add esp, 0x10
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x20]
add edi, edx
mov edx, dword [esp + 0x24]
adc esi, ecx
mov dword [esp + 0x18], edi
add edi, eax
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x1c], esi
adc esi, edx
cmp edi, ecx
jne 0x5b5c7a
cmp esi, dword [eax + 0x24]
je 0x5b5d0d
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
lea eax, [esp + 0xec]
push eax
push ecx
push edx
call fcn.006313d0
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.006313d0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
add esp, 0xc
push eax
lea eax, [esp + 0x7c]
push eax
push ecx
push edx
call fcn.006313d0
add esp, 0xc
push eax
push str.Found__s_record_data_and__s_unused_data_and__s_deleted_data
push ebx
call fcn.0040ad03
mov ecx, dword [ebp + 4]
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0xe8]
push eax
mov eax, dword [ecx + 0x20]
push edx
push eax
call fcn.006313d0
add esp, 0x20
push eax
lea ecx, [esp + 0x78]
push ecx
push esi
push edi
call fcn.006313d0
add esp, 0xc
push eax
push str.Total__s__Should_be:__s
push ebx
call fcn.0040ad03
add esp, 0x10
mov edx, dword [ebp + 4]
mov eax, dword [edx + 4]
cmp dword [esp + 0x4c], eax
je 0x5b5d50
lea ecx, [esp + 0xd4]
push ecx
push 0
push eax
call fcn.006313d0
add esp, 0xc
push eax
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x78]
push edx
push 0
push eax
call fcn.006313d0
add esp, 0xc
push eax
push str.Found__10s_deleted_blocks_______Should_be:__s
push ebx
call fcn.0040ad03
add esp, 0x10
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x48]
mov edx, dword [esp + 0x2c]
xor ecx, ecx
cmp edx, eax
jne 0x5b5d66
cmp dword [esp + 0x30], ecx
je 0x5b5d9f
lea edx, [esp + 0xd4]
push edx
push ecx
push eax
call fcn.006313d0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
add esp, 0xc
push eax
lea eax, [esp + 0x78]
push eax
push ecx
push edx
call fcn.006313d0
add esp, 0xc
push eax
push 0x7cc078
push ebx
call fcn.0040ad03
add esp, 0x10
mov eax, dword [ebx + 0x98]
test ah, 0x20
je 0x5b60c7
mov eax, dword [ebx + 0x80]
test eax, eax
jne 0x5b5dc2
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x5b5dcf
push 0x73a01c
call fcn.006d1e04
add esp, 4
mov eax, dword [esp + 0x20]
or eax, dword [esp + 0x24]
je 0x5b6007
mov eax, dword [ebx + 0x84]
test eax, eax
jne 0x5b6007
mov ebp, dword [ebp]
mov eax, dword [ebp + 0x120]
test eax, eax
je 0x5b5e03
fld qword [0x73b5d8]
jmp 0x5b5e85
mov eax, dword [ebp + 0xf4]
mul dword [esp + 0x5c]
mov ecx, edx
test ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jl 0x5b5e27
jg 0x5b5e21
test eax, eax
jb 0x5b5e27
fild qword [esp + 0x10]
jmp 0x5b5e31
fild qword [esp + 0x10]
fadd qword [0x73b330]
mov ecx, dword [esp + 0x24]
test ecx, ecx
jl 0x5b5e49
jg 0x5b5e43
mov ecx, dword [esp + 0x20]
test ecx, ecx
jb 0x5b5e49
fild qword [esp + 0x20]
jmp 0x5b5e53
fild qword [esp + 0x20]
fadd qword [0x73b330]
test edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jl 0x5b5e6b
jg 0x5b5e65
test eax, eax
jb 0x5b5e6b
fild qword [esp + 0x10]
jmp 0x5b5e75
fild qword [esp + 0x10]
fadd qword [0x73b330]
fxch st(2)
fsub st(1)
fdiv st(2)
fmul qword [0x7cc070]
fstp st(2)
fstp st(0)
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x5c]
sub esi, ecx
sbb edi, eax
sub esp, 8
fstp qword [esp]
xor ebx, ebx
push ebx
push ebp
push edi
push esi
call fcn.006cfc60
push eax
lea ecx, [esp + 0x80]
push ecx
push ebx
push ebp
call fcn.006313d0
add esp, 0xc
push eax
push str.Records:_18s____M.recordlength:_9lu___Packed:_14.0f___n
call fcn.006d1d9e
add esp, 0x14
test ebp, ebp
jne 0x5b5eda
mov eax, 0x64
jmp 0x5b5f37
mov eax, dword [esp + 0x1c]
test eax, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jl 0x5b5efa
jg 0x5b5ef4
test ecx, ecx
jb 0x5b5efa
fild qword [esp + 0x10]
jmp 0x5b5f04
fild qword [esp + 0x10]
fadd qword [0x73b330]
mov eax, dword [esp + 0x24]
test eax, eax
jl 0x5b5f1c
jg 0x5b5f16
mov eax, dword [esp + 0x20]
test eax, eax
jb 0x5b5f1c
fild qword [esp + 0x20]
jmp 0x5b5f26
fild qword [esp + 0x20]
fadd qword [0x73b330]
fxch st(1)
fdiv st(1)
fmul qword [0x7cc070]
call fcn.006cfba0
fstp st(0)
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
xor edx, edx
sub ecx, ebx
mov ebx, dword [esp + 0x30]
sbb ebx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
js 0x5b5f5f
jg 0x5b5f59
test ecx, ecx
jb 0x5b5f5f
fild qword [esp + 0x10]
jmp 0x5b5f69
fild qword [esp + 0x10]
fadd qword [0x73b330]
test edi, edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
jl 0x5b5f81
jg 0x5b5f7b
test esi, esi
jb 0x5b5f81
fild qword [esp + 0x10]
jmp 0x5b5f8b
fild qword [esp + 0x10]
fadd qword [0x73b330]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
sub ecx, edx
mov edx, dword [esp + 0x64]
sbb edx, ebx
add ecx, edi
adc edx, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
js 0x5b5fc1
jg 0x5b5fbb
test ecx, ecx
jb 0x5b5fc1
fild qword [esp + 0x10]
jmp 0x5b5fcb
fild qword [esp + 0x10]
fadd qword [0x73b330]
test ebp, ebp
mov dword [esp + 0x70], ebp
fild dword [esp + 0x70]
jge 0x5b5fdd
fadd qword [0x73b508]
fdivr st(3)
sub esp, 8
fstp qword [esp]
fxch st(1)
fdiv st(1)
push eax
sub esp, 8
fmul qword [0x7cc070]
fstp qword [esp]
push str.Recordspace_used:_9.0f_____Empty_space:_12d____Blocks_Record:__6.2f_n
fstp st(0)
fstp st(0)
call fcn.006d1d9e
add esp, 0x18
mov edi, dword [esp + 0x4c]
lea eax, [esp + 0xd4]
push eax
xor esi, esi
push esi
push edi
call fcn.006313d0
add esp, 0xc
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x38]
sub eax, edi
sbb ecx, esi
push ecx
push eax
call fcn.006313d0
add esp, 0xc
push eax
push str.Record_blocks:_12s____Delete_blocks:_10s_n
call fcn.006d1d9e
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0xe0]
push edx
push eax
push ecx
call fcn.006313d0
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x6c]
add esp, 0x18
push eax
mov eax, dword [esp + 0x24]
sub eax, esi
lea edx, [esp + 0x78]
push edx
sbb ecx, edi
push ecx
push eax
call fcn.006313d0
add esp, 0xc
push eax
push str.Record_data:___12s____Deleted_data:__10s_n
call fcn.006d1d9e
lea eax, [esp + 0xe0]
push eax
push edi
push esi
call fcn.006313d0
mov edx, dword [esp + 0x7c]
add esp, 0x18
push eax
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x78]
push ecx
push edx
push eax
call fcn.006313d0
add esp, 0xc
push eax
push str.Lost_space:____12s____Linkdata:______10s_n
call fcn.006d1d9e
add esp, 0xc
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005d8be0
mov ecx, dword [esp + 0x504]
mov eax, dword [esp + 0x40]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
call fcn.006cedd0
add esp, 0x4f4
ret