Function at 0x41e890
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48885d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x49f3c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], edx
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push 0x100
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call fcn.004409f3
mov edi, eax
add esp, 4
mov ecx, edi
mov dword [ebp - 0x1c], edi
lea eax, [edi + 0x100]
mov edx, eax
mov dword [ebp - 0x14], eax
call fcn.0041fbb0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x38]
xorps xmm0, xmm0
mov dword [ebp - 4], 0
mov ecx, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [eax + 0x14], 7
mov dword [ebp - 0x24], eax
jbe 0x41e935
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x2c], eax
cmp eax, 0x7ffffffe
ja 0x41eb54
cmp eax, 7
ja 0x41e960
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
movups xmm0, xmmword [ecx]
movups xmmword [esi], xmm0
jmp 0x41e9f3
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x41e988
mov ecx, 0x7fffffff
mov dword [ebp - 0x28], 0x7ffffffe
add ecx, ecx
push ecx
call fcn.0041e7e0
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x28]
jmp 0x41e9d4
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x28], eax
lea ecx, [eax + 1]
cmp ecx, 0x7fffffff
ja 0x41eb59
add ecx, ecx
cmp ecx, 0x1000
jb 0x41e9be
push ecx
call fcn.0041e7e0
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x28]
jmp 0x41e9d4
test ecx, ecx
je 0x41e9d2
push ecx
call fcn.004409f3
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x28]
jmp 0x41e9d4
xor edx, edx
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x14], eax
mov dword [esi], edx
mov dword [esi + 0x10], ecx
lea eax, [ecx*2 + 2]
push eax
push dword [ebp - 0x24]
push edx
call fcn.00442670
add esp, 0xc
xor eax, eax
mov byte [edi + eax], al
inc eax
cmp eax, 0x100
jl 0x41e9f5
mov esi, dword [ebp - 0x30]
xor edx, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], edx
lea eax, [esi + 0x10]
mov dword [ebp - 0x34], eax
cmp dword [esi + 0x14], 7
mov dword [ebp - 0x24], esi
jbe 0x41ea23
mov eax, dword [esi]
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x34]
lea ecx, [edx + edi]
mov eax, edx
xor edx, edx
div dword [esi]
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + edx*2]
add eax, dword [ebp - 0x28]
movzx edx, byte [ecx]
add eax, edx
and eax, 0x800000ff
jns 0x41ea4c
dec eax
or eax, 0xffffff00
inc eax
lea edx, [edi + eax]
mov dword [ebp - 0x28], eax
call fcn.0041e880
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
inc edx
mov dword [ebp - 0x2c], edx
cmp edx, 0x100
jl 0x41ea15
mov edx, dword [ebp - 0x38]
xor eax, eax
mov esi, dword [ebp - 0x3c]
xor ecx, ecx
mov dword [ebp - 0x30], eax
cmp dword [edx + 0x10], eax
jbe 0x41eb05
nop
inc eax
movzx eax, al
mov dword [ebp - 0x24], eax
lea esi, [edi + eax]
movzx eax, byte [esi]
add eax, ecx
and eax, 0x800000ff
jns 0x41ea9d
dec eax
or eax, 0xffffff00
inc eax
lea edx, [edi + eax]
mov dword [ebp - 0x2c], eax
mov ecx, esi
call fcn.0041e880
movzx ecx, byte [edx]
movzx eax, byte [esi]
add ecx, eax
movzx eax, cl
mov al, byte [eax + edi]
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x38]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x41eac8
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x3c]
lea eax, [edx + ecx*2]
mov edx, esi
cmp dword [esi + 0x14], 7
mov dword [ebp - 0x34], eax
jbe 0x41eade
mov edx, dword [esi]
mov esi, dword [ebp - 0x34]
movzx eax, byte [ebp - 0x1d]
xor ax, word [esi]
mov esi, dword [ebp - 0x3c]
mov word [edx + ecx*2], ax
inc ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], ecx
cmp ecx, dword [edx + 0x10]
mov ecx, dword [ebp - 0x2c]
jb 0x41ea80
test edi, edi
je 0x41eb32
mov edx, dword [ebp - 0x14]
sub edx, edi
cmp edx, 0x1000
jb 0x41eb28
mov ecx, dword [edi - 4]
add edx, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x41eb4f
mov edi, ecx
push edx
push edi
call fcn.00440a23
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004409e0
mov esp, ebp
pop ebp
ret
call fcn.0044f316
call fcn.0041abc0
call fcn.0041aab0
int3