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

Disassembly:
mov eax, 0x13fc
call fcn.004054e0
mov eax, dword [esp + 0x1404]
push ebx
push ebp
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
mov ebx, 0x98badcfe
mov edi, 0x10325476
push eax
mov dword [esp + 0x58], 0x4065c8
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x5c], 0x67452301
mov dword [esp + 0x60], 0xefcdab89
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0xb4], 0x4065c4
or ebp, 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x4022e7
lea ecx, [esp + 0x20]
push ecx
push eax
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 0x20]
push esi
or edx, esi
push esi
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
xor ecx, ecx
mov dword [esp + 0x30], edx
mov edx, dword [0x407190]
push 0x402
or ecx, eax
push edx
mov dword [esp + 0x34], ecx
call esi
mov eax, dword [0x407190]
push 0x640000
push 0
push 0x401
push eax
call esi
mov eax, dword [0x40f1a4]
xor ecx, ecx
cmp eax, ecx
je 0x401f72
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x40], 0x67452301
mov dword [esp + 0x44], 0xefcdab89
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edi
cmp dword [0x407188], ecx
je 0x401fb7
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], 0x67452301
mov dword [esp + 0xa8], 0xefcdab89
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], 0xc3d2e1f0
mov ebx, dword [0x40f19c]
cmp ebx, ecx
je 0x401fc4
or ebp, 0xffffffff
xor edi, edi
cmp eax, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
jne 0x401ff8
cmp dword [0x407188], ecx
jne 0x401ff8
cmp ebx, ecx
jne 0x401ff8
push ecx
mov ecx, dword [0x407190]
push 0x64
push 0x402
push ecx
call esi
jmp 0x40212d
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push 0x1000
lea eax, [esp + 0x418]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40212d
jmp 0x402024
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x40212d
mov edx, dword [esp + 0x1410]
mov eax, dword [edx + 0x14]
test eax, eax
jne 0x4022cf
mov eax, dword [0x40f1a4]
test eax, eax
je 0x40205e
push esi
lea eax, [esp + 0x410]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.00402a30
mov eax, dword [0x407188]
test eax, eax
je 0x40207c
push esi
lea edx, [esp + 0x410]
push edx
lea ebx, [esp + 0xa0]
call fcn.00403470
mov eax, dword [0x40f19c]
test eax, eax
je 0x4020ac
lea eax, [esp + 0x40c]
mov edx, esi
mov edi, edi
xor ecx, ecx
mov cl, byte [eax]
xor ecx, ebp
and ecx, 0xff
mov ebx, dword [ecx*4 + 0x4061b0]
shr ebp, 8
inc eax
xor ebp, ebx
dec edx
jne 0x402090
mov eax, dword [esp + 0x30]
push 0
add edi, esi
adc eax, 0
push 0x64
push eax
push edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], eax
call fcn.004055c0
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.00405510
mov esi, eax
cmp esi, dword [esp + 0x14]
mov edi, edx
jne 0x4020e9
cmp edi, dword [esp + 0x18]
je 0x402106
mov edx, dword [0x407190]
push 0
push esi
push 0x402
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x20]
push eax
push 0x1000
lea ecx, [esp + 0x418]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x402020
mov eax, dword [0x40f1a4]
test eax, eax
je 0x402144
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x40]
call fcn.00402af0
mov eax, dword [0x407188]
test eax, eax
je 0x402160
lea esi, [esp + 0xf8]
lea eax, [esp + 0x98]
call fcn.00403540
mov eax, dword [0x40f19c]
test eax, eax
je 0x402182
not ebp
mov eax, ebp
mov ecx, eax
shr ecx, 0x10
mov byte [esp + 0x14], ch
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], ah
mov byte [esp + 0x17], al
mov esi, dword [esp + 0x1414]
push esi
push 0x406740
call fcn.00402650
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
push edx
push 0x40672c
call fcn.00402650
mov eax, dword [0x407184]
add esp, 0x14
test eax, eax
je 0x4021e4
lea eax, [esp + 0x30c]
push 0x100
push eax
mov eax, esi
call fcn.00402350
add esp, 8
test eax, eax
je 0x4021e4
lea ecx, [esp + 0x30c]
push ecx
push 0x406718
call fcn.00402650
add esp, 8
mov eax, dword [0x40718c]
test eax, eax
je 0x40222e
mov ecx, dword [esp + 0x10]
push 0x100
lea edx, [esp + 0x210]
push 0x100
push edx
lea edi, [esp + 0x118]
call fcn.00402550
add esp, 0xc
test eax, eax
je 0x40222e
mov eax, edi
push eax
lea ecx, [esp + 0x210]
push ecx
push 0x406704
call fcn.00402650
add esp, 0xc
mov eax, dword [0x40f1a4]
test eax, eax
je 0x40224e
lea edx, [esp + 0x2c]
push edx
mov ebx, 0x10
mov eax, str.MD5:
call fcn.004025e0
add esp, 4
mov eax, dword [0x407188]
test eax, eax
je 0x402271
lea eax, [esp + 0xf8]
push eax
mov ebx, 0x14
mov eax, str.SHA1:
call fcn.004025e0
add esp, 4
mov eax, dword [0x40f19c]
test eax, eax
je 0x402291
lea ecx, [esp + 0x14]
push ecx
mov ebx, 4
mov eax, str.CRC32:
call fcn.004025e0
add esp, 4
mov edx, dword [0x40f1a8]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
push 0
push 0xb1
push edx
call esi
mov eax, dword [0x40f1a8]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xb1
push eax
call esi
mov ecx, dword [0x40f1a8]
push 0x4066e8
push 0
push 0xc2
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x13fc
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x40233a
push 0
push 0x100
lea eax, [esp + 0x18]
push eax
push 0
push esi
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x40233a
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1414]
push ecx
push esi
push esi
push edx
push 0x4066b4
call fcn.00402650
mov eax, dword [esp + 0x24]
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x13fc
ret 8