Function at 0x140108600
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa38
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x540], rcx
mov eax, 0x10
mov qword [rbp + 0x5c0], rax
call fcn.1401ffc50
sub rsp, rax
mov rax, qword [rbp + 0x5c0]
mov rcx, rsp
mov qword [rbp + 0x548], rcx
call fcn.1401ffc50
sub rsp, rax
mov rax, qword [rbp + 0x5c0]
mov rcx, rsp
mov qword [rbp + 0x550], rcx
call fcn.1401ffc50
sub rsp, rax
mov rax, qword [rbp + 0x5c0]
mov rcx, rsp
mov qword [rbp + 0x558], rcx
call fcn.1401ffc50
sub rsp, rax
mov rax, qword [rbp + 0x5c0]
mov rcx, rsp
mov qword [rbp + 0x560], rcx
call fcn.1401ffc50
sub rsp, rax
mov rax, qword [rbp + 0x5c0]
mov rcx, rsp
mov qword [rbp + 0x568], rcx
call fcn.1401ffc50
sub rsp, rax
mov rax, qword [rbp + 0x5c0]
mov rcx, rsp
mov qword [rbp + 0x570], rcx
call fcn.1401ffc50
sub rsp, rax
mov rax, qword [rbp + 0x5c0]
mov rcx, rsp
mov qword [rbp + 0x578], rcx
call fcn.1401ffc50
sub rsp, rax
mov rax, qword [rbp + 0x5c0]
mov rcx, rsp
mov qword [rbp + 0x580], rcx
call fcn.1401ffc50
sub rsp, rax
mov rax, qword [rbp + 0x5c0]
mov rcx, rsp
mov qword [rbp + 0x588], rcx
call fcn.1401ffc50
sub rsp, rax
mov rax, qword [rbp + 0x5c0]
mov rcx, rsp
mov qword [rbp + 0x590], rcx
call fcn.1401ffc50
sub rsp, rax
mov rax, qword [rbp + 0x5c0]
mov rcx, rsp
mov qword [rbp + 0x598], rcx
call fcn.1401ffc50
sub rsp, rax
mov rax, qword [rbp + 0x5c0]
mov rcx, rsp
mov qword [rbp + 0x5a0], rcx
call fcn.1401ffc50
sub rsp, rax
mov rax, qword [rbp + 0x5c0]
mov rcx, rsp
mov qword [rbp + 0x5a8], rcx
call fcn.1401ffc50
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x5b0], rax
mov eax, 0x20
call fcn.1401ffc50
sub rsp, rax
mov rax, qword [rbp + 0x5c0]
mov rcx, rsp
mov qword [rbp + 0x5b8], rcx
call fcn.1401ffc50
sub rsp, rax
mov rax, qword [rbp + 0x5c0]
mov rcx, rsp
mov qword [rbp + 0x5c8], rcx
call fcn.1401ffc50
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x5d0], rax
sub rsp, 0x20
call fcn.140110d90
add rsp, 0x20
mov qword [rbp + 0x608], rax
add rax, 0x50
mov qword [rbp + 0x5d8], rax
mov ecx, 0x38
mov edx, 8
sub rsp, 0x20
call fcn.140014320
add rsp, 0x20
mov qword [rbp + 0x5e0], rax
movabs rax, 0x485d538fec5f8242
movabs rcx, 0x485d538fec5f8242
xor rax, rcx
mov qword [rbp + 0x9a0], rax
lea rax, [rbp + 0x9a0]
add rax, 8
mov qword [rbp + 0x5e8], rax
mov qword [rbp + 0x9a8], 0
mov qword [rbp + 0x990], 0
lea rax, [rbp + 0x990]
add rax, 8
mov qword [rbp + 0x5f0], rax
mov qword [rbp + 0x998], 0
mov qword [rbp + 0x980], 0
lea rax, [rbp + 0x980]
add rax, 8
mov qword [rbp + 0x5f8], rax
mov qword [rbp + 0x988], 0
mov qword [rbp + 0x970], 0
lea rax, [rbp + 0x970]
add rax, 8
mov qword [rbp + 0x600], rax
mov qword [rbp + 0x978], 0
mov word [rbp + 0x96e], 4
lea rcx, [rbp + 0x96e]
sub rsp, 0x20
call fcn.140065e50
add rsp, 0x20
mov rcx, rax
mov rax, qword [rbp + 0x608]
mov qword [rbp + 0x610], rcx
mov cl, byte [rax + 0x50]
mov dl, 0xc0
xor dl, 0xc0
xor eax, eax
mov qword [rbp + 0x618], rax
cmp cl, dl
mov rcx, rax
mov qword [rbp + 0x620], rcx
mov rcx, rax
mov qword [rbp + 0x628], rcx
mov rcx, rax
mov qword [rbp + 0x630], rcx
mov rcx, rax
mov qword [rbp + 0x638], rcx
mov rcx, rax
mov qword [rbp + 0x640], rcx
mov rcx, rax
mov qword [rbp + 0x648], rcx
mov rcx, rax
mov qword [rbp + 0x650], rcx
mov rcx, rax
mov qword [rbp + 0x658], rcx
mov rcx, rax
mov qword [rbp + 0x660], rcx
mov rcx, rax
mov qword [rbp + 0x668], rcx
mov rcx, rax
mov qword [rbp + 0x670], rcx
mov rcx, rax
mov qword [rbp + 0x678], rcx
mov rcx, rax
mov qword [rbp + 0x680], rcx
mov qword [rbp + 0x688], rax
jne 0x14010f60d
mov rcx, qword [rbp + 0x558]
mov r8, qword [rbp + 0x560]
mov rax, qword [rbp + 0x610]
mov rdx, qword [rbp + 0x540]
mov r9, rdx
add r9, 0x80
mov qword [rbp + 0x520], r9
mov r9, qword [rdx + 0x80]
mov qword [rbp + 0x950], r9
mov rdx, qword [rdx + 0x88]
mov qword [rbp + 0x958], rdx
mov rdx, qword [rax]
mov qword [r8], rdx
mov rax, qword [rax + 8]
mov qword [r8 + 8], rax
lea rdx, [rbp + 0x950]
sub rsp, 0x20
call fcn.1400f6b20
mov rcx, qword [rbp + 0x558]
mov rax, qword [rbp + 0x5d8]
add rsp, 0x20
mov rdx, qword [rcx]
mov qword [rbp + 0x528], rdx
mov rcx, qword [rcx + 8]
mov qword [rbp + 0x530], rcx
mov dl, byte [rax]
mov r8b, 0x92
xor r8b, 0x92
xor eax, eax
mov qword [rbp + 0x538], rax
cmp dl, r8b
mov rdx, rax
mov qword [rbp + 0x620], rdx
mov rdx, rax
mov qword [rbp + 0x628], rdx
mov rdx, rax
mov qword [rbp + 0x630], rdx
mov rdx, rax
mov qword [rbp + 0x638], rdx
mov qword [rbp + 0x640], rcx
mov rcx, rax
mov qword [rbp + 0x648], rcx
mov rcx, rax
mov qword [rbp + 0x650], rcx
mov rcx, rax
mov qword [rbp + 0x658], rcx
mov rcx, rax
mov qword [rbp + 0x660], rcx
mov rcx, rax
mov qword [rbp + 0x668], rcx
mov rcx, rax
mov qword [rbp + 0x670], rcx
mov rcx, rax
mov qword [rbp + 0x678], rcx
mov rcx, rax
mov qword [rbp + 0x680], rcx
mov qword [rbp + 0x688], rax
jne 0x14010f60d
mov rax, qword [rbp + 0x530]
mov rcx, qword [rbp + 0x528]
mov qword [rbp + 0x930], rcx
mov qword [rbp + 0x938], rax
lea rcx, [rbp + 0x940]
lea rdx, [rbp + 0x930]
sub rsp, 0x20
call fcn.140107b20
mov r8, qword [rbp + 0x5d8]
mov rcx, qword [rbp + 0x530]
add rsp, 0x20
mov rax, qword [rbp + 0x940]
mov qword [rbp + 0x508], rax
mov rdx, qword [rbp + 0x948]
mov qword [rbp + 0x510], rdx
xor eax, eax
mov qword [rbp + 0x518], rax
cmp byte [r8], 0
mov r8, rax
mov qword [rbp + 0x620], r8
mov r8, rax
mov qword [rbp + 0x628], r8
mov r8, rax
mov qword [rbp + 0x630], r8
mov qword [rbp + 0x638], rdx
mov qword [rbp + 0x640], rcx
mov rcx, rax
mov qword [rbp + 0x648], rcx
mov rcx, rax
mov qword [rbp + 0x650], rcx
mov rcx, rax
mov qword [rbp + 0x658], rcx
mov rcx, rax
mov qword [rbp + 0x660], rcx
mov rcx, rax
mov qword [rbp + 0x668], rcx
mov rcx, rax
mov qword [rbp + 0x670], rcx
mov rcx, rax
mov qword [rbp + 0x678], rcx
mov rcx, rax
mov qword [rbp + 0x680], rcx
mov qword [rbp + 0x688], rax
jne 0x14010f60d
sub rsp, 0x20
call fcn.1400a6382
mov rcx, qword [rbp + 0x5d8]
add rsp, 0x20
mov cl, byte [rcx]
xor al, 1
test cl, cl
movzx ecx, al
mov eax, ecx
lea ecx, [rax + rax*2]
mov eax, 2
cmove eax, ecx
mov dword [rbp + 0x4ec], eax
xor ecx, ecx
mov qword [rbp + 0x4f0], rcx
mov qword [rbp + 0x4f8], rcx
test eax, eax
mov dword [rbp + 0x504], eax
je 0x140108cdd
jmp 0x140108c07
mov rax, qword [rbp + 0x4f0]
mov rcx, qword [rbp + 0x4f8]
mov rdx, qword [rbp + 0x530]
mov r8, qword [rbp + 0x510]
mov r9d, dword [rbp + 0x4ec]
sub r9d, 2
mov r9, rcx
mov qword [rbp + 0x620], r9
mov r9, rcx
mov qword [rbp + 0x628], r9
mov r9, rcx
mov qword [rbp + 0x630], r9
mov qword [rbp + 0x638], r8
mov qword [rbp + 0x640], rdx
mov rdx, rcx
mov qword [rbp + 0x648], rdx
mov rdx, rcx
mov qword [rbp + 0x650], rdx
mov rdx, rcx
mov qword [rbp + 0x658], rdx
mov rdx, rcx
mov qword [rbp + 0x660], rdx
mov rdx, rcx
mov qword [rbp + 0x668], rdx
mov rdx, rcx
mov qword [rbp + 0x670], rdx
mov rdx, rcx
mov qword [rbp + 0x678], rdx
mov qword [rbp + 0x680], rcx
mov qword [rbp + 0x688], rax
je 0x14010f60d
jmp 0x140108cb9
mov eax, dword [rbp + 0x4ec]
sub eax, 3
jne 0x140110537
jmp 0x140108ccd
mov eax, 4
mov dword [rbp + 0x504], eax
jmp 0x140108cdd
mov rax, qword [rbp + 0x508]
mov ecx, dword [rbp + 0x504]
mov dword [rbp + 0x4e8], ecx
cmp rax, 1
jge 0x140108dba
mov rdx, qword [rbp + 0x508]
xor eax, eax
sub rax, 0xffffffffffffffff
sub rdx, rax
xor eax, eax
mov ecx, eax
sub rsp, 0x20
call fcn.140014583
mov rdx, qword [rbp + 0x510]
mov rcx, qword [rbp + 0x530]
add rsp, 0x20
xor eax, eax
mov qword [rbp + 0x4e0], rax
mov r8, rax
mov qword [rbp + 0x620], r8
mov r8, rax
mov qword [rbp + 0x628], r8
mov r8, rax
mov qword [rbp + 0x630], r8
mov qword [rbp + 0x638], rdx
mov qword [rbp + 0x640], rcx
mov rcx, rax
mov qword [rbp + 0x648], rcx
mov rcx, rax
mov qword [rbp + 0x650], rcx
mov rcx, rax
mov qword [rbp + 0x658], rcx
mov rcx, rax
mov qword [rbp + 0x660], rcx
mov rcx, rax
mov qword [rbp + 0x668], rcx
mov rcx, rax
mov qword [rbp + 0x670], rcx
mov rcx, rax
mov qword [rbp + 0x678], rcx
mov rcx, rax
mov qword [rbp + 0x680], rcx
mov qword [rbp + 0x688], rax
jmp 0x14010f60d
mov rcx, qword [rbp + 0x510]
mov edx, dword [rbp + 0x4e8]
add rcx, 8
xor eax, eax
mov r9d, eax
xor eax, eax
sub rsp, 0x30
mov r8, r9
mov dword [rsp + 0x20], 0
call fcn.1400b1d50
mov rdx, qword [rbp + 0x510]
mov rcx, qword [rbp + 0x530]
add rsp, 0x30
mov r8, rax
mov rax, qword [rbp + 0x5d8]
mov qword [rbp + 0x4d0], r8
mov r9b, byte [rax]
mov r10b, 0x2e
xor r10b, 0x2e
xor eax, eax
mov qword [rbp + 0x4d8], rax
cmp r9b, r10b
mov qword [rbp + 0x620], r8
mov r8, rax
mov qword [rbp + 0x628], r8
mov r8, rax
mov qword [rbp + 0x630], r8
mov qword [rbp + 0x638], rdx
mov qword [rbp + 0x640], rcx
mov rcx, rax
mov qword [rbp + 0x648], rcx
mov rcx, rax
mov qword [rbp + 0x650], rcx
mov rcx, rax
mov qword [rbp + 0x658], rcx
mov rcx, rax
mov qword [rbp + 0x660], rcx
mov rcx, rax
mov qword [rbp + 0x668], rcx
mov rcx, rax
mov qword [rbp + 0x670], rcx
mov rcx, rax
mov qword [rbp + 0x678], rcx
mov rcx, rax
mov qword [rbp + 0x680], rcx
mov qword [rbp + 0x688], rax
jne 0x14010f60d
mov rax, qword [rbp + 0x4d0]
cmp rax, 0
jne 0x140108ff1
movabs rcx, 0xecb925f50c6df5f1
movabs rax, 0xecb925f50c6df5b1
xor rcx, rax
movabs rdx, 0xf625cd0faefde4f0
movabs rax, 0xf625cd0faefde4f8
xor rdx, rax
sub rsp, 0x20
call fcn.140014320
add rsp, 0x20
mov rcx, rax
mov rax, qword [0x140216ea0]
mov qword [rcx], rax
lea rax, [0x140215d48]
mov qword [rcx + 0x10], rax
mov rax, qword [0x140215d80]
mov qword [rcx + 0x18], rax
mov rax, qword [0x140215d88]
mov qword [rcx + 0x20], rax
mov qword [rcx + 8], 0
lea rdx, [0x140215d48]
lea r8, [0x140215d53]
lea r9, [0x140215d61]
sub rsp, 0x30
mov qword [rsp + 0x20], 0xffffffffd76075bb
call fcn.1400139e0
mov rdx, qword [rbp + 0x510]
mov rcx, qword [rbp + 0x530]
add rsp, 0x30
xor eax, eax
mov qword [rbp + 0x4c8], rax
mov r8, rax
mov qword [rbp + 0x620], r8
mov r8, rax
mov qword [rbp + 0x628], r8
mov r8, rax
mov qword [rbp + 0x630], r8
mov qword [rbp + 0x638], rdx
mov qword [rbp + 0x640], rcx
mov rcx, rax
mov qword [rbp + 0x648], rcx
mov rcx, rax
mov qword [rbp + 0x650], rcx
mov rcx, rax
mov qword [rbp + 0x658], rcx
mov rcx, rax
mov qword [rbp + 0x660], rcx
mov rcx, rax
mov qword [rbp + 0x668], rcx
mov rcx, rax
mov qword [rbp + 0x670], rcx
mov rcx, rax
mov qword [rbp + 0x678], rcx
mov rcx, rax
mov qword [rbp + 0x680], rcx
mov qword [rbp + 0x688], rax
jmp 0x14010f60d
mov rcx, qword [rbp + 0x4d0]
mov rax, qword [rbp + 0x540]
movss xmm0, dword [0x140215d30]
mulss xmm0, dword [rax + 0x90]
cvttss2si eax, xmm0
sub rsp, 0x30
mov edx, eax
mov r8d, eax
mov r9d, eax
mov dword [rsp + 0x20], eax
and al, 0x20