Function at 0x140051230
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1400fa080]
xor rax, rsp
mov qword [rbp + 0x160], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], rax
mov dword [rsp + 0x60], 0x9e999f99
mov dword [rsp + 0x64], 0x100969f
xor ebx, ebx
mov ecx, ebx
nop word [rax + rax]
lea eax, [rcx - 0x56]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 6
jb 0x140051290
mov byte [rsp + 0x67], bl
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], 0xf
lea rax, [rsp + 0x60]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], bl
jne 0x1400512c3
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.140037020
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x38]
lea rcx, [0x1401097a0]
call fcn.140064c60
nop
cmp byte [0x1401099b8], 0
jne 0x140051351
mov dword [rsp + 0x50], 0xfe8ca1a0
mov dword [rsp + 0x54], 0xc4c4ceda
mov dword [rsp + 0x58], 0x9489c1
mov byte [rsp + 0x5c], 1
lea rcx, [rsp + 0x50]
call fcn.14004eea0
mov rdx, rax
mov rcx, qword [0x1400c1430]
call fcn.1400486f0
mov rcx, rax
lea rdx, [0x1401099c0]
call fcn.1400488c0
mov ecx, 0x5dc
call qword [0x1400c1178]
xor ecx, ecx
call qword [0x1400c1c70]
int3
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x50]
call fcn.1400bde54
mov dword [rsp + 0x50], 0xc8c0c2cc
mov dword [rsp + 0x54], 0xc2c9dc80
mov word [rsp + 0x58], 0x100
mov rcx, rbx
nop dword [rax]
lea eax, [rcx - 0x56]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 8
jb 0x140051380
mov byte [rsp + 0x59], 0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x50]
call fcn.140058000
nop
mov r8, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x38]
sub r8, rdx
lea rcx, [rbp + 0x50]
call qword [0x1400c1570]
lea rcx, [rbp + 0x58]
call fcn.140041170
test rax, rax
jne 0x1400513e3
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [0x1400c15d0]
mov dword [rbp - 0x80], 0xc8c0c2cc
mov dword [rbp - 0x7c], 0xc2c9dc80
mov word [rbp - 0x78], 0x100
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx - 0x56]
xor byte [rbp + rcx - 0x80], al
inc rcx
cmp rcx, 8
jb 0x140051400
mov byte [rbp - 0x77], 0
lea rax, [rbp - 0x80]
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140051420
call fcn.1400bc6f0
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rdi
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.1400507e0
nop
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
call fcn.1400bc884
shr rax, 0x20
test eax, eax
jne 0x14005181c
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400514af
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400514aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400514aa
call qword [0x1400c1c00]
int3
call fcn.1400bd290
call fcn.140038c10
mov qword [0x140109668], rax
mov dword [rbp + 0x30], ebx
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x48], rcx
lea rcx, [fcn.1400511b0]
mov qword [rsp + 0x40], rcx
mov byte [rsp + 0x38], 0
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x38]
mov rcx, rax
call fcn.140046f10
mov edi, 0x36aa
test rax, rax
jne 0x1400515de
mov dword [rbp - 0x70], 0x368636f1
mov dword [rbp - 0x6c], 0x368d36f1
mov dword [rbp - 0x68], 0x36ce36e8
mov dword [rbp - 0x64], 0x36dd36d9
mov dword [rbp - 0x60], 0x36d736d7
mov dword [rbp - 0x5c], 0x36c13694
mov dword [rbp - 0x58], 0x369736d9
mov dword [rbp - 0x54], 0x36d836d5
mov dword [rbp - 0x50], 0x369b36ca
mov word [rbp - 0x4c], bx
mov byte [rbp - 0x4a], 1
mov rdx, rbx
lea eax, [rdi + rdx]
xor word [rbp + rdx*2 - 0x70], ax
inc rdx
cmp rdx, 0x12
jb 0x140051551
mov byte [rbp - 0x4a], 0
lea rdx, [rbp - 0x70]
mov rcx, qword [0x1400c1660]
call fcn.1400414a0
mov r8, rax
movdqa xmm0, xmmword [0x1400e8a40]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0xcbd5c9de
mov dword [rsp + 0x74], 0x100cddb
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx - 0x56]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x16
jb 0x1400515a0
mov byte [rsp + 0x77], 0
lea rdx, [rsp + 0x60]
mov rcx, r8
call fcn.140045a80
lea rdx, [0x140041680]
mov rcx, rax
call qword [0x1400c1698]
mov rcx, qword [0x140109668]
call fcn.1400399f0
mov rcx, qword [0x140109668]
call fcn.1400399f0
test al, al
jne 0x1400516f5
mov dword [rbp - 0x40], 0x274d2704
mov dword [rbp - 0x3c], 0x2742273c
mov dword [rbp - 0x38], 0x27052734
mov dword [rbp - 0x34], 0x27082717
mov dword [rbp - 0x30], 0x2706270e
mov dword [rbp - 0x2c], 0x274a270e
mov dword [rbp - 0x28], 0x270d270d
mov dword [rbp - 0x24], 0x27022704
mov dword [rbp - 0x20], 0x2714270a
mov dword [rbp - 0x1c], 0x27062751
mov dword [rbp - 0x18], 0x2754271c
mov dword [rbp - 0x14], 0x27032713
mov dword [rbp - 0x10], 0x2714271b
mov dword [rbp - 0xc], 0x275a2700
mov dword [rbp - 8], 0x2712270e
mov dword [rbp - 4], 0x27112711
mov dword [rbp], 0x27e4271e
mov dword [rbp + 4], 0x27f427a1
mov dword [rbp + 8], 0x27e827f6
mov dword [rbp + 0xc], 0x27e327eb
mov dword [rbp + 0x10], 0x27e927f5
mov dword [rbp + 0x14], 0x27e627eb
mov dword [rbp + 0x18], 0x27ac27ee
mov dword [rbp + 0x1c], 0x27fc27e9
mov dword [rbp + 0x20], 0x27e627e6
mov dword [rbp + 0x24], 0x27e027f4
mov dword [rbp + 0x28], 0x27b3
mov byte [rbp + 0x2c], 1
mov rdx, rbx
mov ecx, 0x275f
nop dword [rax + rax]
lea eax, [rcx + rdx]
xor word [rbp + rdx*2 - 0x40], ax
inc rdx
cmp rdx, 0x35
jb 0x1400516c0
mov byte [rbp + 0x2c], 0
lea rdx, [rbp - 0x40]
mov rcx, qword [0x1400c1660]
call fcn.1400414a0
lea rdx, [0x140041680]
mov rcx, rax
call qword [0x1400c1698]
mov dword [rsp + 0x60], 0x368036f1
mov dword [rsp + 0x64], 0x368d36f1
mov dword [rsp + 0x68], 0x36da36dd
mov dword [rsp + 0x6c], 0x36d236d3
mov dword [rsp + 0x70], 0x36c036d7
mov dword [rsp + 0x74], 0x36c7
mov byte [rsp + 0x78], 1
nop word [rax + rax]
lea eax, [rdi + rbx]
xor word [rsp + rbx*2 + 0x60], ax
inc rbx
cmp rbx, 0xb
jb 0x140051730
mov byte [rsp + 0x78], 0
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1400c1660]
call fcn.1400414a0
lea rdx, [0x140041680]
mov rcx, rax
call qword [0x1400c1698]
nop
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x50], rax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x4c], edx
lea rcx, [rbp + 0x58]
call fcn.140040a70
lea rcx, [rbp + 0x60]
call qword [0x1400c1588]
lea rcx, [rbp + 0xf8]
call qword [0x1400c1590]
nop
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1400517ec
mov rdx, qword [rbp + 0x48]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400517e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400517e7
call qword [0x1400c1c00]
int3
call fcn.1400bd290
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400bc9e0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea r8, [rbp - 0x70]
mov edx, eax
call fcn.140051140
int3