Function at 0x5e36ba0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x125]
mov esi, str._d_readimage
push ebx
sub esp, 0x14c
call fcn.05e41c54
mov eax, dword [0x5e5819c]
lea edx, [eax + 0x25ee5403]
add eax, 0x2e99d34c
mov dword [0x5e58258], edx
mov dword [0x5e5819c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0xd
mov dword [ebp - 0x133], 0x195a5bd8
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x130], 0x1f51a819
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
or eax, 0x91547405
mov dword [0x5e5819c], eax
mov eax, dword [0x5e57d6c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push eax
xor eax, eax
mov byte [ebp + eax - 0x118], al
inc eax
cmp eax, 0x100
jne 0x5e36c19
mov eax, dword [0x5e5819c]
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x13c], eax
mov eax, ecx
mov edi, 0xc
xor edx, edx
mov bl, byte [ebp + ecx - 0x118]
div edi
movzx eax, byte [ebp + edx - 0x125]
movzx edx, bl
add eax, edx
add eax, esi
movzx esi, al
mov eax, dword [ebp - 0x13c]
mov dl, byte [ebp + esi - 0x118]
add eax, 0xca19dbc
imul edi, eax, 0xceb54f49
mov byte [ebp + ecx - 0x118], dl
inc ecx
mov byte [ebp + esi - 0x118], bl
mov dword [ebp - 0x13c], edi
cmp ecx, 0x100
jne 0x5e36c37
and eax, 0xe7640d11
mov byte [ebp - 0x19], dl
xor edi, edi
xor edx, edx
mov dword [0x5e5819c], eax
mov byte [ebp + esi - 0x118], bl
xor ebx, ebx
inc ebx
mov dword [ebp - 0x140], edx
lea esi, [ebp - 0x12c]
movzx ebx, bl
mov al, byte [ebp + ebx - 0x118]
lea ecx, [eax + edi]
mov byte [ebp - 0x13c], al
movzx edi, cl
mov ecx, dword [0x5e5819c]
xor ecx, 0x15a0b0fc
mov dword [0x5e58258], ecx
call fcn.05e3f804
mov cl, byte [ebp + edi - 0x118]
mov al, byte [ebp - 0x13c]
mov edx, dword [ebp - 0x140]
mov byte [ebp + ebx - 0x118], cl
mov byte [ebp + edi - 0x118], al
add al, byte [ebp + ebx - 0x118]
movzx eax, al
mov al, byte [ebp + eax - 0x118]
xor al, byte [ebp + edx - 0x133]
mov byte [ebp + edx - 0x12c], al
inc edx
cmp edx, 7
jne 0x5e36caa
mov eax, dword [0x5e5819c]
mov byte [ebp - 0x125], 0
or eax, 0xaa33ca75
mov dword [0x5e58258], eax
xor eax, eax
cmp word [eax + str.Compression_is_disabled_for_this_volume.], 0
je 0x5e36d65
add eax, 2
cmp eax, 0x2dc
jne 0x5e36d42
call fcn.05e40d0c
and dword [0x5e57d6c], 0x5a8a16d1
imul eax, dword [0x5e5819c], 0xde3c1dd8
mov dword [0x5e58258], eax
imul eax, dword [0x5e57d6c], 0xc00c6c5b
mov dword [0x5e5819c], eax
call fcn.05e44004
mov edx, str.Compression_is_disabled_for_this_volume.
mov ecx, 0x92e
movzx eax, word [edx]
add edx, 2
test ax, ax
je 0x5e36da7
add ecx, eax
cmp ecx, 0x1d11
jbe 0x5e36d92
mov eax, dword [0x5e58258]
mov edx, eax
and eax, 0x566201f9
and edx, 0x73717988
mov dword [0x5e58258], eax
mov dword [0x5e5819c], edx
call fcn.05e42c24
call fcn.05e40d0c
xor dword [0x5e58258], 0x5ed607b6
and dword [0x5e57d6c], 0x6f08023
call fcn.05e44004
mov dword [esp + 8], esi
mov dword [esp + 0xc], 7
mov dword [esp + 4], 0x136c
mov dword [esp], str.5r9bxpJVMk6ppts7cepxVQAPVsZQXAl1H9gZOirbr7yRQwo5e7qxU4P8E2J_nE70Rpff0EiZU3vdmJ_A0RR0eIrERpr10fFeZ8JV_1c_TKM6nLOdLo3NzRRigHsfaxS70E304rfTUg1IUFUiGREN6CkxpWVIZ0aTZxxvoA2wumLEOu5tlpNRwT7lh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