Function at 0x61a4d8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x61a4e1
mov eax, dword [ebp - 4]
add esp, 0xffffffbc
push ebx
xor ebx, ebx
mov dword [ebp - 0x10038], ebx
mov dword [ebp - 0x1003c], ebx
mov dword [ebp - 0x10040], ebx
mov dword [ebp - 0x10044], ebx
mov dword [ebp - 0x10048], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov eax, dword [ebp - 8]
call fcn.00404fa4
mov eax, dword [ebp - 0xc]
call fcn.00404fa4
xor eax, eax
push ebp
push 0x61a887
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
call fcn.00404db4
mov ecx, 0x50
cdq
idiv ecx
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
je 0x61a59c
mov eax, dword [ebp - 0xc]
call fcn.00404db4
mov ecx, 0x50
cdq
idiv ecx
mov eax, 0x50
sub eax, edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
dec eax
test eax, eax
jl 0x61a59c
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0xc]
mov edx, 0x61a8a0
call fcn.00404dbc
inc dword [ebp - 0x18]
dec dword [ebp - 0x34]
jne 0x61a587
lea eax, [ebp - 0x10034]
xor ecx, ecx
mov edx, 0x10000
call fcn.00408374
mov byte [ebp - 0x10034], 0x5d
mov byte [ebp - 0x10033], 1
mov byte [ebp - 0x10032], 0x27
mov byte [ebp - 0x10031], 0x2d
mov dword [ebp - 0x14], 4
mov eax, dword [ebp - 0x14]
mov byte [ebp + eax - 0x10034], 0xff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x18
jne 0x61a5d1
mov dword [ebp - 0x14], 0x18
mov eax, dword [ebp - 0x14]
mov byte [ebp + eax - 0x10034], 0
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x24
jne 0x61a5ec
mov eax, dword [ebp - 8]
call fcn.00404db4
test eax, eax
jl 0x61a632
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov al, byte [eax + edx]
mov edx, dword [ebp - 0x14]
mov byte [ebp + edx - 0x1001c], al
inc dword [ebp - 0x14]
dec dword [ebp - 0x34]
jne 0x61a617
mov al, byte [ebp - 1]
mov byte [ebp - 0x10010], al
mov al, byte [ebp - 1]
sub al, 1
jb 0x61a646
je 0x61a66b
jmp 0x61a672
mov eax, dword [0x66a1cc]
mov eax, dword [eax]
mov edx, 0x61a8ac
call fcn.00404f00
jne 0x61a662
mov byte [ebp - 0x1000f], 3
jmp 0x61a672
mov byte [ebp - 0x1000f], 0
jmp 0x61a672
mov byte [ebp - 0x1000f], 0
mov eax, dword [0x668f00]
mov byte [eax + 0x26], 0
mov eax, dword [ebp - 0xc]
call fcn.00404db4
sar eax, 1
jns 0x61a68a
adc eax, 0
push eax
lea eax, [ebp - 0x20]
mov ecx, 1
mov edx, dword [0x61a4b8]
call fcn.004063ac
add esp, 4
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.0049b78c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.00623384
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x1000d]
mov dx, word [ebp - 0x22]
mov word [eax], dx
lea eax, [ebp - 0x1000b]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
lea eax, [ebp - 0x1000b]
call fcn.0049b538
mov byte [ebp - 0x10007], 0xff
mov byte [ebp - 0x10006], 0xff
mov byte [ebp - 0x10005], 0xff
mov byte [ebp - 0x10004], 0xff
lea eax, [ebp - 0x10033]
mov edx, 0x30
call fcn.005d5aa8
mov byte [ebp - 0x10003], al
mov eax, dword [0x669c78]
add eax, 4
mov word [eax], 0x32
mov eax, dword [0x669c78]
mov edx, 6
call fcn.0060a490
lea eax, [ebp - 0x10034]
mov edx, 0x32
call fcn.0060a490
call fcn.00609fb8
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
xor eax, eax
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x10034]
mov eax, dword [ebp - 0xc]
call fcn.0049b78c
mov dword [ebp - 0x1c], eax
mov eax, dword [0x668fc4]
add eax, 4
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov eax, dword [0x668fc4]
mov edx, 8
call fcn.0060a490
lea eax, [ebp - 0x10034]
mov edx, dword [ebp - 0x1c]
call fcn.0060a5ac
call fcn.00609fb8
mov eax, dword [0x669488]
add eax, 2
call fcn.0049b538
lea ecx, [ebp - 0x1003c]
mov eax, dword [0x669488]
movzx eax, byte [eax + 2]
mov edx, 2
call fcn.0040a604
push dword [ebp - 0x1003c]
lea ecx, [ebp - 0x10040]
mov eax, dword [0x669488]
movzx eax, byte [eax + 3]
mov edx, 2
call fcn.0040a604
push dword [ebp - 0x10040]
lea ecx, [ebp - 0x10044]
mov eax, dword [0x669488]
movzx eax, byte [eax + 4]
mov edx, 2
call fcn.0040a604
push dword [ebp - 0x10044]
lea ecx, [ebp - 0x10048]
mov eax, dword [0x669488]
movzx eax, byte [eax + 5]
mov edx, 2
call fcn.0040a604
push dword [ebp - 0x10048]
lea eax, [ebp - 0x10038]
mov edx, 4
call fcn.00404e74
mov eax, dword [ebp - 0x10038]
call fcn.0049b69c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x28]
jne 0x61a84a
mov byte [ebp - 0xd], 1
jmp 0x61a84e
mov byte [ebp - 0xd], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61a88e
lea eax, [ebp - 0x10048]
mov edx, 5
call fcn.00404b08
lea eax, [ebp - 0x20]
mov edx, dword [0x61a4b8]
call fcn.004064cc
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404b08
ret