Function at 0x41b790
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, 0x90
mov dword [esp + 0x18], 0x33b93592
mov dword [esp + 0x1c], 0xf8131be
mov dword [esp + 0x20], 0xbb30d80
mov dword [esp + 0x24], 0x7b309b3
mov dword [esp + 0x28], 0x3b805a2
mov dword [esp + 0x2c], 0x1fba01b9
mov dword [esp + 0x30], 0x1b971da1
mov dword [esp + 0x34], 0x179419ae
lea eax, [esp + 0x38]
mov word [esp + 0x38], 0x1516
mov dword [esp + 0x3a], 0
mov dword [esp + 0x3e], 0
mov dword [esp + 0x42], 0
mov byte [esp + 0x46], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x2e
ja 0x41b871
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x18]
lea esi, [ecx + edx]
add esi, 0x6f14a259
add ecx, 0x6f14a259
and ecx, edx
add ecx, ecx
sub esi, ecx
mov dword [esp + 0x68], esi
mov ecx, dword [esp + 0x68]
mov edx, ecx
or edx, 0x90
and ecx, 0x90
add ecx, edx
inc cl
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x18], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x2f
jb 0x41b820
mov ebx, dword [ebp + 8]
lea edi, [esp + 0x68]
lea edx, [esp + 0x18]
mov ecx, 8
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x88]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x41b8b0
cmp eax, 0xffffffdd
jge 0x41b8c7
mov eax, 0xffffffff
jmp 0x41b8ca
add eax, 0x22
push eax
call fcn.00409230
add esp, 4
mov esi, eax
movzx ecx, word [edi]
test cx, cx
je 0x41b901
add edi, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x41b8f0
mov word [eax], 0
movzx ecx, word [esp + 0x68]
test cx, cx
je 0x41b931
lea edx, [esp + 0x6a]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41b920
mov word [eax], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xbb90db9
mov dword [esp + 0x1c], 0x1763098e
mov dword [esp + 0x20], 0x13aa15b9
mov dword [esp + 0x24], 0x1fb311ac
mov dword [esp + 0x28], 0x1ba51dae
mov dword [esp + 0x2c], 0x67d519b1
mov dword [esp + 0x30], 0x631565d6
mov dword [esp + 0x34], 0x6f196117
mov dword [esp + 0x38], 0x6bc86d1a
mov dword [esp + 0x3c], 0x77c969d5
mov dword [esp + 0x40], 0x73cc75d9
mov dword [esp + 0x44], 0x7fcd713f
mov dword [esp + 0x48], 0x7bc67dce
mov dword [esp + 0x4c], 0x47fe79d5
mov dword [esp + 0x50], 0x430b45f8
mov dword [esp + 0x54], 0x4f0b41ec
mov dword [esp + 0x58], 0x4b4a4d3a
mov dword [esp + 0x5c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x47
ja 0x41ba45
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x18]
lea edx, [eax + 0xaa]
add eax, ecx
and edx, ecx
add edx, edx
sub eax, edx
add eax, 0xd2fff5aa
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
mov ecx, eax
xor ecx, 0x59
and eax, 0x59
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x48
jb 0x41ba00
lea eax, [esp + 4]
push eax
push 0x41bd60
lea eax, [esp + 0x20]
push eax
push esi
call fcn.0041c340
add esp, 0x10
mov ebx, eax
jmp dword [0x4434f4]