Function at 0x180016a40
Capabilities:
Encode data using xor
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
xor esi, esi
mov dword [rbp - 0x10], esi
mov rdx, qword [rcx]
mov rax, qword [rdx]
mov qword [rdx + 8], rax
mov rbx, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
lea rcx, [rbp - 0x60]
call fcn.180011e80
mov r8, rax
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.180003380
mov rdx, rax
mov rcx, qword [rdi]
call fcn.180015b70
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x180014444
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001443f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001443f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007ca3c
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
mov qword [rcx + 8], rax
mov rbx, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
lea rcx, [rbp - 0x60]
call fcn.180011e80
mov r8, rax
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.180003380
mov rdx, rax
mov rcx, qword [rdi + 0x18]
call fcn.180015b70
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1800144b8
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800144b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800144b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007ca3c
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x3ff
and ax, cx
cmp ax, 4
jne 0x1800144e4
mov rcx, qword [rdi + 0x28]
lea rdx, [0x180094068]
mov rcx, qword [rcx]
call fcn.1800196f0
jmp 0x1800145d5
mov dword [rbp - 0x60], 0x3cf03eb
mov dword [rbp - 0x5c], 0x3a003a4
mov dword [rbp - 0x58], 0x3a603b6
mov dword [rbp - 0x54], 0x3e503a0
mov dword [rbp - 0x50], 0x3b203b5
mov dword [rbp - 0x4c], 0x3aa03ab
mov dword [rbp - 0x48], 0x3b803af
mov dword [rbp - 0x44], 0x3ab03bf
mov dword [rbp - 0x40], 0x3a303bb
mov dword [rbp - 0x3c], 0x3a803bc
mov dword [rbp - 0x38], 0x3fc
mov byte [rbp - 0x34], 1
mov rcx, rsi
mov edx, 0x3be
nop dword [rax]
lea eax, [rdx + rcx]
xor word [rbp + rcx*2 - 0x60], ax
inc rcx
cmp rcx, 0x15
jb 0x180014540
mov byte [rbp - 0x34], sil
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 7
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x30]
call fcn.180011cf0
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov rcx, qword [rdi + 0x28]
mov rcx, qword [rcx]
call fcn.1800196f0
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1800145d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800145d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800145d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007ca3c
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
add rcx, 8
jmp 0x1800143b0