Function at 0x41d180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov dword [esp + 0x10], 0x4b08452d
mov dword [esp + 0x14], 0x4fed49db
mov dword [esp + 0x18], 0xb3e04de9
mov dword [esp + 0x1c], 0xb720b1f5
mov dword [esp + 0x20], 0xbbf0b526
mov dword [esp + 0x24], 0xbf2cb91d
mov dword [esp + 0x28], 0xa3d7bd19
lea eax, [esp + 0x2c]
mov word [esp + 0x2c], 0xa1a2
mov dword [esp + 0x32], 0
mov dword [esp + 0x2e], 0
mov dword [esp + 0xac], 0
mov ecx, dword [esp + 0xac]
cmp ecx, 0x25
ja 0x41d246
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0xac]
movzx ecx, byte [esp + ecx + 0x10]
lea esi, [edx + 0x75]
and esi, ecx
mov edi, 0x8a
sub edi, edx
or edi, ecx
add edi, esi
sub ecx, edi
add cl, 0xcc
mov edx, dword [esp + 0xac]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0xac]
mov ecx, dword [esp + 0xac]
cmp ecx, 0x26
jb 0x41d200
lea esi, [esp + 0x10e]
lea edx, [esp + 0x10]
mov ecx, 7
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x12a]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea edi, [esp + 0x7c]
push edi
push 0
push 0
push 0xe
push esi
push 0
call dword [0x44a668]
mov ebx, dword [esp + 0x7c]
test ebx, ebx
jns 0x41d292
mov eax, 0xffffffff
jmp 0x41d295
lea eax, [ebx + ebx]
push eax
call fcn.00437310
add esp, 4
push edi
push ebx
mov ebx, eax
push eax
push 0xe
push esi
push 0
call dword [0x44a668]
mov dword [esp + 0x10], 0xfb88f9aa
mov dword [esp + 0x14], 0xff99fd99
mov dword [esp + 0x18], 0xf393f163
mov dword [esp + 0x1c], 0xf793f56b
mov dword [esp + 0x20], 0xebe8e963
lea eax, [esp + 0x24]
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 dword [esp + 0x38], 0
mov dword [esp + 0xac], 0
mov ecx, dword [esp + 0xac]
cmp ecx, 0x2b
ja 0x41d379
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0xac]
movzx esi, byte [esp + ecx + 0x10]
lea ecx, [edx + esi]
add ecx, 0xdf
add edx, 0xdf
and edx, esi
add edx, edx
sub ecx, edx
add cl, 0xe7
mov edx, dword [esp + 0xac]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0xac]
mov ecx, dword [esp + 0xac]
cmp ecx, 0x2c
jb 0x41d330
lea edi, [esp + 0xfa]
lea edx, [esp + 0x10]
mov ecx, 5
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x10e]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [esp + 0x7c]
mov ecx, eax
add ecx, 9
jns 0x41d3af
mov eax, 0xffffffff
jmp 0x41d3b4
add eax, eax
add eax, 0x12
push eax
call fcn.00437310
add esp, 4
mov esi, eax
movzx ecx, word [ebx]
test cx, cx
je 0x41d3e1
lea edx, [ebx + 2]
mov eax, esi
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41d3d0
mov word [eax], 0
movzx ecx, word [esp + 0xfa]
test cx, cx
je 0x41d411
lea edx, [esp + 0xfc]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41d400
mov edi, dword [ebp + 8]
mov word [eax], 0
lea eax, [esp + 0xa8]
push eax
push esi
call fcn.0043c6a0
add esp, 8
not eax
shr eax, 0x1f
mov eax, dword [eax*4 + 0x4444b4]
mov ecx, 0x577e9e5a
xor ecx, dword [0x4444bc]
add eax, ecx
inc eax
mov dword [esp + 0xa0], ebx
jmp eax