Function at 0x140192050
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x3d8]
sub rsp, 0x4b0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov r14, r8
movzx r12d, dl
mov r15, rcx
mov qword [rsp + 0x78], rcx
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
xor edi, edi
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], edi
mov qword [rsp + 0x60], rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea rdx, [rsp + 0x48]
lea ecx, [rdi + 3]
call fcn.140195770
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov r8, rax
mov rdx, 0xffffffff80000002
mov r9d, 0x20019
lea rcx, [rsp + 0x50]
call fcn.14008ff80
test eax, eax
jne 0x14019218a
mov edx, Ordinal_261
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
mov rsi, rax
mov dword [rsp + 0x30], Ordinal_521
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.installsource
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140192160
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
ja 0x140192160
test rsi, rsi
je 0x140192160
cmp dword [rsp + 0x30], edi
jne 0x140192160
mov word [rsi], di
or edx, 0xffffffff
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
test rbx, rbx
je 0x140192184
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rdi
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], edi
jmp 0x14019218f
mov rbx, qword [rsp + 0x50]
xor r8d, r8d
lea rdx, str.lenovo
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_4467]
cmp eax, 0xffffffff
je 0x140192305
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x68]
call fcn.140191de0
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_1496]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
lea rdx, [0x14031e460]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_2861]
test eax, eax
je 0x1401922ed
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x80]
call sub.MSVCR120.dll_memset
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x1401922ed
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x190]
call sub.MSVCR120.dll_memset
lea rdx, str.NitroPro10.0Lang_
lea rcx, [rbp + 0x190]
call qword [sym.imp.MSVCR120.dll__swprintf]
lea rdx, [rbp + 0x190]
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x1401922ed
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x38]
lea r8, [rbp - 0x80]
lea rdx, str._s_s_s.dll
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_7775]
test al, al
jne 0x1401922ed
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x1401922ed
test r12b, r12b
je 0x1401922ed
test r14, r14
je 0x1401922e4
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.mfc120u.dll_Ordinal_13477]
call sub.mfc120u.dll_Ordinal_2170
mov qword [rax + 0x18], rdi
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
test rbx, rbx
je 0x140192320
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
mov rcx, r15
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov rax, rdi
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.140289bf0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret