Function at 0x433fc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
add ecx, esi
sub ecx, dword [esp + 0x58]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [esp + 0x30], ecx
cmp ecx, esi
jbe 0x434354
mov ebp, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
dec ecx
mov dword [esp + 0x2c], ecx
xor edi, edi
mov dword [esp + 4], 0
mov dword [esp + 0x10], 0
jmp 0x434037
xor edi, 0xfffffffe
and edx, 0xfffffffc
add edx, edi
add esi, edx
inc esi
mov eax, dword [esp + 0x48]
mov edi, dword [esp]
inc esi
cmp esi, dword [esp + 0x30]
jae 0x434354
mov dword [esp], edi
test ebp, ebp
je 0x434044
cmp byte [ebp], 0x3f
je 0x43404f
movzx edx, byte [esi]
mov edi, dword [esp + 0x54]
cmp dl, byte [edi]
jne 0x434029
mov eax, dword [esp + 0x58]
cmp eax, 2
jb 0x4340a0
mov edi, 1
mov edx, 2
jmp 0x43408a
movzx ebx, byte [esi + edi]
mov ecx, ebp
mov ebp, dword [esp + 0x54]
cmp bl, byte [ebp + edi]
mov ebp, ecx
jne 0x43401a
inc edi
add edx, 2
cmp eax, edi
je 0x4340a0
test ebp, ebp
je 0x434070
cmp byte [ebp + edi], 0x3f
jne 0x434070
jmp 0x434082
mov edi, dword [esp]
mov ebx, edi
mov edx, dword [esp + 4]
sub ebx, edx
mov ecx, ebx
sar ecx, 2
cmp edi, dword [esp + 0x10]
je 0x4340bf
mov eax, dword [esp + 0x48]
jmp 0x434332
lea eax, [ecx + 1]
mov edi, ecx
shr edi, 1
mov dword [esp + 0x28], ecx
add edi, ecx
cmp edi, eax
cmovbe edi, eax
lea eax, [edi*4]
push eax
call fcn.004088f0
add esp, 4
mov edx, eax
mov eax, dword [esp + 4]
test eax, eax
je 0x434311
mov dword [esp + 0x10], edi
cmp edx, eax
mov dword [esp + 0x1c], edx
jbe 0x434173
mov eax, dword [esp + 4]
add eax, ebx
cmp eax, edx
mov eax, dword [esp + 4]
jbe 0x434173
test ebx, ebx
je 0x4342fd
mov eax, dword [esp + 4]
lea edi, [eax + ebx]
dec edi
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + ebx]
dec edx
cmp ebx, 4
jae 0x4341bc
mov eax, edi
lea ecx, [ebx - 1]
mov dword [esp + 8], ebx
and ebx, 7
je 0x434296
mov dword [esp], ecx
xor edi, edi
nop word cs:[eax + eax]
movzx ecx, byte [eax]
dec eax
mov byte [edx], cl
dec edx
inc edi
cmp ebx, edi
jne 0x434150
mov ebx, dword [esp + 8]
sub ebx, edi
mov ecx, dword [esp]
cmp ecx, 7
jae 0x43429f
jmp 0x4342fd
mov ecx, ebx
shr ecx, 2
mov dword [esp + 4], eax
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
mov edx, ebx
and edx, 0xfffffffc
lea edi, [eax + edx]
add edx, dword [esp + 4]
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov eax, edx
mov dword [esp], edi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test bl, 1
je 0x4342fd
and ebx, 2
movzx eax, byte [edx + ebx]
mov ecx, dword [esp]
mov byte [ecx + ebx], al
jmp 0x4342fd
cmp ecx, edx
ja 0x43412a
cmp eax, edi
ja 0x43412a
sub eax, ecx
cmp eax, 0x10
jb 0x43412a
mov dword [esp + 0xc], edi
xor edi, edi
cmp ebx, 0x10
mov dword [esp + 0x14], edx
jb 0x43422b
mov edi, ebx
and edi, 0xfffffff0
mov eax, edi
neg eax
mov dword [esp], eax
xor ecx, ecx
mov eax, dword [esp + 0xc]
nop dword [eax + eax]
movups xmm0, xmmword [eax + ecx - 0xf]
mov edx, dword [esp + 0x14]
movups xmmword [edx + ecx - 0xf], xmm0
add ecx, 0xfffffff0
cmp dword [esp], ecx
jne 0x434200
mov edx, dword [esp + 0x14]
cmp ebx, edi
je 0x4342fd
test bl, 0xc
je 0x434344
mov ecx, ebx
and ecx, 0xfffffffc
mov dword [esp + 0x18], ecx
mov eax, ecx
neg eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc]
sub eax, ecx
mov dword [esp + 0x20], ebx
mov ecx, ebx
and ecx, 3
mov dword [esp + 8], ecx
sub edx, dword [esp + 0x18]
neg edi
nop word cs:[eax + eax]
mov dword [esp], edi
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + edi - 3]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp]
mov dword [edi + ebx - 3], ecx
mov edi, dword [esp]
add edi, 0xfffffffc
cmp dword [esp + 0x24], edi
jne 0x434260
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x18]
mov ebx, dword [esp + 8]
jne 0x43412c
jmp 0x4342fd
mov ebx, dword [esp + 8]
cmp ecx, 7
jb 0x4342fd
neg ebx
xor edi, edi
nop word cs:[eax + eax]
movzx ecx, byte [eax + edi]
mov byte [edx + edi], cl
movzx ecx, byte [eax + edi - 1]
mov byte [edx + edi - 1], cl
movzx ecx, byte [eax + edi - 2]
mov byte [edx + edi - 2], cl
movzx ecx, byte [eax + edi - 3]
mov byte [edx + edi - 3], cl
movzx ecx, byte [eax + edi - 4]
mov byte [edx + edi - 4], cl
movzx ecx, byte [eax + edi - 5]
mov byte [edx + edi - 5], cl
movzx ecx, byte [eax + edi - 6]
mov byte [edx + edi - 6], cl
movzx ecx, byte [eax + edi - 7]
mov byte [edx + edi - 7], cl
add edi, 0xfffffff8
cmp ebx, edi
jne 0x4342b0
push dword [esp + 4]
call fcn.00408900
add esp, 4
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
mov dword [eax], edx
mov ecx, dword [esp + 0x28]
lea ebx, [edx + ecx*4]
mov dword [esp], ebx
lea ebx, [edx + edi*4]
mov edi, dword [esp]
mov dword [esp + 0x10], ebx
mov dword [eax + 8], ebx
mov dword [esp + 4], edx
mov dword [edx + ecx*4], esi
add edi, 4
mov dword [eax + 4], edi
add esi, dword [esp + 0x2c]
jmp 0x43402c
sub edx, edi
and ebx, 0xf
mov eax, dword [esp + 0xc]
sub eax, edi
jmp 0x43412c
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret