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

Disassembly:
push ebp
mov ecx, 4
xor edx, edx
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x15a]
mov esi, 0x85d1c5
push ebx
sub esp, 0x17c
mov eax, dword [0x85908c]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x13a]
mov esi, 0x85d1d5
mov ecx, 0x22
rep movsb byte es:[edi], byte [esi]
and eax, 0x745414e5
sub eax, 0x1c0a6086
and eax, 0x5e737eec
imul eax, eax, 0xbaad4513
mov byte [ebp + edx - 0x118], dl
inc edx
xor eax, 0xc70fd8b2
cmp edx, 0x100
jne 0x83927e
mov dword [0x858bf4], eax
xor esi, esi
xor ebx, ebx
mov al, byte [ebp + ebx - 0x118]
mov ecx, 0x21
xor edx, edx
mov edi, 0x8c9
mov byte [ebp - 0x16c], al
mov eax, ebx
div ecx
mov al, byte [ebp - 0x16c]
mov ecx, str.ForceFlags
add al, byte [ebp + edx - 0x13a]
mov edx, dword [0x858bf4]
add eax, esi
or edx, 0xc3b362b3
movzx esi, al
xor edx, 0x8c4c3f02
mov dword [0x85908c], edx
add edx, 0x23345b2c
mov dword [0x858bf4], edx
movsx eax, byte [ecx]
inc ecx
test al, al
je 0x839332
add edi, eax
cmp edi, 0x218d
jbe 0x8392fa
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.MinimumStackCommitInBytes
mov dword [esp + 4], str.The_cryptographic_signature_is_invalid.
mov dword [esp], edx
call fcn.008430f8
add dword [0x85908c], 0x38fe3bbd
mov eax, dword [0x85908c]
mov dword [esp + 8], str.MinimumStackCommitInBytes
mov dword [esp + 4], str.The_cryptographic_signature_is_invalid.
and dword [0x858bf4], 0x2df387c1
sub eax, 0xcd1279f
mov dword [esp + 0xc], eax
mov dword [esp], eax
mov dword [0x85908c], eax
call fcn.008430f8
mov al, byte [ebp + esi - 0x118]
mov byte [ebp + ebx - 0x118], al
mov al, byte [ebp - 0x16c]
inc ebx
mov byte [ebp + esi - 0x118], al
cmp ebx, 0x100
jne 0x8392a2
xor edx, edx
xor edi, edi
xor esi, esi
lea eax, [esi + 1]
mov ecx, str.MinimumStackCommitInBytes
movzx esi, al
mov bl, byte [ebp + esi - 0x118]
lea eax, [ebx + edi]
movzx edi, al
mov al, byte [ebp + edi - 0x118]
mov byte [ebp + esi - 0x118], al
mov al, byte [ecx]
test al, al
je 0x8393dc
sub eax, 0x30
cmp al, 9
jbe 0x8393d9
imul eax, dword [0x858bf4], 0x5b711cf
mov dword [0x85908c], eax
jmp 0x8393dc
inc ecx
jmp 0x8393bb
mov eax, dword [0x85908c]
mov dword [ebp - 0x16c], edx
or eax, 0x74e2ca3e
mov dword [0x858bf4], eax
call fcn.00842604
mov edx, dword [ebp - 0x16c]
mov byte [ebp + edi - 0x118], bl
lea eax, [ebp - 0x14a]
add bl, byte [ebp + esi - 0x118]
and dword [0x85908c], 0x86eb3181
movzx ebx, bl
mov cl, byte [ebp + ebx - 0x118]
xor cl, byte [ebp + edx - 0x15a]
mov byte [ebp + edx - 0x14a], cl
inc edx
cmp edx, 0x10
jne 0x839395
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], eax
mov dword [esp + 4], 0x1514
mov dword [esp], str.4NDSr21zGTKNKmrpiug8DHy2tC1cM30Ab7HPe_xwm8qYvBBBKLyyNMo1p3CCmQjn4fXBc97cJH4eJjMtFqnLYB8IzaTFbegeW5_ZR989e9J3fZ_LGOiMsQXt3kdx1wwhd5lh6gHEtHnrZgnBkNI3BKnSNWMqy0GPYifMjSUhXbQtBmxc0IWenPYVRiiySCEKwMob7Xoo6_AA2bzo6rnDm3IH68lnfTIGS0bM66ja5QtWkLh_eqmeNdqw8CRDCoOcxeeFj5CEZBLAMhodi7Z3wvZ1shMO0qKXtVockdZuokoGs_vE7dYhhShJJKjfWculYyCdGZfNUd7Sn0RPvZ3Sc1GPM7xcr_Wz2r756nHhNSwuNzICSZDVZWnRIGUkyOIODMllWXDzvqMHdBfw9CdtWHyTA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