Function at 0x100a2ae0
Capabilities:
Get file size
Hash data with md5
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x102683e0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
xorps xmm0, xmm0
mov dword [ebp - 0x80], edx
push ecx
mov dword [ebp - 0xc], 0
movlpd qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x74], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x68], edi
cmp edi, 0xffffffff
je 0x100a2d24
push ebx
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0x54], 0
push eax
push edi
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x64], 0x67452301
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
xor edx, edx
mov eax, dword [ebp - 0xc]
xor esi, esi
add esi, ecx
mov ebx, eax
mov dword [ebp - 0x6c], esi
adc ebx, edx
mov dword [ebp - 0x70], ebx
test eax, eax
jne 0x100a2c2b
cmp edx, 1
ja 0x100a2c2b
jb 0x100a2b9b
test ecx, ecx
jne 0x100a2c2b
xorps xmm0, xmm0
mov dword [ebp - 8], edx
push 0x10277e4a
push 0x8000
movlpd qword [ebp - 0x7c], xmm0
call fcn.101a88fa
mov esi, eax
add esp, 8
test esi, esi
je 0x100a2d06
push 0
lea eax, [ebp - 8]
push eax
push 0x8000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x7c]
test eax, eax
je 0x100a2c16
nop
mov eax, dword [ebp - 8]
test eax, eax
je 0x100a2c16
add ebx, eax
lea ecx, [ebp - 0x64]
push eax
push esi
adc edi, 0
call fcn.100a4c60
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x8000
push esi
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100a2be0
cmp ebx, dword [ebp - 0x6c]
jne 0x100a2c24
cmp edi, dword [ebp - 0x70]
je 0x100a2cbc
xor ebx, ebx
jmp 0x100a2ccc
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x100a2d06
test ebx, ebx
jl 0x100a2cba
jg 0x100a2c51
test esi, esi
je 0x100a2cba
mov ebx, dword [ebp - 0x78]
mov edi, dword [ebp - 0x7c]
mov eax, ebx
mov ecx, edi
sar eax, 0x1f
mov edx, edi
add ecx, 0x80000
mov eax, ebx
adc eax, 0
cmp eax, dword [ebp - 0x70]
jg 0x100a2c7d
jl 0x100a2c76
cmp ecx, esi
ja 0x100a2c7d
mov esi, 0x80000
jmp 0x100a2c7f
sub esi, edi
push esi
push edx
push ebx
push 4
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 8], eax
test eax, eax
je 0x100a2cdb
push esi
push eax
lea ecx, [ebp - 0x64]
call fcn.100a4c60
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
add edi, esi
mov esi, dword [ebp - 0x6c]
adc ebx, 0
cmp ebx, dword [ebp - 0x70]
jl 0x100a2c57
jg 0x100a2cba
cmp edi, esi
jb 0x100a2c57
xor esi, esi
push dword [ebp - 0x80]
lea ecx, [ebp - 0x64]
call fcn.100a4d40
mov ebx, 1
test esi, esi
je 0x100a2cdd
push esi
call fcn.101a1ad1
add esp, 4
jmp 0x100a2cdd
xor ebx, ebx
mov eax, dword [ebp - 0x74]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100a2ced
push eax
call esi
mov edi, dword [ebp - 0x68]
push edi
call esi
pop esi
mov eax, ebx
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101a0193
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
push edi
call esi
pop esi
mov eax, ebx
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101a0193
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.101a0193
mov esp, ebp
pop ebp
ret