Function at 0x1800d3ddc
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Encode data using xor
Get file attributes
Query environment variable

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x7e8]
sub rsp, 0x8d0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rsi, rcx
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x1802bccdc]
mov rax, qword gs:[0x58]
mov r8d, 4
mov rdx, qword [rax + rcx*8]
mov edi, 1
mov eax, dword [r8 + rdx]
cmp dword [0x1802c34ac], eax
jle 0x1800d40b0
lea rcx, [0x1802c34ac]
call fcn.1802696f0
or rbx, 0xffffffffffffffff
cmp dword [0x1802c34ac], ebx
jne 0x1800d40b0
lea rax, [rbp - 0x80]
mov qword [rbp + 0x7f8], rax
mov byte [rsp + 0x40], 0x4a
mov byte [rsp + 0x41], 0x7d
mov byte [rsp + 0x42], 0x75
mov byte [rsp + 0x43], 0x66
mov byte [rsp + 0x44], 0x73
mov byte [rsp + 0x45], 0x69
mov byte [rsp + 0x46], 0x4a
mov byte [rsp + 0x47], 0x73
mov byte [rsp + 0x48], 0x7b
mov byte [rsp + 0x49], 0x6e
mov byte [rsp + 0x4a], 0x77
mov byte [rsp + 0x4b], 0x74
mov byte [rsp + 0x4c], 0x73
mov byte [rsp + 0x4d], 0x72
mov byte [rsp + 0x4e], 0x6a
mov byte [rsp + 0x4f], 0x73
mov byte [rsp + 0x50], 0x79
mov byte [rsp + 0x51], 0x58
mov byte [rsp + 0x52], 0x79
mov byte [rsp + 0x53], 0x77
mov byte [rsp + 0x54], 0x6e
mov byte [rsp + 0x55], 0x73
mov byte [rsp + 0x56], 0x6c
mov byte [rsp + 0x57], 0x78
mov byte [rsp + 0x58], 0x5c
mov byte [rsp + 0x59], 0
mov al, byte [rsp + 0x40]
xor ecx, ecx
mov al, byte [rsp + rcx + 0x40]
sub al, 5
mov byte [rsp + rcx + 0x40], al
add rcx, rdi
cmp rcx, 0x19
jb 0x1800d3eed
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
and qword [rbp - 0x70], 0
and qword [rbp - 0x68], 0
lea rax, [rsp + 0x40]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1800d3f19
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.18007b70c
nop
mov dword [rsp + 0x30], 0x79
mov eax, dword [rsp + 0x30]
xor al, 0x6b
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x30]
add al, dil
xor al, 0x65
mov byte [rsp + 0x35], al
mov eax, dword [rsp + 0x30]
add al, 2
xor al, 0x72
mov byte [rsp + 0x36], al
mov eax, dword [rsp + 0x30]
add al, 3
xor al, 0x6e
mov byte [rsp + 0x37], al
mov eax, dword [rsp + 0x30]
add al, 4
xor al, 0x65
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0x30]
add al, 5
xor al, 0x6c
mov byte [rsp + 0x39], al
mov eax, dword [rsp + 0x30]
add al, 6
xor al, 0x33
mov byte [rsp + 0x3a], al
mov eax, dword [rsp + 0x30]
add al, 7
xor al, 0x32
mov byte [rsp + 0x3b], al
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]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x34], cl
add rdx, rdi
cmp rdx, 8
jb 0x1800d3fa5
mov byte [rsp + 0x3c], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rsp + 0x34]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800d3fd9
mov r8, rbx
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x60]
call fcn.18007b70c
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.180188b20
nop
and qword [rsp + 0x20], 0
mov r9b, dil
lea r8, [rbp - 0x80]
mov rdx, rax
lea rcx, [0x1802c2a60]
call fcn.1800f3ad8
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1800d4061
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800d405c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800d405c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
movdqa xmm0, xmmword [0x180280de0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
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 + 0x1a]
lea rcx, [rsp + 0x40]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x18027d8b8]
call fcn.18026951c
nop
lea rcx, [0x1802c34ac]
call fcn.180269690
cmp qword [rsi + 0x18], 8
jb 0x1800d40ba
mov rsi, qword [rsi]
mov r8d, 0x400
lea rdx, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1800d40e0
test al, 0x10
je 0x1800d40e3
xor dil, dil
mov al, dil
mov rbx, qword [rsp + 0x8f0]
add rsp, 0x8d0
pop rdi
pop rsi
pop rbp
ret