Function at 0x140006570
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140047020]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword gs:[0x58]
xor ebx, ebx
mov edi, 4
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x14008d288], eax
jle 0x1400065f8
lea rcx, [0x14008d288]
call fcn.14001067c
cmp dword [0x14008d288], 0xffffffff
jne 0x1400065f8
lea rcx, [0x140034090]
mov dword [0x14008d290], ebx
mov qword [0x14008d298], 0xffffffffffffffff
call fcn.14001092c
lea rcx, [0x14008d288]
call fcn.140010610
lea rcx, [0x14008d290]
call fcn.140001370
mov eax, dword [rdi]
cmp dword [0x14008d288], eax
jle 0x14000664c
lea rcx, [0x14008d288]
call fcn.14001067c
cmp dword [0x14008d288], 0xffffffff
jne 0x14000664c
lea rcx, [0x140034090]
mov dword [0x14008d290], ebx
mov qword [0x14008d298], 0xffffffffffffffff
call fcn.14001092c
lea rcx, [0x14008d288]
call fcn.140010610
cmp qword [0x14008d298], 0xffffffffffffffff
lea rsi, [0x14008bae0]
jne 0x140006862
xor edx, edx
mov cl, 0x5b
call fcn.140002320
mov edx, 1
mov byte [rbp - 0x48], al
mov cl, 0x2b
call fcn.140002320
mov edx, 2
mov byte [rbp - 0x47], al
mov cl, 0x5d
call fcn.140002320
mov edx, 3
mov byte [rbp - 0x46], al
mov cl, 0x20
call fcn.140002320
mov edx, 4
mov byte [rbp - 0x45], al
mov cl, 0x49
call fcn.140002320
mov edx, 5
mov byte [rbp - 0x44], al
mov cl, 0x6e
call fcn.140002320
mov edx, 6
mov byte [rbp - 0x43], al
mov cl, 0x69
call fcn.140002320
mov edx, 7
mov byte [rbp - 0x42], al
mov cl, 0x74
call fcn.140002320
mov edx, 8
mov byte [rbp - 0x41], al
mov cl, 0x69
call fcn.140002320
mov edx, 9
mov byte [rbp - 0x40], al
mov cl, 0x61
call fcn.140002320
mov edx, 0xa
mov byte [rbp - 0x3f], al
mov cl, 0x6c
call fcn.140002320
mov edx, 0xb
mov byte [rbp - 0x3e], al
mov cl, 0x69
call fcn.140002320
mov edx, 0xc
mov byte [rbp - 0x3d], al
mov cl, 0x7a
call fcn.140002320
mov edx, 0xd
mov byte [rbp - 0x3c], al
mov cl, 0x69
call fcn.140002320
mov edx, 0xe
mov byte [rbp - 0x3b], al
mov cl, 0x6e
call fcn.140002320
mov edx, 0xf
mov byte [rbp - 0x3a], al
mov cl, 0x67
call fcn.140002320
mov edx, 0x10
mov byte [rbp - 0x39], al
mov cl, 0x20
call fcn.140002320
mov edx, 0x11
mov byte [rbp - 0x38], al
mov cl, 0x64
call fcn.140002320
mov edx, 0x12
mov byte [rbp - 0x37], al
mov cl, 0x72
call fcn.140002320
mov edx, 0x13
mov byte [rbp - 0x36], al
mov cl, 0x69
call fcn.140002320
mov byte [rbp - 0x35], al
mov edx, 0x14
mov cl, 0x76
call fcn.140002320
mov edx, 0x15
mov byte [rbp - 0x34], al
mov cl, 0x65
call fcn.140002320
mov edx, 0x16
mov byte [rbp - 0x33], al
mov cl, 0x72
call fcn.140002320
mov edx, 0x17
mov byte [rbp - 0x32], al
mov cl, 0x73
call fcn.140002320
mov edx, 0x18
mov byte [rbp - 0x31], al
mov cl, 0x20
call fcn.140002320
mov edx, 0x19
mov byte [rbp - 0x30], al
mov cl, 0x2e
call fcn.140002320
mov edx, 0x1a
mov byte [rbp - 0x2f], al
mov cl, 0x20
call fcn.140002320
mov edx, 0x1b
mov byte [rbp - 0x2e], al
mov cl, 0x2e
call fcn.140002320
mov edx, 0x1c
mov byte [rbp - 0x2d], al
mov cl, 0x20
call fcn.140002320
mov edx, 0x1d
mov byte [rbp - 0x2c], al
mov cl, 0x2e
call fcn.140002320
mov byte [rbp - 0x2b], al
mov edx, ebx
xor eax, eax
mov byte [rbp - 0x2a], al
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x48]
add rcx, rax
lea eax, [rdx + 0x13]
inc edx
xor byte [rcx], al
cmp edx, 0x1e
jb 0x140006830
lea rdx, [rbp - 0x48]
mov byte [rbp - 0x2a], bl
mov rcx, rsi
call fcn.14000b650
mov rcx, rax
call fcn.14000b900
call fcn.140003a50
mov eax, dword [rdi]
cmp dword [0x14008d288], eax
jle 0x1400068aa
lea rcx, [0x14008d288]
call fcn.14001067c
cmp dword [0x14008d288], 0xffffffff
jne 0x1400068aa
lea rcx, [0x140034090]
mov dword [0x14008d290], ebx
mov qword [0x14008d298], 0xffffffffffffffff
call fcn.14001092c
lea rcx, [0x14008d288]
call fcn.140010610
lea rcx, [0x14008d290]
call fcn.140001370
mov eax, dword [rdi]
cmp dword [0x14008d288], eax
jle 0x1400068fe
lea rcx, [0x14008d288]
call fcn.14001067c
cmp dword [0x14008d288], 0xffffffff
jne 0x1400068fe
lea rcx, [0x140034090]
mov dword [0x14008d290], ebx
mov qword [0x14008d298], 0xffffffffffffffff
call fcn.14001092c
lea rcx, [0x14008d288]
call fcn.140010610
xor edx, edx
mov cl, 0x64
call fcn.140002320
mov edx, 1
mov cl, 0x72
movzx r8d, al
call fcn.140002320
mov edx, 2
mov cl, 0x69
movzx r9d, al
call fcn.140002320
mov edx, 3
mov cl, 0x76
movzx r10d, al
call fcn.140002320
mov edx, 4
mov cl, 0x65
movzx r11d, al
call fcn.140002320
mov edx, 5
mov cl, 0x72
movzx edi, al
call fcn.140002320
mov edx, 6
mov cl, 0x20
movzx r14d, al
call fcn.140002320
mov edx, 7
mov cl, 0x69
movzx r15d, al
call fcn.140002320
mov edx, 8
mov cl, 0x6e
movzx r12d, al
call fcn.140002320
mov edx, 9
mov cl, 0x69
movzx r13d, al
call fcn.140002320
mov edx, 0xa
mov byte [rbp - 0x50], al
mov cl, 0x74
call fcn.140002320
mov edx, 0xb
mov byte [rbp - 0x4f], al
mov cl, 0x69
call fcn.140002320
mov edx, 0xc
mov byte [rbp - 0x4e], al
mov cl, 0x61
call fcn.140002320
mov edx, 0xd
mov byte [rbp - 0x4d], al
mov cl, 0x6c
call fcn.140002320
mov edx, 0xe
mov byte [rbp - 0x4c], al
mov cl, 0x69
call fcn.140002320
mov edx, 0xf
mov byte [rbp - 0x4b], al
mov cl, 0x7a
call fcn.140002320
mov edx, 0x10
mov byte [rbp - 0x4a], al
mov cl, 0x65
call fcn.140002320
cmp qword [0x14008d298], 0xffffffffffffffff
movzx ecx, al
movzx eax, byte [rbp - 0x50]
mov edx, 0x11
je 0x140006ab3
mov byte [rbp - 0x1f], al
movzx eax, byte [rbp - 0x4f]
mov byte [rbp - 0x1e], al
movzx eax, byte [rbp - 0x4e]
mov byte [rbp - 0x1d], al
movzx eax, byte [rbp - 0x4d]
mov byte [rbp - 0x1c], al
movzx eax, byte [rbp - 0x4c]
mov byte [rbp - 0x1b], al
movzx eax, byte [rbp - 0x4b]
mov byte [rbp - 0x1a], al
movzx eax, byte [rbp - 0x4a]
mov byte [rbp - 0x18], cl
mov cl, 0x64
mov byte [rbp - 0x19], al
mov byte [rbp - 0x28], r8b
mov byte [rbp - 0x27], r9b
mov byte [rbp - 0x26], r10b
mov byte [rbp - 0x25], r11b
mov byte [rbp - 0x24], dil
mov byte [rbp - 0x23], r14b
mov byte [rbp - 0x22], r15b
mov byte [rbp - 0x21], r12b
mov byte [rbp - 0x20], r13b
call fcn.140002320
mov edx, 0x12
mov byte [rbp - 0x17], al
mov cl, 0x21
call fcn.140002320
mov byte [rbp - 0x16], al
xor eax, eax
mov byte [rbp - 0x15], al
nop dword [rax + rax]
movsxd rax, ebx
lea rcx, [rbp - 0x28]
add rcx, rax
lea eax, [rbx + 0x13]
inc ebx
xor byte [rcx], al
cmp ebx, 0x13
jb 0x140006a90
mov byte [rbp - 0x15], 0
lea rdx, [rbp - 0x28]
jmp 0x140006bae
mov byte [rbp - 0x3f], al
movzx eax, byte [rbp - 0x4f]
mov byte [rbp - 0x3e], al
movzx eax, byte [rbp - 0x4e]
mov byte [rbp - 0x3d], al
movzx eax, byte [rbp - 0x4d]
mov byte [rbp - 0x3c], al
movzx eax, byte [rbp - 0x4c]
mov byte [rbp - 0x3b], al
movzx eax, byte [rbp - 0x4b]
mov byte [rbp - 0x3a], al
movzx eax, byte [rbp - 0x4a]
mov byte [rbp - 0x38], cl
mov cl, 0x20
mov byte [rbp - 0x39], al
mov byte [rbp - 0x48], r8b
mov byte [rbp - 0x47], r9b
mov byte [rbp - 0x46], r10b
mov byte [rbp - 0x45], r11b
mov byte [rbp - 0x44], dil
mov byte [rbp - 0x43], r14b
mov byte [rbp - 0x42], r15b
mov byte [rbp - 0x41], r12b
mov byte [rbp - 0x40], r13b
call fcn.140002320
mov edx, 0x12
mov byte [rbp - 0x37], al
mov cl, 0x65
call fcn.140002320
mov edx, 0x13
mov byte [rbp - 0x36], al
mov cl, 0x72
call fcn.140002320
mov edx, 0x14
mov byte [rbp - 0x35], al
call fcn.140002320
mov edx, 0x15
mov byte [rbp - 0x34], al
mov cl, 0x6f
call fcn.140002320
mov edx, 0x16
mov byte [rbp - 0x33], al
mov cl, 0x72
call fcn.140002320
mov edx, 0x17
mov byte [rbp - 0x32], al
mov cl, 0x20
call fcn.140002320
mov edx, 0x18
mov byte [rbp - 0x31], al
mov cl, 0x3d
call fcn.140002320
mov edx, 0x19
mov byte [rbp - 0x30], al
mov cl, 0x3c
call fcn.140002320
mov byte [rbp - 0x2f], al
xor eax, eax
mov byte [rbp - 0x2e], al
nop dword [rax]
movsxd rax, ebx
lea rdx, [rbp - 0x48]
add rdx, rax
lea eax, [rbx + 0x13]
inc ebx
xor byte [rdx], al
cmp ebx, 0x1a
jb 0x140006b90
mov byte [rbp - 0x2e], 0
lea rdx, [rbp - 0x48]
mov rcx, rsi
call fcn.14000b650
mov rcx, rax
call fcn.14000b900
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400105f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret