Function at 0x140013d20
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 - 0x27c8]
mov eax, 0x28c8
call fcn.14003e450
sub rsp, rax
movaps xmmword [rsp + 0x28b0], xmm6
movaps xmmword [rsp + 0x28a0], xmm7
mov rax, qword [0x140052040]
xor rax, rsp
mov qword [rbp + 0x2790], rax
mov r12, r9
mov rsi, r8
mov rdi, rdx
mov r13, rcx
mov rax, qword [rbp + 0x2838]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp + 0x2840]
mov qword [rbp + 0x170], rax
xor r14d, r14d
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp + 0x790]
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
mov qword [rbp + 0x140], r14
mov qword [rbp + 0x148], 7
mov word [rbp + 0x130], r14w
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xc8]
call fcn.14000bd20
mov rdx, rax
mov rcx, rdi
call fcn.140009080
mov rdx, qword [rbp + 0xe0]
cmp rdx, 7
jbe 0x140013e4a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013e45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013e45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
mov r8, qword [rdi + 0x10]
mov r15, 0xffffffffffffffff
test r8, r8
je 0x140013f30
mov rdx, rdi
mov r9, qword [rdi + 0x18]
cmp r9, 7
jbe 0x140013e6e
mov rdx, qword [rdi]
lea rcx, [r8 - 1]
mov rax, r15
cmp rcx, rax
cmovb rax, rcx
lea rcx, [rdx + rax*2]
cmp word [rcx], 0x5c
je 0x140013e95
cmp rcx, rdx
je 0x140013ea0
sub rcx, 2
cmp word [rcx], 0x5c
jne 0x140013e86
sub rcx, rdx
sar rcx, 1
cmp rcx, r15
jne 0x140013ede
mov rdx, rdi
cmp r9, 7
jbe 0x140013eac
mov rdx, qword [rdi]
lea rcx, [r8 - 1]
mov rax, r15
cmp rcx, rax
cmovb rax, rcx
lea rcx, [rdx + rax*2]
cmp word [rcx], 0x2f
je 0x140013ed3
cmp rcx, rdx
je 0x140013f30
sub rcx, 2
cmp word [rcx], 0x2f
jne 0x140013ec4
sub rcx, rdx
sar rcx, 1
cmp rcx, r15
je 0x140013f30
inc rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
mov qword [rbp + 0x160], r14
mov qword [rbp + 0x168], r14
mov rax, r8
cmp r8, rcx
jb 0x1400151f8
sub rax, rcx
mov r8, r15
cmp rax, r15
cmovb r8, rax
mov rax, rdi
cmp r9, 7
jbe 0x140013f1e
mov rax, qword [rdi]
lea rdx, [rax + rcx*2]
lea rcx, [rbp + 0x150]
call fcn.1400019a0
jmp 0x140013f40
mov rdx, rdi
lea rcx, [rbp + 0x150]
call fcn.140009120
nop
cmp dword [0x14005329c], 9
ja 0x14001403e
lea r10, [rbp + 0x150]
cmp qword [rbp + 0x168], 7
cmova r10, qword [rbp + 0x150]
mov rbx, qword [rbp + 0x160]
cmp rbx, 7
jb 0x14001403e
lea r11, [rbx - 6]
lea r11, [r10 + r11*2]
mov rcx, r10
lea r9, [0x140046968]
mov rax, r11
sub rax, rcx
sar rax, 1
mov rdx, r14
je 0x140013fb6
cmp word [rcx], 0x65
je 0x140013fb3
nop dword [rax + rax]
cmp rax, 1
je 0x140013fb6
dec rax
add rcx, 2
cmp word [rcx], 0x65
jne 0x140013fa0
mov rdx, rcx
mov rcx, rdx
test rdx, rdx
je 0x14001403e
mov r8d, 7
mov rdx, r9
mov r9, rcx
lea rax, [0x140046968]
sub r9, rax
nop dword [rax + rax]
movzx eax, word [rdx + r9]
cmp ax, word [rdx]
jne 0x1400140d4
add rdx, 2
sub r8, 1
jne 0x140013fe0
sub rcx, r10
sar rcx, 1
jne 0x14001403e
mov eax, 4
cmp rbx, rax
cmovb rax, rbx
lea rcx, [rbp + 0x150]
cmp qword [rbp + 0x168], 7
cmova rcx, qword [rbp + 0x150]
sub rbx, rax
lea rdx, [rcx + rax*2]
lea r8, [rbx*2 + 2]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x160], rbx
mov r14, qword [r13 + 8]
mov rbx, qword [r14]
cmp rbx, r14
je 0x140014308
nop
lea rdx, [rbx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x14001405e
mov rdx, qword [rdx]
lea rcx, [rbp + 0x150]
call fcn.140015a30
cmp rax, 0xffffffffffffffff
jne 0x14001407b
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r14
jne 0x140014050
cmp rbx, r14
je 0x140014308
mov rdx, qword [rbx + 0x30]
cmp rdx, qword [rbx + 0x38]
je 0x1400140e1
mov rax, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 7
jbe 0x14001409c
mov rsi, qword [rsi]
mov rcx, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x1400140aa
mov rdx, qword [rdx]
cmp rcx, rax
jne 0x1400140dd
test rcx, rcx
je 0x1400140ca
sub rdx, rsi
movzx eax, word [rsi + rdx]
cmp ax, word [rsi]
jne 0x1400140dd
add rsi, 2
sub rcx, 1
jne 0x1400140b7
mov rsi, qword [rbx + 0x38]
sub rsi, 0x20
jmp 0x1400140e1
add rcx, 2
jmp 0x140013f80
mov rsi, qword [rbx + 0x30]
mov rcx, rdi
mov rdx, rsi
call fcn.140009000
mov r9, qword [rbp + 0x170]
mov r8, qword [rsp + 0x60]
mov rdx, rdi
call fcn.140015200
mov ebx, eax
mov ecx, 0x80000000
add eax, ecx
test ecx, eax
jne 0x14001510e
cmp ebx, 0xc015001d
je 0x14001510e
test byte [rbp + 0x2830], 2
je 0x140014301
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x190]
call sub.VCRUNTIME140.dll_memset
mov edx, 0xff
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x58], xmm1
lea rax, [rbp + 0x190]
nop word [rax + rax]
inc r15
cmp word [rax + r15*2], 0
jne 0x140014170
mov r8, r15
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x48]
call fcn.1400019a0
nop
mov r8d, 1
lea rdx, [0x140046964]
lea rcx, [rbp + 0x48]
call fcn.140015b30
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400141e1
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x78]
call fcn.140015b30
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140009080
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140014261
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001425b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001425b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x1400142a4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001429f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001429f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
movdqa xmm0, xmmword [0x140047b70]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], bx
mov rdx, qword [rbp + 0x60]
cmp rdx, 7
jbe 0x14001510e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400142f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400142f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
jmp 0x14001510e
xor ebx, ebx
jmp 0x14001510e
mov r14d, dword [rbp + 0x2830]
test r14b, 1
jne 0x140015109
mov r9, qword [rbp + 0x170]
mov r13, qword [rsp + 0x60]
mov r8, r13
mov rdx, rdi
call fcn.140015200
mov ebx, eax
mov ecx, 0x80000000
add eax, ecx
test ecx, eax
jne 0x14001510e
cmp ebx, 0xc015001d
je 0x14001510e
test r14b, 4
jne 0x140015109
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140014364
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001437a
xor r12d, r12d
mov ebx, r12d
jmp 0x140015111
xor ebx, ebx
mov qword [rbp + 0x180], rbx
lea r8, [rbp + 0x180]
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerKnownDLLs
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
movsxd rsi, eax
test eax, eax
jne 0x1400144b9
nop dword [rax]
test rsi, rsi
jne 0x1400144b9
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x590]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x390]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x170], 0xff
xor ecx, ecx
mov dword [rbp + 0x178], ecx
lea rax, [rbp + 0x170]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x390]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x178]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x170]
lea r8, [rbp + 0x590]
mov edx, ebx
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
movsxd rsi, eax
lea rdx, [rbp + 0x150]
cmp qword [rbp + 0x168], 7
cmova rdx, qword [rbp + 0x150]
lea rcx, [rbp + 0x390]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400144ab
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x190]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x170], 0xff
mov edx, 0xff
lea rcx, [rbp + 0x190]
test r14b, 8
je 0x14001449c
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x1400144a2
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test rsi, rsi
je 0x1400145a8
inc ebx
cmp ebx, 0x1000
jl 0x1400143b0
mov rcx, qword [r12 + 0x10]
lea rbx, [0x140046964]
test rcx, rcx
je 0x140014727
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 1
jb 0x1400151f2
cmp qword [r12 + 0x18], 7
jbe 0x1400144f1
mov r12, qword [r12]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rcx
mov r9, r12
lea rcx, [rbp + 0x108]
call fcn.1400166b0
nop
lea rdx, [rbp + 0x150]
cmp qword [rbp + 0x168], 7
cmova rdx, qword [rbp + 0x150]
mov r8, qword [rbp + 0x160]
lea rcx, [rbp + 0x108]
call fcn.140015b30
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
xor r12d, r12d
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rbp + 0x148]
cmp rdx, 7
jbe 0x140014647
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014642
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014642
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0xc8]
call fcn.1400018a0
nop
mov r8d, 1
lea rdx, [0x140046964]
mov rcx, rax
call fcn.140015b30
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140009460
nop
lea r8, [rbp + 0x390]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xe8]
call fcn.140016340
mov rdx, rax
mov rcx, rdi
call fcn.140009080
lea rcx, [rbp + 0xe8]
call fcn.140001830
nop
lea rcx, [rsp + 0x40]
call fcn.140001830
nop
lea rcx, [rbp + 0xc8]
call fcn.140001830
xor r12d, r12d
mov ebx, r12d
jmp 0x1400150d0
call fcn.14003d270
movups xmmword [rbp + 0x130], xmm6
movups xmmword [rbp + 0x140], xmm7
mov rdx, qword [rbp + 0x120]
cmp rdx, 7
jbe 0x14001469e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014699
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014699
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
lea rcx, [rbp + 0x130]
cmp qword [rbp + 0x148], 7
cmova rcx, qword [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001472a
lea rax, [rbp + 0x130]
cmp rdi, rax
je 0x140015104
lea r9, [rbp + 0x130]
cmp qword [rbp + 0x148], 7
cmova r9, qword [rbp + 0x130]
mov rax, qword [rdi + 0x18]
mov rbx, qword [rbp + 0x140]
cmp rbx, rax
ja 0x1400150f9
mov rsi, rdi
cmp rax, 7
jbe 0x140014707
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rbx
lea r8, [rbx + rbx]
mov rdx, r9
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov word [rsi + rbx*2], r12w
mov ebx, r12d
jmp 0x1400150d0
xor r12d, r12d
mov r8d, dword [r13 + 8]
lea rdx, [rbp + 0xe8]
call fcn.140015790
nop
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call fcn.140015b30
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rdx, [rbp + 0x150]
cmp qword [rbp + 0x168], 7
cmova rdx, qword [rbp + 0x150]
mov r8, qword [rbp + 0x160]
lea rcx, [rbp - 0x58]
call fcn.140015b30
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rbp + 0x148]
cmp rdx, 7
jbe 0x140014801
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400147fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400147fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
movups xmmword [rbp + 0x130], xmm6
movups xmmword [rbp + 0x140], xmm7
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x140014852
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001484d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001484d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
movdqa xmm0, xmmword [0x140047b70]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r12w
mov rdx, qword [rbp + 0x100]
cmp rdx, 7
jbe 0x1400148ad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400148a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400148a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
lea rcx, [rbp + 0x130]
cmp qword [rbp + 0x148], 7
cmova rcx, qword [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400146c0
mov edx, 0x1000
lea rcx, [rbp + 0x790]
test r14b, 8
je 0x1400148ed
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x1400148f3
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x78], xmm1
lea rax, [rbp + 0x790]
mov r8, r15
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140014910
lea rdx, [rbp + 0x790]
lea rcx, [rbp + 0x68]
call fcn.1400019a0
nop
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0x68]
call fcn.140015b30
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rdx, [rbp + 0x150]
cmp qword [rbp + 0x168], 7
cmova rdx, qword [rbp + 0x150]
mov r8, qword [rbp + 0x160]
lea rcx, [rbp - 0x38]
call fcn.140015b30
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rbp + 0x148]
cmp rdx, 7
jbe 0x1400149f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400149ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400149ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
movups xmmword [rbp + 0x130], xmm6
movups xmmword [rbp + 0x140], xmm7
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x140014a44
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014a3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014a3f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
movdqa xmm0, xmmword [0x140047b70]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], r12w
mov rdx, qword [rbp + 0x80]
cmp rdx, 7
jbe 0x140014a9c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014a97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014a97
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
lea rcx, [rbp + 0x130]
cmp qword [rbp + 0x148], 7
cmova rcx, qword [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400146c0
mov edx, 0x1000
lea rcx, [rbp + 0x790]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x98], xmm1
lea rax, [rbp + 0x790]
mov r8, r15
inc r8
cmp word [rax + r8*2], 0
jne 0x140014af3
lea rdx, [rbp + 0x790]
lea rcx, [rbp + 0x88]
call fcn.1400019a0
nop
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0x88]
call fcn.140015b30
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rdx, [rbp + 0x150]
cmp qword [rbp + 0x168], 7
cmova rdx, qword [rbp + 0x150]
mov r8, qword [rbp + 0x160]
lea rcx, [rbp - 0x18]
call fcn.140015b30
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rbp + 0x148]
cmp rdx, 7
jbe 0x140014bdc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014bd7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014bd7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
movups xmmword [rbp + 0x130], xmm6
movups xmmword [rbp + 0x140], xmm7
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x140014c2d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014c28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014c28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
movdqa xmm0, xmmword [0x140047b70]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], r12w
mov rdx, qword [rbp + 0xa0]
cmp rdx, 7
jbe 0x140014c88
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014c83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014c83
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
lea rcx, [rbp + 0x130]
cmp qword [rbp + 0x148], 7
cmova rcx, qword [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400146c0
lea rdx, [rbp + 0x790]
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb8], xmm1
lea rax, [rbp + 0x790]
mov r8, r15
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140014ce0
lea rdx, [rbp + 0x790]
lea rcx, [rbp + 0xa8]
call fcn.1400019a0
nop
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0xa8]
call fcn.140015b30
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x18], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x18], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rdx, [rbp + 0x150]
cmp qword [rbp + 0x168], 7
cmova rdx, qword [rbp + 0x150]
mov r8, qword [rbp + 0x160]
lea rcx, [rbp + 8]
call fcn.140015b30
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rbp + 0x148]
cmp rdx, 7
jbe 0x140014dc9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014dc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014dc4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
movups xmmword [rbp + 0x130], xmm6
movups xmmword [rbp + 0x140], xmm7
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x140014e1a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014e15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014e15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
movdqa xmm0, xmmword [0x140047b70]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], r12w
mov rdx, qword [rbp + 0xc0]
cmp rdx, 7
jbe 0x140014e75
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014e70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014e70
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
lea rcx, [rbp + 0x130]
cmp qword [rbp + 0x148], 7
cmova rcx, qword [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140014eae
lea rdx, [rbp + 0x130]
mov rcx, rdi
call fcn.140009000
mov ebx, r12d
jmp 0x1400150d0
mov r8d, 0x1000
lea rdx, [rbp + 0x790]
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea r8, [rbp + 0x128]
lea rdx, [0x140046a04]
lea rcx, [rbp + 0x790]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
je 0x1400150cb
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], r12
mov r8, r15
inc r8
cmp word [rax + r8*2], 0
jne 0x140014f02
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.1400019a0
nop
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0x28]
call fcn.140015b30
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rdx, [rbp + 0x150]
cmp qword [rbp + 0x168], 7
cmova rdx, qword [rbp + 0x150]
mov r8, qword [rbp + 0x160]
lea rcx, [rsp + 0x68]
call fcn.140015b30
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rbp + 0x148]
cmp rdx, 7
jbe 0x140014fe3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014fde
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400150e4
call fcn.14003d270
movups xmmword [rbp + 0x130], xmm6
movups xmmword [rbp + 0x140], xmm7
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x140015032
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001502d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400150eb
call fcn.14003d270
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r12w
mov rdx, qword [rbp + 0x40]
cmp rdx, 7
jbe 0x140015081
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001507c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400150f2
call fcn.14003d270
lea rcx, [rbp + 0x130]
cmp qword [rbp + 0x148], 7
cmova rcx, qword [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400146c0
lea r8, [rbp + 0x128]
lea rdx, [0x140046a04]
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
jne 0x140014ef0
mov ebx, 0xc0000225
mov rcx, qword [rbp + 0x180]
test rcx, rcx
jle 0x140015111
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140015111
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rbx
mov rcx, rdi
call fcn.1400097d0
mov ebx, r12d
jmp 0x1400150d0
mov ebx, 0xc0000225
xor r12d, r12d
mov rdx, qword [rbp + 0x168]
cmp rdx, 7
jbe 0x14001515a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015155
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015155
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
mov qword [rbp + 0x160], r12
mov qword [rbp + 0x168], 7
mov word [rbp + 0x150], r12w
mov rdx, qword [rbp + 0x148]
cmp rdx, 7
jbe 0x1400151bd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400151b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400151b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
mov eax, ebx
mov rcx, qword [rbp + 0x2790]
xor rcx, rsp
call fcn.14003d250
movaps xmm6, xmmword [rsp + 0x28b0]
movaps xmm7, xmmword [rsp + 0x28a0]
add rsp, 0x28c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400011c0
nop
call fcn.14000be40
int3