Function at 0x429770
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3448
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x4d03b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x429964
cmp dword [eax + 0x10], 0
jne 0x4297ca
cmp dword [eax + 0x14], 0
jne 0x4297ca
mov esi, dword [eax + 0x30]
mov ecx, dword [eax + 0x34]
test esi, esi
jne 0x4297c5
test ecx, ecx
je 0x4297ca
mov dword [edx], esi
mov dword [edx + 4], ecx
movzx esi, word [eax + 0x20]
xorps xmm0, xmm0
add esi, eax
movlpd qword [ebp - 0x34], xmm0
mov al, byte [esi]
test al, al
je 0x429964
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
nop
movzx edi, al
inc esi
mov eax, edi
xorps xmm0, xmm0
shr eax, 4
mov dword [ebp - 0x14], eax
movlpd qword [ebp - 0x2c], xmm0
and edi, 0xf
je 0x429846
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
nop word [eax + eax]
movzx eax, byte [esi]
cdq
call fcn.00456bc0
mov ecx, dword [ebp - 0x10]
inc esi
or dword [ebp - 0x18], eax
add ecx, 8
or dword [ebp - 0x1c], edx
mov dword [ebp - 0x10], ecx
sub edi, 1
jne 0x429820
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
jmp 0x429852
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x4298e3
xorps xmm0, xmm0
mov dword [ebp - 0x28], eax
movlpd qword [ebp - 0x34], xmm0
xor ecx, ecx
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x10], eax
movzx eax, byte [esi]
cdq
call fcn.00456bc0
mov ecx, dword [ebp - 0x38]
or edi, eax
or dword [ebp - 0x10], edx
add ecx, 8
inc esi
mov dword [ebp - 0x38], ecx
sub dword [ebp - 0x28], 1
jne 0x429873
mov eax, dword [ebp - 0x14]
xor edx, edx
shl eax, 3
xor ecx, ecx
mov dword [ebp - 0x14], eax
dec eax
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
mov eax, dword [ebp - 0x10]
cmovae ecx, edx
cmp eax, ecx
jl 0x4298d1
jg 0x4298bd
cmp edi, edx
jb 0x4298d1
mov ecx, dword [ebp - 0x14]
or eax, 0xffffffff
or edx, eax
call fcn.00456bc0
add edi, eax
mov eax, dword [ebp - 0x10]
adc eax, edx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
add ecx, edi
mov dword [ebp - 0x24], ecx
adc edx, eax
mov dword [ebp - 0x20], edx
jmp 0x4298e6
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x1c]
push 0x10
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x40], eax
call fcn.00455e92
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x429911
movups xmm0, xmmword [ebp - 0x4c]
movups xmmword [ecx], xmm0
jmp 0x429913
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 4], 0
mov edx, dword [edi + 4]
cmp dword [edi + 8], edx
je 0x429932
xor eax, eax
mov dword [edx], ecx
add dword [edi + 4], 4
jmp 0x429941
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
push edx
call fcn.0041f070
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x429957
push 0x10
push eax
call fcn.00455ec2
add esp, 8
mov al, byte [esi]
mov edx, dword [ebp - 0x20]
test al, al
jne 0x4297f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc