Function at 0x140091380
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 [0x140147140]
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], 0x18213e24
mov dword [rbp - 0x54], 0x22222a3d
mov word [rbp - 0x50], 0x100
mov ecx, edi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x4a]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 8
jb 0x1400913d0
mov byte [rbp - 0x4f], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140022330
nop
cmp byte [rbx], 0
jne 0x14009140b
mov byte [rbx], 1
call fcn.140083350
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14009141f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.140088160
jmp 0x140091423
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0xa0]
mov rdx, rax
call fcn.140080a80
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140091471
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009146c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009146c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ed6a0
mov dword [rbp - 0x58], 0x2213e24
mov dword [rbp - 0x54], 0x3f392320
mov dword [rbp - 0x50], 0x30270637
mov dword [rbp - 0x4c], 0x1002424
mov rcx, rdi
lea eax, [rcx + 0x4a]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 0xe
jb 0x140091490
mov byte [rbp - 0x49], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x4a]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140022330
nop
cmp byte [rbx], 0
jne 0x1400914cb
mov byte [rbx], 1
call fcn.140083350
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400914df
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.140088160
jmp 0x1400914e3
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0xc0]
mov rdx, rax
call fcn.140080a80
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140091531
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009152c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009152c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ed6a0
mov dword [rbp - 0x58], 0x6213e24
mov dword [rbp - 0x54], 0x23362b
mov byte [rbp - 0x50], 1
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx + 0x4a]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 7
jb 0x140091550
mov byte [rbp - 0x50], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140022330
nop
cmp byte [rbx], 0
jne 0x14009158b
mov byte [rbx], 1
call fcn.140083350
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14009159f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.140088160
jmp 0x1400915a3
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0xe0]
mov rdx, rax
call fcn.140080a80
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400915f1
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400915ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400915ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ed6a0
mov dword [rbp - 0x58], 0x3e3e2e3c
mov dword [rbp - 0x54], 0x3e2027
mov byte [rbp - 0x50], 1
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx + 0x4a]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 7
jb 0x140091610
mov byte [rbp - 0x50], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140022330
nop
cmp byte [rbx], 0
jne 0x14009164b
mov byte [rbx], 1
call fcn.140083350
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14009165f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.140088160
jmp 0x140091663
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0x100]
mov rdx, rax
call fcn.140080a80
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400916b1
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400916ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400916ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ed6a0
movdqa xmm0, xmmword [0x140121ef0]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x48], Ordinal_50
mov byte [rbp - 0x46], 1
nop dword [rax + rax]
lea eax, [rdi + 0x4a]
xor byte [rbp + rdi - 0x58], al
inc rdi
cmp rdi, 0x11
jb 0x1400916d0
mov byte [rbp - 0x46], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x47]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x40]
call fcn.140022330
nop
cmp byte [rbx], 0
jne 0x14009170b
mov byte [rbx], 1
call fcn.140083350
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x14009171f
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call fcn.140088160
jmp 0x140091723
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + 0x120]
mov rdx, rax
call fcn.140080a80
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140091772
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009176c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009176c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ed6a0
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.14008a2d0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400edb20
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret