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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0x434], ecx
push esi
xor ebx, ebx
cmp byte [ecx + 0x22], al
push edi
mov edi, dword [ebp + 8]
setne al
push 0x400
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x404]
push ebx
push eax
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x408], ebx
call fcn.004b67a0
mov eax, dword [ebp + 0xc]
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x40c], ecx
add esp, 0xc
mov dword [ebp - 0x410], edx
test eax, eax
jle 0x44bb46
jmp 0x44ba00
cmp edx, edi
jge 0x44bb40
sub eax, ecx
xor esi, esi
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x430], eax
test eax, eax
jle 0x44bb1b
mov eax, edi
mov ebx, edi
sub eax, edx
add eax, 0xfffffff9
imul ebx, ecx
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x418], ebx
cmp esi, eax
jge 0x44bb15
mov eax, dword [ebp - 0x434]
lea ecx, [ebx + esi]
add ecx, edx
mov ebx, 7
mov edx, dword [ebp - 0x42c]
mov eax, dword [eax + 0x1984]
lea edi, [edx + 6]
lea eax, [eax + ecx*4]
movzx ecx, byte [eax + edx + 1]
add edi, eax
movzx esi, byte [eax + edx]
add dword [ebp - 0x408], ebx
mov dword [ebp - 0x41c], ecx
movzx ecx, byte [eax + edx + 2]
mov dword [ebp - 0x424], ecx
movzx ecx, byte [edi - 2]
lea edi, [edi + 4]
mov eax, ecx
sub eax, esi
mov esi, ecx
movzx ecx, byte [edi - 5]
cdq
xor eax, edx
sub eax, edx
inc dword [ebp + eax*4 - 0x404]
mov eax, ecx
sub eax, dword [ebp - 0x41c]
cdq
xor eax, edx
mov dword [ebp - 0x41c], ecx
movzx ecx, byte [edi - 4]
sub eax, edx
inc dword [ebp + eax*4 - 0x404]
mov eax, ecx
sub eax, dword [ebp - 0x424]
cdq
xor eax, edx
mov dword [ebp - 0x424], ecx
sub eax, edx
inc dword [ebp + eax*4 - 0x404]
dec ebx
jne 0x44ba84
mov esi, dword [ebp - 0x420]
mov ebx, dword [ebp - 0x418]
inc esi
mov edi, dword [ebp - 0x428]
add ebx, edi
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x418], ebx
cmp esi, dword [ebp - 0x430]
jl 0x44ba38
mov ecx, dword [ebp - 0x40c]
mov eax, dword [ebp + 0xc]
cmp edi, eax
jle 0x44bb28
add edx, eax
xor ecx, ecx
jmp 0x44bb2c
xor edx, edx
add ecx, edi
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 0x410], edx
cmp ecx, eax
jl 0x44ba00
mov ebx, dword [ebp - 0x408]
mov eax, dword [ebp - 0x404]
shl eax, 5
add eax, dword [ebp - 0x404]
cdq
idiv ebx
cmp eax, 0x5f
jge 0x44bd0a
xor esi, esi
mov eax, 1
jmp 0x44bb70
mov edx, dword [ebp + eax*4 - 0x404]
mov ecx, edx
imul ecx, eax
imul ecx, eax
add esi, ecx
test edx, edx
je 0x44bd0a
mov ecx, dword [ebp + eax*4 - 0x408]
add ecx, ecx
cmp edx, ecx
jg 0x44bd0a
inc eax
cmp eax, 8
jl 0x44bb70
mov ecx, 0x100
sub ecx, eax
cmp eax, 0x100
jge 0x44bc71
cmp ecx, 8
jb 0x44bc71
cmp dword [0x4f7b40], 2
jl 0x44bc71
movdqa xmm4, xmmword [0x4edae0]
and ecx, reloc.WS2_32.dll_getsockopt
jns 0x44bbdd
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edi, 0x100
lea edx, [eax + 4]
sub edi, ecx
xorps xmm3, xmm3
lea ecx, [ebp - 0x3f4]
movdqa xmm2, xmm3
lea ecx, [ecx + eax*4]
jmp 0x44bc00
movd xmm0, eax
lea ecx, [ecx + 0x20]
pshufd xmm1, xmm0, 0
add eax, 8
movdqu xmm0, xmmword [ecx - 0x30]
paddd xmm1, xmm4
pmulld xmm0, xmm1
pmulld xmm0, xmm1
paddd xmm3, xmm0
movd xmm0, edx
pshufd xmm1, xmm0, 0
add edx, 8
paddd xmm1, xmm4
movdqu xmm0, xmmword [ecx - 0x20]
pmulld xmm0, xmm1
pmulld xmm0, xmm1
paddd xmm2, xmm0
cmp eax, edi
jl 0x44bc00
paddd xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
paddd xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
paddd xmm2, xmm0
movd ecx, xmm2
add esi, ecx
xor edi, edi
xor edx, edx
cmp eax, 0x100
jge 0x44bce8
mov ecx, 0x100
sub ecx, eax
cmp ecx, 2
jl 0x44bccd
xor ebx, ebx
lea ebx, [ebx]
mov ecx, dword [ebp + eax*4 - 0x404]
mov edx, dword [ebp + eax*4 - 0x400]
imul ecx, eax
imul ecx, eax
add edi, ecx
lea ecx, [eax + 1]
imul edx, ecx
add eax, 2
imul edx, ecx
add ebx, edx
cmp eax, 0xff
jl 0x44bc90
mov dword [ebp - 0x414], ebx
mov ebx, dword [ebp - 0x408]
mov edx, dword [ebp - 0x414]
cmp eax, 0x100
jge 0x44bce3
mov ecx, dword [ebp + eax*4 - 0x404]
imul ecx, eax
imul ecx, eax
add esi, ecx
lea ecx, [edx + edi]
add esi, ecx
lea ecx, [ebx + ebx*2]
mov eax, esi
sub ecx, dword [ebp - 0x404]
xor edx, edx
pop edi
pop esi
div ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aca59
mov esp, ebp
pop ebp
ret 8