Function at 0x435b80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x114
mov esi, dword [esp + 0x130]
mov eax, dword [esp + 0x12c]
mov ebx, dword [esp + 0x128]
mov dword [eax], 0
mov dword [esi], 0
push ebx
call fcn.00786b90
add esp, 4
test eax, eax
sete cl
test al, 3
setne dl
mov edi, 0x3d
or dl, cl
jne 0x435e82
movzx ecx, byte [ebx + eax - 1]
mov dword [esp + 0xc], 0
mov ebp, 0
cmp cl, 0x3d
mov edx, eax
jne 0x435c14
mov eax, ecx
cmp byte [ebx + edx - 2], 0x3d
jne 0x435c07
cmp byte [ebx + edx - 3], 0x3d
je 0x435e82
mov ebp, 2
mov dword [esp + 0xc], 0
jmp 0x435c12
mov ebp, 1
mov cl, 1
mov dword [esp + 0xc], ecx
mov ecx, eax
mov edi, esi
mov byte [esp + 3], cl
cmp cl, 0x3d
sete byte [esp + 4]
shr edx, 2
lea eax, [edx + edx*2]
sub eax, ebp
mov dword [esp + 0x10], eax
inc eax
push 0xa03fbd
push 0x72
push eax
mov esi, edx
call fcn.00405bd0
add esp, 0xc
test eax, eax
je 0x435dce
mov dword [esp + 8], ebp
xor ecx, ecx
movzx edx, byte [esp + 4]
mov cl, dl
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x44], xmm0
movdqu xmmword [esp + 0x34], xmm0
movdqu xmmword [esp + 0x54], xmm0
movdqu xmmword [esp + 0x64], xmm0
movdqu xmmword [esp + 0x74], xmm0
movdqu xmmword [esp + 0x84], xmm0
movdqu xmmword [esp + 0x104], xmm0
movdqu xmmword [esp + 0xf4], xmm0
movdqu xmmword [esp + 0xe4], xmm0
movdqu xmmword [esp + 0xd4], xmm0
movdqu xmmword [esp + 0xc4], xmm0
movdqu xmmword [esp + 0xb4], xmm0
movdqu xmmword [esp + 0xa4], xmm0
movdqu xmmword [esp + 0x94], xmm0
movdqu xmmword [esp + 0x24], xmm0
movdqu xmmword [esp + 0x14], xmm0
movups xmm0, xmmword [0xa03fc6]
movups xmmword [esp + 0x3f], xmm0
movups xmm0, xmmword [0xa03fd6]
movups xmmword [esp + 0x4f], xmm0
movups xmm0, xmmword [0xa03fe6]
movups xmmword [esp + 0x5f], xmm0
movups xmm0, xmmword [0xa03ff6]
movups xmmword [esp + 0x6f], xmm0
movups xmm0, xmmword [0xa04006]
movups xmmword [esp + 0x7f], xmm0
sub esi, ecx
je 0x435dd8
mov dword [esp + 4], eax
mov ebp, eax
nop
movzx eax, byte [ebx]
movzx ecx, byte [esp + eax + 0x14]
cmp ecx, 0xff
je 0x435e67
mov edi, ebx
movzx eax, byte [ebx + 1]
movzx eax, byte [esp + eax + 0x14]
cmp eax, 0xff
je 0x435e67
movzx edx, byte [edi + 2]
movzx ebx, byte [esp + edx + 0x14]
cmp ebx, 0xff
je 0x435e67
movzx edx, byte [edi + 3]
movzx edx, byte [esp + edx + 0x14]
cmp dl, 0xff
je 0x435e67
shl ecx, 0xc
shl eax, 6
or ecx, eax
or eax, ebx
shl bl, 6
or dl, bl
mov byte [ebp + 2], dl
shr eax, 2
mov byte [ebp + 1], al
shr ecx, 0xa
mov byte [ebp], cl
add ebp, 3
lea ebx, [edi + 4]
dec esi
jne 0x435d20
add edi, 4
mov ebx, edi
mov edi, dword [esp + 0x130]
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 3]
cmp cl, 0x3d
je 0x435de4
mov edx, eax
mov ecx, dword [esp + 0x10]
mov byte [ebp], 0
mov eax, dword [esp + 0x12c]
mov dword [eax], edx
mov dword [edi], ecx
xor edi, edi
jmp 0x435e82
mov edi, 0x1b
jmp 0x435e82
mov ebp, eax
movzx ecx, byte [esp + 3]
cmp cl, 0x3d
jne 0x435db2
mov dword [esp + 4], eax
movzx eax, byte [ebx]
cmp eax, 0x3d
jne 0x435e09
xor edx, edx
mov ecx, 1
movzx eax, byte [ebx + 1]
cmp eax, 0x3d
jne 0x435e24
cmp ecx, dword [esp + 8]
jae 0x435e67
inc ecx
jmp 0x435e32
movzx edx, byte [esp + eax + 0x14]
cmp edx, 0xff
je 0x435e67
shl edx, 6
xor ecx, ecx
movzx eax, byte [ebx + 1]
cmp eax, 0x3d
je 0x435e00
movzx eax, byte [esp + eax + 0x14]
cmp eax, 0xff
je 0x435e67
or edx, eax
movzx eax, byte [ebx + 2]
cmp eax, 0x3d
jne 0x435e47
cmp ecx, dword [esp + 8]
jae 0x435e67
shl edx, 6
inc ecx
jmp 0x435e58
movzx eax, byte [esp + eax + 0x14]
cmp eax, 0xff
je 0x435e67
shl edx, 6
or edx, eax
movzx eax, byte [ebx + 3]
cmp eax, 0x3d
jne 0x435e8f
cmp ecx, dword [esp + 8]
jb 0x435e96
push 0xa03fbd
push 0xb8
push dword [esp + 0xc]
call fcn.00405f90
add esp, 0xc
mov edi, 0x3d
mov eax, edi
add esp, 0x114
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [esp + eax + 0x14], 0xff
je 0x435e67
cmp byte [esp + 0xc], 0
je 0x435ea5
mov eax, edx
shr eax, 2
mov byte [ebp + 1], al
shr edx, 0xa
mov byte [ebp], dl
mov eax, dword [esp + 8]
xor eax, 3
add ebp, eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
jmp 0x435db8