Function at 0x422ec0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x168
mov dword [esp + 8], 0xabebad81
mov dword [esp + 0xc], 0xd746a938
mov dword [esp + 0x10], 0xd3b3d598
mov dword [esp + 0x14], 0xdfbfd14c
mov dword [esp + 0x18], 0xdbdaddf1
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x1f], 0
mov dword [esp + 0x9c], 0
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x1a
ja 0x422f87
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x9c]
movzx edx, byte [esp + edx + 8]
lea esi, [ecx + edx]
add esi, 0x84dc043a
add ecx, 0x84dc043a
and ecx, edx
add ecx, ecx
sub esi, ecx
mov dword [esp + 0xe0], esi
mov ecx, dword [esp + 0xe0]
add cl, 0x6a
mov edx, dword [esp + 0x9c]
mov byte [esp + edx + 8], cl
inc dword [esp + 0x9c]
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x1b
jb 0x422f30
lea esi, [esp + 0x13a]
lea edx, [esp + 8]
mov ecx, 5
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x14e]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea edi, [esp + 0x88]
push edi
push 0
push 0
push 9
push esi
push 0
call dword [0x445f38]
mov ebx, dword [esp + 0x88]
test ebx, ebx
jns 0x422fd6
mov eax, 0xffffffff
jmp 0x422fd9
lea eax, [ebx + ebx]
push eax
call fcn.00409060
add esp, 4
push edi
push ebx
mov dword [esp + 0x68], eax
push eax
push 9
push esi
push 0
call dword [0x445f38]
mov dword [esp + 8], 0xeb2b95d2
mov dword [esp + 0xc], 0xef4de95f
mov dword [esp + 0x10], 0xe35aed5f
mov dword [esp + 0x14], 0xe7e0e146
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1b], 0
mov dword [esp + 0x9c], 0
mov eax, dword [esp + 0x9c]
cmp eax, 0x16
ja 0x423092
nop
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x9c]
movzx ecx, byte [esp + ecx + 8]
lea esi, [eax + 0x2f91b7bd]
add eax, 0xbd
and eax, ecx
or esi, ecx
sub esi, eax
mov dword [esp + 0xe0], esi
mov eax, dword [esp + 0xe0]
add al, 0xd5
mov ecx, dword [esp + 0x9c]
mov byte [esp + ecx + 8], al
inc dword [esp + 0x9c]
mov eax, dword [esp + 0x9c]
cmp eax, 0x17
jb 0x423040
lea edi, [esp + 0x12a]
lea esi, [esp + 8]
mov ecx, 4
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [esp + 0x13a]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov dword [esp + 8], 0x39b0dc8
mov dword [esp + 0xc], 0x7e10197
mov dword [esp + 0x10], 0x3bac0597
mov dword [esp + 0x14], 0x3ff939dc
mov dword [esp + 0x18], 0x33a03ddd
mov dword [esp + 0x1c], 0x37a031d1
mov dword [esp + 0x20], 0x2b2a35bd
lea esi, [esp + 0x24]
mov dword [esp + 0x24], 0
mov word [esp + 0x28], 0
mov dword [esp + 0x9c], 0
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x21
ja 0x42317d
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x9c]
movzx edx, byte [esp + edx + 8]
mov edi, ecx
and edi, 0xdace32d6
xor ecx, 0xdace32d6
lea ecx, [ecx + edi*2]
mov edi, ecx
and edi, edx
add ecx, edx
add edi, edi
sub ecx, edi
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0xe0]
add cl, 0x26
mov edx, dword [esp + 0x9c]
mov byte [esp + edx + 8], cl
inc dword [esp + 0x9c]
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x22
jb 0x423120
lea edx, [esp + 0x9c]
lea ebx, [esp + 8]
mov edi, edx
mov ecx, 7
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
lea edi, [esp + 0xb8]
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov dword [esp + 8], 0xb303b5ea
mov dword [esp + 0xc], 0x8f0db13f
mov dword [esp + 0x10], 0x8b028d3f
mov dword [esp + 0x14], 0x87d88936
mov dword [esp + 0x18], 0x83da852a
lea ebx, [esp + 0x1c]
mov word [esp + 0x1c], 0x8182
mov dword [esp + 0x1e], 0
mov dword [esp + 0xc4], 0
mov ecx, dword [esp + 0xc4]
cmp ecx, 0x19
ja 0x423257
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0xc4]
mov esi, dword [esp + 0xc4]
movzx esi, byte [esp + esi + 8]
lea edi, [ecx + esi]
add edi, 0x4d6be699
add ecx, 0x4d6be699
and ecx, esi
add ecx, ecx
sub edi, ecx
mov dword [esp + 0xe0], edi
mov ecx, dword [esp + 0xe0]
add cl, 0xd1
mov esi, dword [esp + 0xc4]
mov byte [esp + esi + 8], cl
inc dword [esp + 0xc4]
mov ecx, dword [esp + 0xc4]
cmp ecx, 0x1a
jb 0x423200
lea esi, [esp + 0x14e]
lea eax, [esp + 8]
mov ecx, 5
mov edi, esi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0x162]
mov ecx, 1
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
lea eax, [esp + 0x12a]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], edx
mov dword [esp + 0x124], esi
mov esi, dword [esp + 0x60]
mov eax, esi
add eax, 2
mov dword [esp + 0x98], eax
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x90], 0
cmp ecx, 3
setne al
xor ecx, ecx
jmp dword [eax*4 + 0x44234c]