Function at 0x5e3874c
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ecx, 6
xor eax, eax
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x165]
mov esi, 0x5e5b581
push ebx
sub esp, 0x17c
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x135]
mov esi, str._irb_8bimResInfo_VResolution
mov ecx, 0x1d
rep movsb byte es:[edi], byte [esi]
mov byte [ebp + eax - 0x118], al
inc eax
cmp eax, 0x100
jne 0x5e3877e
xor esi, esi
xor ecx, ecx
mov edi, 0x1c
mov eax, ecx
xor edx, edx
mov bl, byte [ebp + ecx - 0x118]
div edi
movzx eax, byte [ebp + edx - 0x135]
movzx edx, bl
add eax, edx
add eax, esi
movzx esi, al
mov al, byte [ebp + esi - 0x118]
mov byte [ebp + ecx - 0x118], al
inc ecx
mov byte [ebp + esi - 0x118], bl
cmp ecx, 0x100
jne 0x5e38796
xor ecx, ecx
xor esi, esi
xor ebx, ebx
inc ebx
mov edi, str.This_operation_is_not_supported_with_BTT_enabled.
movzx ebx, bl
mov al, byte [ebp + ebx - 0x118]
lea edx, [eax + esi]
mov byte [ebp - 0x169], al
mov eax, 0x94a
movzx esi, dl
movzx edx, word [edi]
add edi, 2
test dx, dx
je 0x5e3881f
add eax, edx
cmp eax, 0x12a7
jbe 0x5e387fa
mov dword [ebp - 0x170], ecx
call fcn.05e43548
mov ecx, dword [ebp - 0x170]
mov al, byte [ebp + esi - 0x118]
mov edx, dword [0x5e582c0]
mov byte [ebp + ebx - 0x118], al
mov al, byte [ebp - 0x169]
imul edi, edx, 0xdc148375
mov byte [ebp + esi - 0x118], al
add al, byte [ebp + ebx - 0x118]
movzx eax, al
mov dword [0x5e582c0], edi
lea edi, [ebp - 0x14d]
mov al, byte [ebp + eax - 0x118]
xor al, byte [ebp + ecx - 0x165]
mov byte [ebp + ecx - 0x14d], al
inc ecx
cmp ecx, 0x18
jne 0x5e387d9
imul edx, edx, 0x695ac48
mov byte [ebp - 0x135], 0
or edx, 0xeb6c5b72
mov dword [0x5e582c0], edx
mov dword [esp], 0x4a5
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
push eax
mov dword [esp + 4], str.The_operation_has_failed._CSVFS_is_not_in_redirected_mode.
mov eax, dword [0x5e582c0]
mov dword [esp], eax
call fcn.05e42a58
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0x18
mov dword [esp + 4], 0x1500
mov dword [esp], str.82IiVu51bwKHpmWrYmXNysScK4vQzy9cNDnHe_siR99Dx0ecXFrSWVCSkx_Z4tqRKZGuzess7Y4UWZE3uFzPMwBbI3AvnQKfCcuW2adyPBLE90MnqC4b8UVAyn4npyeM_rb5FELB_E0mW5QxeW4BdWhE6CFhYCCUDlekanuzriuTJoyYVpk8Owhx7WCVNMQBFJ07Gj7aIuCMjkThTxtKoXAK4X0OqDA84YcHVVIK_XQzo0vyali4sQTxPzXhdJub_ZsqIEqnXu3X0ZnFaPWMqjZmnHsx9CB1Ekj_Otd35zGrkAIqj80FzYjq7w0WTiG584RNu4nVJ1yWgZHZNX_3AMe8tVAP15U5wRKzfSLQwtQHFTpQL4rb10VIfVucZykaXeQuftpd8xHutjd8BYdqrAu5GuNqK3ddfdBh_1NCaU54g5pG5ZADEdFMCL0b6P8dknLiSCsVDENkpWbeRG6B6fwrpvCQTVnq4m7YqEua90eVPYM_g9CPF_HV11w42uq_L43Q5Pg9MV49J91sbtbqjF9OLqyn0Y_f_bp921jpxaHWVT5Y7rSGXZh58rFpoXSoNb7A2euGqHl3jDJTDwarDlOug3yj_zfFOc_z3i5xYXCdWdO8YYh7qyzTdSRfINAjuTvBRhXgROFrYrQg5QoxZWCu6D2n01fI0kbQURVkDBt_PmCvCXYcqceZpEUnDrF11AlLXZrc48F1zuzA9UJSXVKq3JsKMfLRdE0fl2FWmRQR5oPT07baDTcUWXenBc7DXxDZEeZGA4_Fsog2AU9vKIYSheE7PulTCyEQpxPBjbBNNoh60g4PirINya_hwqMMrUL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