Function at 0x10076ed0
Capabilities:
Encode data using xor
Get file size
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088b37
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100ab008]
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 - 0x24], ecx
mov esi, dword [ebp + 8]
push 4
mov dword [ebp - 0x14], 0
call fcn.1007b70a
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
sub esp, 0xc
lea ecx, [ebp - 0x14]
push esi
call fcn.10074a90
test al, al
jne 0x10076f78
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100770f4
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x10076f70
test eax, eax
je 0x10076f70
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
jmp 0x100770e5
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x100770bf
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x100770bf
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10076fae
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100770bf
mov eax, dword [ebp - 0x18]
xor ecx, ecx
add ecx, esi
adc eax, 0
or ecx, eax
je 0x100770bf
push 0x100ad960
push 0x1000
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x1c], 0
call fcn.1007bffd
mov ebx, eax
add esp, 8
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x10076ff2
mov dword [ebp - 4], 0xffffffff
jmp 0x100770ca
xor esi, esi
cmp dword [edi], 0xffffffff
je 0x10077079
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0x1000
push ebx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1007705c
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0
jne 0x10077058
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x1007705c
not esi
nop dword [eax]
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor eax, esi
mov ecx, esi
movzx eax, al
shr ecx, 8
mov esi, dword [eax*4 + 0x10095220]
xor esi, ecx
sub edx, 1
jne 0x10077030
mov ebx, dword [ebp - 0x18]
not esi
mov dword [ebp - 0x1c], edx
jmp 0x10076ff4
mov byte [ebp - 0x1d], 1
mov eax, dword [edi]
mov ebx, esi
cmp eax, 0xffffffff
je 0x10077076
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10077076
mov dword [edi], 0xffffffff
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.1007bdfd
add esp, 4
mov dword [ebp - 4], 0xffffffff
xor eax, eax
cmp byte [ebp - 0x1d], al
cmovne esi, eax
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x100770a9
test eax, eax
je 0x100770a9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
push 4
push edi
call fcn.1007b73a
add esp, 8
mov dword [ebp - 0x14], 0
mov eax, esi
jmp 0x100770f6
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x100770f4
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x100770e2
test eax, eax
je 0x100770e2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
push 4
push edi
call fcn.1007b73a
mov dword [ebp - 0x14], 0
add esp, 8
xor eax, eax
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.1007b6f9
mov esp, ebp
pop ebp
ret 4