Function at 0x140006d00
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x128
mov qword [rsp + 0x120], r9
mov r14, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x20], 2
lea r9, [0x14003e870]
lea rcx, [rsp + 0x88]
call fcn.1400124b0
mov rdx, qword [rsp + 0xd8]
mov r8, qword [rsp + 0x90]
cmp r8, rdx
sete r10b
cmp qword [rsp + 0x88], 0
mov rcx, qword [rsp + 0xd0]
je 0x140007036
mov r10, qword [rsp + 0xb0]
mov rax, r14
cmp r10, rdx
je 0x14000713b
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x38], rdi
mov r9, qword [rsp + 0xe8]
lea rax, [r9 - 1]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x48], rax
mov r15, qword [rsp + 0xe0]
mov r11, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xa0]
mov rdi, r9
mov rax, rsi
mov qword [rsp + 0x118], rsi
sub rdi, rsi
mov qword [rsp + 0x108], rdi
lea rax, [r8 - 1]
mov qword [rsp + 0x110], rax
cmp rax, r9
setb byte [rsp + 0x37]
mov rax, r10
sub rax, r8
mov qword [rsp + 0x68], rax
lea rbp, [rcx + r10]
mov qword [rsp + 0x60], rcx
lea r12, [rcx + r8]
lea r14, [r15 + r8]
lea rdi, [r10 - 1]
mov rax, r10
mov rcx, qword [rsp + 0x40]
add r10, rcx
cmp r10, rdx
jae 0x140007131
mov rcx, qword [rsp + 0x118]
add rcx, rax
mov qword [rsp + 0x70], rcx
lea rsi, [rax + r9]
cmp r11, 0xffffffffffffffff
mov qword [rsp + 0x58], rsi
je 0x140006f40
mov rsi, rax
jmp 0x140006e6a
xor r11d, r11d
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
lea r10, [rsi + rcx]
cmp r10, rdx
jae 0x140007131
cmp rax, rsi
jne 0x140007131
mov rcx, qword [rsp + 0x60]
movzx r10d, byte [rcx + r10]
mov rcx, qword [rsp + 0x48]
bt rcx, r10
jae 0x140006e50
cmp r8, r11
mov r10, r11
cmova r10, r8
nop word cs:[rax + rax]
cmp r10, r9
jae 0x140006ed0
lea rsi, [rax + r10]
cmp rsi, rdx
jae 0x1400078de
lea rsi, [r10 + 1]
movzx r13d, byte [r15 + r10]
cmp r13b, byte [rbp + r10]
mov r10, rsi
je 0x140006ea0
add rsi, qword [rsp + 0x68]
xor r11d, r11d
jmp 0x140006e58
mov r10, qword [rsp + 0x110]
nop dword [rax + rax]
lea rsi, [r10 + 1]
cmp r11, rsi
jae 0x140006f30
cmp r10, r9
jae 0x1400078de
lea rsi, [rax + r10]
cmp rsi, rdx
jae 0x1400078de
movzx esi, byte [r15 + r10]
lea r13, [r10 - 1]
cmp sil, byte [rbp + r10]
mov r10, r13
je 0x140006ee0
mov r11, qword [rsp + 0x108]
mov rsi, qword [rsp + 0x70]
jmp 0x140006e58
xor r11d, r11d
jmp 0x140007007
mov r11, rax
jmp 0x140006f67
mov rcx, qword [rsp + 0x40]
lea r10, [r11 + rcx]
cmp r10, rdx
mov rsi, qword [rsp + 0x58]
jae 0x140007131
cmp rax, r11
jne 0x140007131
mov rcx, qword [rsp + 0x60]
movzx r10d, byte [rcx + r10]
mov rcx, qword [rsp + 0x48]
bt rcx, r10
mov r11, rsi
jae 0x140006f50
xor r10d, r10d
mov rsi, rax
nop
lea r11, [r8 + r10]
cmp r11, r9
jae 0x140006fc0
lea r11, [r8 + rsi]
cmp r11, rdx
jae 0x1400078de
movzx r13d, byte [r14 + r10]
lea r11, [rsi + 1]
inc r10
cmp r13b, byte [r12 + rsi]
mov rsi, r11
je 0x140006f90
jmp 0x140006f50
test byte [rsp + 0x37], 1
je 0x140007025
mov r11, r8
mov r10, r8
nop dword [rax]
sub r10, 1
jb 0x140007000
lea rsi, [rdi + r11]
cmp rsi, rdx
jae 0x1400078de
movzx esi, byte [r15 + r11 - 1]
cmp sil, byte [rbp + r11 - 1]
mov r11, r10
je 0x140006fd0
mov r11, qword [rsp + 0x70]
jmp 0x140006f50
mov r11, 0xffffffffffffffff
add qword [rsp + 0x68], r9
add rbp, r9
add rdi, r9
mov r10, qword [rsp + 0x58]
cmp r10, rdx
jne 0x140006e10
jmp 0x14000785b
mov r11, 0xffffffffffffffff
test r8, r8
je 0x140007007
jmp 0x1400078de
cmp byte [rsp + 0xa2], 0
mov rax, r14
jne 0x14000713b
movzx r9d, byte [rsp + 0xa0]
test r10b, 1
je 0x1400070b1
test r8, r8
je 0x14000782d
cmp r8, rdx
jae 0x14000786d
cmp byte [rcx + r8], 0xc0
jl 0x1400078e0
mov rax, r14
test r9b, r9b
je 0x14000713b
nop
xor r9b, 1
jne 0x140007080
jmp 0x140007886
movzx r10d, byte [rcx + r8]
test r10b, r10b
js 0x1400070d3
movzx eax, r10b
mov r10d, r9d
xor r10b, 1
test r9b, r9b
mov r9d, r10d
je 0x1400074fc
test r8, r8
je 0x140007090
cmp r8, rdx
jae 0x1400078e0
movzx r10d, byte [rcx + r8]
cmp r10b, 0xbf
jle 0x1400078e0
test r10b, r10b
jns 0x14000709a
mov eax, r10d
and al, 0x1f
movzx eax, al
movzx esi, byte [rcx + r8 + 1]
and esi, 0x3f
cmp r10b, 0xe0
jb 0x14000711c
movzx r11d, byte [rcx + r8 + 2]
shl esi, 6
and r11d, 0x3f
or r11d, esi
cmp r10b, 0xf0
jb 0x140007126
movzx r10d, byte [rcx + r8 + 3]
and eax, 7
shl eax, 0x12
shl r11d, 6
and r10d, 0x3f
or r10d, r11d
or eax, r10d
jmp 0x14000709e
shl eax, 6
or eax, esi
jmp 0x14000709e
shl eax, 0xc
or eax, r11d
jmp 0x14000709e
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x50]
mov rsi, r14
sub rsi, rax
test sil, 1
jne 0x140007169
cmp r14, rax
jne 0x140007236
mov eax, 1
xor ebx, ebx
xor r12d, r12d
xor r14d, r14d
xor ecx, ecx
mov qword [rsp + 0x40], rcx
jmp 0x14000746a
mov eax, 1
mov dword [rsp + 0x78], eax
mov byte [rsp + 0x7c], r12b
mov word [rsp + 0x7d], bx
shr ebx, 0x10
mov byte [rsp + 0x7f], bl
mov qword [rsp + 0x80], r14
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 1
mov qword [rsp + 0x100], 0
mov qword [rsp + 0xb8], 0x20
mov byte [rsp + 0xc0], 3
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x98], 0
lea rax, [rsp + 0xf0]
mov qword [rsp + 0xa8], rax
lea rax, [0x14003e840]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x88]
call fcn.140007be0
test al, al
jne 0x1400078de
mov rcx, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x100]
mov eax, 1
jmp 0x1400077b4
mov qword [rsp + 0x38], rdi
add rbx, rax
cmp rsi, 2
mov edi, 2
cmovb rdi, rsi
movzx r12d, byte [rbx]
lea eax, [r12 - 0x41]
cmp al, 6
jae 0x14000725e
add r12b, 0xc9
jmp 0x14000726f
lea eax, [r12 - 0x61]
cmp al, 6
jae 0x1400077da
add r12b, 0xa9
mov ebp, r12d
cmp rsi, 1
je 0x1400078de
movzx r12d, byte [rbx + 1]
lea eax, [r12 - 0x41]
cmp al, 6
jae 0x140007290
add r12b, 0xc9
jmp 0x1400072a1
lea eax, [r12 - 0x61]
cmp al, 6
jae 0x1400077ee
add r12b, 0xa9
mov r15d, r12d
movzx eax, byte [0x14004bac0]
mov ecx, 8
mov edx, 1
call fcn.140005940
test rax, rax
je 0x1400078f6
sub rsi, rdi
shl bpl, 4
or r15b, bpl
mov byte [rax], r15b
mov qword [rsp + 0x88], 8
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 1
test rsi, rsi
je 0x140007447
add rbx, rdi
mov r14d, 1
mov edi, 3
jmp 0x14000734e
add r12b, 0xc9
mov r15d, r12d
cmp r14, qword [rsp + 0x88]
je 0x1400073e4
add rbx, r13
sub rsi, r13
shl bpl, 4
or r15b, bpl
mov byte [rax + r14], r15b
inc r14
mov qword [rsp + 0x98], r14
add rdi, 2
test rsi, rsi
je 0x140007407
cmp rsi, 2
mov r13d, 2
cmovb r13, rsi
movzx r12d, byte [rbx]
lea ecx, [r12 - 0x41]
cmp cl, 6
jae 0x140007370
add r12b, 0xc9
jmp 0x14000737e
lea ecx, [r12 - 0x61]
cmp cl, 6
jae 0x140007390
add r12b, 0xa9
mov ebp, r12d
jmp 0x14000739f
lea ebp, [r12 - 0x30]
cmp bpl, 0xa
jae 0x14000788e
cmp rsi, 1
je 0x1400078de
movzx r12d, byte [rbx + 1]
lea ecx, [r12 - 0x41]
cmp cl, 6
jb 0x140007310
lea ecx, [r12 - 0x61]
cmp cl, 6
jae 0x1400073d0
add r12b, 0xa9
jmp 0x140007314
lea r15d, [r12 - 0x30]
cmp r15b, 0xa
jb 0x140007317
jmp 0x140007891
mov r8d, 1
lea rcx, [rsp + 0x88]
mov rdx, r14
call fcn.140022700
mov rax, qword [rsp + 0x90]
jmp 0x140007325
mov r8, qword [rsp + 0x88]
mov rax, qword [rsp + 0x90]
mov r12, rax
shr r12, 0x20
mov rbx, rax
shr rbx, 0x28
movabs rcx, 0x8000000000000000
mov rdx, r8
mov qword [rsp + 0x40], r8
cmp r8, rcx
mov rdi, qword [rsp + 0x38]
je 0x14000716e
jmp 0x14000746a
mov r12, rax
shr r12, 0x20
mov rbx, rax
shr rbx, 0x28
mov ecx, 8
mov qword [rsp + 0x40], rcx
mov r14d, 1
mov rdi, qword [rsp + 0x38]
mov eax, eax
movzx ecx, r12b
shl rcx, 0x20
or rcx, rax
shl rbx, 0x28
or rbx, rcx
mov rdx, qword [rsp + 0x120]
cmp r14, rdx
jne 0x140007497
xor eax, eax
mov rcx, qword [rsp + 0x40]
jmp 0x1400077b4
lea r13, [rbx + r14]
test r14, r14
mov r15, qword [rsp + 0x40]
je 0x14000750d
js 0x140007912
movzx eax, byte [0x14004bac0]
mov esi, 1
mov edx, 1
mov rcx, r14
call fcn.140005940
test rax, rax
je 0x140007914
mov r15, rax
mov qword [rsp + 0x38], rdi
mov rcx, rax
mov rdx, rbx
mov r8, r14
call fcn.1400219e0
mov rbp, r14
mov qword [rsp + 0x48], r15
add rbp, r15
mov r12, r13
mov rax, r13
mov r13, rbx
jmp 0x1400075ad
cmp eax, 0x110000
cmove r8, r14
mov rax, r8
jmp 0x14000713b
mov esi, 1
mov ecx, 1
mov rdx, rbx
mov r8, r14
call fcn.1400219e0
cmp rbx, r13
je 0x140007558
test r14, r14
js 0x140007912
movzx eax, byte [0x14004bac0]
mov esi, 1
mov edx, 1
mov rcx, r14
call fcn.140005940
test rax, rax
je 0x140007914
mov rcx, rax
mov rsi, rax
mov edx, 1
mov r12, rsi
mov rcx, rsi
mov r8, r14
call fcn.1400219e0
test r15, r15
je 0x140007581
mov r8d, 1
mov rcx, rbx
mov rdx, r15
call fcn.140005950
test r14, r14
je 0x140007848
mov eax, 1
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rdi
mov rbp, r14
inc rbp
mov rax, r13
mov r13, r12
add r12, r14
mov qword [rsp + 0x40], r14
movzx r15d, byte [r13]
xor ecx, ecx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rax
cmp rbx, rax
setne cl
neg rcx
cmp rcx, 0x1f
mov eax, 0x1f
mov qword [rsp + 0x70], rcx
cmovb rax, rcx
cmp rax, 8
mov edi, 7
cmovae rdi, rax
inc rdi
movzx eax, byte [0x14004bac0]
mov edx, 1
mov rcx, rdi
call fcn.140005940
test rax, rax
je 0x140007905
mov rsi, rax
mov byte [rax], r15b
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 1
sub rbp, qword [rsp + 0x48]
mov edi, 2
mov r15d, 0x1e
mov qword [rsp + 0x60], r13
jmp 0x14000768b
test rbp, rbp
mov rdx, rbx
je 0x140007811
mov r12, r13
add r12, rbp
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x40], rbp
movzx ebx, byte [r13]
cmp rdx, qword [rsp + 0x88]
je 0x140007711
mov byte [rsi + rdi - 1], bl
mov qword [rsp + 0x98], rdi
inc rdi
dec r15
cmp rdi, 0x21
je 0x140007749
lea rdx, [rdi - 1]
inc r13
cmp r13, r12
jne 0x14000765c
mov rbx, rdx
mov r13d, 1
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x58], rax
je 0x1400076db
test rbp, rbp
js 0x1400078e8
movzx eax, byte [0x14004bac0]
mov r12d, 1
mov edx, 1
mov rcx, rbp
call fcn.140005940
test rax, rax
je 0x1400078eb
mov r13, rax
mov rcx, r13
mov r12, qword [rsp + 0x48]
mov rdx, r12
mov r8, rbp
call fcn.1400219e0
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140007640
mov r8d, 1
mov rcx, qword [rsp + 0x60]
call fcn.140005950
jmp 0x140007640
mov rax, qword [rsp + 0x70]
cmp rax, r15
mov r8, r15
cmovb r8, rax
inc r8
test r15, r15
mov eax, 1
cmove r8, rax
lea rcx, [rsp + 0x88]
call fcn.140022700
mov rsi, qword [rsp + 0x90]
jmp 0x14000766f
dec rdi
mov rdx, rdi
mov rbx, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov r13, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x58], rax
mov rdi, qword [rsp + 0x38]
je 0x140007786
mov r8d, 1
mov rsi, rdx
mov rcx, r12
mov rdx, r14
call fcn.140005950
mov rdx, rsi
test rbx, rbx
je 0x1400077a2
mov r8d, 1
mov rsi, rdx
mov rcx, r13
mov rdx, rbx
call fcn.140005950
mov rdx, rsi
mov rcx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
xor eax, eax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rdx
mov qword [rdi], rax
mov rax, rdi
add rsp, 0x128
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea ebp, [r12 - 0x30]
cmp bpl, 0xa
jb 0x140007272
xor r14d, r14d
jmp 0x140007803
lea r15d, [r12 - 0x30]
mov r14d, 1
cmp r15b, 0xa
jb 0x1400072a4
xor eax, eax
xor ebx, ebx
mov rdi, qword [rsp + 0x38]
jmp 0x14000716e
xor ebx, ebx
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x58], rax
mov rdi, qword [rsp + 0x38]
jne 0x14000776f
jmp 0x140007786
mov rax, r14
test r9b, r9b
je 0x14000713b
nop dword [rax]
xor r9b, 1
jne 0x140007840
jmp 0x140007886
cmp rbx, r13
jne 0x1400078bd
xor ecx, ecx
mov ebx, 1
xor edx, edx
jmp 0x1400077b2
mov r14, qword [rsp + 0x50]
mov rax, r14
mov rdi, qword [rsp + 0x38]
jmp 0x14000713b
mov rax, r14
test r9b, r9b
je 0x14000713b
nop dword [rax]
xor r9b, 1
jne 0x140007880
mov rax, r14
jmp 0x14000713b
dec rdi
mov r14, rdi
mov rdx, qword [rsp + 0x88]
test rdx, rdx
mov rdi, qword [rsp + 0x38]
je 0x1400078b4
mov r8d, 1
mov rcx, rax
call fcn.140005950
xor eax, eax
xor ebx, ebx
jmp 0x14000716e
mov ebx, 1
mov ecx, 1
mov r8d, 1
mov rdx, r14
call fcn.140005950
xor ecx, ecx
xor edx, edx
jmp 0x1400077b2
ud2
mov r9, rdx
call fcn.140012980
xor r12d, r12d
mov rcx, r12
mov rdx, rbp
call fcn.140012980
mov ecx, 1
mov edx, 8
call fcn.140012980
mov ecx, 1
mov rdx, rdi
call fcn.140012980
xor esi, esi
mov rcx, rsi
mov rdx, r14
call fcn.140012980
int3