Function at 0x41bc20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4763c8
push 0x45be9b
mov eax, dword fs:[0]
push eax
add esp, 0xffffffd0
push ebx
push esi
push edi
mov eax, dword [0x47ea94]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x24], 0
cmp dword [ebp + 0x10], 0
je 0x41bc69
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041c560
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x41bc82
xor eax, eax
jmp 0x41bef2
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0x40
jb 0x41bca3
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 4], 0x727444
je 0x41bcc4
push 0xbf
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x2c]
jmp 0x41bef2
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
add eax, dword [edx + 8]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
add edx, dword [ecx + 0xc]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x34]
jae 0x41bea3
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 8]
cmp edx, dword [ecx]
jne 0x41be93
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 0xc]
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 4]
cmp ecx, eax
jne 0x41be93
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 0xe]
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
cmp edx, ecx
jne 0x41be93
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + eax + 0x10]
mov eax, 1
imul ecx, eax, 0
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + ecx + 8]
cmp edx, ecx
jne 0x41be93
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + edx + 0x10]
mov edx, 1
shl edx, 0
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax + edx + 8]
cmp ecx, edx
jne 0x41be93
mov eax, 1
shl eax, 1
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + eax + 0x10]
mov eax, 1
shl eax, 1
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx + eax + 8]
cmp edx, eax
jne 0x41be93
mov ecx, 1
imul edx, ecx, 3
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + edx + 0x10]
mov edx, 1
imul eax, edx, 3
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + eax + 8]
cmp ecx, eax
jne 0x41be93
mov ecx, 1
shl ecx, 2
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + ecx + 0x10]
mov ecx, 1
shl ecx, 2
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx + ecx + 8]
cmp eax, ecx
jne 0x41be93
mov edx, 1
imul eax, edx, 5
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + eax + 0x10]
mov eax, 1
imul ecx, eax, 5
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + ecx + 8]
cmp edx, ecx
jne 0x41be93
mov edx, 1
imul eax, edx, 6
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + eax + 0x10]
mov eax, 1
imul ecx, eax, 6
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + ecx + 8]
cmp edx, ecx
jne 0x41be93
mov edx, 1
imul eax, edx, 7
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + eax + 0x10]
mov eax, 1
imul ecx, eax, 7
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + ecx + 8]
cmp edx, ecx
jne 0x41be93
cmp dword [ebp + 0x10], 0
je 0x41be93
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
sub eax, 0x18
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ebp - 0x1c]
add edx, 0x18
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x38]
jmp 0x41bef2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax]
mov dword [ebp - 0x24], ecx
jmp 0x41bce2
push 6
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3c]
jmp 0x41bef2
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc