Function at 0x140192550
Capabilities:
Create thread
Query or enumerate registry value
Shutdown system

Disassembly:
push rdi
sub rsp, 0x40
mov eax, dword [rcx + 0xcc]
mov rdi, rcx
test eax, eax
je 0x1401926bf
cmp eax, 1
jne 0x14019263e
mov qword [rsp + 0x38], rbp
xor ecx, ecx
mov qword [rsp + 0x30], rsi
xor bpl, bpl
call fcn.1400f1cf0
mov rsi, rax
test rax, rax
je 0x140192637
mov rcx, qword [rsi + 8]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, str.EULA37
xor r8d, r8d
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
mov rbx, qword [rsp + 0x68]
jne 0x1401925ee
cmp dword [rsp + 0x50], 0
setne bpl
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
test bpl, bpl
je 0x140192637
mov rax, qword [rdi + 0xc0]
cmp byte [rax + 0x34], 0
jne 0x140192630
cmp byte [rax + 0x2c], 0
jne 0x140192630
mov edx, 5
mov rcx, rdi
call fcn.140190610
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
mov edx, 7
jmp 0x140192618
mov edx, 2
jmp 0x140192618
cmp eax, 2
jne 0x140192674
mov rax, qword [rcx + 0xc0]
cmp byte [rax + 0x34], 0
jne 0x140192665
cmp byte [rax + 0x2c], 0
jne 0x140192665
mov edx, 5
add rsp, 0x40
pop rdi
jmp fcn.140190610
mov edx, 7
add rsp, 0x40
pop rdi
jmp fcn.140190610
cmp eax, 5
jne 0x1401926a0
mov rcx, qword [rcx + 0x120]
test rcx, rcx
je 0x14019268e
call fcn.14011d940
test al, al
je 0x14019262a
mov edx, 7
mov rcx, rdi
add rsp, 0x40
pop rdi
jmp fcn.140190610
cmp eax, 3
je 0x1401926bf
cmp eax, 0xd
je 0x1401926bf
cmp eax, 4
jne 0x1401926ce
mov rax, qword [rcx + 0xc0]
cmp dword [rax + 0x218], 2
jne 0x1401926fc
mov edx, 1
add rsp, 0x40
pop rdi
jmp fcn.140190610
cmp eax, 7
jne 0x1401926e0
lea edx, [rax + 1]
add rsp, 0x40
pop rdi
jmp fcn.140190610
cmp eax, 8
jne 0x14019270b
mov rcx, qword [rcx + 0xc0]
call fcn.1400f7ac0
mov rcx, rdi
test al, al
je 0x1401927dd
mov edx, 9
add rsp, 0x40
pop rdi
jmp fcn.140190610
cmp eax, 9
jne 0x1401927c6
mov r8, qword [rcx + 0xc0]
mov rcx, r8
call fcn.1400f7ac0
test al, al
je 0x1401927b4
mov rcx, r8
call fcn.1400f7c60
test al, al
jne 0x140192759
mov rax, qword [rdi + 0xc0]
cmp dword [rax + 0x100], 1
jne 0x140192750
cmp byte [rax + 0x104], 0
je 0x140192759
call fcn.1401780b0
test al, al
je 0x14019276b
mov edx, 0xa
mov rcx, rdi
add rsp, 0x40
pop rdi
jmp fcn.140190610
mov rcx, qword [rdi + 0xc0]
cmp byte [rcx + 0x1d], 0
je 0x1401927a2
call fcn.14010ecc0
mov rcx, rdi
test al, al
je 0x140192793
mov edx, 0xa
add rsp, 0x40
pop rdi
jmp fcn.140190610
mov edx, 4
add rsp, 0x40
pop rdi
jmp fcn.140190610
mov edx, 4
mov rcx, rdi
add rsp, 0x40
pop rdi
jmp fcn.140190610
mov edx, 0xc
mov rcx, rdi
add rsp, 0x40
pop rdi
jmp fcn.140190610
cmp eax, 0xa
jne 0x1401927d8
lea edx, [rax + 1]
add rsp, 0x40
pop rdi
jmp fcn.140190610
cmp eax, 0xb
jne 0x1401927ec
mov edx, 0xc
add rsp, 0x40
pop rdi
jmp fcn.140190610
cmp eax, 0xc
jne 0x14019262a
mov rax, qword [rcx + 0xc0]
cmp byte [rax + 0x264], 0
je 0x140192838
lea rcx, str.SeShutdownPrivilege
call fcn.1400fe3d0
mov edx, 0x80030013
mov ecx, 6
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x140192838
mov rax, qword [0x140428b78]
test rax, rax
je 0x140192838
mov byte [rax + 0x265], 1
mov rax, qword [rdi]
mov rcx, rdi
add rsp, 0x40
pop rdi
jmp qword [rax + 0x120]