Function at 0x1401e71e0
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
lea rbp, [rsp - 0x82d8]
mov eax, 0x83d8
call fcn.140160160
sub rsp, rax
mov rax, qword [0x1403fad18]
xor rax, rsp
mov qword [rbp + 0x82c0], rax
mov qword [rsp + 0x60], rcx
mov rsi, r8
mov rdi, rdx
lea rcx, [rbp + 0x282]
xor r12d, r12d
xor edx, edx
mov r8d, 0x2006
mov word [rbp + 0x280], r12w
call sub.MSVCR100.dll_memset
xor eax, eax
lea rcx, [rbp + 0x2292]
xor edx, edx
mov r8d, 0x2006
mov word [rsp + 0x6c], r12w
mov dword [rsp + 0x6e], eax
mov word [rbp + 0x2290], r12w
call sub.MSVCR100.dll_memset
lea rdx, [rbp + 0x280]
mov r8d, 0x1004
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1401e7281
mov eax, 2
jmp 0x1401e74c7
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9, [rbp + 0x2290]
lea rdx, [rsp + 0x6c]
lea rcx, [rbp + 0x280]
mov r8d, 3
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], 0x1004
call qword [sym.imp.MSVCR100.dll__wsplitpath_s]
test eax, eax
jne 0x1401e7277
lea rcx, [rbp + 0x42a2]
xor edx, edx
mov r8d, 0x2006
mov qword [rsp + 0x83d0], rbx
mov word [rbp + 0x42a0], r12w
call sub.MSVCR100.dll_memset
lea rcx, [rbp - 0x7e]
xor edx, edx
mov r8d, 0xfe
mov word [rbp - 0x80], r12w
call sub.MSVCR100.dll_memset
lea r8, [rsp + 0x6c]
lea rcx, [rbp + 0x42a0]
mov edx, 0x1004
call qword [sym.imp.MSVCR100.dll_wcscpy_s]
lea r8, [rbp + 0x2290]
lea rcx, [rbp + 0x42a0]
mov edx, 0x1004
call qword [sym.imp.MSVCR100.dll_wcscat_s]
lea r8, str.tag.txt
lea rcx, [rbp + 0x42a0]
mov edx, 0x1004
call qword [sym.imp.MSVCR100.dll_wcscat_s]
lea rcx, [rbp + 0x42a0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401e7395
lea rdx, [0x1403220c8]
lea rcx, [rbp + 0x42a0]
call qword [sym.imp.MSVCR100.dll__wfopen]
mov rbx, rax
test rax, rax
je 0x1401e7395
lea r8, [rbp - 0x80]
lea rdx, [0x1403220c0]
mov r9d, 0x80
mov rcx, rax
call qword [sym.imp.MSVCR100.dll_fwscanf_s]
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_fclose]
movups xmm0, xmmword [str.SoftwareBlueStacks]
movups xmm1, xmmword [0x1403220a8]
lea rcx, [rbp + 0xa8]
xor edx, edx
mov r8d, 0x1d6
movaps xmmword [rbp + 0x80], xmm0
movaps xmmword [rbp + 0x90], xmm1
movsd xmm0, qword [0x1403220b8]
movsd qword [rbp + 0xa0], xmm0
call sub.MSVCR100.dll_memset
cmp word [rbp - 0x80], r12w
je 0x1401e73f2
lea r8, [rbp - 0x80]
lea rcx, [rbp + 0x80]
mov edx, 0xff
call qword [sym.imp.MSVCR100.dll_wcscat_s]
lea rcx, [rbp + 0x62b2]
xor edx, edx
mov r8d, 0x2006
mov word [rbp + 0x62b0], r12w
call sub.MSVCR100.dll_memset
lea rax, [rsp + 0x58]
lea rdx, [rbp + 0x80]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x50], 0x2008
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401e74bf
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x62b0]
lea rdx, str.DataDir
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x1401e74b2
lea rax, str.C:_virtualbox_srcVBoxMaingluecom.cpp
lea r8, [rsp + 0x60]
lea rcx, [rbp + 0x62b0]
mov qword [rsp + 0x28], rax
mov r9, rdi
or rdx, 0xffffffffffffffff
mov qword [rsp + 0x20], r12
call qword [sym.imp.BstkRT.dll_RTUtf16ToUtf8ExTag]
mov rcx, qword [rsp + 0x60]
mov r8, rsi
mov rdx, rdi
call qword [sym.imp.BstkRT.dll_RTPathAppend]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x83d0]
mov rcx, qword [rbp + 0x82c0]
xor rcx, rsp
call fcn.14015fe00
add rsp, 0x83d8
pop r12
pop rdi
pop rsi
pop rbp
ret