Function at 0x1400a08e0
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 - 0x2a18]
mov eax, 0x2b18
call fcn.140127b50
sub rsp, rax
movaps xmmword [rsp + 0x2b00], xmm6
movaps xmmword [rsp + 0x2af0], xmm7
mov rax, qword [0x14016b0c0]
xor rax, rsp
mov qword [rbp + 0x29e0], rax
mov r13, r9
mov qword [rsp + 0x60], r9
mov r15, r8
mov rsi, rdx
mov qword [rsp + 0x70], rcx
mov rax, qword [rbp + 0x2a88]
mov qword [rsp + 0x68], rax
mov rax, qword [rbp + 0x2a90]
mov qword [rsp + 0x78], rax
xor edi, edi
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp + 0x9e0]
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movups xmmword [rbp + 0x188], xmm0
mov qword [rbp + 0x198], rdi
mov qword [rbp + 0x1a0], 7
mov word [rbp + 0x188], di
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 7
mov word [rsi], di
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x140]
call fcn.140099700
mov rdx, rax
mov rcx, rsi
call fcn.14007ce60
lea rcx, [rbp + 0x140]
call fcn.14007e600
mov r9, qword [rsi + 0x10]
lea r14, [rdi - 1]
test r9, r9
je 0x1400a0ab4
mov rdx, rsi
mov r8, qword [rsi + 0x18]
cmp r8, 7
jbe 0x1400a09f0
mov rdx, qword [rsi]
lea rcx, [r9 - 1]
mov rax, r14
cmp rcx, rax
cmovb rax, rcx
lea rcx, [rdx + rax*2]
cmp word [rcx], 0x5c
je 0x1400a0a17
cmp rcx, rdx
je 0x1400a0a22
sub rcx, 2
cmp word [rcx], 0x5c
jne 0x1400a0a08
sub rcx, rdx
sar rcx, 1
cmp rcx, r14
jne 0x1400a0a60
mov rdx, rsi
cmp r8, 7
jbe 0x1400a0a2e
mov rdx, qword [rsi]
lea rcx, [r9 - 1]
mov rax, r14
cmp rcx, rax
cmovb rax, rcx
lea rcx, [rdx + rax*2]
cmp word [rcx], 0x2f
je 0x1400a0a55
cmp rcx, rdx
je 0x1400a0ab4
sub rcx, 2
cmp word [rcx], 0x2f
jne 0x1400a0a46
sub rcx, rdx
sar rcx, 1
cmp rcx, r14
je 0x1400a0ab4
inc rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a8], xmm0
mov qword [rbp + 0x1b8], rdi
mov qword [rbp + 0x1c0], rdi
mov rax, qword [rsi + 0x10]
cmp rax, rcx
jb 0x1400a1a4a
sub rax, rcx
mov r8, r14
cmp rax, r14
cmovb r8, rax
mov rax, rsi
cmp qword [rsi + 0x18], 7
jbe 0x1400a0aa2
mov rax, qword [rsi]
lea rdx, [rax + rcx*2]
lea rcx, [rbp + 0x1a8]
call fcn.140081a10
jmp 0x1400a0ac4
mov rdx, rsi
lea rcx, [rbp + 0x1a8]
call fcn.14007cf00
nop
cmp dword [0x1401d417c], 9
ja 0x1400a0bbb
lea r10, [rbp + 0x1a8]
mov r12, qword [rbp + 0x1a8]
mov r13, qword [rbp + 0x1c0]
cmp r13, 7
cmova r10, r12
mov rbx, qword [rbp + 0x1b8]
cmp rbx, 7
jb 0x1400a0bb6
lea r11, [rbx - 6]
lea r11, [r10 + r11*2]
mov rcx, r10
lea r9, [0x14014cc28]
mov rax, r11
sub rax, rcx
sar rax, 1
mov rdx, rdi
je 0x1400a0b3b
cmp word [rcx], 0x65
je 0x1400a0b38
cmp rax, 1
je 0x1400a0b3b
dec rax
add rcx, 2
cmp word [rcx], 0x65
jne 0x1400a0b25
mov rdx, rcx
mov rcx, rdx
test rdx, rdx
je 0x1400a0bb6
mov r8d, 7
mov rdx, r9
mov r9, rcx
lea rax, [0x14014cc28]
sub r9, rax
nop dword [rax]
movzx eax, word [rdx + r9]
cmp ax, word [rdx]
jne 0x1400a0c5f
add rdx, 2
sub r8, 1
jne 0x1400a0b60
sub rcx, r10
sar rcx, 1
jne 0x1400a0bb6
mov eax, 4
cmp rbx, rax
cmovb rax, rbx
lea rcx, [rbp + 0x1a8]
cmp r13, 7
cmova rcx, r12
sub rbx, rax
lea rdx, [rcx + rax*2]
lea r8, [rbx*2 + 2]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x1b8], rbx
mov r13, qword [rsp + 0x60]
mov rax, qword [rsp + 0x70]
mov r12, qword [rax + 8]
mov rbx, qword [r12]
cmp rbx, r12
je 0x1400a0c00
nop dword [rax]
lea rdx, [rbx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x1400a0bde
mov rdx, qword [rdx]
lea rcx, [rbp + 0x1a8]
call fcn.1400a21d0
cmp rax, 0xffffffffffffffff
jne 0x1400a0bfb
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r12
jne 0x1400a0bd0
mov rax, qword [rsp + 0x70]
cmp rbx, qword [rax + 8]
je 0x1400a0dc8
mov rdx, qword [rbx + 0x30]
cmp rdx, qword [rbx + 0x38]
je 0x1400a0c6c
mov rax, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 7
jbe 0x1400a0c22
mov r15, qword [r15]
mov rcx, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x1400a0c30
mov rdx, qword [rdx]
cmp rcx, rax
jne 0x1400a0c68
test rcx, rcx
je 0x1400a0c55
sub rdx, r15
nop dword [rax]
movzx eax, word [r15 + rdx]
cmp ax, word [r15]
jne 0x1400a0c68
add r15, 2
sub rcx, 1
jne 0x1400a0c40
mov r15, qword [rbx + 0x38]
sub r15, 0x20
jmp 0x1400a0c6c
add rcx, 2
jmp 0x1400a0b0a
mov r15, qword [rbx + 0x30]
mov rcx, rsi
mov rdx, r15
call fcn.14007cde0
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x68]
mov rdx, rsi
call fcn.1400a1a50
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x1400a19f4
cmp eax, 0xc015001d
je 0x1400a19f4
test byte [rbp + 0x2a80], 2
je 0x1400a19f6
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x5e0]
call sub.VCRUNTIME140.dll_memset
mov edx, 0xff
lea rcx, [rbp + 0x5e0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x90], xmm1
lea rax, [rbp + 0x5e0]
inc r14
cmp word [rax + r14*2], 0
jne 0x1400a0cf3
mov r8, r14
lea rdx, [rbp + 0x5e0]
lea rcx, [rbp + 0x80]
call fcn.140081a10
nop
mov r8d, 1
lea rdx, [0x14014cc24]
lea rcx, [rbp + 0x80]
call fcn.14007cd50
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x1400a0d68
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x60]
call fcn.14007cd50
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14007ce60
lea rcx, [rsp + 0x40]
call fcn.14007e600
nop
lea rcx, [rbp - 0x60]
call fcn.14007e600
nop
lea rcx, [rbp + 0x80]
call fcn.14007e600
jmp 0x1400a19f6
mov r12d, dword [rbp + 0x2a80]
test r12b, 1
jne 0x1400a0e08
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x68]
mov rdx, rsi
call fcn.1400a1a50
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x1400a19f4
cmp eax, 0xc015001d
je 0x1400a19f4
test r12b, 4
je 0x1400a0e12
mov edi, 0xc0000225
jmp 0x1400a19f6
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x1400a0e1f
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400a19f6
mov qword [rbp + 0x1d8], rdi
lea r8, [rbp + 0x1d8]
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerKnownDLLs
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
movsxd r15, eax
test eax, eax
jne 0x1400a0f67
mov ebx, edi
nop dword [rax]
test r15, r15
jne 0x1400a0f67
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x7e0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x3e0]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x1c8], 0xff
mov dword [rbp + 0x1d0], edi
lea rax, [rbp + 0x1c8]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x3e0]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x1c8]
lea r8, [rbp + 0x7e0]
mov edx, ebx
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
movsxd r15, eax
lea rdx, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 7
cmova rdx, qword [rbp + 0x1a8]
lea rcx, [rbp + 0x3e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400a0f59
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x1c8], 0xff
mov edx, 0xff
lea rcx, [rbp + 0x1e0]
test r12b, 8
je 0x1400a0f4a
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x1400a0f50
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test r15, r15
je 0x1400a1055
inc ebx
cmp ebx, 0x1000
jl 0x1400a0e60
mov rcx, qword [r13 + 0x10]
lea rbx, [0x14014cc24]
test rcx, rcx
je 0x1400a11b4
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 1
jb 0x1400a1a44
cmp qword [r13 + 0x18], 7
jbe 0x1400a0f9d
mov r13, qword [r13]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rcx
mov r9, r13
lea rcx, [rbp + 0x120]
call fcn.140083e70
nop
lea rdx, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 7
cmova rdx, qword [rbp + 0x1a8]
mov r8, qword [rbp + 0x1b8]
lea rcx, [rbp + 0x120]
call fcn.14007cd50
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x40], xmm6
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp + 0x1a0]
cmp rdx, 7
jbe 0x1400a1156
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a1151
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a1151
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
lea rax, [rbp + 0x1e0]
mov r8, r14
inc r8
cmp word [rax + r8*2], 0
jne 0x1400a1074
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0xa0]
call fcn.140081a10
nop
mov r8d, 1
lea rdx, [0x14014cc24]
lea rcx, [rbp + 0xa0]
call fcn.14007cd50
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rdi
mov word [rax], di
lea rax, [rbp + 0x3e0]
inc r14
cmp word [rax + r14*2], 0
jne 0x1400a10e0
mov r8, r14
lea rdx, [rbp + 0x3e0]
lea rcx, [rbp - 0x40]
call fcn.14007cd50
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14007ce60
lea rcx, [rsp + 0x40]
call fcn.14007e600
nop
lea rcx, [rbp - 0x40]
call fcn.14007e600
nop
lea rcx, [rbp + 0xa0]
call fcn.14007e600
jmp 0x1400a1970
call fcn.1401270fc
movups xmmword [rbp + 0x188], xmm6
movups xmmword [rbp + 0x198], xmm7
movdqa xmm0, xmmword [0x14014df90]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
lea rcx, [rsp + 0x40]
call fcn.14007e600
nop
lea rcx, [rbp + 0x120]
call fcn.14007e600
lea rcx, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 7
cmova rcx, qword [rbp + 0x188]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400a198b
mov rax, qword [rsp + 0x68]
mov r8d, dword [rax + 8]
lea rdx, [rbp + 0x160]
call fcn.1400a1f10
nop
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call fcn.14007cd50
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rdx, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 7
cmova rdx, qword [rbp + 0x1a8]
mov r8, qword [rbp + 0x1b8]
lea rcx, [rbp - 0x20]
call fcn.14007cd50
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x40], xmm6
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp + 0x1a0]
cmp rdx, 7
jbe 0x1400a1293
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a128e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a128e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401270fc
movups xmmword [rbp + 0x188], xmm6
movups xmmword [rbp + 0x198], xmm7
movdqa xmm0, xmmword [0x14014df90]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
lea rcx, [rsp + 0x40]
call fcn.14007e600
nop
lea rcx, [rbp - 0x20]
call fcn.14007e600
nop
lea rcx, [rbp + 0x160]
call fcn.14007e600
lea rcx, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 7
cmova rcx, qword [rbp + 0x188]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400a198b
mov edx, 0x1000
lea rcx, [rbp + 0x9e0]
test r12b, 8
je 0x1400a1315
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x1400a131b
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd0], xmm1
lea rax, [rbp + 0x9e0]
mov r8, r14
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400a1340
lea rdx, [rbp + 0x9e0]
lea rcx, [rbp + 0xc0]
call fcn.140081a10
nop
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0xc0]
call fcn.14007cd50
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rdx, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 7
cmova rdx, qword [rbp + 0x1a8]
mov r8, qword [rbp + 0x1b8]
lea rcx, [rbp]
call fcn.14007cd50
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x40], xmm6
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp + 0x1a0]
cmp rdx, 7
jbe 0x1400a142c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a1427
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a1427
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401270fc
movups xmmword [rbp + 0x188], xmm6
movups xmmword [rbp + 0x198], xmm7
movdqa xmm0, xmmword [0x14014df90]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
lea rcx, [rsp + 0x40]
call fcn.14007e600
nop
lea rcx, [rbp]
call fcn.14007e600
nop
lea rcx, [rbp + 0xc0]
call fcn.14007e600
lea rcx, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 7
cmova rcx, qword [rbp + 0x188]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400a198b
mov edx, 0x1000
lea rcx, [rbp + 0x9e0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf0], xmm1
lea rax, [rbp + 0x9e0]
mov r8, r14
inc r8
cmp word [rax + r8*2], 0
jne 0x1400a14c5
lea rdx, [rbp + 0x9e0]
lea rcx, [rbp + 0xe0]
call fcn.140081a10
nop
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0xe0]
call fcn.14007cd50
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rdx, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 7
cmova rdx, qword [rbp + 0x1a8]
mov r8, qword [rbp + 0x1b8]
lea rcx, [rbp + 0x20]
call fcn.14007cd50
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x40], xmm6
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp + 0x1a0]
cmp rdx, 7
jbe 0x1400a15b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a15ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a15ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401270fc
movups xmmword [rbp + 0x188], xmm6
movups xmmword [rbp + 0x198], xmm7
movdqa xmm0, xmmword [0x14014df90]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
lea rcx, [rsp + 0x40]
call fcn.14007e600
nop
lea rcx, [rbp + 0x20]
call fcn.14007e600
nop
lea rcx, [rbp + 0xe0]
call fcn.14007e600
lea rcx, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 7
cmova rcx, qword [rbp + 0x188]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400a198b
lea rdx, [rbp + 0x9e0]
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x110], xmm1
lea rax, [rbp + 0x9e0]
mov r8, r14
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400a1650
lea rdx, [rbp + 0x9e0]
lea rcx, [rbp + 0x100]
call fcn.140081a10
nop
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0x100]
call fcn.14007cd50
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rdx, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 7
cmova rdx, qword [rbp + 0x1a8]
mov r8, qword [rbp + 0x1b8]
lea rcx, [rbp + 0x40]
call fcn.14007cd50
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x40], xmm6
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp + 0x1a0]
cmp rdx, 7
jbe 0x1400a173c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a1737
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a1737
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401270fc
movups xmmword [rbp + 0x188], xmm6
movups xmmword [rbp + 0x198], xmm7
movdqa xmm0, xmmword [0x14014df90]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
lea rcx, [rsp + 0x40]
call fcn.14007e600
nop
lea rcx, [rbp + 0x40]
call fcn.14007e600
nop
lea rcx, [rbp + 0x100]
call fcn.14007e600
lea rcx, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 7
cmova rcx, qword [rbp + 0x188]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400a198b
mov r8d, 0x1000
lea rdx, [rbp + 0x9e0]
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea r8, [rbp + 0x180]
lea rdx, [0x14014ccc4]
lea rcx, [rbp + 0x9e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
je 0x1400a196b
nop dword [rax]
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rdi
mov qword [rbp + 0x78], rdi
mov r8, r14
inc r8
cmp word [rax + r8*2], 0
jne 0x1400a1802
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.140081a10
nop
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0x60]
call fcn.14007cd50
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rdx, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 7
cmova rdx, qword [rbp + 0x1a8]
mov r8, qword [rbp + 0x1b8]
lea rcx, [rbp - 0x80]
call fcn.14007cd50
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x40], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm7
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp + 0x1a0]
cmp rdx, 7
jbe 0x1400a18e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a18e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a1984
call fcn.1401270fc
movups xmmword [rbp + 0x188], xmm6
movups xmmword [rbp + 0x198], xmm7
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
lea rcx, [rsp + 0x40]
call fcn.14007e600
nop
lea rcx, [rbp - 0x80]
call fcn.14007e600
nop
lea rcx, [rbp + 0x60]
call fcn.14007e600
lea rcx, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 7
cmova rcx, qword [rbp + 0x188]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400a198b
lea r8, [rbp + 0x180]
lea rdx, [0x14014ccc4]
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
jne 0x1400a17f0
mov edi, 0xc0000225
mov rcx, qword [rbp + 0x1d8]
test rcx, rcx
jle 0x1400a19f6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400a19f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rax, [rbp + 0x188]
cmp rsi, rax
je 0x1400a1970
lea r9, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 7
cmova r9, qword [rbp + 0x188]
mov rax, qword [rsi + 0x18]
mov rbx, qword [rbp + 0x198]
cmp rbx, rax
ja 0x1400a19e4
cmp rax, 7
mov r14, rsi
jbe 0x1400a19ca
mov r14, qword [rsi]
mov qword [rsi + 0x10], rbx
lea r8, [rbx + rbx]
mov rdx, r9
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov word [r14 + rbx*2], di
jmp 0x1400a1970
mov rdx, rbx
mov rcx, rsi
call fcn.1400816c0
jmp 0x1400a1970
mov edi, eax
lea rcx, [rbp + 0x1a8]
call fcn.14007e600
nop
lea rcx, [rbp + 0x188]
call fcn.14007e600
mov eax, edi
mov rcx, qword [rbp + 0x29e0]
xor rcx, rsp
call fcn.140126e40
movaps xmm6, xmmword [rsp + 0x2b00]
movaps xmm7, xmmword [rsp + 0x2af0]
add rsp, 0x2b18
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140034260
nop
call fcn.14007f790
int3