Function at 0x40cdfc
Capabilities:
Get file size
Hash data with md5
Read file on windows

Disassembly:
push 0x120
mov eax, 0x49f4f8
call fcn.00481105
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x110], esi
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x12c], ebx
call fcn.00402a45
xor edi, edi
inc edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x12c], edi
cmp dword [ebp - 0xfc], ebx
je 0x40d061
push ebx
push 0x80
push 3
push ebx
push edi
push Ordinal_1
push dword [ebp - 0xfc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xfc], eax
cmp eax, 0xffffffff
je 0x40d061
lea ecx, [ebp - 0x128]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x40d055
mov esi, 0x4000000
push esi
call fcn.00479152
pop ecx
mov dword [ebp - 0x10c], eax
cmp eax, ebx
je 0x40d055
push esi
push ebx
push eax
call fcn.004805d0
push 0x3f
lea eax, [ebp - 0xf3]
push ebx
push eax
mov dword [ebp - 0xf8], vtable.MD5.0
mov dword [ebp - 0xa0], 0xf
mov dword [ebp - 0xa4], ebx
mov byte [ebp - 0xb4], bl
mov byte [ebp - 0xf4], 0x80
call fcn.004805d0
add esp, 0x18
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x128]
xor eax, eax
mov byte [ebp - 0x20], bl
lea edi, [ebp - 0x1f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x124]
xor edi, edi
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x98], 0x67452301
mov dword [ebp - 0x94], 0xefcdab89
mov dword [ebp - 0x90], 0x98badcfe
mov dword [ebp - 0x8c], 0x10325476
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x11c], ebx
cmp eax, ebx
jl 0x40cfdc
jg 0x40cf53
cmp ecx, ebx
jbe 0x40cfdc
push ebx
push ebx
push dword [ebp - 0x11c]
push edi
push dword [ebp - 0xfc]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x40cfdc
push ebx
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 0x10c]
mov dword [ebp - 0x114], ebx
push dword [ebp - 0xfc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40cfdc
mov eax, dword [ebp - 0x114]
cmp eax, ebx
je 0x40cfdc
push dword [ebp - 0x10c]
lea ecx, [ebp - 0x98]
call fcn.004114dc
mov eax, dword [ebp - 0x114]
add edi, eax
adc dword [ebp - 0x11c], ebx
sub dword [ebp - 0x108], eax
sbb dword [ebp - 0x104], ebx
cmp dword [ebp - 0x104], ebx
jg 0x40cf53
jl 0x40cfdc
cmp dword [ebp - 0x108], ebx
ja 0x40cf53
cmp edi, dword [ebp - 0x128]
jne 0x40d03b
mov eax, dword [ebp - 0x124]
cmp dword [ebp - 0x11c], eax
jne 0x40d03b
lea eax, [ebp - 0x20]
push eax
lea edi, [ebp - 0x98]
lea ecx, [ebp - 0xf8]
call fcn.00411c66
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00411ce6
mov byte [ebp - 4], 2
cmp dword [ebp - 0x28], 0x10
mov eax, dword [ebp - 0x3c]
jae 0x40d024
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x110]
call fcn.00401e2b
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401587
push dword [ebp - 0x10c]
call fcn.0047af65
pop ecx
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], bl
call fcn.004114c9
push dword [ebp - 0xfc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x110]
call fcn.0040d0d0
mov eax, dword [ebp - 0x110]
call fcn.00481188
ret 4