Function at 0x18017a168
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x120
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r14, rdx
mov rdi, rcx
xor r11d, r11d
mov r10, qword [rcx + 0x380]
lea rdx, [r10 - 0x34]
call fcn.180174a10
mov r12d, eax
mov eax, dword [r10 - 0x20]
add r12, rax
mov r15, qword [rdi + 0x68]
cmp r12, r15
jbe 0x18017a1d3
mov dword [rdi + 0x440], 0x80006
mov qword [r14], r11
mov qword [r14 + 8], r11
mov qword [r14 + 0x10], r11
jmp 0x18017a786
sub r15, r12
lea rcx, [r15 + 2]
call fcn.180269800
mov r13, rax
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x58], rax
mov ecx, 0x18
call fcn.1802690a8
mov rsi, rax
mov qword [rbp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov eax, 1
mov qword [rsp + 0x78], rax
mov dword [rsi + 8], eax
mov dword [rsi + 0xc], eax
lea rcx, vtable.std::_Ref_count_unsigned_char_.0
mov qword [rsi], rcx
mov qword [rsi + 0x10], r13
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], rsi
and qword [rbp - 0x58], 0
mov edx, eax
xor ecx, ecx
call fcn.180269534
nop
lea r8, [r15 + 2]
xor edx, edx
mov rcx, r13
call qword [sym.imp.VCRUNTIME140.dll_memset]
xor eax, eax
mov dword [rbp + 0x70], eax
mov qword [rsp + 0x60], rax
mov ebx, eax
mov dword [rbp + 0x60], eax
mov dword [rbp + 0x78], eax
test r15, r15
je 0x18017a73b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [rdi + 0x409], bl
jne 0x18017a2c0
test r12, r12
je 0x18017a2d0
mov rax, r12
shr rax, 0x20
mov dword [rsp + 0x58], eax
xor r9d, r9d
lea r8, [rsp + 0x58]
mov edx, r12d
mov rcx, qword [rdi + 0x400]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, eax
mov dword [rbp + 0x60], eax
cmp eax, 0xffffffff
je 0x18017a2ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x18017a2d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov r8d, 0x866
jmp 0x18017a746
mov ebx, dword [rdi + 0x470]
mov dword [rbp + 0x60], ebx
mov qword [rdi + 0x470], r12
cmp byte [rdi + 0x409], 0
je 0x18017a699
mov rcx, qword [rdi + 0x470]
mov rdx, qword [rdi + 0x3f0]
add rdx, rcx
mov qword [rsp + 0x70], rdx
mov r13, qword [rdi + 0x478]
add r13, rcx
mov ecx, dword [0x1802bccdc]
mov rax, qword gs:[0x58]
mov r8d, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8 + rcx]
cmp dword [0x1802c50c8], eax
jle 0x18017a54c
lea rcx, [0x1802c50c8]
call fcn.1802696f0
cmp dword [0x1802c50c8], 0xffffffff
jne 0x18017a547
lea rax, [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov dword [rsp + 0x40], 0x27
mov byte [rsp + 0x44], 0x75
mov byte [rsp + 0x45], 0x42
mov byte [rsp + 0x46], 0x46
mov byte [rsp + 0x47], 0x43
mov byte [rsp + 0x48], 0x77
mov byte [rsp + 0x49], 0x55
mov byte [rsp + 0x4a], 0x48
mov byte [rsp + 0x4b], 0x44
mov byte [rsp + 0x4c], 0x42
mov byte [rsp + 0x4d], 0x54
mov byte [rsp + 0x4e], 0x54
mov byte [rsp + 0x4f], 0x6a
mov byte [rsp + 0x50], 0x42
mov byte [rsp + 0x51], 0x4a
mov byte [rsp + 0x52], 0x48
mov byte [rsp + 0x53], 0x55
mov byte [rsp + 0x54], 0x5e
xor eax, eax
mov byte [rsp + 0x55], al
mov al, byte [rsp + 0x44]
xor r9d, r9d
mov edx, r9d
lea ebx, [r9 + 1]
mov al, byte [rsp + rdx + 0x44]
mov ecx, dword [rsp + 0x40]
xor cl, al
mov byte [rsp + rdx + 0x44], cl
add rdx, rbx
cmp rdx, 0x11
jb 0x18017a3b8
mov byte [rsp + 0x55], r9b
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r9
mov qword [rbp - 0x38], r9
lea rax, [rsp + 0x44]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r9b
jne 0x18017a3ec
lea rdx, [rsp + 0x44]
lea rcx, [rbp - 0x50]
call fcn.18007b70c
nop
mov dword [rsp + 0x30], 0x7d
mov byte [rsp + 0x34], 0x16
mov byte [rsp + 0x35], 0x18
mov byte [rsp + 0x36], 0xf
mov byte [rsp + 0x37], 0x13
mov byte [rsp + 0x38], 0x18
mov byte [rsp + 0x39], 0x11
mov byte [rsp + 0x3a], 0x4e
mov byte [rsp + 0x3b], 0x4f
xor eax, eax
mov byte [rsp + 0x3c], al
mov al, byte [rsp + 0x34]
xor edx, edx
mov al, byte [rsp + rdx + 0x34]
mov ecx, dword [rsp + 0x30]
xor cl, al
mov byte [rsp + rdx + 0x34], cl
add rdx, rbx
cmp rdx, 8
jb 0x18017a440
xor ebx, ebx
mov byte [rsp + 0x3c], bl
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
lea rax, [rsp + 0x34]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x18017a475
lea rdx, [rsp + 0x34]
lea rcx, [rbp - 0x80]
call fcn.18007b70c
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 8]
call fcn.180188b20
nop
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rbp - 0x50]
mov rdx, rax
lea rcx, [0x1802c4c50]
call fcn.180180580
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x18017a4f5
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017a4f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017a4f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], bl
xor edx, edx
lea r8d, [rdx + 9]
lea rcx, [rsp + 0x34]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x12]
lea rcx, [rsp + 0x44]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x18027dd50]
call fcn.18026951c
nop
lea rcx, [0x1802c50c8]
call fcn.180269690
mov rdx, qword [rsp + 0x70]
jmp 0x18017a54e
mov rdx, qword [rsp + 0x70]
xor ebx, ebx
mov rcx, qword [rdi + 0x478]
cmp r13, rcx
jb 0x18017a57e
add rcx, qword [rdi + 0x68]
cmp r13, rcx
ja 0x18017a57e
mov r8, r15
mov r13, qword [rsp + 0x68]
mov rcx, r13
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov qword [rsp + 0x60], r15
jmp 0x18017a647
lea rax, [rbp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8, r15
mov rdx, r13
mov rcx, rdi
call fcn.18017531c
cmp byte [rdi + 0x48a], bl
je 0x18017a5bb
mov r8, r15
mov rdx, r13
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov qword [rsp + 0x60], r15
jmp 0x18017a5ec
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9, qword [rsp + 0x68]
mov r8, r13
mov rdx, qword [rdi + 0x400]
lea rcx, [0x1802c4c50]
call fcn.1801810bc
test eax, eax
setne byte [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x78]
mov r8, r15
mov rdx, r13
mov rcx, rdi
call fcn.18017531c
cmp byte [rsp + 0x78], 0
jne 0x18017a623
mov r8d, 0x8bd
mov edx, ebx
jmp 0x18017a746
cmp r15, qword [rsp + 0x60]
je 0x18017a63a
mov edx, 0x80006
mov r8d, 0x8c1
jmp 0x18017a746
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r13, qword [rsp + 0x68]
mov ebx, dword [rbp + 0x60]
cmp byte [rdi + 0x409], 0
jne 0x18017a6dd
test r12, r12
je 0x18017a6e6
xor r9d, r9d
lea r8, [rsp + 0x58]
mov edx, ebx
mov rcx, qword [rdi + 0x400]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x18017a686
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x18017a6e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov r8d, 0x8e2
jmp 0x18017a746
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x70]
mov r8d, r15d
mov rdx, r13
mov rcx, qword [rdi + 0x400]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18017a72b
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x18017a72b
mov eax, dword [rbp + 0x70]
cmp r15, rax
je 0x18017a64a
mov edx, 0x80006
mov r8d, 0x8d5
jmp 0x18017a746
mov eax, ebx
mov qword [rdi + 0x470], rax
cmp byte [rdi + 4], 0
je 0x18017a6f3
add qword [rdi + 0x470], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
mov rdx, r15
mov rcx, r14
call fcn.1800aea1c
mov rbx, qword [r14]
mov r8, r15
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_memmove]
lea rax, [r15 + rbx]
jmp 0x18017a757
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov r8d, 0x8d1
jmp 0x18017a746
mov edx, 0x57
mov r8d, 0x849
mov rcx, rdi
call fcn.1801728a8
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 0x10], rax
mov qword [r14 + 8], rax
or eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x18017a786
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x18017a786
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + VariantCopy]
mov rax, r14
mov rbx, qword [rsp + 0x168]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret