Function at 0x100a2d40
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_CreateFileA]
mov edi, eax
mov dword [ebp - 0x68], edi
cmp edi, 0xffffffff
je 0x100a2f84
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 0x100a2e8b
cmp edx, 1
ja 0x100a2e8b
jb 0x100a2dfb
test ecx, ecx
jne 0x100a2e8b
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 0x100a2f66
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 0x100a2e76
nop
mov eax, dword [ebp - 8]
test eax, eax
je 0x100a2e76
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 0x100a2e40
cmp ebx, dword [ebp - 0x6c]
jne 0x100a2e84
cmp edi, dword [ebp - 0x70]
je 0x100a2f1c
xor ebx, ebx
jmp 0x100a2f2c
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 0x100a2f66
test ebx, ebx
jl 0x100a2f1a
jg 0x100a2eb1
test esi, esi
je 0x100a2f1a
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 0x100a2edd
jl 0x100a2ed6
cmp ecx, esi
ja 0x100a2edd
mov esi, 0x80000
jmp 0x100a2edf
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 0x100a2f3b
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 0x100a2eb7
jg 0x100a2f1a
cmp edi, esi
jb 0x100a2eb7
xor esi, esi
push dword [ebp - 0x80]
lea ecx, [ebp - 0x64]
call fcn.100a4d40
mov ebx, 1
test esi, esi
je 0x100a2f3d
push esi
call fcn.101a1ad1
add esp, 4
jmp 0x100a2f3d
xor ebx, ebx
mov eax, dword [ebp - 0x74]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100a2f4d
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