Function at 0x485880
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x28
push ebx
push esi
mov esi, dword [esp + 0x38]
xor bl, bl
mov ecx, 0x74
mov byte [esp + 0xb], bl
mov edx, 0x64
push edi
mov eax, dword [esi + 0x18]
cmp eax, 0x234
cmovne ecx, edx
add ecx, esi
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 4], 3
jne reloc.KERNEL32.dll_GetConsoleWindow
cmp eax, 0x232
jne reloc.KERNEL32.dll_GetConsoleWindow
imul eax, eax, 0x64
mov byte [esp + 0x38], 1
movzx eax, byte [eax + 0x51986d]
imul eax, dword [esi + eax*4 + 0x30], 0x410
add eax, 0x4106c
jmp 0x4858f7
imul eax, eax, 0x64
xor dl, dl
mov byte [esp + 0x38], dl
movzx eax, byte [eax + 0x51986d]
imul eax, dword [esi + eax*4 + 0x30], 0x410
add eax, 0x2086c
add eax, ecx
xor edi, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
cmp byte [esi + 0x30], bl
jbe 0x485aa3
push ebp
mov ebp, dword [esp + 0x44]
lea ebx, [edi + 1]
nop dword [eax]
nop dword [eax + eax]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax + 0x400]
mov dword [esp + 0x14], ecx
movups xmm0, xmmword [edx]
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 5
jne reloc.KERNEL32.dll_InitOnceExecuteOnce
movups xmm0, xmmword [edx]
psrldq xmm0, 0xc
movd eax, xmm0
mov ecx, dword [eax]
movzx eax, byte [ecx + 0x29]
push eax
push dword [ecx + 0x34]
push dword [ecx + 0x30]
call fcn.00407890
mov ecx, 1
add esp, 0xc
mov edx, eax
mov dword [esp + 0x14], ecx
jmp 0x48597a
xor edx, edx
test ecx, ecx
je UnhandledExceptionFilter
shl edx, 5
add edx, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov eax, dword [edx + 0x14]
mov dword [esp + 0x30], eax
cmp eax, 0xffffffff
je 0x485a6e
mov cl, byte [esp + 0x3c]
mov eax, dword [edx]
test cl, cl
mov edx, dword [esp + 0x48]
cmovne eax, ebx
mov ebx, dword [ebp]
shl eax, 2
mov dword [esp + 0x28], eax
mov eax, dword [eax + edx]
mov dword [esp + 0x2c], eax
imul eax, dword [esi + 0x18], 0x64
movzx eax, byte [eax + 0x519875]
mov eax, dword [esi + eax*4 + 0x30]
add eax, edi
mov dword [esp + 0x34], eax
xor eax, eax
nop dword [eax]
shr eax, 5
test ebx, ebx
jne GetSystemTimeAsFileTime
inc eax
cmp eax, 4
jae 0x485a59
mov ebx, dword [ebp + eax*4]
test ebx, ebx
je 0x4859d7
bsf edi, ebx
mov byte [esp + 0x3c], cl
je 0x4859f1
inc edi
jmp 0x4859f3
xor edi, edi
dec edi
xor esi, esi
mov edx, edi
xor ecx, ecx
bts esi, edx
cmp edx, 0x20
cmovae ecx, esi
shl eax, 5
xor esi, ecx
add eax, edi
not esi
and ebx, esi
cmp eax, 0x80
jae 0x485a59
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x34]
mov byte [esp + 0x13], 1
mov ecx, dword [ecx + edx]
mov edx, dword [esp + 0x2c]
imul ecx, eax
lea edx, [edx + ecx*4]
mov ecx, dword [esp + 0x30]
lea esi, [esi + ecx*4]
mov ecx, esi
and esi, 0x1f
shr ecx, 5
lea edx, [edx + ecx*4]
mov ecx, dword [edx]
bts ecx, esi
mov dword [edx], ecx
mov cl, byte [esp + 0x3c]
mov byte [esp + 0x3c], cl
jmp 0x4859d0
mov edx, dword [esp + 0x1c]
mov ebx, 1
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x20]
add edx, 0x20
sub ecx, 1
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
jne GetCurrentProcess
movzx ecx, byte [esi + 0x30]
inc edi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], edi
cmp edi, ecx
jb 0x485920
mov al, byte [esp + 0x13]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x28
ret
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x28
ret