Function at 0x41bd40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x140
mov dword [esp + 0x10], 0xbb74b951
mov dword [esp + 0x14], 0xbf19bd2b
mov dword [esp + 0x18], 0xa30ca11d
mov dword [esp + 0x1c], 0xa734a561
mov dword [esp + 0x20], 0xab6ca936
mov dword [esp + 0x24], 0xaf38ad09
mov dword [esp + 0x28], 0x9377910d
mov word [esp + 0x2c], 0x9592
mov dword [esp + 0x2e], 0
mov byte [esp + 0x32], 0
mov dword [esp + 0xbc], 0
mov eax, dword [esp + 0xbc]
cmp eax, 0x22
ja 0x41be07
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xbc]
movzx edx, byte [esp + eax + 0x10]
lea eax, [ecx + edx]
add eax, 0x248caa47
add ecx, 0x248caa47
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 0xf
mov ecx, dword [esp + 0xbc]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0xbc]
mov eax, dword [esp + 0xbc]
cmp eax, 0x23
jb 0x41bdc0
movzx edx, word [esp + 0x10]
lea eax, [esp + 0x11e]
mov ecx, eax
test dx, dx
je 0x41be41
lea ecx, [esp + 0x11e]
lea esi, [esp + 0x12]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x41be30
mov word [ecx], 0
lea esi, [esp + 0x7c]
push esi
push 0
push 0
push 0xe
push eax
push 0
call dword [0x441090]
mov edi, dword [esp + 0x7c]
test edi, edi
jns 0x41be69
mov eax, 0xffffffff
jmp 0x41be6c
lea eax, [edi + edi]
push eax
call fcn.0042f7d0
add esp, 4
mov dword [esp + 0xac], eax
mov ebx, eax
lea eax, [esp + 0x11e]
push esi
push edi
push ebx
push 0xe
push eax
push 0
call dword [0x441090]
mov dword [esp + 0x10], 0x8b24953a
mov dword [esp + 0x14], 0x8f2d892d
mov dword [esp + 0x18], 0x832b8d13
mov dword [esp + 0x1c], 0x871b811b
mov dword [esp + 0x20], 0x7b848513
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0xbc], 0
mov eax, dword [esp + 0xbc]
cmp eax, 0x28
ja 0x41bf47
nop
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xbc]
movzx edx, byte [esp + eax + 0x10]
lea eax, [ecx + edx]
add eax, 0xbe506d
add ecx, 0xbe506d
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 5
mov ecx, dword [esp + 0xbc]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0xbc]
mov eax, dword [esp + 0xbc]
cmp eax, 0x29
jb 0x41bf00
movzx ecx, word [esp + 0x10]
lea eax, [esp + 0x10a]
test cx, cx
je 0x41bf71
lea edx, [esp + 0x12]
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41bf60
mov word [eax], 0
mov eax, dword [esp + 0x7c]
mov ecx, eax
add ecx, 9
jns 0x41bf88
mov eax, 0xffffffff
jmp 0x41bf8d
add eax, eax
add eax, 0x12
push eax
call fcn.0042f7d0
add esp, 4
mov esi, eax
movzx ecx, word [ebx]
test cx, cx
je 0x41bfc1
lea edx, [ebx + 2]
mov eax, esi
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 0x41bfb0
mov word [eax], 0
movzx ecx, word [esp + 0x10a]
test cx, cx
je 0x41bff1
lea edx, [esp + 0x10c]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41bfe0
mov word [eax], 0
lea eax, [esp + 0xb4]
push 0x20
push 1
push 3
push 0x120089
push eax
push esi
call fcn.00433940
add esp, 0x18
not eax
shr eax, 0x1f
mov eax, dword [eax*4 + 0x43b9d8]
mov ecx, 0xbaf77a9d
xor ecx, dword [0x43b9e0]
add eax, ecx
inc eax
jmp eax