Function at 0x10011d40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040dbb
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x1005901c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xec], eax
mov eax, dword [esi + 4]
sub eax, dword [esi]
mov dword [ebp - 0xe8], ecx
cmp dword [esi + 8], eax
jb 0x10011d9d
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
cmp dword [esi + 0x14], eax
jae 0x100121cf
mov al, byte [edi + 0x10]
test al, al
je 0x100121cf
movq xmm0, qword [esi]
xor al, al
mov ecx, dword [esi + 8]
mov dl, 1
movq qword [ebp - 0xd0], xmm0
movq xmm0, qword [esi + 0xc]
mov dword [ebp - 0xc8], ecx
mov ecx, dword [esi + 0x14]
mov byte [ebp - 0xdf], al
mov dword [ebp - 0xdc], 0x10000
mov byte [ebp - 0xde], dl
movq qword [ebp - 0xc4], xmm0
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 4], 0
mov ah, byte [edi + 0x10]
mov byte [ebp - 0xe0], ah
cmp dl, 8
jae 0x10011f09
nop word [eax + eax]
movzx ecx, al
cmp byte [ebp + ecx - 0xd9], ah
jae 0x10011f09
lea ecx, [ecx + ecx*2]
lea edx, [ebp - 0xd0]
lea edx, [edx + ecx*8]
mov ecx, dword [edx + 4]
sub ecx, dword [edx]
cmp dword [edx + 8], ecx
jb 0x10011e45
mov ecx, dword [edx + 0x10]
sub ecx, dword [edx + 0xc]
cmp dword [edx + 0x14], ecx
jae 0x10011f03
lea ecx, [eax + 1]
movzx esi, al
push dword [ebp - 0xf0]
and cl, 7
lea edx, [ebp - 0xd0]
mov byte [ebp - 0xdc], cl
movzx ecx, cl
lea eax, [esi + esi*2]
movq xmm0, qword [edx + eax*8]
lea edx, [edx + eax*8]
lea ecx, [ecx + ecx*2]
movq qword [ebp + ecx*8 - 0xd0], xmm0
mov eax, dword [edx + 8]
mov dword [ebp + ecx*8 - 0xc8], eax
movq xmm0, qword [edx + 0xc]
movq qword [ebp + ecx*8 - 0xc4], xmm0
mov eax, dword [edx + 0x14]
mov dword [ebp + ecx*8 - 0xbc], eax
lea ecx, [ebp - 0xd0]
movzx eax, byte [ebp - 0xdc]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
mov ecx, edx
push eax
call fcn.1000aec0
inc byte [ebp + esi - 0xd9]
movzx eax, byte [ebp - 0xdc]
mov cl, byte [ebp + esi - 0xd9]
mov byte [ebp + eax - 0xd9], cl
mov dl, byte [ebp - 0xda]
mov al, byte [ebp - 0xdc]
inc dl
mov byte [ebp - 0xde], dl
mov byte [ebp - 0xda], dl
mov byte [ebp - 0xdf], al
cmp dl, 8
jae 0x10011f09
mov ah, byte [ebp - 0xe0]
jmp 0x10011e10
mov dl, byte [ebp - 0xde]
mov ecx, dword [edi + 0xc]
cmp ecx, 2
jne 0x10012147
mov ecx, dword [edi]
cmp ecx, 1
ja 0x10011f5f
test ecx, ecx
je 0x10011f2e
cmp byte [edi + 0x10], 0
je 0x10011f2e
mov dword [edi], 0
jmp 0x10011f5f
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 0x5c]
add eax, 0xc
mov al, byte [eax]
test al, al
mov al, byte [ebp - 0xdc]
je 0x10012152
mov dl, byte [ebp - 0xda]
inc byte [edi + 0x10]
mov byte [ebp - 0xde], dl
mov byte [ebp - 0xdf], al
cmp dl, 1
jbe 0x10012115
push dword [ebp - 0xec]
movzx esi, byte [ebp - 0xdb]
lea eax, [ebp - 0xe4]
push 0x80
push eax
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0xe4], 0
call sub.tbb12.dll_void____cdecl_tbb::detail::r1::allocate_class_tbb::detail::d1::small_object_pool____unsigned_int__struct_tbb::detail::d1::execution_data_const__
lea ecx, [esi + esi*2]
mov dword [ebp - 0xf4], eax
lea esi, [ebp - 0xd0]
push 0x30
lea esi, [esi + ecx*8]
mov dword [eax + 8], 0
lea ecx, [eax + 0x10]
mov dword [eax + 0xc], 0
push 0
push ecx
call fcn.100263d0
mov ecx, dword [ebp - 0xf4]
xor edx, edx
push dword [ebp - 0xec]
push 0x10
mov dword [ecx], vtable.tbb::detail::d1::start_for_class_Intel::OpenCL::TaskExecutor::BlockedRangeByRow2d__struct_TaskLoopBody2D_class_Intel::OpenCL::TaskExecutor::BlockedRangeByRow2d___class_tbb::detail::d1::affinity_partitioner_.0
movq xmm0, qword [esi]
movq qword [ecx + 0x40], xmm0
mov eax, dword [esi + 8]
mov dword [ecx + 0x48], eax
movq xmm0, qword [esi + 0xc]
movq qword [ecx + 0x4c], xmm0
mov eax, dword [esi + 0x14]
mov esi, ecx
mov ecx, dword [ebp - 0xe8]
mov dword [esi + 0x54], eax
mov eax, dword [ecx + 0x58]
mov dword [esi + 0x58], eax
shr dword [ecx + 0x60], 1
mov eax, dword [ecx + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [ecx + 0x64]
add eax, dword [ecx + 0x60]
div dword [ecx + 0x68]
mov dword [esi + 0x64], edx
mov eax, dword [ecx + 0x68]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], 2
mov al, byte [ecx + 0x70]
mov byte [esi + 0x70], al
mov eax, dword [ecx + 0x74]
mov dword [esi + 0x74], eax
mov eax, dword [ebp - 0xe4]
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 0xf0]
mov al, byte [ebp + eax - 0xd9]
sub byte [esi + 0x70], al
lea eax, [ebp - 0xe4]
push eax
call sub.tbb12.dll_void____cdecl_tbb::detail::r1::allocate_class_tbb::detail::d1::small_object_pool____unsigned_int__struct_tbb::detail::d1::execution_data_const__
mov edx, dword [ebp - 0xe8]
add esp, 0x24
mov ecx, dword [edx + 0x5c]
mov dword [eax], ecx
mov dword [eax + 4], 2
mov ecx, dword [ebp - 0xe4]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], 0
mov dword [edx + 0x5c], eax
mov dword [esi + 0x5c], eax
cmp dword [esi + 0x60], 0
mov eax, dword [ebp - 0xec]
mov edx, dword [eax]
je 0x100120f1
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x74]
movzx eax, word [eax + ecx*2]
test ax, ax
jne 0x100120c9
shr ecx, 4
push ecx
push edx
push esi
call sub.tbb12.dll_void___cdecl_tbb::detail::r1::spawn_class_tbb::detail::d1::task___class_tbb::detail::d1::task_group_context___unsigned_short_int_
mov eax, dword [ebp - 0xf0]
add esp, 0xc
mov dl, byte [ebp - 0xde]
inc al
dec dl
and al, 7
mov byte [ebp - 0xdb], al
jmp 0x1001218e
push eax
push edx
push esi
call sub.tbb12.dll_void___cdecl_tbb::detail::r1::spawn_class_tbb::detail::d1::task___class_tbb::detail::d1::task_group_context___unsigned_short_int_
mov eax, dword [ebp - 0xf0]
add esp, 0xc
mov dl, byte [ebp - 0xde]
inc al
dec dl
and al, 7
mov byte [ebp - 0xdb], al
jmp 0x1001218e
push edx
push esi
call sub.tbb12.dll_void___cdecl_tbb::detail::r1::spawn_class_tbb::detail::d1::task___class_tbb::detail::d1::task_group_context__
mov eax, dword [ebp - 0xf0]
add esp, 8
mov dl, byte [ebp - 0xde]
inc al
dec dl
and al, 7
mov byte [ebp - 0xdb], al
jmp 0x1001218e
movzx esi, al
mov cl, byte [ebp + esi - 0xd9]
cmp cl, byte [edi + 0x10]
jae 0x10012152
lea ecx, [esi + esi*2]
lea esi, [ebp - 0xd0]
lea esi, [esi + ecx*8]
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
cmp dword [esi + 8], ecx
jb 0x1001219a
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
cmp dword [esi + 0x14], ecx
jb 0x1001219a
jmp 0x10012152
test ecx, ecx
jne 0x10012152
mov dword [edi + 0xc], 2
movzx eax, al
lea ecx, [ebp - 0xd0]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
mov ecx, dword [ebp - 0xe8]
push eax
add ecx, 0x58
call fcn.1000cc30
mov al, byte [ebp - 0xdc]
mov dl, byte [ebp - 0xda]
dec al
dec dl
and al, 7
mov byte [ebp - 0xdf], al
mov byte [ebp - 0xdc], al
mov byte [ebp - 0xda], dl
mov byte [ebp - 0xde], dl
test dl, dl
je 0x100121d8
mov eax, dword [ebp - 0xec]
push dword [eax]
call sub.tbb12.dll_bool___cdecl_tbb::detail::r1::is_group_execution_cancelled_class_tbb::detail::d1::task_group_context__
mov dl, byte [ebp - 0xde]
add esp, 4
test al, al
mov al, byte [ebp - 0xdf]
je 0x10011df4
mov cl, dl
dec al
and al, 7
add cl, 0xff
jne 0x100121c4
jmp 0x100121d8
push esi
add ecx, 0x58
call fcn.1000cc30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10021496
mov esp, ebp
pop ebp
ret 0xc