Function at 0x8388ac
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ecx, 0xd
xor eax, eax
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x14f]
mov esi, 0x85d11c
push ebx
sub esp, 0x16c
rep movsb byte es:[edi], byte [esi]
cmp byte [eax + str.Scrub_is_disabled_on_the_specified_file.], 0
je 0x83890e
inc eax
cmp eax, 0x2205
jne 0x8388cc
mov eax, dword [0x858fe8]
mov dword [esp + 0xc], str.LdrpResGetResourceDirectory_Enter
mov dword [esp + 8], str.LdrpResGetResourceDirectory_Enter
mov dword [esp + 4], eax
mov dword [esp], str.The_operation_cannot_be_performed.
call fcn.00844650
xor dword [0x858fe8], 0x160697f9
jmp 0x838915
cmp eax, 0x1734
jle 0x838926
call fcn.00843328
mov eax, dword [0x858fe8]
sub eax, 0x7a3abe31
jmp 0x838930
imul eax, dword [0x858fe8], 0x5e0df30d
xor eax, 0x55046c9d
mov ecx, 0x859a80
mov dword [0x858fe8], eax
mov dl, byte [ecx]
test dl, dl
je 0x83895c
sub edx, 0x30
cmp dl, 9
jbe 0x838959
add eax, 0x494632e9
mov dword [0x858fe8], eax
jmp 0x83895c
inc ecx
jmp 0x83893f
mov eax, dword [0x858fe8]
mov dword [esp], str.Scrub_is_disabled_on_the_specified_file.
xor ebx, ebx
lea edi, [ebp - 0x142]
mov dword [esp + 0xc], str.LdrpResGetResourceDirectory_Enter
mov esi, str.LDR_Database
xor eax, 0x34802d2b
mov dword [esp + 8], str.LdrpResGetResourceDirectory_Enter
mov dword [esp + 4], eax
mov dword [0x858fe8], eax
call fcn.00844650
mov eax, dword [0x858fe8]
mov ecx, 0xd
rep movsb byte es:[edi], byte [esi]
xor eax, 0xee699240
sub eax, 0x7ac53df4
mov dword [0x858fe8], eax
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
mov byte [ebp + ebx - 0x118], bl
inc ebx
sub eax, 0x7574904
mov dword [0x858fe8], eax
cmp ebx, 0x100
jne 0x8389b3
xor esi, esi
xor ecx, ecx
mov edi, 0xc
mov eax, ecx
xor edx, edx
mov bl, byte [ebp + ecx - 0x118]
div edi
movzx eax, byte [ebp + edx - 0x142]
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 0x8389dc
xor edi, edi
xor esi, esi
xor ebx, ebx
inc ebx
movzx ebx, bl
mov al, byte [ebp + ebx - 0x118]
mov byte [ebp - 0x159], al
add eax, esi
movzx esi, al
mov eax, dword [0x858fe8]
or eax, 0x3cb59e69
mov dword [esp], eax
mov dword [0x858fe8], eax
call fcn.00843ccc
mov eax, dword [0x858fe8]
and eax, 0x197ec44a
imul eax, eax, 0x43ef3f73
mov dword [0x858fe8], eax
call fcn.00842604
xor eax, eax
cmp byte [eax + 0x859a80], 0
je 0x838a97
inc eax
cmp eax, 0x22d3
jne 0x838a68
mov dword [esp + 4], str.LdrpResGetResourceDirectory_Enter
mov dword [esp], 0x859a80
call fcn.00842fc4
and dword [0x858fe8], 0xa6dec045
mov eax, dword [0x858fe8]
xor eax, 0xe4595de0
and eax, 0xefc394f8
mov dword [0x858fe8], eax
call dword [sym.imp.USER32.dll_GetMessageTime]
mov dl, byte [ebp + esi - 0x118]
mov cl, byte [ebp - 0x159]
sub eax, 0x6ac729be
mov byte [ebp + ebx - 0x118], dl
mov dl, byte [ebp - 0x159]
mov dword [0x858fe8], eax
mov byte [ebp + esi - 0x118], dl
add cl, byte [ebp + ebx - 0x118]
lea edx, [ebp - 0x135]
movzx ecx, cl
mov cl, byte [ebp + ecx - 0x118]
xor cl, byte [ebp + edi - 0x14f]
mov byte [ebp + edi - 0x135], cl
inc edi
cmp edi, 0xd
jne 0x838a1f
lea edi, [ebp - 0x128]
mov esi, 0x845068
mov ecx, 4
mov byte [ebp - 0x128], 0
rep movsd dword es:[edi], dword [esi]
imul eax, eax, 0xfe7909a1
mov ebx, 0x21
add ebx, dword [ebp + ecx*4 - 0x128]
imul eax, eax, 0x78632938
inc ecx
cmp ecx, 4
jne 0x838b2f
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], 0x1344
mov dword [esp], str.xk51RudRIW9Kpy4sIjtzgBCIBmm5XieDSDllfoIm0znrfDtWAwUCy5gIJ3NxQrBPMOFX4S06knfkis5FjNo7vpkEIDTuYWpHrzn4yYQlEe3QTT79_qi87oAVMe8EqashzFNjU0XaQq8KL9GLPIW9R46SyDp7zLreoP7CbKTY15zCRbteWYsDNI6CVE97Mn7mlYkrzYAJYsMJmF2Wtp2C5Euj5mTBNnKQjFEpx4a2bY4_MkSfPWIyuWg0D4VsgFucJ2QLNYso1uZHgVl1zVXfPnLJh8eq4SQara5Vv2dihUc1ks6IkWDHbJ5CFv8IN0NUFNkHSrLXpiTs2lpN1yo4oz7XAy5Fz3fgVlrIh3z729PG3xXraE5B_V5dZgzD94_jrMboCT409KHV_zMSGsCfedp_P1sAy1zllsKFelMMbOuj0uBppBHnTbD9wsmeBotzh_1zPdySYClnxLpzWSdPuuHkbk3EjZDgdh3LVdvApFCo5rE3AnpXla5rkOKFQjg61MAIGQMqVUqv3WTX_9MzlKifs8329qj1gjx_QmX_Mti7kwgOn_EnGWc0NujJI_7KWCly5ZHs6OgXYFa54nt2yvCgWza8OmYG9HwaXVUKJW1vDUtntkbLD_XDa74_7WrvyzZh36vAEX2xle8sciHJsS9vyD2nemOg0fLsTJMR5xNpOTFExvkif1XtLJ9hDjNXQqFWAKRNJeqTypR1YLSP1HTHHJBcdPodRySZs0DElvIB2hQwtB401z8ZapyrYJIpxupoVBaC84uydf7Awb71nFIxNxf_vMu1XhineOOQxVMAOFCxGy6giwFHLRipXeusB1_wn8JJAk7h22BemfdYIN1k5briGkETrfmzhgukoWfgD9dUOId89m7JsqwrIxz24VMjhLBpU6OM2Z6OKCnUYe8KHyiR93HJqkKs8F23aBMVkYa9oegNyproNAbqNsw6bh3IsEL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