Function at 0x140064d50
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.1400f5a40
sub rsp, rax
movaps xmmword [rsp + 0x2740], xmm6
movaps xmmword [rsp + 0x2730], xmm7
mov rax, qword [0x1401d60c0]
xor rax, rsp
mov qword [rbp + 0x2620], rax
mov qword [rbp - 0x50], r9
mov r15, r8
mov rsi, rdx
mov qword [rbp - 0x58], rcx
mov rax, qword [rbp + 0x26c8]
mov qword [rbp - 0x60], rax
mov rax, qword [rbp + 0x26d0]
mov qword [rbp], rax
xor edi, edi
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp + 0x620]
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], di
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 7
mov word [rsi], di
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.14005d570
mov rdx, rax
mov rcx, rsi
call fcn.14005a460
lea rcx, [rbp - 0x80]
call fcn.14005a690
mov r9, qword [rsi + 0x10]
mov r14, 0xffffffffffffffff
test r9, r9
je 0x140064f01
mov rdx, rsi
mov r8, qword [rsi + 0x18]
cmp r8, 7
jbe 0x140064e4a
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 0x140064e71
cmp rcx, rdx
je 0x140064e7c
sub rcx, 2
cmp word [rcx], 0x5c
jne 0x140064e62
sub rcx, rdx
sar rcx, 1
cmp rcx, r14
jne 0x140064eba
mov rdx, rsi
cmp r8, 7
jbe 0x140064e88
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 0x140064eaf
cmp rcx, rdx
je 0x140064f01
sub rcx, 2
cmp word [rcx], 0x2f
jne 0x140064ea0
sub rcx, rdx
sar rcx, 1
cmp rcx, r14
je 0x140064f01
inc rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rdi
mov rax, r9
cmp r9, rcx
jb 0x140065cfa
sub rax, rcx
mov r8, r14
cmp rax, r14
cmovb r8, rax
mov rax, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140064ef2
mov rax, qword [rsi]
lea rdx, [rax + rcx*2]
lea rcx, [rbp - 0x20]
call fcn.14005af40
jmp 0x140064f0e
mov rdx, rsi
lea rcx, [rbp - 0x20]
call fcn.14005a500
nop
cmp dword [0x1401da7fc], 9
ja 0x140064ff0
lea r10, [rbp - 0x20]
mov r12, qword [rbp - 0x20]
mov r13, qword [rbp - 8]
cmp r13, 7
cmova r10, r12
mov rbx, qword [rbp - 0x10]
cmp rbx, 7
jb 0x140064ff0
lea r11, [rbx - 6]
lea r11, [r10 + r11*2]
mov rcx, r10
lea r9, [0x1401bab98]
mov rax, r11
sub rax, rcx
sar rax, 1
mov rdx, rdi
je 0x140064f79
cmp word [rcx], 0x65
je 0x140064f76
cmp rax, 1
je 0x140064f79
dec rax
add rcx, 2
cmp word [rcx], 0x65
jne 0x140064f63
mov rdx, rcx
mov rcx, rdx
test rdx, rdx
je 0x140064ff0
mov r8d, 7
mov rdx, r9
mov r9, rcx
lea rax, [0x1401bab98]
sub r9, rax
nop word [rax + rax]
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x14006508f
add rdx, 2
sub r8, 1
jne 0x140064fa0
sub rcx, r10
sar rcx, 1
jne 0x140064ff0
mov eax, 4
cmp rbx, rax
cmovb rax, rbx
lea rcx, [rbp - 0x20]
cmp r13, 7
cmova rcx, r12
sub rbx, rax
lea r8, [rbx*2 + 2]
lea rdx, [rcx + rax*2]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x10], rbx
mov r13, qword [rbp - 0x58]
mov r12, qword [r13 + 8]
mov rbx, qword [r12]
cmp rbx, r12
je 0x14006520e
lea rdx, [rbx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x140065013
mov rdx, qword [rdx]
lea rcx, [rbp - 0x20]
call fcn.140066450
cmp rax, 0xffffffffffffffff
jne 0x14006502a
mov rbx, qword [rbx]
cmp rbx, r12
jne 0x140065005
cmp rbx, r12
je 0x14006520e
mov rdx, qword [rbx + 0x30]
cmp rdx, qword [rbx + 0x38]
je 0x1400650b1
mov rax, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 7
jbe 0x14006504b
mov r15, qword [r15]
mov rcx, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x140065059
mov rdx, qword [rdx]
cmp rcx, rax
jne 0x140065098
test rcx, rcx
je 0x140065085
sub rdx, r15
nop word [rax + rax]
movzx eax, word [rdx + r15]
cmp ax, word [r15]
jne 0x140065098
add r15, 2
sub rcx, 1
jne 0x140065070
mov rdx, qword [rbx + 0x38]
sub rdx, 0x20
jmp 0x14006509c
add rcx, 2
jmp 0x140064f48
mov rdx, qword [rbx + 0x30]
cmp rsi, rdx
je 0x1400650cf
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x1400650c7
mov rdx, qword [rdx]
jmp 0x1400650c7
cmp rsi, r15
je 0x1400650cf
mov r8, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 7
jbe 0x1400650c4
mov r15, qword [r15]
mov rdx, r15
mov rcx, rsi
call fcn.14005a700
mov r9, qword [rbp]
mov r8, qword [rbp - 0x60]
mov rdx, rsi
call 0x140065d00
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x140065cb0
cmp eax, 0xc015001d
je 0x140065cb0
test byte [rbp + 0x26c0], 2
je 0x140065cb2
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]
inc r14
cmp word [rax + r14*2], 0
jne 0x140065140
mov r8, r14
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14005af40
nop
mov r8d, 1
lea rdx, [0x1401bab94]
lea rcx, [rsp + 0x60]
call fcn.140066e50
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], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x1400651b2
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140066e50
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 - 0x80]
mov rcx, rsi
call fcn.14005a460
lea rcx, [rbp - 0x80]
call fcn.14005a690
nop
lea rcx, [rsp + 0x40]
call fcn.14005a690
nop
lea rcx, [rsp + 0x60]
call fcn.14005a690
jmp 0x140065cb2
mov r12d, dword [rbp + 0x26c0]
test r12b, 1
jne 0x14006524f
mov r9, qword [rbp]
mov r13, qword [rbp - 0x60]
mov r8, r13
mov rdx, rsi
call 0x140065d00
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x140065cb0
cmp eax, 0xc015001d
je 0x140065cb0
test r12b, 4
je 0x140065259
mov edi, 0xc0000225
jmp 0x140065cb2
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140065266
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140065cb2
mov qword [rbp + 0x10], rdi
lea r8, [rbp + 0x10]
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerKnownDLLs
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
movsxd r15, eax
test eax, eax
jne 0x140065380
mov ebx, edi
nop
test r15, r15
jne 0x140065380
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], 0xff
mov dword [rbp + 8], edi
lea rax, [rbp]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp]
lea r8, [rbp + 0x420]
mov edx, ebx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
movsxd r15, eax
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rdx, qword [rbp - 0x20]
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140065372
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x220]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp], 0xff
mov edx, 0xff
lea rcx, [rbp + 0x220]
test r12b, 8
je 0x140065363
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x140065369
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test r15, r15
je 0x140065422
inc ebx
cmp ebx, 0x1000
jl 0x1400652a0
mov rax, qword [rbp - 0x50]
cmp qword [rax + 0x10], 0
je 0x14006556b
lea r8, [0x1401bab94]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140066c90
nop
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
mov rcx, rax
call fcn.140066e50
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x60], xmm6
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x14006551f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006551a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006551a
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
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140065440
lea rdx, [rbp + 0x220]
lea rcx, [rsp + 0x60]
call fcn.14005af40
nop
mov r8d, 1
lea rdx, [0x1401bab94]
lea rcx, [rsp + 0x60]
call fcn.140066e50
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], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rax, [rbp + 0x20]
nop dword [rax]
inc r14
cmp word [rax + r14*2], 0
jne 0x1400654b0
mov r8, r14
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140066e50
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 - 0x80]
mov rcx, rsi
call fcn.14005a460
lea rcx, [rbp - 0x80]
call fcn.14005a690
nop
lea rcx, [rsp + 0x40]
call fcn.14005a690
nop
lea rcx, [rsp + 0x60]
call fcn.14005a690
jmp 0x140065c98
call fcn.1400f4de8
movups xmmword [rbp - 0x40], xmm6
movups xmmword [rbp - 0x30], xmm7
movdqa xmm0, xmmword [0x1401bc0d0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], di
lea rcx, [rsp + 0x60]
call fcn.14005a690
nop
lea rcx, [rbp - 0x80]
call fcn.14005a690
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140065abf
mov r8d, dword [r13 + 8]
lea rdx, [rbp - 0x80]
call fcn.1400661d0
nop
mov r8d, 1
lea rdx, [0x1401bab94]
mov rcx, rax
call fcn.140066e50
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], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140066e50
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x60], xmm6
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140065639
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140065634
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140065634
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f4de8
movups xmmword [rbp - 0x40], xmm6
movups xmmword [rbp - 0x30], xmm7
movdqa xmm0, xmmword [0x1401bc0d0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], di
lea rcx, [rsp + 0x60]
call fcn.14005a690
nop
lea rcx, [rsp + 0x40]
call fcn.14005a690
nop
lea rcx, [rbp - 0x80]
call fcn.14005a690
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140065abf
mov edx, 0x1000
lea rcx, [rbp + 0x620]
test r12b, 8
je 0x1400656aa
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x1400656b0
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 dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400656d0
lea rdx, [rbp + 0x620]
lea rcx, [rsp + 0x60]
call fcn.14005af40
nop
mov r8d, 1
lea rdx, [0x1401bab94]
lea rcx, [rsp + 0x60]
call fcn.140066e50
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], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140066e50
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x80], xmm6
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x1400657ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400657a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400657a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f4de8
movups xmmword [rbp - 0x40], xmm6
movups xmmword [rbp - 0x30], xmm7
movdqa xmm0, xmmword [0x1401bc0d0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], di
lea rcx, [rbp - 0x80]
call fcn.14005a690
nop
lea rcx, [rsp + 0x40]
call fcn.14005a690
nop
lea rcx, [rsp + 0x60]
call fcn.14005a690
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140065abf
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
inc r8
cmp word [rax + r8*2], 0
jne 0x140065830
lea rdx, [rbp + 0x620]
lea rcx, [rsp + 0x60]
call fcn.14005af40
nop
mov r8d, 1
lea rdx, [0x1401bab94]
lea rcx, [rsp + 0x60]
call fcn.140066e50
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], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140066e50
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x80], xmm6
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x14006590e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140065909
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140065909
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f4de8
movups xmmword [rbp - 0x40], xmm6
movups xmmword [rbp - 0x30], xmm7
movdqa xmm0, xmmword [0x1401bc0d0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], di
lea rcx, [rbp - 0x80]
call fcn.14005a690
nop
lea rcx, [rsp + 0x40]
call fcn.14005a690
nop
lea rcx, [rsp + 0x60]
call fcn.14005a690
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140065abf
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
inc r8
cmp word [rax + r8*2], 0
jne 0x140065990
lea rdx, [rbp + 0x620]
lea rcx, [rsp + 0x60]
call fcn.14005af40
nop
mov r8d, 1
lea rdx, [0x1401bab94]
lea rcx, [rsp + 0x60]
call fcn.140066e50
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], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140066e50
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x80], xmm6
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140065a6e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140065a69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140065a69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f4de8
movups xmmword [rbp - 0x40], xmm6
movups xmmword [rbp - 0x30], xmm7
movdqa xmm0, xmmword [0x1401bc0d0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], di
lea rcx, [rbp - 0x80]
call fcn.14005a690
nop
lea rcx, [rsp + 0x40]
call fcn.14005a690
nop
lea rcx, [rsp + 0x60]
call fcn.14005a690
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140065aeb
lea rax, [rbp - 0x40]
cmp rsi, rax
je 0x140065c98
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
mov rcx, rsi
call fcn.14005a700
jmp 0x140065c98
mov r8d, 0x1000
lea rdx, [rbp + 0x620]
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea r8, [rbp - 0x48]
lea rdx, [0x1401bac64]
lea rcx, [rbp + 0x620]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
je 0x140065c93
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov r8, r14
inc r8
cmp word [rax + r8*2], 0
jne 0x140065b45
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14005af40
nop
mov r8d, 1
lea rdx, [0x1401bab94]
lea rcx, [rsp + 0x60]
call fcn.140066e50
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
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, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140066e50
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x80], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm7
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140065c21
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140065c1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140065ca9
call fcn.1400f4de8
movups xmmword [rbp - 0x40], xmm6
movups xmmword [rbp - 0x30], xmm7
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], di
lea rcx, [rbp - 0x80]
call fcn.14005a690
nop
lea rcx, [rsp + 0x40]
call fcn.14005a690
nop
lea rcx, [rsp + 0x60]
call fcn.14005a690
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140065abf
lea r8, [rbp - 0x48]
lea rdx, [0x1401bac64]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
test rax, rax
jne 0x140065b30
mov edi, 0xc0000225
mov rcx, qword [rbp + 0x10]
test rcx, rcx
jle 0x140065cb2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140065cb2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov edi, eax
lea rcx, [rbp - 0x20]
call fcn.14005a690
nop
lea rcx, [rbp - 0x40]
call fcn.14005a690
mov eax, edi
mov rcx, qword [rbp + 0x2620]
xor rcx, rsp
call fcn.1400f4b80
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.14005d7b0
nop
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1401d60c0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r13, r9
mov qword [rsp + 0x70], r8
mov r12, rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xor ebx, ebx
mov dword [rbp - 0x6c], ebx
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x50], rbx
call fcn.14005c4d0
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, Ordinal_45
lea rdx, str.RtlDosApplyFileIsolationRedirection_Ustr
lea rcx, [rsp + 0x50]
call fcn.140007620
nop
call fcn.140076140
lea r14, [rsi + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
movabs rdi, 0xcbf29ce484222325
mov r9, rdi
mov ecx, ebx
movabs r10, 0x100000001b3
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x140065de3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140065dd0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.14005cda0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140065e13
cmp rcx, qword [rsi + 8]
je 0x140065e13
mov rsi, qword [rcx + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140065e1f
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rsi, rbx
lea rcx, [rsp + 0x50]
call fcn.1400064a0
test rsi, rsi
jne 0x140065e38
mov eax, 0xc0000138
jmp 0x14006619b
call fcn.14005c4d0
mov rsi, rax
mov r14, r12
cmp qword [r12 + 0x18], 7
jbe 0x140065e4f
mov r14, qword [r12]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str.RtlInitUnicodeString
lea rcx, [rsp + 0x50]
call fcn.140007620
nop
call fcn.140076140
lea r15, [rsi + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r9, rdi
mov rcx, rbx
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x140065ed3
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140065ec0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.14005cda0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140065f11
cmp rcx, qword [rsi + 8]
je 0x140065f11
mov rsi, qword [rcx + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rsi, rsi
je 0x140065f1b
mov rdx, r14
lea rcx, [rbp - 0x48]
call rsi
jmp 0x140065f1b
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rsp + 0x50]
call fcn.1400064a0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x70], 0x1fe0000
cmp r13, 0xffffffffffffffff
je 0x140065f47
lea rdx, [rbp - 0x50]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
call fcn.14005c4d0
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, Ordinal_45
lea rdx, str.RtlDosApplyFileIsolationRedirection_Ustr
lea rcx, [rsp + 0x50]
call fcn.140007620
nop
call fcn.140076140
lea r14, [rsi + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r9, rdi
mov rcx, rbx
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x140065fd7
movabs r14, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r14
inc rcx
cmp rcx, r8
jb 0x140065fc0
lea r14, [rsi + 0x40]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.14005cda0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140066041
cmp rcx, qword [rsi + 8]
je 0x140066041
mov rsi, qword [rcx + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rsi, rsi
je 0x14006604a
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x70]
xor r8d, r8d
lea rdx, [rbp - 0x48]
mov ecx, 1
call rsi
mov esi, eax
jmp 0x14006604f
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, 0xc0000138
lea rcx, [rsp + 0x50]
call fcn.1400064a0
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x140066070
cmp r13, 0xffffffffffffffff
je 0x140066070
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test esi, esi
jne 0x1400660b8
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x17], sil
je 0x14006608d
mov eax, 0xc015001d
jmp 0x14006619b
mov rax, qword [rbp - 0x78]
mov rdx, qword [rax + 8]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400660a0
mov rcx, r12
call fcn.14005a700
jmp 0x140066199
cmp qword [rbp - 0x58], 0
je 0x140066199
call fcn.14005c4d0
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str.RtlFreeUnicodeString
lea rcx, [rsp + 0x50]
call fcn.140007620
nop
call fcn.140076140
lea r14, [r15 + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140066147
movabs r14, 0x100000001b3
nop dword [rax]
movzx eax, byte [rbx + rcx]
xor rdi, rax
imul rdi, r14
inc rbx
cmp rbx, rdx
jb 0x140066130
lea r14, [r15 + 0x40]
mov r9, rdi
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x78]
mov rcx, r15
call fcn.14005cda0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140066185
cmp rdx, qword [r15 + 8]
je 0x140066185
mov rbx, qword [rdx + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14006618f
lea rcx, [rbp - 0x60]
call rbx
jmp 0x14006618f
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rsp + 0x50]
call fcn.1400064a0
mov eax, esi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400f4b80
mov rbx, qword [rsp + 0x320]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret