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

Disassembly:
push 0x120
mov eax, 0x503b20
call fcn.004da051
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 4], ebx
mov ecx, 0x54b064
mov dword [ebp - 0x110], esi
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x12c], ebx
call fcn.00403ea0
xor edi, edi
inc edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x12c], edi
cmp dword [ebp - 0xfc], ebx
je 0x435747
push ebx
push 0x80
push 3
push ebx
push edi
push SysReAllocString
push dword [ebp - 0xfc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xfc], eax
cmp eax, 0xffffffff
je 0x435747
lea ecx, [ebp - 0x128]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x43573b
mov esi, 0x4000000
push esi
call fcn.004d4af2
pop ecx
mov dword [ebp - 0x10c], eax
cmp eax, ebx
je 0x43573b
push esi
push ebx
push eax
call fcn.004d9310
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.004d9310
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 0x4356c2
jg 0x435639
cmp ecx, ebx
jbe 0x4356c2
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 0x4356c2
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 0x4356c2
mov eax, dword [ebp - 0x114]
cmp eax, ebx
je 0x4356c2
push dword [ebp - 0x10c]
lea ecx, [ebp - 0x98]
call fcn.004389cc
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 0x435639
jl 0x4356c2
cmp dword [ebp - 0x108], ebx
ja 0x435639
cmp edi, dword [ebp - 0x128]
jne 0x435721
mov eax, dword [ebp - 0x124]
cmp dword [ebp - 0x11c], eax
jne 0x435721
lea eax, [ebp - 0x20]
push eax
lea edi, [ebp - 0x98]
lea ecx, [ebp - 0xf8]
call fcn.00439156
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004391d6
mov byte [ebp - 4], 2
cmp dword [ebp - 0x28], 0x10
mov eax, dword [ebp - 0x3c]
jae 0x43570a
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x110]
call fcn.0041d252
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00402476
push dword [ebp - 0x10c]
call fcn.004d69c1
pop ecx
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], bl
call fcn.004389b9
push dword [ebp - 0xfc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x110]
call fcn.004357c8
mov eax, dword [ebp - 0x110]
call fcn.004da0d4
ret 4