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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10098ecb
mov eax, dword fs:[0]
push eax
sub esp, 0x8ec
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8f4], ecx
xor esi, esi
mov dword [ebp - 0x8d4], 7
xor eax, eax
mov dword [ebp - 0x8d8], esi
mov word [ebp - 0x8e8], ax
xor edi, edi
mov dword [ebp - 4], eax
push edi
push edi
push 3
push edi
push edi
push SysReAllocString
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10069915
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x10
jbe 0x1006990e
sub eax, 0x10
mov dword [ebp - 0x888], edi
mov dword [ebp - 0x884], edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x8f8], eax
mov dword [ebp - 0x880], 0x67452301
mov dword [ebp - 0x87c], 0xefcdab89
mov dword [ebp - 0x878], 0x98badcfe
mov dword [ebp - 0x874], 0x10325476
cmp eax, 0x44
jbe 0x1006989a
mov edi, edi
push 0
lea eax, [ebp - 0x8ec]
push eax
push 0x40
lea eax, [ebp - 0x8d0]
push eax
push ebx
call edi
test eax, eax
je 0x10069901
cmp dword [ebp - 0x8ec], 0x40
jne 0x10069901
push 0x40
lea edx, [ebp - 0x8d0]
lea ecx, [ebp - 0x888]
call fcn.10075ff0
add esi, dword [ebp - 0x8ec]
add esp, 4
xor eax, eax
mov word [ebp - 0x890], ax
push eax
lea eax, [ebp - 0x8ec]
push eax
push 4
lea eax, [ebp - 0x8f0]
push eax
push ebx
call edi
test eax, eax
je 0x10069901
cmp dword [ebp - 0x8ec], 4
jne 0x10069901
push 4
lea edx, [ebp - 0x8f0]
lea ecx, [ebp - 0x888]
call fcn.10075ff0
mov eax, dword [ebp - 0x8f0]
add esp, 4
add esi, dword [ebp - 0x8ec]
lea ecx, [eax + eax]
lea eax, [ecx + esi]
mov dword [ebp - 0x8f0], ecx
cmp eax, dword [ebp - 0x8f8]
ja 0x10069901
push 0
lea eax, [ebp - 0x8ec]
push eax
push ecx
lea eax, [ebp - 0x830]
push eax
push ebx
call edi
test eax, eax
je 0x10069901
mov eax, dword [ebp - 0x8ec]
cmp eax, dword [ebp - 0x8f0]
jne 0x10069901
push eax
lea edx, [ebp - 0x830]
lea ecx, [ebp - 0x888]
call fcn.10075ff0
mov eax, dword [ebp - 0x8f0]
add esp, 4
add esi, dword [ebp - 0x8ec]
and eax, 0xfffffffe
cmp eax, 0x800
jae 0x100698f4
xor ecx, ecx
mov word [ebp + eax - 0x830], cx
cmp word [ebp - 0x830], cx
jne 0x10069816
xor eax, eax
jmp 0x1006982f
lea eax, [ebp - 0x830]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10069820
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x8e8]
call fcn.10063b40
mov eax, dword [ebp - 0x8f4]
mov edi, dword [eax]
lea eax, [ebp - 0x8e8]
push eax
push dword [edi + 4]
push edi
call fcn.100701f0
mov ecx, eax
mov eax, dword [ebp - 0x8f4]
mov edx, dword [eax + 4]
mov eax, 0x2762761
sub eax, edx
cmp eax, 1
jb 0x100698ea
lea eax, [edx + 1]
mov edx, dword [ebp - 0x8f4]
mov dword [edx + 4], eax
mov dword [edi + 4], ecx
mov eax, dword [ecx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [eax], ecx
lea eax, [esi + 0x44]
cmp eax, dword [ebp - 0x8f8]
jb 0x100696f0
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x888]
call fcn.100760b0
push 0
lea eax, [ebp - 0x8ec]
push eax
push 0x10
lea eax, [ebp - 0x20]
push eax
push ebx
call edi
test eax, eax
je 0x10069901
cmp dword [ebp - 0x8ec], 0x10
jne 0x10069901
lea ecx, [ebp - 0x20]
mov esi, 0xc
lea edx, [ebp - 0x30]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100698f9
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100698d2
mov edi, 1
jmp 0x100698fb
push str.list_T__too_long
call fcn.100904f5
call fcn.1007b843
xor edi, edi
test edi, edi
jne 0x1006990e
jmp 0x10069903
xor edi, edi
mov ecx, dword [ebp - 0x8f4]
call fcn.100633d0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x8d4], 8
jb 0x1006992c
push dword [ebp - 0x8e8]
call fcn.1007b706
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007a730
mov esp, ebp
pop ebp
ret