Function at 0x43bff0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add eax, ebp
sub eax, dword [esp + 0x44]
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0
mov dword [esp + 0x1c], eax
cmp eax, ebp
jbe 0x43c26f
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov eax, ecx
xor eax, 1
mov esi, ecx
and esi, 0xfffffffe
add esi, esi
sub esi, eax
mov dword [esp + 0x18], esi
lea esi, [ecx - 1]
xor edi, edi
mov dword [esp + 4], 0
mov dword [esp + 0x10], 0
jmp 0x43c086
mov ecx, edi
mov eax, dword [esp + 4]
sub ecx, eax
cmp edi, dword [esp + 0x10]
je 0x43c0d9
mov dword [eax + ecx], ebp
add edi, 4
mov dword [ebx + 4], edi
add ebp, dword [esp + 0x18]
inc ebp
cmp ebp, dword [esp + 0x1c]
jae 0x43c26f
test edx, edx
je 0x43c08f
cmp byte [edx], 0x3f
je 0x43c09b
movzx ecx, byte [ebp]
mov eax, dword [esp + 0x40]
cmp cl, byte [eax]
jne 0x43c07b
cmp dword [esp + 0x44], 2
jb 0x43c060
xor ecx, ecx
jmp 0x43c0cc
movzx edx, byte [ebp + ecx + 1]
mov eax, dword [esp + 0x40]
cmp dl, byte [eax + ecx + 1]
mov edx, dword [esp + 0x48]
jne 0x43c17e
inc ecx
cmp esi, ecx
je 0x43c060
test edx, edx
je 0x43c0b0
cmp byte [edx + ecx + 1], 0x3f
jne 0x43c0b0
jmp 0x43c0c7
mov dword [esp + 8], ecx
sar ecx, 2
lea eax, [ecx + 1]
mov edx, ecx
shr edx, 1
add edx, ecx
cmp edx, eax
ja 0x43c0ef
mov edx, eax
mov dword [esp + 0x10], edx
lea eax, [edx*4]
push eax
call fcn.004080f0
add esp, 4
mov edx, dword [esp + 4]
test edx, edx
mov dword [esp], eax
je 0x43c240
mov ebx, dword [esp + 8]
lea ecx, [ebx - 0x215a5688]
mov dword [esp + 0xc], ecx
cmp eax, edx
jbe 0x43c185
cmp edi, eax
jbe 0x43c185
test ebx, ebx
mov ebx, dword [esp + 0xc]
je 0x43c22d
mov eax, dword [esp + 4]
add eax, ebx
add eax, 0x215a5687
mov ecx, dword [esp]
add ecx, ebx
add ecx, 0x215a5687
and ebx, 7
je 0x43c1cd
mov dword [esp + 0xc], edi
neg ebx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, ebx
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
mov ebx, edi
dec edx
cmp edi, edx
jne 0x43c160
add eax, edx
add ecx, edx
add edx, dword [esp + 8]
mov edi, dword [esp + 0xc]
jmp 0x43c1d1
add ebp, ecx
jmp 0x43c07b
mov ecx, ebx
shr ecx, 2
mov ebx, eax
mov eax, edx
mov edi, ebx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
mov edx, dword [esp + 8]
and edx, 0xfffffffc
lea edi, [ebx + edx]
add edx, eax
mov ebx, dword [esp + 0xc]
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov eax, edx
mov dword [esp + 0x14], edi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test bl, 1
je 0x43c22d
and ebx, 2
movzx eax, byte [edx + ebx]
mov ecx, dword [esp + 0x14]
mov byte [ecx + ebx], al
jmp 0x43c22d
mov edx, dword [esp + 8]
mov ebx, dword [esp + 4]
sub ebx, edi
cmp ebx, 0xfffffff8
ja 0x43c22d
neg edx
xor edi, edi
movzx ebx, byte [eax + edi]
mov byte [ecx + edi], bl
movzx ebx, byte [eax + edi - 1]
mov byte [ecx + edi - 1], bl
movzx ebx, byte [eax + edi - 2]
mov byte [ecx + edi - 2], bl
movzx ebx, byte [eax + edi - 3]
mov byte [ecx + edi - 3], bl
movzx ebx, byte [eax + edi - 4]
mov byte [ecx + edi - 4], bl
movzx ebx, byte [eax + edi - 5]
mov byte [ecx + edi - 5], bl
movzx ebx, byte [eax + edi - 6]
mov byte [ecx + edi - 6], bl
movzx ebx, byte [eax + edi - 7]
mov byte [ecx + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x43c1e0
push dword [esp + 4]
call fcn.00408100
add esp, 4
mov ebx, dword [esp + 0x34]
mov eax, dword [esp]
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp]
lea eax, [ecx + eax*4]
mov edi, dword [esp]
mov ecx, dword [esp + 8]
add edi, ecx
mov dword [esp + 0x10], eax
mov dword [ebx + 8], eax
mov eax, dword [esp]
mov dword [esp + 4], eax
mov eax, dword [esp]
mov edx, dword [esp + 0x48]
jmp 0x43c06e
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret