Function at 0x100066c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov r8, qword [0x100458e0]
mov rbx, rcx
mov r12, rdx
test r8, r8
je 0x10006704
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006704
mov r8, qword [0x100458e0]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
xor esi, esi
cmp dword [rbx + 0x818c], esi
jle 0x1000674b
mov r8, qword [rbx + rsi*8 + 0x110]
test r8, r8
je 0x10006746
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006746
mov r8, qword [rbx + rsi*8 + 0x110]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
inc rsi
jmp 0x10006706
mov r8, qword [rbx + 0x2110]
test r8, r8
je 0x10006781
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006781
mov r8, qword [rbx + 0x2110]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x2118]
test r8, r8
je 0x100067b7
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x100067b7
mov r8, qword [rbx + 0x2118]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x2120]
test r8, r8
je 0x100067ed
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x100067ed
mov r8, qword [rbx + 0x2120]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x2128]
test r8, r8
je 0x10006823
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006823
mov r8, qword [rbx + 0x2128]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x2130]
test r8, r8
je 0x10006859
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006859
mov r8, qword [rbx + 0x2130]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x2138]
test r8, r8
je 0x1000688f
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x1000688f
mov r8, qword [rbx + 0x2138]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
xor esi, esi
cmp dword [rbx + 0x8190], esi
jle 0x100068d6
mov r8, qword [rbx + rsi*8 + 0x2140]
test r8, r8
je 0x100068d1
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x100068d1
mov r8, qword [rbx + rsi*8 + 0x2140]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
inc rsi
jmp 0x10006891
xor esi, esi
cmp dword [rbx + 0x8194], esi
jle 0x1000691d
mov r8, qword [rbx + rsi*8 + 0x4140]
test r8, r8
je 0x10006918
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006918
mov r8, qword [rbx + rsi*8 + 0x4140]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
inc rsi
jmp 0x100068d8
xor esi, esi
cmp dword [rbx + 0x8198], esi
jle 0x10006964
mov r8, qword [rbx + rsi*8 + 0x6140]
test r8, r8
je 0x1000695f
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x1000695f
mov r8, qword [rbx + rsi*8 + 0x6140]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
inc rsi
jmp 0x1000691f
mov r8, qword [rbx + 0x8140]
test r8, r8
je 0x1000699a
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x1000699a
mov r8, qword [rbx + 0x8140]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x8148]
test r8, r8
je 0x100069d0
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x100069d0
mov r8, qword [rbx + 0x8148]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x8150]
test r8, r8
je 0x10006a06
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006a06
mov r8, qword [rbx + 0x8150]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x8158]
test r8, r8
je 0x10006a3c
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006a3c
mov r8, qword [rbx + 0x8158]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x81d8]
test r8, r8
je 0x10006a72
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006a72
mov r8, qword [rbx + 0x81d8]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
xor esi, esi
mov r8, qword [rbx + rsi + 0x81e0]
test r8, r8
je 0x10006aac
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006aac
mov r8, qword [rbx + rsi + 0x81e0]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + rsi + 0xa1e0]
test r8, r8
je 0x10006ae4
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006ae4
mov r8, qword [rbx + rsi + 0xa1e0]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
add rsi, 8
cmp rsi, 0x2000
jne 0x10006a74
mov r8, qword [rbx + 0xc1e0]
test r8, r8
je 0x10006b27
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006b27
mov r8, qword [rbx + 0xc1e0]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0xc1e8]
test r8, r8
je 0x10006b5d
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006b5d
mov r8, qword [rbx + 0xc1e8]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0xc1f0]
test r8, r8
je 0x10006b93
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006b93
mov r8, qword [rbx + 0xc1f0]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0xc1f8]
test r8, r8
je 0x10006bc9
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006bc9
mov r8, qword [rbx + 0xc1f8]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0xc200]
test r8, r8
je 0x10006bff
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006bff
mov r8, qword [rbx + 0xc200]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0xc208]
test r8, r8
je 0x10006c35
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006c35
mov r8, qword [rbx + 0xc208]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0xc210]
test r8, r8
je 0x10006c6b
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006c6b
mov r8, qword [rbx + 0xc210]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
xor esi, esi
cmp dword [rbx + 0xc288], esi
jle 0x10006cb2
mov r8, qword [rbx + rsi*8 + 0xc218]
test r8, r8
je 0x10006cad
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006cad
mov r8, qword [rbx + rsi*8 + 0xc218]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
inc rsi
jmp 0x10006c6d
xor esi, esi
mov r8, qword [rbx + rsi + 0xe2a8]
test r8, r8
je 0x10006cec
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006cec
mov r8, qword [rbx + rsi + 0xe2a8]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
add rsi, 8
cmp rsi, 0x2000
jne 0x10006cb4
mov r8, qword [rbx + 0x102b0]
test r8, r8
je 0x10006d2f
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006d2f
mov r8, qword [rbx + 0x102b0]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x102b8]
test r8, r8
je 0x10006d65
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006d65
mov r8, qword [rbx + 0x102b8]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x102c0]
test r8, r8
je 0x10006d9b
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006d9b
mov r8, qword [rbx + 0x102c0]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x102c8]
test r8, r8
je 0x10006dd1
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006dd1
mov r8, qword [rbx + 0x102c8]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x102d0]
test r8, r8
je 0x10006e07
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006e07
mov r8, qword [rbx + 0x102d0]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x102d8]
test r8, r8
je 0x10006e3d
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006e3d
mov r8, qword [rbx + 0x102d8]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x10300]
test r8, r8
je 0x10006e73
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006e73
mov r8, qword [rbx + 0x10300]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x10308]
test r8, r8
je 0x10006ea9
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006ea9
mov r8, qword [rbx + 0x10308]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x10310]
test r8, r8
je 0x10006edf
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006edf
mov r8, qword [rbx + 0x10310]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x10318]
test r8, r8
je 0x10006f15
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006f15
mov r8, qword [rbx + 0x10318]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x10320]
test r8, r8
je 0x10006f4b
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006f4b
mov r8, qword [rbx + 0x10320]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x10328]
test r8, r8
je 0x10006f81
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006f81
mov r8, qword [rbx + 0x10328]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x10330]
test r8, r8
je 0x10006fb7
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006fb7
mov r8, qword [rbx + 0x10330]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x10338]
test r8, r8
je 0x10006fed
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10006fed
mov r8, qword [rbx + 0x10338]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x10340]
test r8, r8
je 0x10007023
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10007023
mov r8, qword [rbx + 0x10340]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x10348]
test r8, r8
je 0x10007059
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10007059
mov r8, qword [rbx + 0x10348]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x10350]
test r8, r8
je 0x1000708f
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x1000708f
mov r8, qword [rbx + 0x10350]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x10358]
test r8, r8
je 0x100070c5
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x100070c5
mov r8, qword [rbx + 0x10358]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x10360]
test r8, r8
je 0x100070fb
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x100070fb
mov r8, qword [rbx + 0x10360]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x10368]
test r8, r8
je 0x10007131
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10007131
mov r8, qword [rbx + 0x10368]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x10370]
test r8, r8
je 0x10007167
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x10007167
mov r8, qword [rbx + 0x10370]
mov edx, 0x10
mov rcx, r12
call fcn.10002a10
mov r8, qword [rbx + 0x10378]
test r8, r8
je 0x100071a5
mov rcx, qword [0x10046828]
xor edx, edx
call qword [0x10048ad8]
mov r9d, eax
test eax, eax
je 0x100071a5
mov r8, qword [rbx + 0x10378]
mov edx, 0x10
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp fcn.10002a10
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret