Function at 0x10076db0
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 0x10088a17
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100b2008]
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.1007b5ea
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.10074970
test al, al
jne 0x10076e58
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10076fd4
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x10076e50
test eax, eax
je 0x10076e50
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
jmp 0x10076fc5
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10076f9f
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x10076f9f
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10076e8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10076f9f
mov eax, dword [ebp - 0x18]
xor ecx, ecx
add ecx, esi
adc eax, 0
or ecx, eax
je 0x10076f9f
push 0x100b4960
push 0x1000
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x1c], 0
call fcn.1007bedd
mov ebx, eax
add esp, 8
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x10076ed2
mov dword [ebp - 4], 0xffffffff
jmp 0x10076faa
xor esi, esi
cmp dword [edi], 0xffffffff
je 0x10076f59
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 0x10076f3c
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0
jne 0x10076f38
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x10076f3c
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 + 0x1009c0e0]
xor esi, ecx
sub edx, 1
jne 0x10076f10
mov ebx, dword [ebp - 0x18]
not esi
mov dword [ebp - 0x1c], edx
jmp 0x10076ed4
mov byte [ebp - 0x1d], 1
mov eax, dword [edi]
mov ebx, esi
cmp eax, 0xffffffff
je 0x10076f56
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10076f56
mov dword [edi], 0xffffffff
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.1007bcdd
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 0x10076f89
test eax, eax
je 0x10076f89
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
push 4
push edi
call fcn.1007b61a
add esp, 8
mov dword [ebp - 0x14], 0
mov eax, esi
jmp 0x10076fd6
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10076fd4
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x10076fc2
test eax, eax
je 0x10076fc2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
push 4
push edi
call fcn.1007b61a
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.1007b5d9
mov esp, ebp
pop ebp
ret 4