Function at 0x140001430
Capabilities:
Create thread
Get common file path
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x140005010]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r14, rcx
xor r15d, r15d
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x40], r15d
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_OOBEComplete]
test eax, eax
je 0x14000190c
cmp dword [rbp - 0x40], r15d
je 0x14000190c
lea r12, str.LVAW_STARTUP_AGENT
mov rcx, r12
lea rdx, str.StartupHelper
call qword [sym.imp.USER32.dll_FindWindowW]
xor r8d, r8d
test rax, rax
je 0x1400014bb
xor r9d, r9d
mov edx, 0x420
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14000190c
xor r9d, r9d
lea rax, [rbp + 0x30]
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x1c]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x14000190c
lea rdx, str.LenovoLVAWLVAClient.conf
lea rcx, [rbp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x10]
lea r8, str.True
mov dword [rsp + 0x20], 0x20
lea rdx, str.AutoStartup
lea rcx, str.setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1400018ca
lea rdx, str.False
lea rcx, [rbp + 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400018ca
lea rax, [rsp + 0x68]
mov dword [rsp + 0x60], 0x20
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWARELenovoLVAW
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400015a6
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, str.ProductChannel
lea rax, [rbp - 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.preload
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov edi, 0x3c
test eax, eax
jne 0x1400015dd
lea r9, [rbp + 0x30]
mov r8d, edi
lea rdx, str.silentTimer
lea rcx, [0x14000367c]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
jmp 0x1400015e3
mov eax, dword [0x140005050]
cmp eax, 2
jge 0x1400015f4
mov dword [0x140005050], 2
jmp 0x1400015ff
cmp eax, edi
cmovg eax, edi
mov dword [0x140005050], eax
lea rax, [0x140001940]
mov dword [rsp + 0x70], 0x50
mov edx, 0x6b
mov qword [rsp + 0x78], rax
mov rcx, r14
mov dword [rsp + 0x74], 3
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r14
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x70], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
movdqa xmm0, xmmword [0x1400036d0]
mov edx, 0x6b
mov rcx, qword [rbp - 0x78]
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x50], r12
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rsp + 0x70]
mov qword [rbp - 0x48], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
xor edx, edx
lea r8, [0x140003680]
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov qword [0x140005848], rax
test rax, rax
jne 0x1400018ca
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x288], rsi
mov rdi, r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
call fcn.140001270
mov rsi, qword [rsp + 0x68]
test al, al
je 0x140001735
xor r8d, r8d
mov qword [rbp - 0x10], 5
xorps xmm0, xmm0
mov dword [rbp - 0x30], 0xf003f
lea r9, [rsp + 0x60]
mov qword [rbp - 0x2c], 2
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x14], r15d
lea ecx, [r8 + 1]
mov qword [rbp - 8], rsi
movdqu xmmword [rbp - 0x24], xmm0
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov edx, 0x28
lea ecx, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x140001735
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
mov r8, qword [rsp + 0x60]
xor r9d, r9d
mov rcx, rdi
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test rsi, rsi
je 0x140001743
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x288]
test rcx, rcx
je 0x140001760
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x60], r15
xor r8d, r8d
lea r9, [0x140003680]
xor ecx, ecx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140005848], rax
test rdi, rdi
je 0x14000178b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbx, rbx
je 0x1400017c0
lea rdx, str._startup
mov rcx, 0xffffffffffffffff
nop
movzx eax, word [rbx + rcx*2 + 2]
cmp ax, word [rdx + rcx*2 + 2]
jne 0x1400017c0
add rcx, 2
cmp rcx, 9
je 0x14000181f
movzx eax, word [rbx + rcx*2]
cmp ax, word [rdx + rcx*2]
je 0x1400017a0
mov qword [rsp + 0x58], r15
lea r8, str.StartupHelper
mov qword [rsp + 0x50], r14
mov r9d, 0x20000000
mov qword [rsp + 0x48], r15
mov rdx, r12
mov qword [rsp + 0x40], r15
mov ecx, 0x8000000
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x140005858], rax
test rax, rax
jne 0x140001829
mov eax, 0xffffffff
jmp 0x14000190e
call fcn.140001060
jmp 0x1400018ca
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
mov dword [rsp + 0x60], r15d
mov qword [0x140005840], rax
lea r8, [0x140001220]
lea rax, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [0x140005858]
xor r9d, r9d
mov r8d, 0xea60
lea edx, [r9 + 3]
call qword [sym.imp.USER32.dll_SetTimer]
xor r9d, r9d
lea rcx, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1400018ca
nop word [rax + rax]
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x1400018a0
mov rcx, qword [0x140005840]
test rcx, rcx
je 0x1400018f0
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [0x140005840]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140005840], r15
mov rax, qword [0x140005848]
test rax, rax
je 0x14000190c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140005848], r15
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140001a70
mov rbx, qword [rsp + 0x290]
add rsp, 0x250
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret