Function at 0x43084c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4bbd28
push 0x40a700
mov eax, dword fs:[0]
push eax
push ecx
push ecx
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4c02d4]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
movzx eax, byte [0x4c74db]
test eax, eax
je 0x4308a3
and dword [ebp - 0x50], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x50]
jmp 0x430a46
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004306e2
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
add eax, 4
push eax
push dword [ebp + 8]
call fcn.004306e2
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp + 0x10], 3
jne 0x430a2c
cmp dword [0x4c6b3c], 0x100
jge 0x430a2c
mov eax, dword [ebp - 0x28]
sub eax, dword [0x4c6b38]
add eax, dword [0x4c6b30]
mov dword [ebp - 0x20], eax
mov eax, dword [0x4c6b3c]
mov ecx, dword [ebp - 0x20]
mov dword [eax*8 + 0x4c6b40], ecx
mov eax, dword [0x4c6b3c]
mov ecx, dword [ebp - 0x2c]
mov dword [eax*8 + 0x4c6b44], ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x20], 0
jbe 0x43092f
mov eax, dword [ebp - 0x20]
add eax, 0x30
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
sub eax, 0x30
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
add eax, 0xe
push eax
push dword [ebp + 8]
call fcn.00430759
pop ecx
pop ecx
movzx eax, ax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x18
jb 0x430a21
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
and dword [ebp - 0x38], 0
jmp 0x430969
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x1000
jge 0x4309de
mov byte [ebp - 0x41], 0
and dword [ebp - 0x48], 0
jmp 0x430983
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 7
jge 0x4309c5
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.004307d5
pop ecx
pop ecx
mov byte [ebp - 0x49], al
movzx eax, byte [ebp - 0x49]
and eax, 1
mov byte [ebp - 0x49], al
movzx eax, byte [ebp - 0x49]
mov ecx, dword [ebp - 0x48]
shl eax, cl
mov byte [ebp - 0x49], al
movzx eax, byte [ebp - 0x49]
movzx ecx, byte [ebp - 0x41]
or ecx, eax
mov byte [ebp - 0x41], cl
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
jmp 0x43097c
mov eax, dword [0x4c6b34]
add eax, dword [ebp - 0x38]
mov cl, byte [ebp - 0x41]
mov byte [eax], cl
movzx eax, byte [ebp - 0x41]
test eax, eax
jne 0x4309dc
jmp 0x4309de
jmp 0x430962
cmp dword [ebp - 0x38], 5
jle 0x430a0d
push dword [0x4c6b34]
call dword [fcn.0044f288]
test eax, eax
jle 0x430a0d
mov byte [0x4c74db], 1
and dword [ebp - 0x54], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x54]
jmp 0x430a46
mov eax, dword [0x4c6b34]
mov byte [eax], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov eax, dword [0x4c6b3c]
inc eax
mov dword [0x4c6b3c], eax
mov dword [ebp - 4], 0xfffffffe
jmp 0x430a43
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret