Function at 0x10054770
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101efe30
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x102e5cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 0xf
jbe 0x100547ae
mov eax, dword [eax]
push 0x101f4f98
push eax
call fcn.1011d60f
mov ecx, eax
add esp, 8
mov dword [ebp - 0x84], ecx
test ecx, ecx
je 0x10054a3b
mov al, byte [0x101f4fac]
xorps xmm0, xmm0
movups xmmword [ebp - 0x68], xmm0
push ecx
movq qword [ebp - 0x58], xmm0
movups xmm0, xmmword [str.FLANN_INDEX_v1.1]
mov byte [ebp - 0x58], al
mov eax, dword [str.1.9.1]
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x50], eax
mov ax, word [0x101f4fb4]
push 1
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x68]
push 0x40
push eax
call fcn.101171c3
add esp, 0x10
cmp eax, 1
jne 0x10054a58
push 0xc
lea eax, [ebp - 0x68]
push str.FLANN_INDEX_v1.1
push eax
call fcn.1011de50
add esp, 0xc
test eax, eax
je 0x1005484d
push str.Invalid_index_file__wrong_signature
jmp 0x10054a5d
cmp dword [ebp - 0x40], 8
je 0x1005485d
push str.Datatype_of_saved_index_is_different_than_of_the_one_to_be_loaded.
jmp 0x10054a5d
push 0x30
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
call fcn.1010d082
mov esi, eax
add esp, 4
mov dword [esi], esi
mov dword [esi + 4], esi
mov dword [esi + 8], esi
mov word [esi + 0xc], 0x101
mov dword [ebp - 0x70], esi
mov al, byte [0x101f5044]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 4], 0
movq xmm0, qword [str.algorithm]
mov dword [ebp - 0x18], 9
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x70]
call fcn.1003d1f0
mov edi, dword [ebp - 0x74]
cmp byte [edi + 0xd], 0
jne 0x100548f2
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
call fcn.1004b3e0
test al, al
je 0x1005498a
cmp dword [ebp - 0x6c], 0x5555555
je 0x10054a73
lea eax, [ebp - 0x70]
mov dword [ebp - 0x8c], eax
push 0x30
mov byte [ebp - 4], 2
mov dword [ebp - 0x88], 0
call fcn.1010d082
xorps xmm0, xmm0
mov byte [ebp - 4], 1
add esp, 4
lea ecx, [ebp - 0x70]
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
movups xmm0, xmmword [ebp - 0x28]
push eax
push dword [ebp - 0x78]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [ebp - 0x18]
push dword [ebp - 0x7c]
movq qword [eax + 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [eax + 0x28], 0x102e10b8
mov dword [eax + 0x2c], 0
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
call fcn.10014580
mov edi, eax
mov ecx, dword [edi + 0x28]
lea esi, [edi + 0x2c]
push esi
mov edx, dword [ecx]
call dword [edx]
push esi
lea eax, [ebp - 0x3c]
mov dword [edi + 0x28], 0x102e10bc
push eax
mov eax, dword [0x102e10bc]
mov ecx, 0x102e10bc
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x100549e6
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100549dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054a78
push ecx
push edx
call fcn.1010d0f5
add esp, 8
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x80]
push dword [ebp - 0x3c]
call fcn.1003eba0
mov edi, dword [ebp - 0x84]
mov esi, eax
push edi
call fcn.1011de26
mov edx, dword [esi]
add esp, 0x14
mov ecx, esi
push edi
call dword [edx + 0x18]
push edi
call fcn.10116912
mov eax, dword [ebp - 0x70]
add esp, 4
push dword [eax + 4]
lea eax, [ebp - 0x70]
push eax
mov ecx, eax
call fcn.1003d150
push 0x30
push dword [ebp - 0x70]
call fcn.1010d0f5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010d06f
mov esp, ebp
pop ebp
ret 0xc
push str.Invalid_index_file__cannot_read
lea ecx, [ebp - 0x7c]
call fcn.10048ab0
push 0x102db008
lea eax, [ebp - 0x7c]
push eax
call fcn.1010ef67
call fcn.10014770
call fcn.101159de
int3