Function at 0x43b2d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
add esi, ebp
sub esi, edx
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
cmp esi, ebp
jbe 0x43b5fa
mov ebx, dword [esp + 0x48]
lea eax, [edx - 1]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], 0
mov dword [esp], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], esi
jmp 0x43b36e
push edi
push ebx
push eax
call fcn.00408700
add esp, 0xc
mov edi, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [edi + edx], ebp
add esi, 4
mov eax, dword [esp + 0x34]
mov dword [eax + 4], esi
mov edx, dword [esp + 0x44]
add ebp, edx
dec ebp
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x48]
inc ebp
mov dword [esp], edi
cmp ebp, esi
jae 0x43b5fa
test ebx, ebx
je 0x43b377
cmp byte [ebx], 0x3f
je 0x43b383
movzx eax, byte [ebp]
mov ecx, dword [esp + 0x40]
cmp al, byte [ecx]
jne 0x43b3f0
cmp edx, 2
jb 0x43b3c0
xor eax, eax
jmp 0x43b3aa
movzx ecx, byte [ebp + eax + 1]
mov edi, dword [esp + 0x40]
cmp cl, byte [edi + eax + 1]
jne 0x43b4ef
inc eax
cmp dword [esp + 0x1c], eax
je 0x43b3c0
test ebx, ebx
je 0x43b390
cmp byte [ebx + eax + 1], 0x3f
jne 0x43b390
jmp 0x43b3a3
mov esi, dword [esp]
mov ecx, esi
not ecx
mov ebx, dword [esp + 0x10]
and ecx, ebx
add ecx, ecx
mov eax, esi
xor eax, ebx
sub ecx, eax
cmp ebx, dword [esp + 0xc]
je 0x43b3f8
mov edx, ebx
sub edx, esi
mov edi, esi
mov esi, ebx
cmp edx, ecx
jae 0x43b342
jmp 0x43b57f
mov edi, dword [esp]
jmp 0x43b362
mov dword [esp + 0x14], ecx
mov eax, ecx
sar eax, 2
inc eax
mov ecx, ebx
sub ecx, esi
mov dword [esp + 8], ecx
sar ecx, 2
mov edx, ecx
shr edx, 1
add edx, ecx
cmp edx, eax
ja 0x43b419
mov edx, eax
mov dword [esp + 0xc], edx
lea eax, [edx*4]
push eax
call fcn.00408680
add esp, 4
mov edi, eax
test esi, esi
je 0x43b555
cmp edi, esi
jbe 0x43b4f9
cmp ebx, edi
jbe 0x43b4f9
cmp dword [esp + 8], 0
je 0x43b546
mov dword [esp + 4], edi
mov edx, dword [esp + 8]
lea eax, [edi + edx]
dec eax
mov edi, dword [esp]
lea ecx, [edi + edx]
dec ecx
mov esi, edx
and esi, 7
je 0x43b487
neg esi
xor edx, edx
movzx ebx, byte [ecx + edx]
mov byte [eax + edx], bl
dec edx
cmp esi, edx
jne 0x43b470
add ecx, edx
add eax, edx
add edx, dword [esp + 8]
mov edi, dword [esp]
mov esi, edi
sub esi, dword [esp + 0x10]
cmp esi, 0xfffffff8
mov edi, dword [esp + 4]
ja 0x43b546
neg edx
xor esi, esi
nop
nop
movzx ebx, byte [ecx + esi]
mov byte [eax + esi], bl
movzx ebx, byte [ecx + esi - 1]
mov byte [eax + esi - 1], bl
movzx ebx, byte [ecx + esi - 2]
mov byte [eax + esi - 2], bl
movzx ebx, byte [ecx + esi - 3]
mov byte [eax + esi - 3], bl
movzx ebx, byte [ecx + esi - 4]
mov byte [eax + esi - 4], bl
movzx ebx, byte [ecx + esi - 5]
mov byte [eax + esi - 5], bl
movzx ebx, byte [ecx + esi - 6]
mov byte [eax + esi - 6], bl
movzx ebx, byte [ecx + esi - 7]
mov byte [eax + esi - 7], bl
add esi, 0xfffffff8
cmp edx, esi
jne 0x43b4a0
jmp 0x43b546
add ebp, eax
mov edi, dword [esp]
jmp 0x43b362
mov ebx, dword [esp + 8]
mov ecx, ebx
shr ecx, 2
mov eax, esi
mov dword [esp + 4], edi
mov edi, dword [esp + 4]
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov edx, ebx
and edx, 0xfffffffc
mov eax, dword [esp + 4]
add eax, edx
add edx, esi
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov esi, edx
mov edi, eax
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov edi, dword [esp + 4]
test bl, 1
je 0x43b546
mov ecx, dword [esp + 8]
and ecx, 2
movzx edx, byte [edx + ecx]
mov byte [eax + ecx], dl
push dword [esp]
call fcn.00408690
add esp, 4
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov dword [eax], edi
mov ecx, dword [esp + 0x14]
lea esi, [edi + ecx]
mov dword [eax + 4], esi
mov edx, dword [esp + 0xc]
lea edx, [edi + edx*4]
mov dword [esp + 0xc], edx
mov dword [eax + 8], edx
mov edx, dword [esp + 8]
cmp edx, ecx
jae 0x43b342
mov eax, edi
mov edi, dword [esp]
add edi, ecx
sub edi, ebx
lea ebx, [eax + edx]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
add eax, edx
add eax, 4
cmp edi, 4
jg 0x43b32f
mov ecx, edi
shr ecx, 2
mov dword [esp], edi
mov edx, ebx
mov edi, eax
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
mov ecx, dword [esp]
mov ebx, ecx
and ebx, 0xfffffffc
add eax, ebx
add ebx, edx
shr ecx, 1
and ecx, 1
mov edx, ebx
mov edi, eax
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov edx, dword [esp]
mov ecx, edx
test dl, 1
mov edi, dword [esp + 4]
mov edx, dword [esp + 8]
je 0x43b342
mov edi, ecx
and edi, 2
movzx ecx, byte [ebx + edi]
mov byte [eax + edi], cl
mov edi, dword [esp + 4]
jmp 0x43b342
mov eax, dword [esp + 0x34]
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret