Function at 0x65688554
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ecx, 0xb
xor edx, edx
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x158]
mov esi, 0x656ad0b1
push ebx
sub esp, 0x17c
mov eax, dword [0x656a8f30]
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x142]
mov esi, str.Microsoft.Windows.Kernel.VsmEnclaveLoader
mov ecx, 0x2a
rep movsb byte es:[edi], byte [esi]
and eax, 0x3d10cede
mov dword [0x656a8f30], eax
cmp word [edx + str.The_ALPC_port_does_not_accept_new_request_messages.], 0
je 0x656885b4
add edx, 2
cmp edx, 0x464c
jne 0x65688595
xor eax, 0x994d4483
mov dword [0x656a8f30], eax
imul ecx, dword [0x656a8f30], 0x62e1bd0a
xor eax, eax
or ecx, 0xf7e5b654
xor ecx, 0xa3b44bad
or ecx, 0xbb110055
mov byte [ebp + eax - 0x118], al
inc eax
imul ecx, ecx, 0x2709875b
and ecx, 0xb5fc9133
cmp eax, 0x100
jne 0x656885cc
xor edi, edi
xor esi, esi
mov al, byte [ebp + esi - 0x118]
mov ebx, 0x29
xor edx, edx
and ecx, 0x5c664e1e
mov byte [ebp - 0x16c], al
mov eax, esi
div ebx
movzx eax, byte [ebp + edx - 0x142]
movzx edx, byte [ebp - 0x16c]
add eax, edx
add eax, edi
movzx edi, al
mov al, byte [ebp + edi - 0x118]
mov byte [ebp + esi - 0x118], al
mov al, byte [ebp - 0x16c]
inc esi
mov byte [ebp + edi - 0x118], al
cmp esi, 0x100
jne 0x656885f1
mov dword [0x656a8f30], ecx
mov edx, str.Bad_Image_Checksum
mov ecx, 0x2c6
movzx eax, word [edx]
add edx, 2
test ax, ax
je 0x65688682
add ecx, eax
cmp ecx, 0x8dc
jbe 0x65688659
call fcn.65692978
imul eax, dword [0x656a8f30], 0x21ebc7d9
mov dword [0x656a8f30], eax
mov eax, dword [0x656a8f30]
mov dword [esp + 8], str.The_ALPC_port_does_not_accept_new_request_messages.
xor esi, esi
or eax, 0x89754cd6
add eax, 0x728905d2
mov dword [esp + 4], eax
mov dword [esp], eax
mov dword [0x656a8f30], eax
call fcn.65691b18
imul eax, dword [0x656a8f30], 0x35639f07
add eax, 0x33ac1a66
and eax, 0x3b04bd24
mov dword [0x656a8f30], eax
call dword [sym.imp.KERNEL32.dll_GetThreadUILanguage]
mov eax, dword [0x656a8f30]
mov dword [esp + 4], str.Bad_Image_Checksum
mov dword [esp], eax
call fcn.65690fb4
mov eax, dword [0x656a8f30]
or eax, 0xe3691742
add eax, 0x582f6d5e
or eax, 0xc57f40d
mov dword [esp], eax
mov dword [0x656a8f30], eax
call fcn.65693ccc
xor ecx, ecx
xor edx, edx
lea eax, [esi + 1]
mov edi, str.This_operation_is_not_supported_on_a_DAX_volume.
mov dword [ebp - 0x16c], 0xc70
movzx esi, al
mov bl, byte [ebp + esi - 0x118]
add edx, ebx
movzx edx, dl
movzx eax, byte [edi]
inc edi
test al, al
je 0x6568874f
add dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0xff6
jbe 0x65688726
imul eax, dword [0x656a8f30], 0xf39ff7ef
mov dword [0x656a8f30], eax
mov eax, dword [0x656a8f30]
mov dword [esp + 8], str.This_operation_is_not_supported_on_a_DAX_volume.
lea edi, [ebp - 0x14d]
mov dword [esp + 4], str.Bad_Image_Checksum
sub eax, 0x239668ff
mov dword [ebp - 0x170], ecx
and eax, 0x7e26877c
mov dword [ebp - 0x16c], edx
mov dword [esp + 0xc], eax
mov dword [esp], eax
mov dword [0x656a8f30], eax
call fcn.656930f8
mov edx, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x170]
mov al, byte [ebp + edx - 0x118]
mov byte [ebp + esi - 0x118], al
mov byte [ebp + edx - 0x118], bl
add bl, byte [ebp + esi - 0x118]
movzx ebx, bl
mov al, byte [ebp + ebx - 0x118]
xor al, byte [ebp + ecx - 0x158]
mov byte [ebp + ecx - 0x14d], al
inc ecx
cmp ecx, 0xb
jne 0x65688705
mov byte [ebp - 0x142], 0
mov edx, str.This_operation_is_not_supported_on_a_DAX_volume.
mov dword [ebp - 0x160], 0x24
mov dword [ebp - 0x15c], 0xffffffaf
mov al, byte [edx]
test al, al
je 0x65688817
sub eax, 0x30
cmp al, 9
jbe 0x65688814
add dword [0x656a8f30], 0x6414fda3
jmp 0x65688817
inc edx
jmp 0x656887fb
imul eax, dword [0x656a8f30], 0xc1e8295d
xor esi, esi
mov ebx, 0x38
xor eax, 0xe9d005e4
mov dword [0x656a8f30], eax
xor eax, eax
cmp word [eax + str.Bad_Image_Checksum], 0
je 0x65688857
add eax, 2
cmp eax, 0xde4
jne 0x65688834
call fcn.65692604
xor dword [0x656a8f30], 0xb5163f75
or dword [0x656a8f30], 0x83bd40a7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add ebx, dword [ebp + esi*4 - 0x160]
xor eax, 0x4bc11ede
mov dword [0x656a8f30], eax
test esi, esi
jne 0x65688883
mov esi, 1
jmp 0x65688832
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], 0x14b0
mov dword [esp], str.uK6KcGYH9kQ25ifrBH97ftlFThgSw7JWxCgKpotkEpTIAlBXsbGEDh0ycjB7wJDZnnCHTQU_ScCdruZqpKzVI6CdJPDXJxvWiLKST8qrnVfI332BX28ttTdPcZX_YtPxMPAjOgQICqE5T0KFtXXv5fN2ZPxgU4DTT8m10mmhjZyahXD3zRHpS_wY_u2WWxxfpBJqkYCeWFOMKJ61cuaf40WYR_KBDQskppWZ1bSlZVJz2XyYLpTwTNSqJWg5eGWclepiTshvoHwMcWM35afjowFx_0AXS7Hu3Ts6uUudu4ypqj7uCKuDa7Y9uSAuDnytZnTwGMHUw_ajzF4bSlNiTXLBSPk75Lgd6sFFagoFQd9TOKIa2q_bqXIB7_7VQMYtI6oL9Iko_iAQCzn_uPTH9luD24ND0hpkI588dgreL_mw77tVUfvsAAnAjMhqyNERCXkuPDs4ToCIcSlP2qsvk4peJgb0qEABn_0vc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