Function at 0x14003c920
Capabilities:
Lock the desktop
Shutdown system

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
call fcn.14001a068
lea r8, [fcn.140134008]
lea rdx, [0x14011a2a8]
lea rcx, [0x14011a298]
xor r9d, r9d
call fcn.14005aa8c
xor ebx, ebx
lea rdx, [rsp + 0x80]
lea r8d, [rbx + 6]
lea rcx, [0x140119e6c]
call fcn.14006439c
mov ebp, ebx
mov ecx, 0x4000
cmp al, bl
mov rax, qword [rsp + 0x80]
mov dword [rsp + 0x88], ebx
cmovne ebp, ecx
mov qword [rsp + 0x90], rax
mov r12d, ebx
lea esi, [rbx + 0x20]
lea r14d, [rbx + 1]
mov r13d, ebx
cmp word [rax], bx
je 0x14003c9d8
lea edi, [rbx + 0x2d]
lea r15d, [rbx + 2]
lea rdx, [rsp + 0x80]
lea rcx, [0x140115454]
mov r8d, r15d
call fcn.14006439c
cmp al, bl
mov rax, qword [rsp + 0x80]
je 0x14003ca14
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x90]
call fcn.140016e28
or esi, ebp
lea r8, [0x14011a290]
mov edx, esi
mov ecx, r12d
call fcn.14003c43c
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
add rax, r15
mov qword [rsp + 0x80], rax
cmp di, word [rax]
je 0x14003ca09
movzx edi, word [rax]
mov eax, 0xffdf
lea rdx, [rsp + 0x80]
lea rcx, [0x14011a280]
mov r8d, 8
and di, ax
call fcn.14006439c
cmp al, bl
jne 0x14003cd43
cmp di, 0x52
jne 0x14003ca6d
mov rdx, qword [rsp + 0x80]
mov esi, 0x10
mov r12d, r14d
lea rax, [rdx + 2]
mov qword [rsp + 0x90], rax
jmp 0x14003cbac
cmp di, 0x4c
je 0x14003ccac
cmp di, 0x48
je 0x14003cc59
cmp di, 0x53
je 0x14003cc0b
cmp di, 0x4b
je 0x14003cbca
cmp di, 0x45
jne 0x14003caec
mov rdx, qword [rsp + 0x80]
lea rax, [rdx + 2]
mov qword [rsp + 0x90], rax
mov rax, qword [0x140134010]
cmp rax, rbx
je 0x14003cbac
lea rcx, [0x14011a250]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call rax
mov edx, 0x2710
lea rcx, [0x1401340d0]
xor r9d, r9d
xor r8d, r8d
call fcn.14001f844
jmp 0x14003cba4
cmp di, 0x4f
jne 0x14003cb69
mov rdx, qword [rsp + 0x80]
mov r9d, 9
mov edi, 0x2710
lea rax, [rdx + 2]
mov qword [rsp + 0x90], rax
movzx ecx, word [rax]
sub cx, 0x30
cmp cx, r9w
cmovbe edi, ebx
movzx eax, word [rdx + 2]
sub ax, 0x30
cmp ax, r9w
ja 0x14003cb45
movzx eax, word [rdx + 2]
lea ecx, [rdi + rdi*4]
add rdx, r15
lea edi, [rax + rcx*2 - 0x30]
mov qword [rsp + 0x80], rdx
jmp 0x14003cb1f
mov rax, qword [0x140134010]
cmp rax, rbx
je 0x14003cbac
lea rcx, [0x14011a250]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call rax
mov edx, edi
jmp 0x14003cad5
cmp di, 0x43
jne 0x14003c9d8
mov rdx, qword [rsp + 0x80]
lea rax, [rdx + 2]
mov qword [rsp + 0x90], rax
mov rax, qword [0x140134010]
cmp rax, rbx
je 0x14003cbac
lea rcx, [0x14011a220]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call rax
mov rdx, qword [rsp + 0x80]
add rdx, r15
mov edi, 0x2d
mov qword [rsp + 0x80], rdx
cmp word [rdx], bx
jne 0x14003c9ad
jmp 0x14003c9d8
mov rcx, qword [rsp + 0x80]
add rcx, r15
mov qword [rsp + 0x90], rcx
cmp qword [fcn.140134008], rbx
je 0x14003cc27
lea rcx, [rsp + 0x90]
call fcn.140016e28
mov edx, 0x80
mov rcx, qword [rax]
call fcn.14003c2ac
call qword [sym.imp.USER32.DLL_LockWorkStation]
jmp 0x14003cca2
mov rax, qword [rsp + 0x80]
add rax, r15
mov qword [rsp + 0x90], rax
cmp qword [fcn.140134008], rbx
jne 0x14003cc2f
mov rax, r14
jmp 0x14003c9f8
lea rcx, [rsp + 0x90]
call fcn.140016e28
mov edx, 4
mov rcx, qword [rax]
call fcn.14003c2ac
xor r8d, r8d
mov edx, r14d
xor ecx, ecx
call qword [fcn.140134008]
jmp 0x14003cca2
mov rax, qword [rsp + 0x80]
lea rcx, [rsp + 0x90]
add rax, r15
mov qword [rsp + 0x90], rax
call fcn.140016e28
mov edx, 8
mov rcx, qword [rax]
call fcn.14003c2ac
lea rcx, [0x140115310]
xor r8d, r8d
mov edx, r15d
call fcn.14001bd24
mov edx, r14d
xor ecx, ecx
call sub.KERNEL32.DLL_SetSystemPowerState
cmp eax, ebx
sete bl
jmp 0x14003cd3b
mov rax, qword [rsp + 0x80]
lea rcx, [rsp + 0x90]
add rax, r15
mov qword [rsp + 0x90], rax
call fcn.140016e28
mov edx, r15d
mov rcx, qword [rax]
call fcn.14003c2ac
lea rcx, [rsp + 0x98]
mov edx, 0x12c
call fcn.1400616c8
movzx r11d, byte [0x14013e000]
mov rcx, qword [rsp + 0x98]
lea rdx, [0x14011a1f8]
mov r9d, r15d
xor r8d, r8d
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.DLL_wsprintfA]
mov rcx, qword [rsp + 0x98]
call fcn.140017580
xor edx, edx
lea ecx, [rdx + 0x10]
call qword [sym.imp.USER32.DLL_ExitWindowsEx]
lea rcx, [rsp + 0x98]
cmp eax, ebx
sete bl
call fcn.140059370
mov rax, rbx
jmp 0x14003c9f8
mov rcx, qword [rsp + 0x80]
mov edi, 0x2d
mov qword [rsp + 0x90], rcx
lea ebp, [rdi - 0xd]
cmp di, word [rcx]
jne 0x14003cec8
lea esi, [rdi - 0x24]
cmp di, word [rcx + 2]
je 0x14003ce9f
lea rdx, [rsp + 0x80]
lea rcx, [0x14011a1f0]
mov r8d, r15d
call fcn.14006439c
cmp al, bl
je 0x14003cd94
mov r13d, ebx
jmp 0x14003ce3c
lea rdx, [rsp + 0x80]
lea rcx, [0x14011a1ec]
mov r8d, r15d
call fcn.14006439c
cmp al, bl
je 0x14003cdba
mov r13d, 1
jmp 0x14003ce3c
lea rdx, [rsp + 0x80]
lea rcx, [0x14011a1e8]
mov r8d, r15d
call fcn.14006439c
cmp al, bl
je 0x14003cddd
mov r14d, 1
jmp 0x14003ce3c
lea rdx, [rsp + 0x80]
lea rcx, [0x14011a1e4]
mov r8d, 3
call fcn.14006439c
cmp al, bl
je 0x14003ce0c
mov rcx, qword [rsp + 0x80]
mov r14d, ebx
lea rax, [rcx + 6]
jmp 0x14003ce48
lea rdx, [rsp + 0x80]
lea rcx, [0x14011a1e0]
mov r8d, r15d
call fcn.14006439c
cmp al, bl
je 0x14003ce52
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x80]
call fcn.140071ac4
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + 4]
mov qword [rsp + 0x90], rax
jmp 0x14003ce94
mov rcx, qword [rsp + 0x80]
jmp 0x14003ce77
cmp si, ax
ja 0x14003ce67
cmp ax, 0xd
jbe 0x14003ce7f
cmp bp, ax
je 0x14003ce7f
add rcx, r15
mov qword [rsp + 0x80], rcx
movzx eax, word [rcx]
cmp ax, bx
jne 0x14003ce5c
lea rcx, [rsp + 0x80]
call fcn.140016e28
mov rcx, qword [rsp + 0x80]
cmp di, word [rcx]
je 0x14003cd67
jmp 0x14003cec8
add rcx, 4
jmp 0x14003ceb8
cmp si, ax
ja 0x14003ceb0
cmp ax, 0xd
jbe 0x14003cec8
cmp bp, ax
je 0x14003cec8
add rcx, r15
mov qword [rsp + 0x90], rcx
movzx eax, word [rcx]
cmp ax, bx
jne 0x14003cea5
mov eax, r13d
lea rcx, [rsp + 0x90]
neg eax
sbb ebx, ebx
and ebx, 0xfffffff0
add ebx, ebp
call fcn.140016e28
mov edx, ebx
mov rcx, qword [rax]
call fcn.14003c2ac
lea rcx, [0x140115310]
xor r8d, r8d
mov edx, r15d
call fcn.14001bd24
lea rcx, [0x14011a028]
xor r8d, r8d
mov edx, r15d
call fcn.14001bd24
lea rcx, [rsp + 0x98]
mov edx, 0x12c
call fcn.1400616c8
movzx r11d, byte [0x14013e000]
mov rcx, qword [rsp + 0x98]
lea rdx, [0x14011a1b8]
mov r9d, ebx
mov r8d, r13d
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.DLL_wsprintfA]
mov rcx, qword [rsp + 0x98]
call fcn.140017580
mov r8d, dword [rsp + 0x88]
lea rdx, [0x1401145d8]
mov r9d, r14d
xor ecx, ecx
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.DLL_InitiateSystemShutdownW]
lea rcx, [rsp + 0x98]
call fcn.140059370
xor eax, eax
jmp 0x14003c9f8