Function at 0x140031a90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400ac0c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rbp - 0x18], rdx
xor edi, edi
mov dword [rbp - 0x58], 0x2019061c
mov dword [rbp - 0x54], 0xa0a1205
mov word [rbp - 0x50], 0x100
mov ecx, edi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x72]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 8
jb 0x140031ae0
mov byte [rbp - 0x4f], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140023380
nop
cmp byte [rbx], 0
jne 0x140031b1b
mov byte [rbx], 1
call fcn.1400258b0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x140031b2f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.14002a7d0
jmp 0x140031b33
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0xa0]
mov rdx, rax
call fcn.1400234b0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140031b81
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031b7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140031b7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400867b8
mov dword [rbp - 0x58], 0x3a19061c
mov dword [rbp - 0x54], 0x17111b18
mov dword [rbp - 0x50], 0x180f2e1f
mov dword [rbp - 0x4c], 0x1000c0c
mov rcx, rdi
lea eax, [rcx + 0x72]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 0xe
jb 0x140031ba0
mov byte [rbp - 0x49], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x4a]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140023380
nop
cmp byte [rbx], 0
jne 0x140031bdb
mov byte [rbx], 1
call fcn.1400258b0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x140031bef
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.14002a7d0
jmp 0x140031bf3
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0xc0]
mov rdx, rax
call fcn.1400234b0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140031c41
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031c3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140031c3c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400867b8
mov dword [rbp - 0x58], 0x3e19061c
mov dword [rbp - 0x54], 0xb0e13
mov byte [rbp - 0x50], 1
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx + 0x72]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 7
jb 0x140031c60
mov byte [rbp - 0x50], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140023380
nop
cmp byte [rbx], 0
jne 0x140031c9b
mov byte [rbx], 1
call fcn.1400258b0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x140031caf
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.14002a7d0
jmp 0x140031cb3
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0xe0]
mov rdx, rax
call fcn.1400234b0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140031d01
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031cfc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140031cfc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400867b8
mov dword [rbp - 0x58], 0x6061604
mov dword [rbp - 0x54], 0x16181f
mov byte [rbp - 0x50], 1
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx + 0x72]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 7
jb 0x140031d20
mov byte [rbp - 0x50], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140023380
nop
cmp byte [rbx], 0
jne 0x140031d5b
mov byte [rbx], 1
call fcn.1400258b0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x140031d6f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.14002a7d0
jmp 0x140031d73
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0x100]
mov rdx, rax
call fcn.1400234b0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140031dc1
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031dbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140031dbc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400867b8
movdqa xmm0, xmmword [0x14008d0b0]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x48], 0xe9
mov byte [rbp - 0x46], 1
nop dword [rax + rax]
lea eax, [rdi + 0x72]
xor byte [rbp + rdi - 0x58], al
inc rdi
cmp rdi, 0x11
jb 0x140031de0
mov byte [rbp - 0x46], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x47]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140023380
nop
cmp byte [rbx], 0
jne 0x140031e1b
mov byte [rbx], 1
call fcn.1400258b0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x140031e2f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.14002a7d0
jmp 0x140031e33
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0x120]
mov rdx, rax
call fcn.1400234b0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140031e82
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031e7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140031e7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400867b8
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.14002c9a0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400862a0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret