Function at 0x6b066d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
cmp dword [ebp - 0x2c], 0
setne al
movzx eax, al
test eax, eax
jne 0x6b06dc
mov dword [esp], str.src_lib_container_smartlist.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x7919d5
mov dword [esp + 8], str.smartlist_bsearch_idx
mov dword [esp + 4], 0x1b2
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
cmp dword [ebp - 0x34], 0
setne al
movzx eax, al
test eax, eax
jne 0x6b0723
mov dword [esp], str.src_lib_container_smartlist.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.compare
mov dword [esp + 8], str.smartlist_bsearch_idx
mov dword [esp + 4], 0x1b3
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
cmp dword [ebp - 0x38], 0
setne al
movzx eax, al
test eax, eax
jne 0x6b076a
mov dword [esp], str.src_lib_container_smartlist.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.found_out
mov dword [esp + 8], str.smartlist_bsearch_idx
mov dword [esp + 4], 0x1b4
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x6b078c
mov eax, dword [ebp - 0x38]
mov dword [eax], 0
mov eax, 0
jmp 0x6b0bfa
cmp dword [ebp - 0x1c], 0
setg al
movzx eax, al
test eax, eax
jne 0x6b07d3
mov dword [esp], str.src_lib_container_smartlist.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.len___0
mov dword [esp + 8], str.smartlist_bsearch_idx
mov dword [esp + 4], 0x1c0
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
sub eax, 1
mov dword [ebp - 0x24], eax
jmp 0x6b0997
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov edx, eax
mov eax, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
shl edx, 2
add eax, edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
call eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x6b083d
mov eax, dword [ebp - 0x38]
mov dword [eax], 1
mov eax, dword [ebp - 0x10]
jmp 0x6b0bfa
cmp dword [ebp - 0x18], 0
jle 0x6b089a
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
setl al
movzx eax, al
test eax, eax
jne 0x6b088c
mov dword [esp], str.src_lib_container_smartlist.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.mid___len
mov dword [esp + 8], str.smartlist_bsearch_idx
mov dword [esp + 4], 0x1e8
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x6b0997
mov eax, dword [ebp - 0x18]
shr eax, 0x1f
movzx eax, al
test eax, eax
jne 0x6b08e0
mov dword [esp], str.src_lib_container_smartlist.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x791a0c
mov dword [esp + 8], str.smartlist_bsearch_idx
mov dword [esp + 4], 0x1ed
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
cmp dword [ebp - 0x10], 0
jle 0x6b08f4
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x24], eax
jmp 0x6b0997
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
sete al
movzx eax, al
test eax, eax
jne 0x6b093d
mov dword [esp], str.src_lib_container_smartlist.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.mid__lo
mov dword [esp + 8], str.smartlist_bsearch_idx
mov dword [esp + 4], 0x1f9
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
cmp dword [ebp - 0x10], 0
sete al
movzx eax, al
test eax, eax
jne 0x6b0984
mov dword [esp], str.src_lib_container_smartlist.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.mid__0
mov dword [esp + 8], str.smartlist_bsearch_idx
mov dword [esp + 4], 0x1fa
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
mov eax, dword [ebp - 0x38]
mov dword [eax], 0
mov eax, 0
jmp 0x6b0bfa
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jle 0x6b07e8
mov eax, dword [ebp - 0x24]
add eax, 1
cmp dword [ebp - 0x20], eax
sete al
movzx eax, al
test eax, eax
jne 0x6b09ef
mov dword [esp], str.src_lib_container_smartlist.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.lo__hi__1
mov dword [esp + 8], str.smartlist_bsearch_idx
mov dword [esp + 4], 0x209
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
mov eax, dword [ebp - 0x20]
not eax
shr eax, 0x1f
movzx eax, al
test eax, eax
jne 0x6b0a37
mov dword [esp], str.src_lib_container_smartlist.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.lo___0
mov dword [esp + 8], str.smartlist_bsearch_idx
mov dword [esp + 4], 0x20a
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
setle al
movzx eax, al
test eax, eax
jne 0x6b0a80
mov dword [esp], str.src_lib_container_smartlist.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.lo___len
mov dword [esp + 8], str.smartlist_bsearch_idx
mov dword [esp + 4], 0x20b
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
mov eax, dword [ebp - 0x24]
not eax
shr eax, 0x1f
movzx eax, al
test eax, eax
jne 0x6b0ac8
mov dword [esp], str.src_lib_container_smartlist.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.hi___0
mov dword [esp + 8], str.smartlist_bsearch_idx
mov dword [esp + 4], 0x20c
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x1c]
setle al
movzx eax, al
test eax, eax
jne 0x6b0b11
mov dword [esp], str.src_lib_container_smartlist.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.hi___len
mov dword [esp + 8], str.smartlist_bsearch_idx
mov dword [esp + 4], 0x20d
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
jge 0x6b0b82
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
shl edx, 2
add eax, edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
call eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
shr eax, 0x1f
movzx eax, al
test eax, eax
jne 0x6b0bee
mov dword [esp], str.src_lib_container_smartlist.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x791a0c
mov dword [esp + 8], str.smartlist_bsearch_idx
mov dword [esp + 4], 0x211
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x1c]
add edx, 0x3fffffff
shl edx, 2
add eax, edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
call eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
setg al
movzx eax, al
test eax, eax
jne 0x6b0bee
mov dword [esp], str.src_lib_container_smartlist.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.cmp___0
mov dword [esp + 8], str.smartlist_bsearch_idx
mov dword [esp + 4], 0x214
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
mov eax, dword [ebp - 0x38]
mov dword [eax], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x6b0c0a
call sub.libssp_0.dll___stack_chk_fail
leave
ret