Function at 0x140001650
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x140049090]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rsi, rcx
lea rdi, str.D:GitScreenXpertScreenXpert3AsusFoldableSwitcherAsusFoldableSwitcherAsusFoldableSwitcher.cpp
mov rcx, rdi
mov edx, 0x5c
call fcn.140011298
test rax, rax
je 0x1400016b0
mov edx, 0x5c
mov rcx, rdi
call fcn.140011298
inc rax
jmp 0x1400016b3
mov rax, rdi
lea r9, str.Start
mov edx, 0x27
lea r8, str.wWinMain
mov rcx, rax
call fcn.14000ac30
xor r12d, r12d
mov dword [rbp - 0x10], 1
xor r8d, r8d
mov qword [rbp - 8], r12
lea rdx, [rbp - 0x10]
mov qword [rbp], r12
lea rcx, [rbp + 8]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
lea ecx, [r12 + 2]
call qword [sym.imp.api_ms_win_shcore_scaling_l1_1_1.dll_SetProcessDpiAwareness]
lea rbx, [0x14004c590]
mov rcx, rbx
lea rdx, str.FoldableSwitcher_ModeMenuClass
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
lea rcx, [rbp + 0x10]
mov r8d, 0x208
call fcn.140011b70
mov r8, rbx
lea rdx, str._RegisterModeMenuClass__szModeMenuWindowClass:__s
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_wsprintfW]
lea edx, [r12 + 0x5c]
mov rcx, rdi
call fcn.140011298
test rax, rax
je 0x14000175c
lea edx, [r12 + 0x5c]
mov rcx, rdi
call fcn.140011298
inc rax
jmp 0x14000175f
mov rax, rdi
lea r9, [rbp + 0x10]
mov edx, 0x1f0
lea r8, str.RegisterModeMenuClass
mov rcx, rax
call fcn.14000ac30
xorps xmm0, xmm0
mov qword [rsp + 0x40], 3
lea rax, [0x140002d20]
movdqa xmmword [rsp + 0x50], xmm0
mov edx, 0x7f00
mov qword [rsp + 0x48], rax
xor ecx, ecx
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x78], r12
call qword [sym.imp.USER32.dll_LoadCursorW]
mov ecx, 0xffffff
mov qword [rsp + 0x68], rax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
lea rcx, [rsp + 0x40]
mov qword [rbp - 0x80], rbx
mov qword [rsp + 0x70], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
lea r14, [0x1400401b8]
lea r15, str.BootAppClass
nop
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edx, edx
lea rcx, [rbp + 0x10]
mov r8d, 0x208
mov rbx, rax
call fcn.140011b70
mov r8d, 0x104
lea rdx, [rbp + 0x10]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp word [rbp + 0x10], r12w
je 0x1400017e0
lea rdx, [rbp + 0x10]
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r14 + rcx*2 + 2]
jne 0x140001852
add rcx, 2
cmp rcx, 0x1b
je 0x1400017e0
movzx eax, word [rdx + rcx*2]
cmp ax, word [r14 + rcx*2]
je 0x140001830
lea rdx, [rbp + 0x10]
mov rax, 0xffffffffffffffff
nop dword [rax]
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r15 + rax*2 + 2]
jne 0x140001886
add rax, 2
cmp rax, 0xd
je 0x1400017e0
movzx ecx, word [rdx + rax*2]
cmp cx, word [r15 + rax*2]
je 0x140001860
call fcn.140004840
call fcn.1400058a0
cmp byte [0x14004c55d], r12b
jne 0x1400018a2
mov dl, 1
xor ecx, ecx
call fcn.1400055f0
mov r9d, 0x64
lea r8, [0x14004c7a0]
mov rcx, rsi
lea edx, [r9 + 3]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x64
lea rbx, [0x14004c480]
mov r8, rbx
mov rcx, rsi
lea edx, [r9 + 9]
call qword [sym.imp.USER32.dll_LoadStringW]
lea rax, [0x1400026c0]
mov dword [rsp + 0x40], 0x50
mov edx, 0x6b
mov qword [rsp + 0x48], rax
mov rcx, rsi
mov dword [rsp + 0x44], 3
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], rsi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x60], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
movdqa xmm0, xmmword [reloc.OLEAUT32.dll_SysStringLen]
mov edx, 0x6c
mov rcx, qword [rsp + 0x58]
movdqa xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x80], rbx
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rsp + 0x40]
mov qword [rbp - 0x78], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
lea rdx, str.AsusScreenXpertReunion
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
test rax, rax
je 0x140001a13
xor edx, edx
lea rcx, [rbp + 0x10]
mov r8d, 0x208
call fcn.140011b70
lea r8, [0x14004008c]
lea rdx, [0x140040640]
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x1f4
lea r9, [rbp - 0x70]
mov edx, 0x4a
mov qword [rbp - 0x60], rax
mov r8d, 0x641
mov dword [rbp - 0x68], 0x208
mov rcx, rbx
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov edx, 0x5c
mov rcx, rdi
call fcn.140011298
test rax, rax
je 0x1400019f8
mov edx, 0x5c
mov rcx, rdi
call fcn.140011298
lea rdi, [rax + 1]
lea r9, [0x140040648]
mov edx, 0x419
lea r8, str.SendMessageToReunion
mov rcx, rdi
call fcn.14000ac30
call fcn.1400044b0
mov rcx, rsi
call fcn.140001b90
test eax, eax
jne 0x140001a4f
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.14000eef0
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, SafeArrayPutElement
call fcn.14000ef10
xor ecx, ecx
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov rcx, rax
call fcn.140008dd0
mov ecx, 8
call fcn.14000ef10
lea rcx, [0x1400046a0]
mov r9, rax
lea r8, [0x140005f60]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], r12d
call fcn.1400158f4
mov qword [rbp - 0x20], rax
test rax, rax
je 0x140001b65
cmp dword [rbp - 0x18], r12d
je 0x140001b74
movaps xmm0, xmmword [rbp - 0x20]
lea rcx, [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
call fcn.14000dab0
test eax, eax
jne 0x140001b7f
xorps xmm0, xmm0
lea edx, [rax + 0x6d]
mov rcx, rsi
movdqa xmmword [rbp - 0x20], xmm0
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x14004c548]
mov edx, 0x25e7
mov rbx, rax
call qword [sym.imp.USER32.dll_KillTimer]
xor r9d, r9d
lea rcx, [rbp - 0x50]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140001b51
mov rcx, qword [rbp - 0x50]
lea r8, [rbp - 0x50]
mov rdx, rbx
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x140001b3b
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x50]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140001b12
cmp dword [rbp - 0x18], r12d
jne 0x140001b5f
mov eax, dword [rbp - 0x40]
jmp 0x140001a24
call fcn.1400159d4
int3
mov ecx, 6
mov dword [rbp - 0x18], r12d
call fcn.14000d844
int3
mov ecx, 1
call fcn.14000d844
int3
mov ecx, eax
call fcn.14000d808
int3