Function at 0x140073668
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b8]
sub rsp, 0x2b8
mov rax, qword [0x140150a10]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r15, qword [rbp + 0x220]
mov edi, edx
mov dword [rsp + 0x20], edx
mov rbx, rcx
mov edx, 0x26
lea rcx, str.E54C3DE0_9E70_4eea_94B6_D069D4E4A9BC
mov rsi, r9
mov r13, r8
call fcn.1400bcd28
mov r9d, 1
lea rdx, str.E54C3DE0_9E70_4eea_94B6_D069D4E4A9BC
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140071844
lea r12, [rbx + 0x20]
cmp edi, 0x20
jb 0x1400738c7
lea r14, [rbx + 0x10]
mov edi, 0x10
lea rcx, [rbp + 0x180]
mov r8d, edi
test r14, r14
je 0x140073705
mov rdx, r14
call fcn.1400ada20
jmp 0x14007371c
xor edx, edx
call fcn.1400ae360
call fcn.1400b91ec
mov dword [rax], 0x16
call fcn.1400b2b98
mov r8, rdi
xor edx, edx
mov rcx, r14
call fcn.1400ae360
test rbx, rbx
je 0x1400738c7
mov r14d, dword [rsp + 0x20]
lea r8, [rbp + 0x190]
mov edx, r14d
mov r9d, edi
mov rcx, rbx
call fcn.140071bac
test eax, eax
jne 0x1400738c7
mov r8, rdi
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x180]
call fcn.1400ae580
test eax, eax
jne 0x1400738c7
mov ecx, dword [rbx + 8]
add rcx, 0x20
cmp r14, rcx
jne 0x1400738c7
cmp dword [rbx], 0x4752434d
jne 0x1400738c7
test r13, r13
je 0x14007379a
mov eax, dword [rbx + 0xc]
mov dword [r13], eax
test r15, r15
jne 0x1400737a6
xor esi, esi
jmp 0x1400738cc
mov ecx, dword [r15]
mov eax, dword [rbx + 8]
mov dword [r15], eax
test rsi, rsi
je 0x1400738b5
mov eax, dword [rbx + 8]
cmp eax, ecx
jbe 0x1400737c9
mov esi, 0xea
jmp 0x1400738cc
mov rbx, qword [rbp + 0x160]
mov rdi, qword [rbp + 0x158]
test r12, r12
je 0x1400738ae
cmp eax, 1
jb 0x1400738ae
test rdi, rdi
je 0x1400738ae
test rbx, rbx
je 0x1400738ae
test eax, eax
jle 0x1400738c3
mov cl, byte [rbp + 0x169]
sub r12, rsi
mov r10d, dword [rbp + 0x150]
mov r15, rax
xor r14d, r14d
test r10d, r10d
jle 0x14007385f
lea rcx, [rsp + 0x30]
call fcn.1400721b8
mov byte [rdi], al
lea rcx, [rsp + 0x30]
inc rdi
call fcn.1400721b8
mov byte [rbx], al
inc r14d
mov r10d, dword [rbp + 0x150]
inc rbx
cmp r14d, r10d
jl 0x14007381e
mov cl, byte [rbp + 0x169]
mov rbx, qword [rbp + 0x160]
mov rdi, qword [rbp + 0x158]
movsxd r8, dword [rbp + 0x154]
lea r9d, [r10 - 1]
mov al, byte [r12 + rsi]
lea rdx, [r8 + rdi]
test r9d, r9d
jle 0x14007388f
sub r8, rdx
lea r11, [r8 + rbx]
sub al, byte [r11 + rdx]
dec r9d
xor al, byte [rdx]
dec rdx
test r9d, r9d
jg 0x14007387e
sub al, byte [rbx]
xor al, byte [rdi]
xor al, cl
xor cl, al
mov byte [rsi], al
inc rsi
mov byte [rbp + 0x169], cl
sub r15, 1
jne 0x140073816
jmp 0x1400738c3
mov esi, 0x1771
jmp 0x1400738da
mov rbx, qword [rbp + 0x160]
mov rdi, qword [rbp + 0x158]
xor esi, esi
jmp 0x1400738da
mov esi, 0xd
mov rbx, qword [rbp + 0x160]
mov rdi, qword [rbp + 0x158]
test rdi, rdi
je 0x1400738fa
lea rax, [rbp + 0x16a]
cmp rdi, rax
je 0x1400738fa
mov rcx, rdi
call fcn.1400ab6e0
mov rbx, qword [rbp + 0x160]
test rbx, rbx
je 0x140073913
lea rax, [rbp + 0x16f]
cmp rbx, rax
je 0x140073913
mov rcx, rbx
call fcn.1400ab6e0
mov eax, esi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400ab6c0
add rsp, 0x2b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret