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

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov al, 0x4f
mov qword [rsp + 0xa0], 0x5d9695c
mov dword [rsp + 0x88], 0x5a5ae708
mov byte [rsp + 0x57], 0xec
mov r10b, byte [rsp + 0x57]
mov r11b, 0x4a
mov byte [rsp + 0x47], al
mov al, r10b
mul r11b
mov rsi, qword [rsp + 0x98]
mov byte [rsp + 0x97], al
mov dword [rsp + 0x84], 0x1f8b43a
mov byte [rsp + 0x97], 0xea
mov qword [rsp + 0x70], 0xc2a875e
mov dword [rsp + 0x90], 0x4a1da7ac
mov dword [rsp + 0x80], 0x790b7ada
mov di, word [rsp + 0x8e]
mov dword [rsp + 0x50], 0x1220dfd4
mov al, byte [rsp + 0x47]
cmp al, r10b
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x34], r9d
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rcx
mov byte [rsp + 0x1f], r10b
mov qword [rsp + 0x10], rsi
mov word [rsp + 0xe], di
jbe 0x1400017ee
mov eax, 0x100
mov cx, 0xa581
mov edx, dword [rsp + 0x90]
mov r8d, dword [rsp + 0x80]
mov r9d, dword [rsp + 0x50]
mov dword [rsp + 0x90], edx
mov r10, qword [rsp + 0x10]
and r10, 0x1579b65e
mov r11, qword [rsp + 0x70]
mov qword [rsp + 0x98], r10
mov qword [rsp + 0x78], r11
mov bl, byte [rsp + 0x1f]
and bl, 0x68
mov edx, dword [rsp + 0x84]
mov byte [rsp + 0x97], bl
add r8d, 1
mov qword [rsp + 0x98], 0xffffffffc5f33079
mov dword [rsp + 8], eax
mov eax, r8d
mov dword [rsp + 4], edx
cdq
mov r8d, dword [rsp + 8]
idiv r8d
mov dword [rsp + 0x6c], edx
mov si, word [rsp + 0xe]
sub cx, si
mov edx, dword [rsp + 0x6c]
mov word [rsp + 0x8e], cx
movsxd r10, edx
mov r11, qword [rsp + 0x20]
add r11, r10
mov qword [rsp + 0x48], r11
mov edx, dword [rsp + 0x90]
or edx, 0x22df69d
mov r10, qword [rsp + 0x48]
mov bl, byte [r10]
movzx edi, bl
mov dword [rsp + 0x90], edx
mov dword [rsp + 0x68], edi
add r9d, dword [rsp + 0x68]
mov bpl, byte [rsp + 0x1f]
add bpl, bpl
mov byte [rsp + 0x97], bpl
mov eax, r9d
cdq
idiv r8d
xor si, 0x185a
mov word [rsp + 0x8e], si
mov dword [rsp + 0x64], edx
movsxd r10, dword [rsp + 0x64]
mov byte [rsp + 0x97], 0xda
mov bpl, byte [rsp + 0x1f]
add bpl, 3
mov byte [rsp + 0x97], bpl
mov r11, qword [rsp + 0x48]
mov r14, qword [rsp + 0x20]
mov bpl, byte [r14 + r10]
mov byte [r11], bpl
mov byte [r14 + r10], bl
mov qword [rsp + 0x70], 0xbb0375d
mov dword [rsp + 0x80], 0x2a586c7f
mov dword [rsp + 0x50], 0x53fac763
mov edx, dword [rsp + 4]
cmp edx, 0x78577dc9
jae 0x14000155e
mov rax, qword [rsp + 0x10]
sub rax, 0x201f415e
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
mov dl, byte [rsp + 0x1f]
or dl, dl
mov r8d, dword [rsp + 0x68]
mov byte [rsp + 0x97], dl
add ecx, r8d
and ecx, 0xff
mov byte [rsp + 0x97], 0xc0
mov r9w, word [rsp + 0xe]
or r9w, r9w
mov rax, qword [rsp + 0x78]
mov r10, qword [rsp + 0x28]
mov dl, byte [r10 + rax]
mov word [rsp + 0x8e], r9w
mov ecx, ecx
mov eax, ecx
mov r11, qword [rsp + 0x20]
xor dl, byte [r11 + rax]
mov rax, qword [rsp + 0x10]
xor rax, rax
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x10]
add rsi, 0x58f12a6e
mov qword [rsp + 0x98], rsi
mov rsi, qword [rsp + 0x38]
mov byte [rsi + rax], dl
mov rax, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x78]
add rdi, 1
mov qword [rsp + 0x70], rdi
mov ecx, dword [rsp + 0x6c]
mov dword [rsp + 0x80], ecx
mov word [rsp + 0x8e], 0xce35
mov dword [rsp + 0x8e], 0x4c8bce35
and al, 0x64
mov dword [rsp + 0x50], ecx
mov rbx, qword [rsp + 0x10]
and rbx, 0x7a367ee9
mov qword [rsp + 0x98], rbx
cmp rdi, rax
je 0x140001814
jmp 0x14000155e
mov eax, 0x5d9695c
mov ecx, eax
mov rdx, qword [rsp + 0xa0]
mov r8w, word [rsp + 0xe]
imul r9w, r8w, 0xc451
sub rcx, rdx
mov eax, dword [rsp + 0x34]
mov r10d, eax
mov edx, r10d
mov word [rsp + 0x8e], r9w
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x50], 0
jmp 0x14000155e
mov rax, qword [rsp + 0x10]
xor rax, 0xffffffffffffffff
mov ecx, dword [rsp + 0x88]
mov qword [rsp + 0x98], rax
add ecx, 0xa5a518f8
mov edx, dword [rsp + 0x34]
cmp edx, ecx
jne 0x14000179b
mov al, byte [rsp + 0x1f]
mov byte [rsp + 0x97], al
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret