Function at 0x140001290
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x228]
sub rsp, 0x320
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140006030]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rbx, rcx
mov dword [rbp - 8], 8
mov dword [rbp - 4], 0xff
lea rcx, [rbp - 8]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov rcx, rbx
call qword [sym.imp.mfc110u.dll_Ordinal_7563]
xor ecx, ecx
call qword [sym.imp.mfc110u.dll_Ordinal_2127]
xor edx, edx
lea rcx, str.DeviceControl_Windows
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140001321
xor r9d, r9d
xor r8d, r8d
mov edx, 0x464
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1400014db
xor esi, esi
mov word [rbp], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 2]
call sub.MSVCR110.dll_memset
xor edx, edx
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
nop
lea r9, [rbp - 0x10]
call fcn.140001a80
lea edi, [rsi + 1]
test eax, eax
je 0x1400013c0
mov r8d, edi
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc110u.dll_Ordinal_12432]
nop
lea rdx, [0x140003660]
mov rcx, rax
call qword [sym.imp.mfc110u.dll_Ordinal_2848]
test eax, eax
sete bl
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc110u.dll_Ordinal_4829]
mov r8, rax
lea rcx, [rbp]
test bl, bl
lea rdx, [0x140003668]
jne 0x1400013ab
lea rdx, str._sLenovo_Settings.exe
call qword [sym.imp.USER32.dll_wsprintfW]
or edx, 0xffffffff
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc110u.dll_Ordinal_12073]
jmp 0x1400013e1
call fcn.1400019e0
lea rcx, [rbp]
test eax, eax
lea rdx, str.C:Program_Files__x86_LenovoLenovo_SettingsLenovo_Settings.exe
jne 0x1400013db
lea rdx, str.C:Program_FilesLenovoLenovo_SettingsLenovo_Settings.exe
call qword [sym.imp.USER32.dll_wsprintfW]
mov ebx, 5
nop word [rax + rax]
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp - 0x78]
call sub.MSVCR110.dll_memset
mov dword [rbp - 0x80], 0x68
mov word [rbp - 0x40], bx
mov qword [rbp - 0x70], rsi
mov qword [rsp + 0x60], rsi
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400014c6
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x258
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea rcx, str.DeviceControl_Windows
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x1400014ae
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea rcx, str.DeviceControl_Windows
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x1400014d1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x464
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
jne 0x1400014d1
inc edi
cmp edi, 2
jb 0x1400013f0
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
xor eax, eax
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140001ff0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret