Function at 0x14005cb40
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.1400877d0
sub rsp, rax
movaps xmmword [rsp + 0x2b00], xmm6
movaps xmmword [rsp + 0x2af0], xmm7
movaps xmmword [rsp + 0x2ae0], xmm8
mov rax, qword [0x1400e5040]
xor rax, rsp
mov qword [rbp + 0x29d0], rax
mov r12, r9
mov r14, r8
mov rdi, rdx
mov r13, rcx
mov rax, qword [rbp + 0x2a88]
mov qword [rsp + 0x68], rax
mov rax, qword [rbp + 0x2a90]
mov qword [rsp + 0x60], rax
xor r15d, r15d
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp + 0x9d0]
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movups xmmword [rbp + 0x178], xmm0
mov qword [rbp + 0x188], r15
mov qword [rbp + 0x190], 7
mov word [rbp + 0x178], r15w
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x130]
call fcn.140054de0
mov rdx, rax
mov rcx, rdi
call fcn.140051f80
mov rdx, qword [rbp + 0x148]
cmp rdx, 7
jbe 0x14005cc71
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cc6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005cc6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
mov r8, qword [rdi + 0x10]
mov rsi, 0xffffffffffffffff
test r8, r8
je 0x14005cd5e
mov rdx, rdi
mov r9, qword [rdi + 0x18]
cmp r9, 7
jbe 0x14005cc95
mov rdx, qword [rdi]
lea rcx, [r8 - 1]
mov rax, rsi
cmp rcx, rax
cmovb rax, rcx
lea rcx, [rdx + rax*2]
cmp word [rcx], 0x5c
je 0x14005ccbf
nop dword [rax]
cmp rcx, rdx
je 0x14005ccca
sub rcx, 2
cmp word [rcx], 0x5c
jne 0x14005ccb0
sub rcx, rdx
sar rcx, 1
cmp rcx, rsi
jne 0x14005cd0a
mov rdx, rdi
cmp r9, 7
jbe 0x14005ccd6
mov rdx, qword [rdi]
lea rcx, [r8 - 1]
mov rax, rsi
cmp rcx, rax
cmovb rax, rcx
lea rcx, [rdx + rax*2]
cmp word [rcx], 0x2f
je 0x14005ccff
nop
cmp rcx, rdx
je 0x14005cd5e
sub rcx, 2
cmp word [rcx], 0x2f
jne 0x14005ccf0
sub rcx, rdx
sar rcx, 1
cmp rcx, rsi
je 0x14005cd5e
inc rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x198], xmm0
mov qword [rbp + 0x1a8], r15
mov qword [rbp + 0x1b0], r15
mov rax, qword [rdi + 0x10]
cmp rax, rcx
jb 0x14005e164
sub rax, rcx
mov r8, rsi
cmp rax, rsi
cmovb r8, rax
mov rax, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14005cd4c
mov rax, qword [rdi]
lea rdx, [rax + rcx*2]
lea rcx, [rbp + 0x198]
call fcn.1400523d0
jmp 0x14005cd6e
mov rdx, rdi
lea rcx, [rbp + 0x198]
call fcn.140052020
nop
cmp dword [0x1401834cc], 9
ja 0x14005ce6e
lea r10, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 7
cmova r10, qword [rbp + 0x198]
mov rbx, qword [rbp + 0x1a8]
cmp rbx, 7
jb 0x14005ce6e
lea r11, [rbx - 6]
lea r11, [r10 + r11*2]
mov rcx, r10
lea r9, [0x1400d4188]
mov rax, r11
sub rax, rcx
sar rax, 1
mov rdx, r15
je 0x14005cde6
cmp word [rcx], 0x65
je 0x14005cde3
nop dword [rax]
cmp rax, 1
je 0x14005cde6
dec rax
add rcx, 2
cmp word [rcx], 0x65
jne 0x14005cdd0
mov rdx, rcx
mov rcx, rdx
test rdx, rdx
je 0x14005ce6e
mov r8d, 7
mov rdx, r9
mov r9, rcx
lea rax, [0x1400d4188]
sub r9, rax
nop dword [rax + rax]
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x14005cf03
add rdx, 2
sub r8, 1
jne 0x14005ce10
sub rcx, r10
sar rcx, 1
jne 0x14005ce6e
mov eax, 4
cmp rbx, rax
cmovb rax, rbx
lea rcx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 7
cmova rcx, qword [rbp + 0x198]
sub rbx, rax
lea rdx, [rcx + rax*2]
lea r8, [rbx*2 + 2]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x1a8], rbx
mov r15, qword [r13 + 8]
mov rbx, qword [r15]
cmp rbx, r15
je 0x14005d130
nop
lea rdx, [rbx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x14005ce8e
mov rdx, qword [rdx]
lea rcx, [rbp + 0x198]
call fcn.14005e9a0
cmp rax, 0xffffffffffffffff
jne 0x14005cea8
mov rbx, qword [rbx]
cmp rbx, r15
jne 0x14005ce80
cmp rbx, r15
je 0x14005d130
mov rdx, qword [rbx + 0x30]
cmp rdx, qword [rbx + 0x38]
je 0x14005cf10
mov rax, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 7
jbe 0x14005cec9
mov r14, qword [r14]
mov rcx, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x14005ced7
mov rdx, qword [rdx]
cmp rcx, rax
jne 0x14005cf0c
test rcx, rcx
je 0x14005cef9
sub rdx, r14
movzx eax, word [rdx + r14]
cmp ax, word [r14]
jne 0x14005cf0c
add r14, 2
sub rcx, 1
jne 0x14005cee4
mov r14, qword [rbx + 0x38]
sub r14, 0x20
jmp 0x14005cf10
add rcx, 2
jmp 0x14005cdae
mov r14, qword [rbx + 0x30]
mov rcx, rdi
mov rdx, r14
call fcn.140051e90
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov rdx, rdi
call fcn.14005e170
mov ebx, eax
mov ecx, 0x80000000
add eax, ecx
test ecx, eax
jne 0x14005e054
cmp ebx, 0xc015001d
je 0x14005e054
test byte [rbp + 0x2a80], 2
je 0x14005d129
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x5d0]
call sub.VCRUNTIME140.dll_memset
mov edx, 0xff
lea rcx, [rbp + 0x5d0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
lea rax, [rbp + 0x5d0]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x14005cf96
mov r8, rsi
lea rdx, [rbp + 0x5d0]
lea rcx, [rbp + 0x70]
call fcn.1400523d0
nop
mov r8d, 1
lea rdx, [0x1400d4184]
lea rcx, [rbp + 0x70]
call fcn.14005eaa0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], 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 0x14005d006
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x70]
call fcn.14005eaa0
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.140051f80
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14005d086
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d080
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d080
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x14005d0c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d0c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d0c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
movdqa xmm0, xmmword [0x1400d5580]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], bx
mov rdx, qword [rbp + 0x88]
cmp rdx, 7
jbe 0x14005e054
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d11f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d11f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
jmp 0x14005e054
xor ebx, ebx
jmp 0x14005e054
mov r15d, dword [rbp + 0x2a80]
test r15b, 1
je 0x14005d147
mov ebx, 0xc0000225
jmp 0x14005e054
mov r9, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
mov r8, r13
mov rdx, rdi
call fcn.14005e170
mov ebx, eax
mov ecx, 0x80000000
add eax, ecx
test ecx, eax
jne 0x14005e054
cmp ebx, 0xc015001d
je 0x14005e054
test r15b, 4
je 0x14005d189
mov ebx, 0xc0000225
jmp 0x14005e054
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14005d196
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14005d1a8
xor ebx, ebx
jmp 0x14005e054
mov qword [rbp + 0x1c8], 0
lea r8, [rbp + 0x1c8]
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerKnownDLLs
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
movsxd r14, eax
test eax, eax
jne 0x14005d2e9
xor ebx, ebx
nop dword [rax + rax]
test r14, r14
jne 0x14005d2e9
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x7d0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x3d0]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x1b8], 0xff
xor ecx, ecx
mov dword [rbp + 0x1c0], ecx
lea rax, [rbp + 0x1b8]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x3d0]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x1b8]
lea r8, [rbp + 0x7d0]
mov edx, ebx
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
movsxd r14, eax
lea rdx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 7
cmova rdx, qword [rbp + 0x198]
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14005d2db
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x1d0]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x1b8], 0xff
mov edx, 0xff
lea rcx, [rbp + 0x1d0]
test r15b, 8
je 0x14005d2cc
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x14005d2d2
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test r14, r14
je 0x14005d3d8
inc ebx
cmp ebx, 0x1000
jl 0x14005d1e0
mov rcx, qword [r12 + 0x10]
lea rbx, [0x1400d4184]
test rcx, rcx
je 0x14005d690
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 1
jb 0x14005e15e
cmp qword [r12 + 0x18], 7
jbe 0x14005d321
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 + 0x110]
call fcn.14005f5a0
nop
lea rdx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 7
cmova rdx, qword [rbp + 0x198]
mov r8, qword [rbp + 0x1a8]
lea rcx, [rbp + 0x110]
call fcn.14005eaa0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
xor r14d, r14d
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rbp + 0x190]
cmp rdx, 7
jbe 0x14005d5b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d5ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d5ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa0], xmm1
lea rax, [rbp + 0x1d0]
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14005d400
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x90]
call fcn.1400523d0
nop
mov r8d, 1
lea rdx, [0x1400d4184]
lea rcx, [rbp + 0x90]
call fcn.14005eaa0
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x18], 7
xor r14d, r14d
mov qword [rax + 0x10], r14
mov word [rax], r14w
lea rax, [rbp + 0x3d0]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x14005d470
mov r8, rsi
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp - 0x50]
call fcn.14005eaa0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140051f80
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14005d501
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d4fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d4fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x14005d544
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d53f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d53f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
movdqa xmm0, xmmword [0x1400d5580]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r14w
mov rdx, qword [rbp + 0xa8]
cmp rdx, 7
jbe 0x14005e0b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d59e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d59e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
mov ebx, r14d
jmp 0x14005e041
call fcn.140086344
movups xmmword [rbp + 0x178], xmm6
movups xmmword [rbp + 0x188], xmm7
mov rdx, qword [rbp + 0x128]
cmp rdx, 7
jbe 0x14005d607
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d602
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d602
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
lea rcx, [rbp + 0x178]
cmp qword [rbp + 0x190], 7
cmova rcx, qword [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14005d693
lea rax, [rbp + 0x178]
cmp rdi, rax
je 0x14005e0b8
lea r9, [rbp + 0x178]
cmp qword [rbp + 0x190], 7
cmova r9, qword [rbp + 0x178]
mov rax, qword [rdi + 0x18]
mov rbx, qword [rbp + 0x188]
cmp rbx, rax
ja 0x14005e0ad
cmp rax, 7
mov rsi, rdi
jbe 0x14005d670
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], r14w
mov ebx, r14d
jmp 0x14005e041
xor r14d, r14d
mov r8d, dword [r13 + 8]
lea rdx, [rbp + 0x150]
call fcn.14005e700
nop
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call fcn.14005eaa0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rdx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 7
cmova rdx, qword [rbp + 0x198]
mov r8, qword [rbp + 0x1a8]
lea rcx, [rbp - 0x30]
call fcn.14005eaa0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rbp + 0x190]
cmp rdx, 7
jbe 0x14005d76a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d765
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d765
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
movups xmmword [rbp + 0x178], xmm6
movups xmmword [rbp + 0x188], xmm7
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x14005d7bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d7b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d7b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
movdqa xmm6, xmmword [0x1400d5580]
movdqu xmmword [rbp - 0x20], xmm6
mov word [rbp - 0x30], r14w
mov rdx, qword [rbp + 0x168]
cmp rdx, 7
jbe 0x14005d816
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d811
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d811
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
lea rcx, [rbp + 0x178]
cmp qword [rbp + 0x190], 7
cmova rcx, qword [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14005d629
mov edx, 0x1000
lea rcx, [rbp + 0x9d0]
test r15b, 8
je 0x14005d856
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x14005d85c
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc0], xmm1
lea rax, [rbp + 0x9d0]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14005d880
lea rdx, [rbp + 0x9d0]
lea rcx, [rbp + 0xb0]
call fcn.1400523d0
nop
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0xb0]
call fcn.14005eaa0
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rdx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 7
cmova rdx, qword [rbp + 0x198]
mov r8, qword [rbp + 0x1a8]
lea rcx, [rbp - 0x10]
call fcn.14005eaa0
movups xmm7, xmmword [rax]
movups xmm8, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rbp + 0x190]
cmp rdx, 7
jbe 0x14005d96a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d965
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d965
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
movups xmmword [rbp + 0x178], xmm7
movups xmmword [rbp + 0x188], xmm8
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14005d9bc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d9b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d9b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
movdqu xmmword [rbp], xmm6
mov word [rbp - 0x10], r14w
mov rdx, qword [rbp + 0xc8]
cmp rdx, 7
jbe 0x14005da0f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005da0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005da0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
lea rcx, [rbp + 0x178]
cmp qword [rbp + 0x190], 7
cmova rcx, qword [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14005d629
mov edx, 0x1000
lea rcx, [rbp + 0x9d0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
lea rax, [rbp + 0x9d0]
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14005da70
lea rdx, [rbp + 0x9d0]
lea rcx, [rbp + 0xd0]
call fcn.1400523d0
nop
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0xd0]
call fcn.14005eaa0
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rdx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 7
cmova rdx, qword [rbp + 0x198]
mov r8, qword [rbp + 0x1a8]
lea rcx, [rbp + 0x10]
call fcn.14005eaa0
movups xmm7, xmmword [rax]
movups xmm8, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rbp + 0x190]
cmp rdx, 7
jbe 0x14005db5a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005db55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005db55
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
movups xmmword [rbp + 0x178], xmm7
movups xmmword [rbp + 0x188], xmm8
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x14005dbac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005dba7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005dba7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
movdqu xmmword [rbp + 0x20], xmm6
mov word [rbp + 0x10], r14w
mov rdx, qword [rbp + 0xe8]
cmp rdx, 7
jbe 0x14005dbff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005dbfa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005dbfa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
lea rcx, [rbp + 0x178]
cmp qword [rbp + 0x190], 7
cmova rcx, qword [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14005d629
lea rdx, [rbp + 0x9d0]
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x100], xmm1
lea rax, [rbp + 0x9d0]
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14005dc60
lea rdx, [rbp + 0x9d0]
lea rcx, [rbp + 0xf0]
call fcn.1400523d0
nop
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0xf0]
call fcn.14005eaa0
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x40], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rdx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 7
cmova rdx, qword [rbp + 0x198]
mov r8, qword [rbp + 0x1a8]
lea rcx, [rbp + 0x30]
call fcn.14005eaa0
movups xmm7, xmmword [rax]
movups xmm8, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rbp + 0x190]
cmp rdx, 7
jbe 0x14005dd4a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005dd45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005dd45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
movups xmmword [rbp + 0x178], xmm7
movups xmmword [rbp + 0x188], xmm8
mov rdx, qword [rbp + 0x48]
cmp rdx, 7
jbe 0x14005dd9c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005dd97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005dd97
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
movdqu xmmword [rbp + 0x40], xmm6
mov word [rbp + 0x30], r14w
mov rdx, qword [rbp + 0x108]
cmp rdx, 7
jbe 0x14005ddef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ddea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ddea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
lea rcx, [rbp + 0x178]
cmp qword [rbp + 0x190], 7
cmova rcx, qword [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14005d629
mov r8d, 0x1000
lea rdx, [rbp + 0x9d0]
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea r8, [rbp + 0x170]
lea rdx, [0x1400d4224]
lea rcx, [rbp + 0x9d0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
je 0x14005e03c
nop dword [rax]
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x68], r14
mov r8, rsi
inc r8
cmp word [rax + r8*2], 0
jne 0x14005de72
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.1400523d0
nop
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.14005eaa0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rdx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 7
cmova rdx, qword [rbp + 0x198]
mov r8, qword [rbp + 0x1a8]
lea rcx, [rsp + 0x70]
call fcn.14005eaa0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rbp + 0x190]
cmp rdx, 7
jbe 0x14005df51
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005df4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005e098
call fcn.140086344
movups xmmword [rbp + 0x178], xmm6
movups xmmword [rbp + 0x188], xmm7
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14005dfa0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005df9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005e09f
call fcn.140086344
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x14005dff2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005dfed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005e0a6
call fcn.140086344
lea rcx, [rbp + 0x178]
cmp qword [rbp + 0x190], 7
cmova rcx, qword [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14005d629
lea r8, [rbp + 0x170]
lea rdx, [0x1400d4224]
mov rcx, qword [rbp + 0x170]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
jne 0x14005de60
mov ebx, 0xc0000225
mov rcx, qword [rbp + 0x1c8]
test rcx, rcx
jle 0x14005e054
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x1b0]
cmp rdx, 7
jbe 0x14005e0c2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x198]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e0bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e0bd
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]
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.140052590
mov ebx, r14d
jmp 0x14005e041
call fcn.140086344
xor eax, eax
mov qword [rbp + 0x1a8], rax
mov qword [rbp + 0x1b0], 7
mov word [rbp + 0x198], ax
mov rdx, qword [rbp + 0x190]
cmp rdx, 7
jbe 0x14005e126
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e121
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e121
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140086344
mov eax, ebx
mov rcx, qword [rbp + 0x29d0]
xor rcx, rsp
call fcn.140085f80
lea r11, [rsp + 0x2b18]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400401d0
nop
call fcn.140047a60
int3