Function at 0x140079010
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14023cac0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb8]
mov r13, rcx
mov r12, qword [rsp + 0xb0]
mov ecx, 0x28
mov qword [rsp + 0x28], rax
mov r15, r9
mov ebp, r8d
mov r14, rdx
call fcn.14007c870
mov rdi, rax
test rax, rax
jne 0x14007906c
mov eax, 1
jmp 0x140079469
xor edx, edx
mov qword [rsp + 0x20], 0xffffffffffffffff
mov rax, qword [rsp + 0x20]
mov ecx, 4
mov qword [rdi + 0xc], rax
cmp ebp, ecx
mov qword [rsp + 0x20], 0xffffffffffffffff
mov rax, qword [rsp + 0x20]
mov qword [rdi + 0x14], rax
movzx eax, bpl
cmovl ecx, eax
mov qword [rsp + 0xa0], rbx
mov qword [rdi + 0x20], rdx
mov word [rdi + 0xa], dx
mov byte [rdi], cl
test cl, cl
je 0x1400790dc
nop word [rax + rax]
movsxd rax, edx
inc edx
lea rcx, [rdi + rax]
movzx eax, byte [rax + r14]
mov byte [rcx + 1], al
mov byte [rcx + 5], 0xff
movzx eax, byte [rdi]
cmp edx, eax
jl 0x1400790c0
mov rdx, rdi
mov rcx, r13
call qword [r13]
mov ebx, 4
mov byte [rsp + 0x30], 4
mov dword [rsp + 0x35], 0xffffffff
mov esi, eax
cmp ebp, ebx
jle 0x14007914a
nop
cmp esi, 0xff
jge 0x14007914a
movsxd rax, ebx
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x30], 4
mov ecx, dword [rax + r14 - 3]
mov dword [rsp + 0x31], ecx
mov rcx, r13
call qword [r13]
cmp eax, esi
jle 0x140079144
movsd xmm0, qword [rsp + 0x30]
mov esi, eax
movsd qword [rdi], xmm0
movzx ecx, byte [rsp + 0x38]
mov byte [rdi + 8], cl
lea ecx, [rbx - 3]
mov word [rdi + 0xa], cx
inc ebx
cmp ebx, ebp
jl 0x140079100
mov r14, qword [rsp + 0x28]
xor ebp, ebp
mov qword [r12], rdi
mov dword [r14], esi
mov esi, dword [r15]
test sil, 0x10
je 0x1400792b9
mov rbx, qword [r12]
mov edi, ebp
test rbx, rbx
je 0x140079225
mov ecx, 0x28
call fcn.14007c870
mov rdx, rax
test rax, rax
je 0x140079259
mov byte [rax + 1], bpl
lea r9, [rax + 1]
mov word [rax + 5], 0xffff
mov ecx, ebp
mov word [rax + 2], bp
mov word [rax + 7], 0xffff
mov byte [rax + 4], bpl
movzx r8d, byte [rbx]
test r8b, r8b
je 0x1400791e4
movzx eax, r8b
lea r10, [rbx + 1]
nop dword [rax]
movzx r8d, al
cmp ecx, 2
jge 0x1400791e4
movzx eax, byte [r10]
inc ecx
mov byte [r9], al
inc r10
movzx eax, byte [rbx]
add r9, 2
movzx r8d, al
cmp ecx, eax
jl 0x1400791c0
mov eax, 4
movzx ecx, r8b
add ecx, ecx
cmp ecx, eax
cmovb eax, ecx
mov byte [rdx], al
mov rax, qword [rbx + 0xc]
mov qword [rdx + 0xc], rax
mov rax, qword [rbx + 0x14]
mov qword [rdx + 0x14], rax
movzx eax, word [rbx + 0xa]
add ax, ax
mov qword [rdx + 0x20], rdi
mov word [rdx + 0xa], ax
mov rdi, rdx
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x140079174
mov rcx, qword [r12]
test sil, 8
je 0x14007929f
test rcx, rcx
je 0x1400792b5
mov rax, qword [rcx + 0x20]
mov rdx, rcx
test rax, rax
je 0x140079250
mov rdx, rax
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x140079244
mov qword [rdx + 0x20], rdi
mov rdi, rcx
jmp 0x1400792b5
mov rcx, qword [r12]
mov esi, 1
test rcx, rcx
je 0x140079278
mov rbx, qword [rcx + 0x20]
call fcn.14007c7f0
mov rcx, rbx
test rbx, rbx
jne 0x140079267
test rdi, rdi
je 0x140079294
nop dword [rax]
mov rbx, qword [rdi + 0x20]
mov rcx, rdi
call fcn.14007c7f0
mov rdi, rbx
test rbx, rbx
jne 0x140079280
mov qword [r12], rbp
mov eax, esi
jmp 0x140079461
test rcx, rcx
je 0x1400792b5
mov rbx, qword [rcx + 0x20]
call fcn.14007c7f0
mov rcx, rbx
test rbx, rbx
jne 0x1400792a4
mov qword [r12], rdi
test sil, 4
je 0x14007934d
mov rcx, qword [r12]
lea rdx, [rsp + 0x20]
call fcn.140077f30
mov rcx, qword [r12]
mov edi, eax
test eax, eax
je 0x14007931c
test rcx, rcx
je 0x1400792f1
mov rbx, qword [rcx + 0x20]
call fcn.14007c7f0
mov rcx, rbx
test rbx, rbx
jne 0x1400792e0
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140079311
nop dword [rax + rax]
mov rbx, qword [rcx + 0x20]
call fcn.14007c7f0
mov rcx, rbx
test rbx, rbx
jne 0x140079300
mov qword [r12], rbp
mov eax, edi
jmp 0x140079461
test rcx, rcx
jne 0x140079328
mov rcx, qword [rsp + 0x20]
jmp 0x140079349
mov rax, qword [rcx + 0x20]
mov rdx, rcx
test rax, rax
je 0x140079340
mov rdx, rax
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x140079334
mov rax, qword [rsp + 0x20]
mov qword [rdx + 0x20], rax
mov qword [r12], rcx
bt esi, 0x13
jae 0x14007943b
mov rbx, qword [r12]
test rbx, rbx
je 0x14007941d
movzx r14d, byte [r15 + 4]
movzx esi, byte [r15 + 5]
nop
mov edi, r14d
cmp r14d, esi
ja 0x14007940b
nop dword [rax]
mov ecx, 0x28
call fcn.14007c870
mov r9, rax
test rax, rax
je 0x140079486
movzx r8d, byte [rbx]
xor edx, edx
test r8b, r8b
je 0x1400793cf
mov r8, rbx
lea rcx, [rax + 1]
sub r8, rax
nop dword [rax + rax]
movzx eax, dil
inc edx
xor al, byte [r8 + rcx]
mov byte [rcx], al
mov byte [rcx + 4], 0xff
lea rcx, [rcx + 1]
movzx eax, byte [rbx]
cmp edx, eax
jl 0x1400793b0
movzx r8d, al
mov ecx, 4
movzx eax, r8b
cmp r8b, cl
cmovb ecx, eax
inc edi
mov byte [r9], cl
mov rax, qword [rbx + 0xc]
mov qword [r9 + 0xc], rax
mov rax, qword [rbx + 0x14]
mov qword [r9 + 0x14], rax
movzx eax, word [rbx + 0xa]
mov qword [r9 + 0x20], rbp
mov rbp, r9
mov word [r9 + 0xa], ax
cmp edi, esi
jle 0x140079380
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x140079370
mov r14, qword [rsp + 0x28]
mov rcx, qword [r12]
test rcx, rcx
je 0x140079437
mov rbx, qword [rcx + 0x20]
call fcn.14007c7f0
mov rcx, rbx
test rbx, rbx
jne 0x140079426
mov qword [r12], rbp
mov rbx, qword [r12]
test rbx, rbx
je 0x14007945f
mov rdx, rbx
mov rcx, r13
call qword [r13]
cmp eax, dword [r14]
jge 0x140079456
mov dword [r14], eax
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x140079444
xor eax, eax
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14019e3d0
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [r12]
mov esi, 1
test rcx, rcx
je 0x1400794a5
mov rbx, qword [rcx + 0x20]
call fcn.14007c7f0
mov rcx, rbx
test rbx, rbx
jne 0x140079494
test rbp, rbp
je 0x1400794c4
nop word [rax + rax]
mov rbx, qword [rbp + 0x20]
mov rcx, rbp
call fcn.14007c7f0
mov rbp, rbx
test rbx, rbx
jne 0x1400794b0
mov qword [r12], 0
mov eax, esi
jmp 0x140079461