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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x51f620]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, edx
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x10c], ecx
je 0x449df5
push ebx
push 7
xor eax, eax
call fcn.00448670
mov ebx, dword [ebp + 8]
dec ebx
add esp, 4
mov dword [ebp - 0x118], ebx
test ebx, ebx
jle 0x449b93
lea ecx, [edi + ebx]
mov edi, edi
or edi, 0xffffffff
movzx eax, byte [edi + ecx]
xor byte [ecx], al
mov edx, ebx
and edx, reloc.WS2_32.dll_ntohs
jns 0x449b58
dec edx
or edx, 0xfffffff0
inc edx
mov eax, dword [ebp - 0x10c]
mov al, byte [edx + eax + 8]
xor al, byte [ecx]
mov edi, 0x14
mov byte [ecx], al
mov byte [ebp - 0x105], al
mov eax, ebx
cdq
idiv edi
mov eax, dword [ebp + 0x10]
dec ecx
mov dl, byte [edx + eax]
xor dl, byte [ebp - 0x105]
xor dl, bl
mov byte [ecx + 1], dl
dec ebx
test ebx, ebx
jg 0x449b40
mov edi, dword [ebp - 0x110]
mov eax, dword [ebp - 0x10c]
mov cl, byte [eax + 8]
mov eax, dword [ebp + 8]
xor byte [edi], cl
cdq
sub eax, edx
sar eax, 1
xor ecx, ecx
test eax, eax
jle 0x449bd2
lea edx, [edi + eax]
nop
movzx ebx, byte [edi + ecx]
mov byte [ebp - 0x105], bl
movzx ebx, byte [edx + ecx]
mov byte [edi + ecx], bl
movzx ebx, byte [ebp - 0x105]
mov byte [edx + ecx], bl
add ecx, 2
cmp ecx, eax
jl 0x449bb0
mov eax, dword [ebp - 0x10c]
push 0
mov ecx, 7
call fcn.004486c0
movzx edx, byte [esi + 7]
xor byte [esi], dl
movzx eax, byte [esi + 7]
xor byte [esi + 1], al
movzx ecx, byte [esi + 7]
xor byte [esi + 2], cl
movzx edx, byte [esi + 7]
xor byte [esi + 3], dl
movzx eax, byte [esi + 7]
xor byte [esi + 4], al
movzx ecx, byte [esi + 7]
xor byte [esi + 5], cl
movzx edx, byte [esi + 7]
xor byte [esi + 6], dl
add esp, 4
xor eax, eax
lea esp, [esp]
mov byte [ebp + eax - 0x104], al
inc eax
cmp eax, 0x100
jl 0x449c20
lea ecx, [ebp - 0x104]
mov eax, 1
sub eax, ecx
mov dword [ebp - 0x10c], eax
mov eax, 2
sub eax, ecx
mov dword [ebp - 0x114], eax
mov eax, 3
xor edx, edx
xor edi, edi
sub eax, ecx
mov dword [ebp - 0x11c], eax
mov cl, byte [ebp + edi - 0x104]
lea eax, [ebp + edi - 0x104]
mov byte [ebp - 0x105], cl
movzx ecx, cl
mov ebx, edi
and ebx, 7
movzx ebx, byte [ebx + esi]
add ebx, edx
add ecx, ebx
mov ebx, dword [ebp - 0x10c]
and ecx, 0xff
movzx edx, byte [ebp + ecx - 0x104]
mov byte [eax], dl
movzx edx, byte [ebp - 0x105]
mov byte [ebp + ecx - 0x104], dl
mov dl, byte [eax + 1]
add ebx, eax
and ebx, 7
movzx ebx, byte [ebx + esi]
add ebx, ecx
mov byte [ebp - 0x105], dl
movzx edx, dl
add edx, ebx
mov ebx, dword [ebp - 0x114]
and edx, 0xff
movzx ecx, byte [ebp + edx - 0x104]
mov byte [eax + 1], cl
movzx ecx, byte [ebp - 0x105]
mov byte [ebp + edx - 0x104], cl
mov cl, byte [eax + 2]
add ebx, eax
and ebx, 7
movzx ebx, byte [ebx + esi]
add ebx, edx
mov byte [ebp - 0x105], cl
movzx ecx, cl
add ecx, ebx
mov ebx, dword [ebp - 0x11c]
and ecx, 0xff
movzx edx, byte [ebp + ecx - 0x104]
mov byte [eax + 2], dl
movzx edx, byte [ebp - 0x105]
mov byte [ebp + ecx - 0x104], dl
mov dl, byte [eax + 3]
add ebx, eax
and ebx, 7
movzx ebx, byte [ebx + esi]
mov byte [ebp - 0x105], dl
movzx edx, dl
add ebx, ecx
add edx, ebx
and edx, 0xff
movzx ecx, byte [ebp + edx - 0x104]
mov byte [eax + 3], cl
mov al, byte [ebp - 0x105]
add edi, 4
cmp edi, 0x100
mov byte [ebp + edx - 0x104], al
jl 0x449c60
mov edx, dword [ebp - 0x110]
xor esi, esi
xor edi, edi
xor eax, eax
cmp dword [ebp + 8], esi
jle 0x449dd4
jmp 0x449d80
inc esi
and esi, 0xff
mov cl, byte [ebp + esi - 0x104]
movzx ebx, cl
add ebx, edi
and ebx, 0xff
mov edi, ebx
mov bl, byte [ebp + edi - 0x104]
mov byte [ebp + esi - 0x104], bl
mov byte [ebp + edi - 0x104], cl
movzx ebx, byte [ebp + esi - 0x104]
movzx ecx, cl
add ebx, ecx
and ebx, 0xff
movzx ecx, byte [ebp + ebx - 0x104]
xor byte [edx + eax], cl
inc eax
cmp eax, dword [ebp + 8]
jl 0x449d80
mov ecx, dword [ebp - 0x118]
pop ebx
test ecx, ecx
jle 0x449df5
lea eax, [edx + ecx]
or esi, 0xffffffff
mov dl, byte [eax + esi]
xor dl, byte [eax]
dec eax
xor dl, cl
mov byte [eax + 1], dl
dec ecx
test ecx, ecx
jg 0x449de5
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046d9d8
mov esp, ebp
pop ebp
ret