Function at 0x1400317f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
xor r15d, r15d
mov dword [rbp - 0x49], 0x53621239
mov rsi, rcx
mov qword [rcx + 0x18], r15
mov qword [rcx + 0x20], r15
mov r13, r9
mov qword [rcx + 0x28], r15
mov r12, r8
mov qword [rcx + 0x30], r15
mov r14d, r15d
mov byte [rcx], r15b
lea ecx, [r15 + 0xe]
mov dword [rbp - 0x45], 0x20071f28
mov dword [rbp - 0x41], 0x7e583256
mov byte [rbp - 0x3d], 0x78
call fcn.140033298
lea r8d, [r15 + 0xd]
mov rcx, rax
lea rdx, [rbp - 0x49]
mov rbx, rax
call fcn.1400332e0
mov edx, r15d
mov byte [rbx + 0xd], r15b
mov cl, dl
mov eax, 0x12345678
and cl, 3
shl cl, 3
sar eax, cl
xor byte [rdx + rbx], al
inc rdx
cmp rdx, 0xd
jb 0x14003186f
mov rcx, rbx
call fcn.14003217c
mov rdi, rax
test rax, rax
je 0x140031aa9
mov edx, 0xd45f4f8e
mov rcx, rax
call fcn.140031d4c
mov qword [rsi + 0x18], rax
test rax, rax
je 0x140031aa9
mov edx, 0xa84f1aff
mov rcx, rdi
call fcn.140031d4c
mov qword [rsi + 0x20], rax
test rax, rax
je 0x140031aa9
mov edx, 0x6e00dada
mov rcx, rdi
call fcn.140031d4c
mov qword [rsi + 0x28], rax
test rax, rax
je 0x140031aa9
mov edx, 0x30df44b7
mov rcx, rdi
call fcn.140031d4c
mov qword [rsi + 0x30], rax
test rax, rax
je 0x140031aa9
movdqa xmm0, xmmword [0x140034050]
mov ecx, 0x37
movdqa xmm1, xmmword [0x140034040]
movdqu xmmword [rbp - 0x19], xmm0
mov dword [rbp + 0x17], 0x77503f0e
movdqa xmm0, xmmword [0x140034060]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp + 0x1b], 0x560a
movdqu xmmword [rbp - 9], xmm1
call fcn.140033298
mov r8d, 0x36
lea rdx, [rbp - 0x19]
mov rcx, rax
mov rdi, rax
call fcn.1400332e0
mov byte [rdi + 0x36], r15b
lea r15, [rsi + 8]
xor edx, edx
mov cl, dl
mov eax, 0x12345678
and cl, 3
shl cl, 3
sar eax, cl
xor byte [rdx + rdi], al
inc rdx
cmp rdx, 0x36
jb 0x140031963
mov r9d, 0x18
mov dword [rsp + 0x20], r14d
mov r8, rdi
xor edx, edx
mov rcx, r15
call qword [rsi + 0x18]
test eax, eax
jne 0x140031a03
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x1400319ee
or r14d, 8
mov r9d, 0x18
mov r8, rdi
mov dword [rsp + 0x20], r14d
xor edx, edx
mov rcx, r15
call qword [rsi + 0x18]
test eax, eax
jne 0x140031a03
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090345
je 0x1400319d9
cmp eax, 2
jne 0x140031a91
test r14b, 0x20
jne 0x140031a91
mov r14d, 0x20
jmp 0x140031961
cmp eax, 0x80090345
je 0x1400319fe
cmp eax, 2
jne 0x140031a91
test r14d, r14d
jmp 0x1400319dd
mov rdx, qword [rbp + 0x6f]
lea rcx, [rbp - 0x2d]
mov r8, r12
mov dword [rbp - 0x39], 0x208
mov dword [rbp - 0x35], 0x660e
mov dword [rbp - 0x31], r12d
call fcn.1400332e0
mov rcx, qword [r15]
lea r14, [rsi + 0x10]
xor r12d, r12d
mov qword [rsp + 0x28], r14
xor r9d, r9d
mov dword [rsp + 0x20], r12d
lea rdx, [rbp - 0x39]
lea r8d, [r12 + 0x1c]
call qword [rsi + 0x28]
xor edx, edx
test eax, eax
je 0x140031a93
lea r8d, [r12 + 0x1c]
lea rcx, [rbp - 0x39]
call fcn.14003335c
mov rcx, qword [r14]
lea edx, [r12 + 1]
xor r9d, r9d
mov r8, r13
call qword [rsi + 0x30]
test eax, eax
je 0x140031a91
mov rcx, qword [r14]
lea r8, [rbp + 0x67]
xor r9d, r9d
mov dword [rbp + 0x67], 1
lea edx, [r12 + 4]
call qword [rsi + 0x30]
test eax, eax
je 0x140031a91
mov byte [rsi], 1
xor edx, edx
mov r8d, 0x36
mov rcx, rdi
call fcn.14003335c
mov rcx, rdi
call fcn.140033278
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0xd]
call fcn.14003335c
mov rcx, rbx
call fcn.140033278
mov rbx, qword [rsp + 0xf0]
mov rax, rsi
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret