Function at 0x434fe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xe4
mov edi, edx
mov esi, ecx
lea ebx, [ebp - 0x80]
mov byte [ebp - 0xd], 0
push 1
push ebx
call fcn.004e5780
add esp, 8
mov eax, dword [ebp - 0x80]
cmp eax, 2
jne 0x43510b
lea ecx, [ebp - 0xf0]
mov edx, edi
push dword [ebp - 0x7c]
call fcn.004264a0
add esp, 4
mov eax, dword [ebp - 0xf0]
cmp eax, 2
jne 0x43514b
mov edx, dword [edi]
lea eax, [ebp - 0xd]
lea ecx, [ebp - 0x48]
push 1
push eax
call fcn.0043c7f0
add esp, 8
mov eax, dword [ebp - 0x48]
cmp eax, 2
jne 0x435199
movzx eax, byte [ebp - 0xd]
lea ecx, [ebp - 0xb4]
push eax
push ecx
call fcn.004e6b30
add esp, 8
mov eax, dword [ebp - 0xb4]
cmp eax, 2
jne 0x435251
movzx eax, byte [ebp - 0xae]
movzx ecx, word [ebp - 0xb0]
mov byte [ebp - 0xd], 0
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x4c], ecx
push 1
push ebx
call fcn.004e5780
add esp, 8
mov eax, dword [ebp - 0x80]
cmp eax, 2
jne 0x435266
lea ecx, [ebp - 0xf0]
mov edx, edi
push dword [ebp - 0x7c]
call fcn.004264a0
add esp, 4
mov eax, dword [ebp - 0xf0]
cmp eax, 2
jne 0x435396
mov edx, dword [edi]
lea ecx, [ebp - 0x48]
push 1
lea eax, [ebp - 0xd]
push eax
call fcn.0043c7f0
add esp, 8
mov eax, dword [ebp - 0x48]
cmp eax, 2
jne 0x4353e4
movzx edx, byte [ebp - 0xd]
test dl, dl
js 0x4352a9
mov eax, dword [ebp - 0x4c]
mov dword [esi + 4], edx
mov word [esi + 8], ax
shr eax, 0x10
mov byte [esi + 0xa], al
mov dword [esi], 2
jmp 0x435246
movsd xmm2, qword [ebp - 0x70]
movsd xmm1, qword [ebp - 0x68]
movsd xmm0, qword [ebp - 0x78]
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x7c]
movsd qword [ebp - 0x38], xmm2
movsd qword [ebp - 0x30], xmm1
movsd xmm2, qword [ebp - 0x60]
movsd xmm1, qword [ebp - 0x58]
movsd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x18], edx
movsd qword [ebp - 0x28], xmm2
movsd qword [ebp - 0x20], xmm1
mov dword [ebp - 0x44], ecx
jmp 0x435199
movsd xmm1, qword [ebp - 0xcc]
movsd xmm2, qword [ebp - 0xd4]
movsd xmm0, qword [ebp - 0xc4]
movsd qword [ebp - 0x24], xmm1
movsd xmm1, qword [ebp - 0xdc]
movsd qword [ebp - 0x2c], xmm2
movsd xmm2, qword [ebp - 0xec]
movsd qword [ebp - 0x1c], xmm0
movsd qword [ebp - 0x34], xmm1
movsd xmm1, qword [ebp - 0xe4]
movsd qword [ebp - 0x44], xmm2
movsd qword [ebp - 0x3c], xmm1
movsd xmm2, qword [ebp - 0x34]
movsd xmm1, qword [ebp - 0x2c]
mov ecx, dword [ebp - 0x44]
movsd xmm0, qword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
movsd qword [ebp - 0xa0], xmm2
movsd qword [ebp - 0x98], xmm1
movsd xmm2, qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x1c]
movsd qword [ebp - 0xa8], xmm0
movsd qword [ebp - 0x90], xmm2
movsd qword [ebp - 0x88], xmm1
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], edx
movsd xmm0, qword [ebp - 0x88]
movsd xmm1, qword [ebp - 0x8d]
movsd xmm2, qword [ebp - 0x95]
movsd qword [esi + 0x2c], xmm0
movsd qword [esi + 0x27], xmm1
movsd xmm1, qword [ebp - 0x9d]
movsd qword [esi + 0x1f], xmm2
movsd xmm2, qword [ebp - 0xad]
movsd qword [esi + 0x17], xmm1
movsd xmm1, qword [ebp - 0xa5]
movsd qword [esi + 7], xmm2
movsd qword [esi + 0xf], xmm1
mov dword [esi], eax
mov word [esi + 4], cx
shr ecx, 0x10
mov byte [esi + 6], cl
add esp, 0xe4
pop esi
pop edi
pop ebx
pop ebp
ret
movzx edx, byte [ebp - 0xae]
movzx ecx, word [ebp - 0xb0]
shl edx, 0x10
or ecx, edx
jmp 0x4351ec
movsd xmm2, qword [ebp - 0x70]
movsd xmm1, qword [ebp - 0x68]
movsd xmm0, qword [ebp - 0x78]
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x7c]
movsd qword [ebp - 0x38], xmm2
movsd qword [ebp - 0x30], xmm1
movsd xmm2, qword [ebp - 0x60]
movsd xmm1, qword [ebp - 0x58]
movsd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x18], edx
movsd qword [ebp - 0x28], xmm2
movsd qword [ebp - 0x20], xmm1
mov dword [ebp - 0x44], ecx
jmp 0x4353e4
cmp edx, 0x80
jne 0x4352bd
mov ecx, 5
xor eax, eax
jmp 0x435439
cmp dl, 0x84
ja 0x4354ee
mov dword [ebp - 0xb8], edx
xor edx, 0x80
je 0x4354ca
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0x14], 0
mov byte [ebp - 0xd], 0
push 1
push ebx
call fcn.004e5780
add esp, 8
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x7c]
cmp eax, 2
jne 0x4354f7
mov eax, edx
lea ecx, [ebp - 0xf0]
mov edx, edi
push eax
call fcn.004264a0
add esp, 4
mov eax, dword [ebp - 0xf0]
cmp eax, 2
jne 0x435396
mov edx, dword [edi]
lea ecx, [ebp - 0x48]
push 1
lea eax, [ebp - 0xd]
push eax
call fcn.0043c7f0
add esp, 8
mov eax, dword [ebp - 0x48]
cmp eax, 2
jne 0x4353e4
mov edx, dword [ebp - 0x14]
movzx eax, byte [ebp - 0xd]
shl edx, 8
or eax, edx
dec dword [ebp - 0xbc]
mov dword [ebp - 0x14], eax
jne 0x4352e5
mov edi, dword [ebp - 0x14]
mov ecx, 0xc
cmp edi, 0x10000000
jae 0x4352b6
and edi, 0xffffff80
mov al, 1
mov cl, 0x81
cmp edi, 0x80
je 0x43538e
lea edi, [edx - 0x100]
mov cl, 0x82
cmp edi, 0xff00
jae 0x435537
mov edx, dword [ebp - 0x14]
jmp 0x4354dc
movsd xmm0, qword [ebp - 0xc4]
movsd xmm1, qword [ebp - 0xcc]
movsd xmm2, qword [ebp - 0xd4]
movsd qword [ebp - 0x1c], xmm0
movsd qword [ebp - 0x24], xmm1
movsd xmm1, qword [ebp - 0xdc]
movsd qword [ebp - 0x2c], xmm2
movsd xmm2, qword [ebp - 0xec]
movsd qword [ebp - 0x34], xmm1
movsd xmm1, qword [ebp - 0xe4]
movsd qword [ebp - 0x3c], xmm1
movsd qword [ebp - 0x44], xmm2
movsd xmm2, qword [ebp - 0x34]
movsd xmm1, qword [ebp - 0x2c]
mov ecx, dword [ebp - 0x40]
movsd xmm0, qword [ebp - 0x3c]
mov edi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x4c]
movsd qword [ebp - 0xac], xmm2
movsd qword [ebp - 0xa4], xmm1
movsd xmm2, qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x1c]
cmp cl, 0xd
movsd qword [ebp - 0xb4], xmm0
movsd qword [ebp - 0x9c], xmm2
movsd qword [ebp - 0x94], xmm1
jne 0x435439
xor eax, eax
mov cl, 6
jmp 0x43547f
movsd xmm2, qword [ebp - 0x9c]
movsd xmm1, qword [ebp - 0xa4]
movsd xmm0, qword [ebp - 0x94]
mov edx, ecx
shr edx, 8
movsd qword [ebp - 0x68], xmm2
movsd qword [ebp - 0x70], xmm1
movsd xmm2, qword [ebp - 0xb4]
movsd xmm1, qword [ebp - 0xac]
movsd qword [ebp - 0x60], xmm0
movsd qword [ebp - 0x78], xmm1
movsd qword [ebp - 0x80], xmm2
movsd xmm2, qword [ebp - 0x68]
movsd xmm1, qword [ebp - 0x70]
movsd xmm0, qword [ebp - 0x60]
movsd qword [esi + 0x24], xmm2
movsd qword [esi + 0x1c], xmm1
movsd xmm2, qword [ebp - 0x80]
movsd xmm1, qword [ebp - 0x78]
movsd qword [esi + 0x2c], xmm0
movsd qword [esi + 0x14], xmm1
movsd qword [esi + 0xc], xmm2
mov dword [esi], eax
mov eax, edx
mov dword [esi + 4], edi
mov byte [esi + 8], cl
mov word [esi + 9], dx
shr eax, 0x10
mov byte [esi + 0xb], al
jmp 0x435246
xor edx, edx
lea eax, [edx - 0x1000000]
mov cl, 0x84
cmp eax, 0xf000000
setb al
test al, al
mov eax, dword [ebp - 0xb8]
je 0x4354ee
cmp cl, al
je 0x4350f0
mov edx, dword [ebp - 0x4c]
xor eax, eax
mov cl, 6
jmp 0x43547f
movsd xmm2, qword [ebp - 0x60]
movsd xmm1, qword [ebp - 0x68]
mov ecx, dword [ebp - 0x50]
movsd xmm0, qword [ebp - 0x58]
movsd qword [ebp - 0x28], xmm2
movsd qword [ebp - 0x30], xmm1
movsd xmm2, qword [ebp - 0x78]
movsd xmm1, qword [ebp - 0x70]
mov dword [ebp - 0x18], ecx
movsd qword [ebp - 0x20], xmm0
movsd qword [ebp - 0x38], xmm1
movsd qword [ebp - 0x40], xmm2
mov dword [ebp - 0x44], edx
jmp 0x4353e4
add edx, 0xffff0000
mov cl, 0x83
cmp edx, 0xff0000
mov edx, dword [ebp - 0x14]
jae 0x4354cc
jmp 0x4354dc