Function at 0x180076900
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query environment variable
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2658]
mov eax, 0x2758
call fcn.180101d50
sub rsp, rax
movaps xmmword [rsp + 0x2740], xmm6
movaps xmmword [rsp + 0x2730], xmm7
mov rax, qword [0x180140080]
xor rax, rsp
mov qword [rbp + 0x2620], rax
mov qword [rbp - 0x48], r9
mov r15, r8
mov rdi, rdx
mov qword [rbp - 0x50], rdx
mov qword [rbp + 8], rcx
mov rax, qword [rbp + 0x26c8]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp + 0x26d0]
mov qword [rbp - 0x60], rax
xor esi, esi
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp + 0x620]
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], si
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.18006f8f0
mov rdx, rax
mov rcx, rdi
call fcn.1800053e0
lea rcx, [rbp - 0x80]
call fcn.1800058a0
mov r9, qword [rdi + 0x10]
lea r14, [rsi - 1]
test r9, r9
je 0x180076ab2
mov rdx, rdi
mov r8, qword [rdi + 0x18]
cmp r8, 7
jbe 0x1800769fb
mov rdx, qword [rdi]
lea rcx, [r9 - 1]
mov rax, r14
cmp rcx, rax
cmovb rax, rcx
lea rcx, [rdx + rax*2]
cmp word [rcx], 0x5c
je 0x180076a22
cmp rcx, rdx
je 0x180076a2d
sub rcx, 2
cmp word [rcx], 0x5c
jne 0x180076a13
sub rcx, rdx
sar rcx, 1
cmp rcx, r14
jne 0x180076a6b
mov rdx, rdi
cmp r8, 7
jbe 0x180076a39
mov rdx, qword [rdi]
lea rcx, [r9 - 1]
mov rax, r14
cmp rcx, rax
cmovb rax, rcx
lea rcx, [rdx + rax*2]
cmp word [rcx], 0x2f
je 0x180076a60
cmp rcx, rdx
je 0x180076ab2
sub rcx, 2
cmp word [rcx], 0x2f
jne 0x180076a51
sub rcx, rdx
sar rcx, 1
cmp rcx, r14
je 0x180076ab2
inc rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rsi
mov qword [rbp], rsi
mov rax, r9
cmp r9, rcx
jb 0x18007788f
sub rax, rcx
mov r8, r14
cmp rax, r14
cmovb r8, rax
mov rax, rdi
cmp qword [rdi + 0x18], 7
jbe 0x180076aa3
mov rax, qword [rdi]
lea rdx, [rax + rcx*2]
lea rcx, [rbp - 0x18]
call fcn.1800065a0
jmp 0x180076abf
mov rdx, rdi
lea rcx, [rbp - 0x18]
call fcn.180005480
nop
mov r12, qword [rbp - 8]
cmp dword [0x180777a4c], 9
ja 0x180076b30
lea rcx, [rbp - 0x18]
mov r13, qword [rbp]
cmp r13, 7
mov rbx, qword [rbp - 0x18]
cmova rcx, rbx
mov qword [rsp + 0x20], 7
lea r9, str.ext_ms_
xor r8d, r8d
mov rdx, r12
call fcn.180008db0
test rax, rax
jne 0x180076b30
mov eax, 4
cmp r12, rax
cmovb rax, r12
lea rcx, [rbp - 0x18]
cmp r13, 7
cmova rcx, rbx
sub r12, rax
lea r8, [r12*2 + 2]
lea rdx, [rcx + rax*2]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 8], r12
mov rax, qword [rbp + 8]
mov r13, qword [rax + 8]
mov rbx, qword [r13]
cmp rbx, r13
je 0x180076ba3
mov rsi, qword [rbp - 0x18]
mov rdi, qword [rbp]
nop dword [rax]
lea r9, [rbx + 0x10]
cmp qword [r9 + 0x18], 7
jbe 0x180076b5e
mov r9, qword [r9]
mov rax, r14
inc rax
cmp word [r9 + rax*2], 0
jne 0x180076b61
lea rcx, [rbp - 0x18]
cmp rdi, 7
cmova rcx, rsi
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r12
call fcn.180008db0
cmp rax, 0xffffffffffffffff
jne 0x180076b99
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r13
jne 0x180076b50
mov rdi, qword [rbp - 0x50]
xor esi, esi
mov rax, qword [rbp + 8]
cmp rbx, qword [rax + 8]
je 0x180076d4e
mov rdx, qword [rbx + 0x30]
cmp rdx, qword [rbx + 0x38]
je 0x180076c03
mov rax, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 7
jbe 0x180076bc5
mov r15, qword [r15]
mov rcx, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x180076bd3
mov rdx, qword [rdx]
cmp rcx, rax
jne 0x180076bff
test rcx, rcx
je 0x180076bf5
sub rdx, r15
movzx eax, word [rdx + r15]
cmp ax, word [r15]
jne 0x180076bff
add r15, 2
sub rcx, 1
jne 0x180076be0
mov r15, qword [rbx + 0x38]
sub r15, 0x20
jmp 0x180076c03
mov r15, qword [rbx + 0x30]
mov rcx, rdi
mov rdx, r15
call fcn.180005360
mov r9, qword [rbp - 0x60]
mov r8, qword [rbp - 0x58]
mov rdx, rdi
call fcn.1800778a0
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x18007783f
cmp eax, 0xc015001d
je 0x18007783f
test byte [rbp + 0x26c0], 2
je 0x180077841
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
mov edx, 0xff
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rbp + 0x20]
nop dword [rax + rax]
inc r14
cmp word [rax + r14*2], 0
jne 0x180076c80
mov r8, r14
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1800065a0
nop
mov r8d, 1
lea rdx, [0x180124084]
lea rcx, [rsp + 0x60]
call fcn.1800052e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x180076cf2
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1800052e0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.1800053e0
lea rcx, [rbp - 0x80]
call fcn.1800058a0
nop
lea rcx, [rsp + 0x40]
call fcn.1800058a0
nop
lea rcx, [rsp + 0x60]
call fcn.1800058a0
jmp 0x180077841
mov r12d, dword [rbp + 0x26c0]
test r12b, 1
jne 0x180076d8f
mov r9, qword [rbp - 0x60]
mov r13, qword [rbp - 0x58]
mov r8, r13
mov rdx, rdi
call fcn.1800778a0
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x18007783f
cmp eax, 0xc015001d
je 0x18007783f
test r12b, 4
je 0x180076d99
mov esi, 0xc0000225
jmp 0x180077841
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x180076da6
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x180077841
mov qword [rbp + 0x18], rsi
lea r8, [rbp + 0x18]
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerKnownDLLs
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
movsxd r15, eax
test eax, eax
jne 0x180076ec0
mov ebx, esi
nop
test r15, r15
jne 0x180076ec0
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x420]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 8], 0xff
mov dword [rbp + 0x10], esi
lea rax, [rbp + 8]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 8]
lea r8, [rbp + 0x420]
mov edx, ebx
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
movsxd r15, eax
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x180076eb2
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x220]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 8], 0xff
mov edx, 0xff
lea rcx, [rbp + 0x220]
test r12b, 8
je 0x180076ea3
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x180076ea9
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test r15, r15
je 0x180076f99
inc ebx
cmp ebx, 0x1000
jl 0x180076de0
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rdx + 0x10]
lea rbx, [0x180124084]
test rcx, rcx
je 0x1800770db
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 1
jb 0x180077889
cmp qword [rdx + 0x18], 7
jbe 0x180076ef9
mov rdx, qword [rdx]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rcx
mov r9, rdx
lea rcx, [rbp - 0x80]
call fcn.1800787f0
nop
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 8]
lea rcx, [rbp - 0x80]
call fcn.1800052e0
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x60], xmm6
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x18007708f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007708a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18007708a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rbp + 0x220]
mov r8, r14
inc r8
cmp word [rax + r8*2], 0
jne 0x180076fb4
lea rdx, [rbp + 0x220]
lea rcx, [rsp + 0x60]
call fcn.1800065a0
nop
mov r8d, 1
lea rdx, [0x180124084]
lea rcx, [rsp + 0x60]
call fcn.1800052e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rax, [rbp + 0x20]
nop dword [rax]
inc r14
cmp word [rax + r14*2], 0
jne 0x180077020
mov r8, r14
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1800052e0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.1800053e0
lea rcx, [rbp - 0x80]
call fcn.1800058a0
nop
lea rcx, [rsp + 0x40]
call fcn.1800058a0
nop
lea rcx, [rsp + 0x60]
call fcn.1800058a0
jmp 0x1800777d0
call fcn.18010107c
movups xmmword [rbp - 0x38], xmm6
movups xmmword [rbp - 0x28], xmm7
movdqa xmm0, xmmword [0x1801254c0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], si
lea rcx, [rsp + 0x60]
call fcn.1800058a0
nop
lea rcx, [rbp - 0x80]
call fcn.1800058a0
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1800777e8
mov r8d, dword [r13 + 8]
lea rdx, [rbp - 0x80]
call fcn.180077d60
nop
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call fcn.1800052e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 8]
lea rcx, [rsp + 0x40]
call fcn.1800052e0
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x60], xmm6
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x1800771a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800771a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800771a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18010107c
movups xmmword [rbp - 0x38], xmm6
movups xmmword [rbp - 0x28], xmm7
movdqa xmm0, xmmword [0x1801254c0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], si
lea rcx, [rsp + 0x60]
call fcn.1800058a0
nop
lea rcx, [rsp + 0x40]
call fcn.1800058a0
nop
lea rcx, [rbp - 0x80]
call fcn.1800058a0
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1800777e8
mov edx, 0x1000
lea rcx, [rbp + 0x620]
test r12b, 8
je 0x180077216
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x18007721c
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rbp + 0x620]
mov r8, r14
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180077240
lea rdx, [rbp + 0x620]
lea rcx, [rsp + 0x60]
call fcn.1800065a0
nop
mov r8d, 1
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1800052e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 8]
lea rcx, [rsp + 0x40]
call fcn.1800052e0
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x80], xmm6
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x18007731a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180077315
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180077315
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18010107c
movups xmmword [rbp - 0x38], xmm6
movups xmmword [rbp - 0x28], xmm7
movdqa xmm0, xmmword [0x1801254c0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], si
lea rcx, [rbp - 0x80]
call fcn.1800058a0
nop
lea rcx, [rsp + 0x40]
call fcn.1800058a0
nop
lea rcx, [rsp + 0x60]
call fcn.1800058a0
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1800777e8
mov edx, 0x1000
lea rcx, [rbp + 0x620]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rbp + 0x620]
mov r8, r14
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800773a0
lea rdx, [rbp + 0x620]
lea rcx, [rsp + 0x60]
call fcn.1800065a0
nop
mov r8d, 1
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1800052e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 8]
lea rcx, [rsp + 0x40]
call fcn.1800052e0
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x80], xmm6
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x18007747a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180077475
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180077475
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18010107c
movups xmmword [rbp - 0x38], xmm6
movups xmmword [rbp - 0x28], xmm7
movdqa xmm0, xmmword [0x1801254c0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], si
lea rcx, [rbp - 0x80]
call fcn.1800058a0
nop
lea rcx, [rsp + 0x40]
call fcn.1800058a0
nop
lea rcx, [rsp + 0x60]
call fcn.1800058a0
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1800777e8
lea rdx, [rbp + 0x620]
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rbp + 0x620]
mov r8, r14
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180077500
lea rdx, [rbp + 0x620]
lea rcx, [rsp + 0x60]
call fcn.1800065a0
nop
mov r8d, 1
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1800052e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 8]
lea rcx, [rsp + 0x40]
call fcn.1800052e0
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x80], xmm6
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x1800775da
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800775d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800775d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18010107c
movups xmmword [rbp - 0x38], xmm6
movups xmmword [rbp - 0x28], xmm7
movdqa xmm0, xmmword [0x1801254c0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], si
lea rcx, [rbp - 0x80]
call fcn.1800058a0
nop
lea rcx, [rsp + 0x40]
call fcn.1800058a0
nop
lea rcx, [rsp + 0x60]
call fcn.1800058a0
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1800777e8
mov r8d, 0x1000
lea rdx, [rbp + 0x620]
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea r8, [rbp - 0x40]
lea rdx, [0x180124118]
lea rcx, [rbp + 0x620]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
je 0x1800777cb
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov r8, r14
inc r8
cmp word [rax + r8*2], 0
jne 0x180077685
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1800065a0
nop
mov r8d, 1
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1800052e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 8]
lea rcx, [rsp + 0x40]
call fcn.1800052e0
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x80], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm7
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x18007775d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180077758
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800777e1
call fcn.18010107c
movups xmmword [rbp - 0x38], xmm6
movups xmmword [rbp - 0x28], xmm7
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], si
lea rcx, [rbp - 0x80]
call fcn.1800058a0
nop
lea rcx, [rsp + 0x40]
call fcn.1800058a0
nop
lea rcx, [rsp + 0x60]
call fcn.1800058a0
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1800777e8
lea r8, [rbp - 0x40]
lea rdx, [0x180124118]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
jne 0x180077670
mov esi, 0xc0000225
mov rcx, qword [rbp + 0x18]
test rcx, rcx
jle 0x180077841
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180077841
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rax, [rbp - 0x38]
cmp rdi, rax
je 0x1800777d0
lea r9, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova r9, qword [rbp - 0x38]
mov rax, qword [rdi + 0x18]
mov rbx, qword [rbp - 0x28]
cmp rbx, rax
ja 0x180077832
cmp rax, 7
mov r14, rdi
jbe 0x180077818
mov r14, qword [rdi]
mov qword [rdi + 0x10], rbx
lea r8, [rbx + rbx]
mov rdx, r9
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov word [r14 + rbx*2], si
jmp 0x1800777d0
mov rdx, rbx
mov rcx, rdi
call fcn.180006260
jmp 0x1800777d0
mov esi, eax
lea rcx, [rbp - 0x18]
call fcn.1800058a0
nop
lea rcx, [rbp - 0x38]
call fcn.1800058a0
mov eax, esi
mov rcx, qword [rbp + 0x2620]
xor rcx, rsp
call fcn.180100f50
movaps xmm6, xmmword [rsp + 0x2740]
movaps xmm7, xmmword [rsp + 0x2730]
add rsp, 0x2758
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.180001630
nop
call fcn.180005cc0
int3