Function at 0x427ffa
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
mov eax, 0x467ce5
call fcn.004656a0
sub esp, 0xb0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], edx
push 0xa
pop edx
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x44], edi
call fcn.004328ec
mov esi, eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x14], 0x10
jb 0x428032
mov esi, dword [esi]
call fcn.0043295d
mov edx, esi
mov ecx, eax
call fcn.004324c4
push 0xf
pop esi
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], esi
mov byte [ebp - 0x5c], bl
call fcn.004127d6
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.00412665
mov byte [ebp - 0x12], bl
lea edx, [ebp - 0x5c]
push dword [ebp - 0x12]
lea ecx, [ebp - 0x74]
call fcn.004140e0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x24]
mov byte [ebp - 0x12], bl
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x12]
call fcn.00414112
add esp, 4
mov byte [ebp - 4], 4
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x8c]
call fcn.0040b8f6
pop ecx
lea ecx, [ebp - 0x8c]
mov bl, al
call fcn.00412448
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.00412448
test bl, bl
jne 0x4280eb
push dword [ebp - 0x24]
xor ebx, ebx
mov dword [ebp - 0x28], esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
call fcn.004127d6
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x3c]
call fcn.0041497c
lea ecx, [ebp - 0x3c]
call fcn.00412665
jmp 0x4280ed
xor ebx, ebx
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
push ebx
cmovae eax, dword [ebp - 0x5c]
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x42815d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 0x20
mov dword [ebp - 0x14], 0x938a9120
mov word [ebp - 0x10], 0x93
mov ecx, ebx
not al
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 4
jae 0x428140
mov al, byte [ebp - 0x14]
jmp 0x42812f
lea eax, [ebp - 0x13]
mov byte [ebp - 0xf], bl
push eax
mov ecx, edi
call fcn.00411d34
lea ecx, [ebp - 0x5c]
call fcn.00412665
mov eax, edi
jmp 0x4282cc
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.0043da0b
push esi
xor edi, edi
mov ebx, eax
push edi
push ebx
call fcn.00440770
add esp, 0x10
mov dword [ebp - 0x40], edi
lea eax, [ebp - 0x40]
push edi
mov edi, dword [ebp - 0x14]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x5c]
call fcn.0040bed4
cmp byte [ebx], 0xd0
mov dword [ebp - 0x90], 0xf
sete byte [ebp - 0x15]
mov byte [ebp - 0xa4], 0
and dword [ebp - 0x94], 0
xor edi, edi
mov byte [ebp - 4], 5
test esi, esi
je 0x4281e9
mov cl, byte [edi + ebx]
mov al, cl
sub al, 0x21
cmp al, 0x5d
ja 0x4281e4
cmp cl, 0x3d
je 0x4281e4
push ecx
lea ecx, [ebp - 0xa4]
call fcn.004126b5
inc edi
cmp edi, esi
jb 0x4281c8
movaps xmm0, xmmword [0x47d7e0]
xor ebx, ebx
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0xcec6c2
mov edx, ebx
mov cl, byte [ebp - 0x38]
not cl
xor byte [ebp + edx - 0x37], cl
inc edx
cmp edx, 0x12
jb 0x4281ff
push 0xf
pop esi
lea eax, [ebp - 0x37]
mov byte [ebp - 0x25], bl
push eax
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], esi
mov byte [ebp - 0x8c], bl
call fcn.004127d6
mov byte [ebp - 4], 6
mov cl, 0x6c
mov dword [ebp - 0x1f], 0xe0f2c36c
mov edx, ebx
mov dword [ebp - 0x1b], 0xe1fce4e0
mov word [ebp - 0x17], 0xf7
not cl
xor byte [ebp + edx - 0x1e], cl
inc edx
cmp edx, 8
jae 0x42825c
mov cl, byte [ebp - 0x1f]
jmp 0x42824b
lea eax, [ebp - 0x1e]
mov byte [ebp - 0x16], bl
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], esi
mov byte [ebp - 0x74], bl
call fcn.004127d6
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
lea eax, [ebp - 0x8c]
lea edx, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004325b1
mov dl, byte [ebp - 0x15]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x44]
call fcn.00427d4c
add esp, 0x18
lea ecx, [ebp - 0x74]
call fcn.00412665
lea ecx, [ebp - 0x8c]
call fcn.00412665
lea ecx, [ebp - 0xa4]
call fcn.00412665
lea ecx, [ebp - 0x5c]
call fcn.00412665
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret