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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100991ab
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 0x10069b25
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
cmp eax, 0x10
jbe 0x10069b1e
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 0x10069aaa
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 0x10069b11
cmp dword [ebp - 0x8ec], 0x40
jne 0x10069b11
push 0x40
lea edx, [ebp - 0x8d0]
lea ecx, [ebp - 0x888]
call fcn.100762d0
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 0x10069b11
cmp dword [ebp - 0x8ec], 4
jne 0x10069b11
push 4
lea edx, [ebp - 0x8f0]
lea ecx, [ebp - 0x888]
call fcn.100762d0
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 0x10069b11
push 0
lea eax, [ebp - 0x8ec]
push eax
push ecx
lea eax, [ebp - 0x830]
push eax
push ebx
call edi
test eax, eax
je 0x10069b11
mov eax, dword [ebp - 0x8ec]
cmp eax, dword [ebp - 0x8f0]
jne 0x10069b11
push eax
lea edx, [ebp - 0x830]
lea ecx, [ebp - 0x888]
call fcn.100762d0
mov eax, dword [ebp - 0x8f0]
add esp, 4
add esi, dword [ebp - 0x8ec]
and eax, 0xfffffffe
cmp eax, 0x800
jae 0x10069b04
xor ecx, ecx
mov word [ebp + eax - 0x830], cx
cmp word [ebp - 0x830], cx
jne 0x10069a26
xor eax, eax
jmp 0x10069a3f
lea eax, [ebp - 0x830]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10069a30
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.100704d0
mov ecx, eax
mov eax, dword [ebp - 0x8f4]
mov edx, dword [eax + 4]
mov eax, 0x2762761
sub eax, edx
cmp eax, 1
jb 0x10069afa
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 0x10069900
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x888]
call fcn.10076390
push 0
lea eax, [ebp - 0x8ec]
push eax
push 0x10
lea eax, [ebp - 0x20]
push eax
push ebx
call edi
test eax, eax
je 0x10069b11
cmp dword [ebp - 0x8ec], 0x10
jne 0x10069b11
lea ecx, [ebp - 0x20]
mov esi, 0xc
lea edx, [ebp - 0x30]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10069b09
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10069ae2
mov edi, 1
jmp 0x10069b0b
push str.list_T__too_long
call fcn.100907d5
call fcn.1007bb23
xor edi, edi
test edi, edi
jne 0x10069b1e
jmp 0x10069b13
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 0x10069b3c
push dword [ebp - 0x8e8]
call fcn.1007b9e6
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.1007aa10
mov esp, ebp
pop ebp
ret