Function at 0x100455e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x60
mov eax, dword [0x102e5cc0]
xor eax, esp
mov dword [esp + 0x5c], eax
mov al, byte [0x101f4fac]
xorps xmm0, xmm0
movups xmmword [esp + 0x1c], xmm0
push ebx
movq qword [esp + 0x30], xmm0
mov ebx, ecx
movups xmm0, xmmword [str.FLANN_INDEX_v1.1]
mov byte [esp + 0x30], al
mov eax, dword [str.1.9.1]
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x1c], ebx
xorps xmm0, xmm0
mov dword [esp + 0x58], 0
push ebp
movups xmmword [esp + 0x3c], xmm0
mov dword [esp + 0x3c], eax
mov ax, word [0x101f4fb4]
push esi
mov esi, dword [esp + 0x70]
mov ecx, esi
mov word [esp + 0x44], ax
lea eax, [esp + 0x28]
push edi
push eax
mov dword [esp + 0x6c], 0
call fcn.1003c170
push 0xc
lea eax, [esp + 0x30]
push str.FLANN_INDEX_v1.1
push eax
call fcn.1011de50
add esp, 0xc
test eax, eax
jne 0x100458fc
cmp dword [esp + 0x54], 8
jne 0x10045919
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
cmp dword [esp + 0x58], eax
jne 0x10045936
push 4
mov ecx, esi
call fcn.10056310
mov eax, dword [esi + 0x10]
mov ecx, esi
push 4
mov eax, dword [eax]
mov dword [ebx + 0xc], eax
add dword [esi + 0x10], 4
call fcn.10056310
mov eax, dword [esi + 0x10]
mov ecx, esi
push 4
mov eax, dword [eax]
mov dword [ebx + 0x14], eax
add dword [esi + 0x10], 4
call fcn.10056310
mov eax, dword [esi + 0x10]
mov ecx, esi
push 1
mov eax, dword [eax]
mov dword [ebx + 0x10], eax
add dword [esi + 0x10], 4
call fcn.10056310
mov eax, dword [esi + 0x10]
mov cl, byte [eax]
inc eax
mov dword [esi + 0x10], eax
test cl, cl
je 0x100458cd
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x100456f8
push eax
call fcn.1010d07d
add esp, 4
mov eax, dword [ebx + 0xc]
xor ecx, ecx
imul eax, dword [ebx + 0x14]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1010d49b
add esp, 4
mov dword [ebx + 0x50], eax
lea ebp, [ebx + 0x44]
mov ecx, ebp
mov dword [esp + 0x24], ebp
push dword [ebx + 0xc]
call fcn.100153d0
mov eax, dword [ebx + 0xc]
xor edx, edx
test eax, eax
je 0x1004574f
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x50]
imul ecx, edx
lea ecx, [eax + ecx*4]
mov eax, dword [ebp]
mov dword [eax + edx*4], ecx
inc edx
mov eax, dword [ebx + 0xc]
cmp edx, eax
jb 0x10045735
xor ecx, ecx
mov dword [esp + 0x20], ecx
test eax, eax
je 0x10045849
nop dword [eax]
mov edi, dword [ebx + 0x14]
mov eax, dword [ebp]
shl edi, 2
mov ebx, dword [eax + ecx*4]
cmp edi, 0x10000
jbe 0x1004581b
nop dword [eax + eax]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x40]
mov ebp, dword [esi + 0xc]
add ecx, ebp
lea eax, [edx + 0x10000]
cmp eax, ecx
jbe 0x100457e9
mov eax, dword [esi + 0x14]
cmp ebp, eax
jne 0x100457a1
add eax, 0x10000
mov dword [esi + 0xc], eax
lea eax, [esp + 0x1c]
push dword [esi + 4]
mov dword [esp + 0x20], 0
push 1
push 4
push eax
call fcn.101171c3
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x10045953
cmp eax, 1
jne 0x10045953
push dword [esi + 4]
push ecx
push dword [esi + 0xc]
mov ecx, esi
call fcn.10054200
mov edx, dword [esi + 0xc]
mov dword [esi + 0x10], edx
push 0x10000
push edx
push ebx
call fcn.1010efe0
add dword [esi + 0x10], 0x10000
sub edi, 0x10000
add esp, 0xc
add ebx, 0x10000
cmp edi, 0x10000
ja 0x10045780
mov ebp, dword [esp + 0x24]
push edi
mov ecx, esi
call fcn.10056310
push edi
push dword [esi + 0x10]
push ebx
call fcn.1010efe0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov ebx, dword [esp + 0x28]
inc ecx
add dword [esi + 0x10], edi
mov dword [esp + 0x20], ecx
cmp ecx, dword [ebx + 0xc]
jb 0x10045760
push 4
mov ecx, esi
call fcn.10056310
mov eax, dword [esi + 0x10]
mov ecx, esi
mov eax, dword [eax]
mov dword [ebx + 8], eax
lea eax, [ebx + 0x38]
add dword [esi + 0x10], 4
push eax
call fcn.1003c840
push 1
mov ecx, esi
call fcn.10056310
mov eax, dword [esi + 0x10]
mov al, byte [eax]
mov byte [ebx + 0x20], al
inc dword [esi + 0x10]
cmp byte [ebx + 0x20], 0
je 0x100458a3
push 4
mov ecx, esi
lea edi, [ebx + 0x24]
call fcn.10056310
mov eax, dword [esi + 0x10]
mov ecx, esi
push edi
mov eax, dword [eax]
mov dword [edi + 0xc], eax
add dword [esi + 0x10], 4
call fcn.1003c840
push 4
mov ecx, esi
call fcn.10056310
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, dword [eax]
mov dword [ebx + 0x34], eax
add dword [esi + 0x10], 4
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1010d06f
add esp, 0x60
ret 4
mov eax, dword [ebx + 0x48]
sub eax, dword [ebx + 0x44]
sar eax, 2
cmp eax, dword [ebx + 0xc]
je 0x10045849
push str.Saved_index_does_not_contain_the_dataset_and_no_dataset_was_provided.
lea ecx, [esp + 0x14]
call fcn.10048ab0
push 0x102db008
lea eax, [esp + 0x14]
push eax
call fcn.1010ef67
push str.Invalid_index_file__wrong_signature
lea ecx, [esp + 0x14]
call fcn.10048ab0
push 0x102db008
lea eax, [esp + 0x14]
push eax
call fcn.1010ef67
push str.Datatype_of_saved_index_is_different_than_of_the_one_to_be_created.
lea ecx, [esp + 0x14]
call fcn.10048ab0
push 0x102db008
lea eax, [esp + 0x14]
push eax
call fcn.1010ef67
push str.Saved_index_type_is_different_then_the_current_index_type.
lea ecx, [esp + 0x14]
call fcn.10048ab0
push 0x102db008
lea eax, [esp + 0x14]
push eax
call fcn.1010ef67
push str.Requested_to_read_next_block_past_end_of_file
lea ecx, [esp + 0x14]
call fcn.10048ab0
push 0x102db008
lea eax, [esp + 0x14]
push eax
call fcn.1010ef67
int3