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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov ecx, dword [eax + 0x58]
push ebx
mov ebx, dword [eax + 0x54]
shl ebx, 9
push edi
mov dword [ebp - 0x18], ebx
test ecx, ecx
jns 0x41e40f
mov eax, dword [esi + 0x1c]
add eax, ecx
jmp 0x41e411
mov eax, ecx
movzx ecx, word [esi + 4]
cdq
shld edx, eax, 9
and ecx, 0xff
push 0x64
shl ecx, 0x10
or ecx, 2
shl eax, 9
push ecx
mov dword [ebp - 0x20], edx
mov edx, dword [esi + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
push 0x178c
mov edi, ebx
push edx
mov dword [ebp - 8], edi
mov dword [eax], 0xffffffff
call dword [sym.imp.USER32.dll_SendMessageA]
test ebx, ebx
jne 0x41e473
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
not ecx
mov dword [eax], ecx
xor eax, eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp - 8]
cmp byte [esi + 0xc], 0
jne 0x41e5d3
cmp edi, 0x400000
jbe 0x41e48a
mov edi, 0x400000
lea eax, [edi + 0x1ff]
and eax, 0xfffffe00
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], eax
cmp edi, 0x400000
jae 0x41e4b6
mov eax, dword [ebp + 0xc]
push 0x400000
push 0
push eax
call fcn.00518380
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
push 0
lea edx, [ebp - 0x28]
push edx
push eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xffffffff
jne 0x41e4ef
test eax, eax
jne 0x41e505
cmp ecx, 0xffffffff
jne 0x41e505
cmp dword [ebp - 0x28], 0
jne 0x41e505
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x41e532
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41e529
mov edx, dword [ebp - 0xc]
cmp dword [ebp - 0x10], edx
je 0x41e53a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x41e5e0
cmp byte [esi + 0xc], 0
jne 0x41e5d3
mov edx, dword [ebp + 0xc]
mov ecx, edi
test edi, edi
je 0x41e578
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x56b4d0]
mov edi, dword [ebp + 0x10]
inc edx
dec ecx
mov dword [edi], eax
jne 0x41e54d
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
sub ecx, edi
mov eax, ebx
sub eax, ecx
mov dword [ebp - 8], ecx
mov ecx, 0x64
mul ecx
push 0
push ebx
push edx
push eax
call fcn.0051aa20
movzx edx, word [esi + 4]
and edx, 0xff
push eax
mov eax, dword [esi + 8]
shl edx, 0x10
or edx, 3
push edx
push 0x178c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 8], 0
ja 0x41e470
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
not ecx
mov dword [eax], ecx
xor eax, eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0x4c7
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi + 0x18]
cmp byte [ecx + 0x54], 0
push eax
je 0x41e5f1
push 0x56ee4c
jmp 0x41e5f6
push str.Failed_to_read_the_disk_data._The_error_code_is:__d___Location:11_
push 0x597f50
call fcn.00515b45
movzx edx, word [esi + 4]
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0xc
push 0x597f50
and edx, 0xff
shl edx, 0x10
push edx
push 0x178c
push eax
call edi
movzx ecx, word [esi + 4]
mov edx, dword [esi + 8]
and ecx, 0xff
push 0x597f50
shl ecx, 0x10
or ecx, 1
push ecx
push 0x178c
push edx
call edi
mov eax, dword [ebp - 0xc]
pop edi
mov byte [esi + 0xd], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc