Function at 0x14001c550
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
jmp 0x14001c550
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x2960
call fcn.1400010a0
sub rsp, rax
mov rdi, rsp
mov ecx, 0xa58
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2970]
mov qword [rsp + 0x2950], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x2958], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0x1000
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x2000
rep stosb byte [rdi], al
mov eax, 2
imul rax, rax, 0
mov ecx, 0x22
mov word [rsp + rax + 0x50], cx
cmp qword [rsp + 0x2970], 0
je 0x14001c5ff
mov rcx, qword [rsp + 0x2970]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jl 0x14001c5ff
mov rcx, qword [rsp + 0x2970]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0xffa
jl 0x14001c608
mov eax, dword [rsp + 0x30]
jmp 0x14001c8ee
mov rdx, qword [rsp + 0x2970]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x1401ddcfc]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov qword [rsp + 0x2058], 0
lea rdx, [0x1401ddee0]
lea rcx, [rsp + 0x2068]
call fcn.140001faa
nop
call fcn.140004642
lea rdx, [rsp + 0x2068]
mov rcx, rax
call fcn.140003166
mov qword [rsp + 0x2060], rax
lea rcx, [rsp + 0x2068]
call fcn.1400073ce
cmp qword [rsp + 0x2060], 0
je 0x14001c6a0
lea rdx, [0x1401ddef8]
mov rcx, qword [rsp + 0x2060]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x2058], rax
cmp qword [rsp + 0x2058], 0
jne 0x14001c6b4
mov eax, dword [rsp + 0x30]
jmp 0x14001c8ee
mov dword [rsp + 0x2090], 3
mov edx, 3
lea rcx, [rsp + 0x20b0]
call fcn.14001e200
mov dword [rsp + 0x26e4], 0
jmp 0x14001c6ee
mov eax, dword [rsp + 0x26e4]
inc eax
mov dword [rsp + 0x26e4], eax
cmp dword [rsp + 0x26e4], 3
jge 0x14001c7c5
movsxd rax, dword [rsp + 0x26e4]
imul rax, rax, 0x210
lea rax, [rsp + rax + 0x20b0]
mov ecx, 2
imul rcx, rcx, 0
movzx eax, word [rax + rcx]
test eax, eax
jne 0x14001c726
jmp 0x14001c6de
movsxd rax, dword [rsp + 0x26e4]
imul rax, rax, 0x210
lea rax, [rsp + rax + 0x20b0]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8, rax
lea rdx, [0x1401ddf08]
xor ecx, ecx
call qword [rsp + 0x2058]
cmp rax, 0x20
jbe 0x14001c7c0
movsxd rax, dword [rsp + 0x26e4]
imul rax, rax, 0x210
cmp dword [rsp + rax + 0x22b8], 0
je 0x14001c7a1
movsxd rax, dword [rsp + 0x26e4]
imul rax, rax, 0x210
mov eax, dword [rsp + rax + 0x22bc]
mov dword [rsp + 0x30], eax
jmp 0x14001c7be
movsxd rax, dword [rsp + 0x26e4]
imul rax, rax, 0x210
mov eax, dword [rsp + rax + 0x22bc]
add eax, 0x10
mov dword [rsp + 0x30], eax
jmp 0x14001c7c5
jmp 0x14001c6de
cmp dword [rsp + 0x30], 0
jne 0x14001c803
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x50]
lea rdx, [0x1401ddf18]
xor ecx, ecx
call qword [rsp + 0x2058]
cmp rax, 0x20
jbe 0x14001c803
mov dword [rsp + 0x30], 0x10
cmp dword [rsp + 0x30], 0
jne 0x14001c8ea
lea rax, [0x1401ddf30]
mov qword [rsp + 0x26f8], rax
lea rax, [0x1401ddfa0]
mov qword [rsp + 0x2700], rax
mov qword [rsp + 0x2718], 0
jmp 0x14001c84d
mov rax, qword [rsp + 0x2718]
inc rax
mov qword [rsp + 0x2718], rax
cmp qword [rsp + 0x2718], 2
jae 0x14001c8ea
lea rax, [rsp + 0x2730]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov r8d, 0x103
lea rdx, [rsp + 0x2730]
mov rax, qword [rsp + 0x2718]
mov rcx, qword [rsp + rax*8 + 0x26f8]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rcx, [rsp + 0x2730]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001c8e5
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x2730]
lea rdx, [0x1401de000]
xor ecx, ecx
call qword [rsp + 0x2058]
cmp rax, 0x20
jbe 0x14001c8e5
mov dword [rsp + 0x30], 0x10
jmp 0x14001c8ea
jmp 0x14001c83a
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401de1b8]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x2958]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x2960
pop rdi
ret