Function at 0x10075990
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 0x10087587
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100b0008]
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.1007a1ba
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.10073550
test al, al
jne 0x10075a38
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10075bb4
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x10075a30
test eax, eax
je 0x10075a30
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
jmp 0x10075ba5
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10075b7f
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x10075b7f
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10075a6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10075b7f
mov eax, dword [ebp - 0x18]
xor ecx, ecx
add ecx, esi
adc eax, 0
or ecx, eax
je 0x10075b7f
push 0x100b28e0
push 0x1000
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x1c], 0
call fcn.1007aaad
mov ebx, eax
add esp, 8
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x10075ab2
mov dword [ebp - 4], 0xffffffff
jmp 0x10075b8a
xor esi, esi
cmp dword [edi], 0xffffffff
je 0x10075b39
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 0x10075b1c
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0
jne 0x10075b18
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x10075b1c
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 + 0x1009ac40]
xor esi, ecx
sub edx, 1
jne 0x10075af0
mov ebx, dword [ebp - 0x18]
not esi
mov dword [ebp - 0x1c], edx
jmp 0x10075ab4
mov byte [ebp - 0x1d], 1
mov eax, dword [edi]
mov ebx, esi
cmp eax, 0xffffffff
je 0x10075b36
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10075b36
mov dword [edi], 0xffffffff
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.1007a8ad
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 0x10075b69
test eax, eax
je 0x10075b69
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
push 4
push edi
call fcn.1007a1ea
add esp, 8
mov dword [ebp - 0x14], 0
mov eax, esi
jmp 0x10075bb6
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10075bb4
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x10075ba2
test eax, eax
je 0x10075ba2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
push 4
push edi
call fcn.1007a1ea
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.1007a1a9
mov esp, ebp
pop ebp
ret 4