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

Disassembly:
push ebp
mov ecx, 4
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x156]
mov esi, 0x85cdec
push ebx
sub esp, 0x16c
imul eax, dword [0x858e04], 0x590f371e
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 4], str.Failed_to_allocate_memory
lea edi, [ebp - 0x136]
mov esi, str.No_principal_name_registered.
xor eax, 0x313fe50a
mov dword [esp], eax
mov dword [0x858cf8], eax
call fcn.00840fb4
mov ecx, 0x1e
mov eax, dword [0x858cf8]
rep movsb byte es:[edi], byte [esi]
add eax, 0x7898e6d0
xor eax, 0x44e87bc3
mov dword [0x858e04], eax
xor eax, eax
mov byte [ebp + eax - 0x118], al
inc eax
cmp eax, 0x100
jne 0x837656
xor edi, edi
xor ecx, ecx
mov esi, 0x1d
mov eax, ecx
xor edx, edx
mov bl, byte [ebp + ecx - 0x118]
div esi
movzx eax, byte [ebp + edx - 0x136]
movzx edx, bl
add eax, edx
add eax, edi
movzx edi, al
mov al, byte [ebp + edi - 0x118]
mov byte [ebp + ecx - 0x118], al
inc ecx
mov byte [ebp + edi - 0x118], bl
cmp ecx, 0x100
jne 0x83766e
xor edx, edx
xor edi, edi
xor esi, esi
lea eax, [esi + 1]
mov dword [ebp - 0x15c], edx
movzx esi, al
mov bl, byte [ebp + esi - 0x118]
lea eax, [ebx + edi]
movzx edi, al
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov al, byte [ebp + edi - 0x118]
mov edx, dword [ebp - 0x15c]
mov byte [ebp + esi - 0x118], al
mov eax, dword [0x858cf8]
mov byte [ebp + edi - 0x118], bl
add bl, byte [ebp + esi - 0x118]
movzx ebx, bl
mov cl, byte [ebp + ebx - 0x118]
mov ebx, eax
xor cl, byte [ebp + edx - 0x156]
and eax, 0x446b3249
or eax, 0x400b2200
mov byte [ebp + edx - 0x146], cl
inc edx
or ebx, 0x591bee86
mov dword [0x858cf8], eax
lea eax, [ebp - 0x146]
mov dword [0x858e04], ebx
cmp edx, 0x10
jne 0x8376b1
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], eax
mov dword [esp + 4], 0x1210
mov dword [esp], str.tZ6s07mpuRQD9xpEBTA3vrnybuMDSA9fRfpRAcxaGfJ5dfSJFxps5fufANFLItYhhtPmKrkAymQPUcuGM24HqYk5RDiDqiookbgQd1WHUFjZmKC8GmT66jIDfHETt_bNL3K36HeayKcf01CjcrP8JnWe921CzmhnTr_YDNMH91758yiJbNnCnw9096DFPTQSCNG6clH_xdBiUOnYESOrBu9yR914T9fEsCLjvHFIzG9d3mBkuyGEc6o6LSSWtoLR6t6MI2RD1qLZ3hjwzDSjDjp7Xu2CmedAXrrHMZCyzRfpvjAs9Pc2eDnifyYrnyZ0yjrOm2G5_QG4CXPrMnIXMfpoNly1bUNlg2huejfz9C3ClFakuCKagzyWaYPDmmN0FANlD4y6B_W8MhWWMEGQ44zyvA7VOdgq7D8svLCKQoUCpWK5sWA5D2ptRPH4lqOlALpf0HQRVGB9C6glEFodlAbuNcYAksXWllMtqhHnXNiP0EY2lNOfOGfakC11eI4GmN59mJ8szTH4ufM5iB8WyVw6dPwJoXQbmkCCwMA6ONjrXSMaxetMuJ6C60Zfm29FmjiWIxj8_epw_cOtaEEZcC0ZKj2BndwBnVl_96gY5kUCkEXIU2Os4WDez_3RuptG8fMxJETArH8LL3ovRl3khUe258XsktLOoORmRjAk8IWaoZx5CCpMb46V7LqogWtUv84Ms6blU3BEspns6gbB6oSfLopeVw_plaJXYxGCbg5TE9u61ipJTnDE4rTThATx2LzuYTRy1pDgo9uAIAXrnxljTggnuJYs7u009weiv76mC_5NM4g64UBJWYo6fr0dPJSl7qhVxEgYEFkZ_9DjqAVq75zFGbOQuRIckwdpSWaFMY4AWBZ_sngwv0sEwXLGGVS5975Lgm5AXuIXmxWYt7uC2qBPufzJbE_c4b7ml1xEdDpbrrYi7dLNi51cbtMFrkAt22tJ3pPHfIfuGKWDtQJ54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