Function at 0x41e590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x130
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
sub esp, 0x20
mov dword [esi + 0xd4], esp
sub esp, 0x34
mov ecx, esp
mov dword [esi + 0x10c], ecx
mov dword [esi + 0x1c], ecx
sub esp, 0x44
mov ecx, esp
mov dword [esi + 0x100], ecx
mov dword [esi + 0x110], ecx
sub esp, 0x10
mov ebx, esp
sub esp, 8
mov ecx, esp
and ecx, 0xfffffff8
mov dword [esi + 0x104], ecx
mov esp, ecx
push eax
sub esp, 0x64
mov edx, esp
and edx, 0xfffffff8
mov esp, edx
push eax
sub esp, 0x14
mov dword [esi + 0xec], esp
push eax
sub esp, 0xffc
mov dword [esi + 0xf0], esp
push eax
mov dword [esi + 0xd8], esp
sub esp, 8
mov ecx, esp
and ecx, 0xfffffff8
mov dword [esi + 0x108], ecx
mov esp, ecx
push eax
sub esp, 0x14
mov dword [esi + 0x18], esp
push eax
mov dword [esi + 0xf4], esp
sub esp, 0xc
mov dword [esi + 0x124], esp
sub esp, 0x10
mov dword [esi + 0x120], esp
sub esp, 0x14
mov ecx, esp
mov dword [esi + 0x114], ecx
sub esp, 0xc
mov dword [esi + 0x11c], esp
mov eax, dword [eax + 4]
mov edi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + edi + 2], 0
lea edi, [edi + 2]
jne 0x41e660
mov dword [esi + 0x20], ebx
mov dword [esi + 0xe8], edx
mov dword [esi + 0x118], ecx
sar edi, 1
lea ecx, [esi + 0x34]
push ecx
push 0
push 0
push edi
push eax
push 0
call dword [0x452e18]
mov ebx, dword [esi + 0x34]
test ebx, ebx
jns 0x41e69c
mov eax, 0xffffffff
jmp 0x41e69f
lea eax, [ebx + ebx]
push eax
call fcn.0040cb60
add esp, 4
lea ecx, [esi + 0x34]
push ecx
push ebx
mov dword [esi + 0x24], eax
push eax
push edi
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
push 0
call dword [0x452e18]
mov eax, dword [esi + 0x34]
mov ecx, eax
add ecx, 0xd
jns 0x41e6d1
mov eax, 0xffffffff
jmp 0x41e6d8
lea eax, [eax*2 + 0x1a]
push eax
call fcn.0040cb60
add esp, 4
mov dword [esi + 4], eax
mov dword [esi + 0x3c], 0x49be4ba8
mov dword [esi + 0x40], 0x45cb47d7
mov dword [esi + 0x44], 0x416243c8
mov dword [esi + 0x48], 0x7de57faa
mov dword [esi + 0x4c], 0x79f77bf2
mov dword [esi + 0x50], 0x75e777ef
mov dword [esi + 0x54], 0x717273e6
mov byte [esi + 0x58], 0
mov eax, 0x93
xor edi, edi
movzx ecx, byte [esi + eax - 0x57]
mov ebx, edi
and ebx, 3
mov edx, eax
and edx, 0xbc
or edx, ebx
xor edx, 0xfc
mov ebx, ecx
or edx, ecx
lea ecx, [edi + 0x6c]
and ecx, ebx
lea ebx, [ecx + ecx]
not ebx
add ebx, ecx
and ebx, edx
mov cl, 0x20
sub cl, bl
mov byte [esi + eax - 0x57], cl
inc eax
dec edi
cmp eax, 0xb0
jne 0x41e720
mov eax, dword [esi + 0x24]
movzx ecx, word [eax]
mov edi, dword [esi + 4]
mov eax, edi
test cx, cx
je 0x41e791
mov eax, dword [esi + 0x24]
lea edx, [eax + 2]
mov eax, edi
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 0x41e780
mov word [eax], 0
movzx ecx, word [esi + 0x3c]
test cx, cx
je 0x41e7c1
lea edx, [esi + 0x3e]
nop
nop
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 0x41e7b0
mov word [eax], 0
lea eax, [esi + 0xf8]
push 0x60
push 3
push 0x120089
push eax
push edi
call fcn.00446a40
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x44d870]