Function at 0x648b60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, esi
mov eax, ebx
call fcn.00461248
cmp eax, 0x1f
jg 0x64915d
lea ecx, [ebp - 0x96]
mov edx, esi
mov eax, ebx
call fcn.00461248
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x648bd1
inc ebx
lea eax, [ebp - 0x96]
movzx edx, byte [eax]
sub dl, 0x2d
je 0x648bc0
dec dl
je 0x648bca
sub dl, 0x31
je 0x648bc5
jmp 0x648bcd
mov byte [eax], 0x2b
jmp 0x648bcd
mov byte [eax], 0x2f
jmp 0x648bcd
mov byte [eax], 0x3d
inc eax
dec ebx
jne 0x648bad
mov eax, dword [ebp - 4]
cmp byte [eax], 0
je 0x648c70
xor ebx, ebx
mov dl, 0x3a
mov eax, dword [ebp - 4]
call fcn.004083c0
mov esi, eax
test esi, esi
je 0x648c60
inc esi
push 1
lea ecx, [ebp - 0xc]
mov edx, 0x64916c
mov eax, esi
call fcn.0040db64
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jle 0x648c60
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
add esi, dword [ebp - 0x20]
push 1
lea ecx, [ebp - 0xc]
mov edx, 0x64916c
mov eax, esi
call fcn.0040db64
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jle 0x648c60
add esi, dword [ebp - 0x20]
lea eax, [ebp - 0x96]
call fcn.00408154
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x96]
mov ecx, dword [ebp - 0x20]
mov eax, esi
call fcn.00411368
test al, al
je 0x648c60
mov eax, dword [ebp - 0x20]
cmp byte [esi + eax], 0x3a
jne 0x648c60
mov ebx, 1
test ebx, ebx
je 0x648c6a
cmp dword [ebp - 0x10], 0x1c
jle 0x648c70
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov bl, 1
mov eax, dword [ebp - 4]
cmp byte [eax], 0
je 0x648c7e
test bl, bl
jne 0x648c86
lea eax, [ebp - 0x62]
call fcn.004168c0
mov eax, ebx
test al, al
je 0x648c93
xor edx, edx
mov dword [ebp - 0x30], edx
jmp 0x648cb3
movzx edx, word [ebp - 0x5c]
imul edx, edx, 0x3c
movzx ecx, word [ebp - 0x5a]
add edx, ecx
imul edx, edx, 0x3c
movzx ecx, word [ebp - 0x58]
add edx, ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], 0x28
mov edx, dword [ebp - 4]
cmp byte [edx], 0
jne 0x648e80
test al, al
je 0x648cca
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x648cd1
mov dword [ebp - 0x30], 0x14
mov eax, dword [0x66ce4c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x20
jle 0x648ce6
mov dword [ebp - 0x10], 0x20
mov edx, 0x649170
mov eax, dword [ebp - 4]
call fcn.004081c8
mov esi, eax
mov eax, dword [ebp - 0x10]
mov ecx, 0xa
cdq
idiv ecx
mov edx, dword [str.0123456789ABCDEF0123456789abcdef]
movzx eax, byte [edx + eax]
mov byte [esi], al
inc esi
mov eax, dword [ebp - 0x10]
mov ecx, 0xa
cdq
idiv ecx
mov eax, dword [str.0123456789ABCDEF0123456789abcdef]
movzx eax, byte [eax + edx]
mov byte [esi], al
inc esi
mov byte [esi], 0x3a
inc esi
movzx eax, word [ebp - 0x62]
mov ecx, 0x64
xor edx, edx
div ecx
mov ecx, edx
mov word [ebp - 0x62], cx
movzx eax, cx
mov ecx, 0xa
xor edx, edx
div ecx
mov edx, dword [str.0123456789ABCDEF0123456789abcdef]
movzx eax, byte [edx + eax]
mov byte [esi], al
inc esi
movzx eax, word [ebp - 0x62]
mov ecx, 0xa
xor edx, edx
div ecx
mov eax, dword [str.0123456789ABCDEF0123456789abcdef]
movzx eax, byte [eax + edx]
mov byte [esi], al
inc esi
movzx eax, word [ebp - 0x60]
mov ecx, 0xa
xor edx, edx
div ecx
mov edx, dword [str.0123456789ABCDEF0123456789abcdef]
movzx eax, byte [edx + eax]
mov byte [esi], al
inc esi
movzx eax, word [ebp - 0x60]
mov ecx, 0xa
xor edx, edx
div ecx
mov eax, dword [str.0123456789ABCDEF0123456789abcdef]
movzx eax, byte [eax + edx]
mov byte [esi], al
inc esi
movzx eax, word [ebp - 0x5e]
mov ecx, 0xa
xor edx, edx
div ecx
mov edx, dword [str.0123456789ABCDEF0123456789abcdef]
movzx eax, byte [edx + eax]
mov byte [esi], al
inc esi
movzx eax, word [ebp - 0x5e]
mov ecx, 0xa
xor edx, edx
div ecx
mov eax, dword [str.0123456789ABCDEF0123456789abcdef]
movzx eax, byte [eax + edx]
mov byte [esi], al
inc esi
mov byte [esi], 0x3a
inc esi
lea edx, [ebp - 0x96]
mov eax, esi
call fcn.004081c8
mov esi, eax
mov byte [esi], 0x3a
inc esi
mov byte [esi], 0x3a
inc esi
lea eax, [ebp - 0x96]
mov byte [eax], 0
mov dword [ebp - 0x24], 1
mov eax, pe_nt_image_headers32
call fcn.00403024
lea edx, [ebp - 0x96]
mov ecx, dword [ebp - 0x24]
mov byte [edx + ecx], al
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 6
jne 0x648dfe
lea eax, [ebp - 0x96]
mov ecx, esi
mov edx, 6
call fcn.00461248
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x648e76
inc ebx
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
movzx eax, byte [esi + eax]
sub al, 0x2d
je 0x648e57
dec al
je 0x648e69
sub al, 0x31
je 0x648e60
jmp 0x648e70
mov eax, dword [ebp - 0x24]
mov byte [esi + eax], 0x2b
jmp 0x648e70
mov eax, dword [ebp - 0x24]
mov byte [esi + eax], 0x2f
jmp 0x648e70
mov eax, dword [ebp - 0x24]
mov byte [esi + eax], 0x3d
inc dword [ebp - 0x24]
dec ebx
jne 0x648e42
add esi, dword [ebp - 0x20]
mov byte [esi], 0x3a
inc esi
mov byte [esi], 0
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x54]
mov ecx, 8
sub ecx, dword [ebp - 0x24]
mov edx, 1
shl edx, cl
or edx, dword [eax]
mov dword [eax + 4], edx
inc dword [ebp - 0x24]
add eax, 4
cmp dword [ebp - 0x24], 8
jne 0x648e8f
mov eax, dword [ebp - 4]
call fcn.00408154
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x10], 8
jl 0x648ec7
mov edi, 8
jmp 0x648eca
mov edi, dword [ebp - 0x10]
cmp edi, 0x20
jl 0x648ed8
mov dword [ebp - 0x14], 0xffffffff
jmp 0x648ef9
mov eax, edi
and eax, 0xfffffff8
mov ecx, eax
mov edx, edi
and edx, 7
mov edx, dword [ebp + edx*4 - 0x54]
shl edx, cl
mov ecx, eax
mov eax, 1
shl eax, cl
dec eax
or edx, eax
mov dword [ebp - 0x14], edx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x10], 0
jle 0x6490c3
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00461248
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
dec ebx
sub ebx, esi
jl 0x648f64
inc ebx
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
sub al, 0x2d
je 0x648f47
dec al
je 0x648f59
sub al, 0x31
je 0x648f50
jmp 0x648f60
mov eax, dword [ebp - 4]
mov byte [eax + esi], 0x2b
jmp 0x648f60
mov eax, dword [ebp - 4]
mov byte [eax + esi], 0x2f
jmp 0x648f60
mov eax, dword [ebp - 4]
mov byte [eax + esi], 0x3d
inc esi
dec ebx
jne 0x648f32
lea ecx, [ebp - 0x76]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00418518
mov eax, dword [ebp - 0x76]
and eax, dword [ebp - 0x14]
jne 0x648fd4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
cmp edi, dword [ebp - 0x10]
jge 0x648fc3
inc edi
cmp edi, 0x20
jl 0x648f94
mov dword [ebp - 0x14], 0xffffffff
jmp 0x648fb6
mov ecx, edi
and ecx, 0xfffffff8
mov eax, edi
and eax, 7
mov eax, dword [ebp + eax*4 - 0x54]
shl eax, cl
mov ecx, edi
and ecx, 0xfffffff8
mov edx, 1
shl edx, cl
dec edx
or eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x76]
and eax, dword [ebp - 0x14]
jne 0x648fc3
cmp edi, dword [ebp - 0x10]
jl 0x648f85
cmp edi, dword [ebp - 0x10]
jl 0x648fd4
mov eax, dword [ebp - 0x76]
and eax, dword [ebp - 0x14]
je 0x6490c3
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0
jbe 0x6490c3
test dword [ebp - 0x18], 0xfff
jne 0x648f0d
cmp dword [ebp - 0x30], 0
je 0x649034
lea eax, [ebp - 0x62]
call fcn.004168c0
movzx eax, word [ebp - 0x5c]
imul eax, eax, 0x3c
movzx edx, word [ebp - 0x5a]
add eax, edx
imul eax, eax, 0x3c
movzx edx, word [ebp - 0x58]
add eax, edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
jae 0x649024
add dword [ebp - 0x34], 0x15180
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x30]
jb 0x649034
xor eax, eax
mov dword [ebp - 0x30], eax
cmp dword [ebp + 8], 0
je 0x648f0d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0
je 0x648f0d
mov eax, dword [ebp - 0x18]
call fcn.00411358
movzx eax, al
imul eax, eax, 0x64
mov edx, dword [ebp - 0x10]
add edx, 4
mov ecx, edx
cdq
idiv ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x30], 0
jbe 0x649091
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
call fcn.00442a30
cmp eax, dword [ebp - 0x28]
jle 0x649091
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
call fcn.00442a30
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x64
jl 0x64909e
mov dword [ebp - 0x28], 0xffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x28]
call fcn.004444e0
mov dl, 1
mov eax, dword [ebp + 8]
call fcn.006473fc
test al, al
jne 0x64915d
jmp 0x648f0d
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00461248
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
dec ebx
sub ebx, esi
jl 0x64911a
inc ebx
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
sub al, 0x2d
je 0x6490fd
dec al
je 0x64910f
sub al, 0x31
je 0x649106
jmp 0x649116
mov eax, dword [ebp - 4]
mov byte [eax + esi], 0x2b
jmp 0x649116
mov eax, dword [ebp - 4]
mov byte [eax + esi], 0x2f
jmp 0x649116
mov eax, dword [ebp - 4]
mov byte [eax + esi], 0x3d
inc esi
dec ebx
jne 0x6490e8
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x649157
inc ebx
xor esi, esi
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
sub al, 0x2b
je 0x64913a
sub al, 4
je 0x649143
sub al, 0xe
je 0x64914c
jmp 0x649153
mov eax, dword [ebp - 4]
mov byte [eax + esi], 0x2d
jmp 0x649153
mov eax, dword [ebp - 4]
mov byte [eax + esi], 0x5f
jmp 0x649153
mov eax, dword [ebp - 4]
mov byte [eax + esi], 0x2e
inc esi
dec ebx
jne 0x649125
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc