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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor ecx, ecx
mov byte [0x48df47], 0
mov dword [ebp - 4], ecx
mov dl, 1
jmp 0x401e00
mov byte [ecx + 0x490040], dl
movzx eax, dl
mov byte [eax + 0x48df40], cl
mov cl, dl
and cl, 0x80
mov al, dl
neg cl
sbb cl, cl
add al, al
and cl, 0x1b
xor cl, al
xor dl, cl
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0x100
jb 0x401e00
mov byte [0x48df41], 0
mov cl, 1
xor edx, edx
lea ecx, [ecx]
movzx eax, cl
mov dword [edx + 0x48df10], eax
mov al, cl
and al, 0x80
neg al
sbb al, al
add cl, cl
and al, 0x1b
add edx, 4
xor cl, al
cmp edx, 0x28
jb 0x401e40
xor ecx, ecx
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x401e7a
movzx eax, byte [ecx + 0x48df40]
mov ecx, 0x49013f
sub ecx, eax
mov dl, byte [ecx]
jmp 0x401e7c
xor dl, dl
mov cl, dl
rol cl, 1
xor dl, cl
rol cl, 1
xor dl, cl
rol cl, 1
mov al, cl
rol al, 1
xor al, cl
mov ecx, dword [ebp - 4]
xor al, dl
xor al, 0x63
mov byte [ecx + 0x48bd10], al
movzx eax, al
mov byte [eax + 0x48de10], cl
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0x100
jb 0x401e64
push esi
xor ecx, ecx
mov dword [ebp - 4], 0xff
push edi
jmp 0x401ec0
mov dl, byte [ecx + 0x48bd10]
movzx edi, dl
mov eax, edi
mov dword [ecx*4 + 0x48ce10], edi
rol eax, 8
mov dword [ecx*4 + 0x48d210], eax
mov eax, edi
rol eax, 0x10
mov dword [ecx*4 + 0x48d610], eax
mov eax, edi
rol eax, 0x18
mov dword [ecx*4 + 0x48da10], eax
test dl, dl
je 0x401f33
movzx esi, byte [edi + 0x48df40]
movzx eax, byte [0x48df42]
add eax, esi
cdq
idiv dword [ebp - 4]
movzx eax, byte [edx + 0x490040]
mov dword [ebp - 8], eax
movzx eax, byte [0x48df43]
add eax, esi
mov esi, 0xff
cdq
idiv esi
mov eax, dword [ebp - 8]
movzx edx, byte [edx + 0x490040]
jmp 0x401f37
xor eax, eax
xor edx, edx
shl edx, 8
or edx, edi
shl edx, 8
or edx, edi
shl edx, 8
or edx, eax
mov eax, edx
mov dword [ecx*4 + 0x48e040], edx
rol eax, 8
mov dword [ecx*4 + 0x48e440], eax
mov eax, edx
rol eax, 0x10
rol edx, 0x18
mov dword [ecx*4 + 0x48e840], eax
mov dword [ecx*4 + 0x48ec40], edx
mov dl, byte [ecx + 0x48de10]
movzx esi, dl
mov eax, esi
mov dword [ecx*4 + 0x48f040], esi
rol eax, 8
mov dword [ecx*4 + 0x48f440], eax
mov eax, esi
rol eax, 0x10
mov dword [ecx*4 + 0x48f840], eax
mov eax, esi
rol eax, 0x18
mov dword [ecx*4 + 0x48fc40], eax
test dl, dl
je 0x402014
movzx esi, byte [esi + 0x48df40]
mov edi, 0xff
movzx eax, byte [0x48df4e]
add eax, esi
cdq
idiv edi
movzx eax, byte [0x48df49]
add eax, esi
movzx edi, byte [edx + 0x490040]
cdq
idiv dword [ebp - 4]
movzx eax, byte [edx + 0x490040]
mov dword [ebp - 8], eax
movzx eax, byte [0x48df4d]
add eax, esi
cdq
idiv dword [ebp - 4]
movzx eax, byte [edx + 0x490040]
mov dword [ebp - 0xc], eax
movzx eax, byte [0x48df4b]
add eax, esi
mov esi, 0xff
cdq
idiv esi
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
movzx edx, byte [edx + 0x490040]
jmp 0x40201c
xor edi, edi
xor eax, eax
xor esi, esi
xor edx, edx
shl edx, 8
or edx, esi
shl edx, 8
or edx, eax
shl edx, 8
or edx, edi
mov eax, edx
mov dword [ecx*4 + 0x48be10], edx
rol eax, 8
mov dword [ecx*4 + 0x48c210], eax
mov eax, edx
rol eax, 0x10
rol edx, 0x18
mov dword [ecx*4 + 0x48c610], eax
mov dword [ecx*4 + 0x48ca10], edx
inc ecx
cmp ecx, 0x100
jb 0x401ec0
pop edi
mov dword [0x48bbf0], 1
pop esi
mov esp, ebp
pop ebp
ret