Function at 0x14014af70
Capabilities:
Load ntoskrnl

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x148
mov rax, qword [0x1401f1080]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rax, [0x1401f5170]
mov rcx, rax
call fcn.140160430
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14014afde
movzx eax, word [0x1401f5188]
test eax, eax
jne 0x14014afde
cmp qword [0x1401f5190], 0
je 0x14014afe3
jmp 0x14014b2b7
lea rax, str.NtShutdownSystem
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov r8b, 1
mov rdx, qword [rsp + 0x68]
lea rcx, [0x1401df058]
call fcn.1401484f0
mov dword [0x1401f5184], eax
xor edx, edx
mov eax, dword [0x1401f5184]
mov ecx, 0x1000
div ecx
mov eax, edx
mov word [0x1401f5188], ax
mov r8d, 1
xor edx, edx
lea rcx, [0x1401df058]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x1401f5190], rax
lea rax, [rsp + 0x108]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x108]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rcx, rax
call fcn.140170590
lea rax, [rsp + 0x108]
mov qword [rsp + 0xe0], rax
lea rax, [0x1401f50e8]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x100]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0xf8]
lea rax, [rsp + 0xf8]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
jmp 0x14014b10c
lea rcx, [rsp + 0x100]
call fcn.140166040
movzx eax, byte [rsp + 0xf8]
mov byte [rsp + 0x38], al
mov rax, qword [rsp + 0x100]
movsx eax, byte [rax + 0x19]
test eax, eax
jne 0x14014b132
mov dword [rsp + 0x40], 1
jmp 0x14014b13a
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14014b244
mov rax, qword [rsp + 0x100]
add rax, 0x20
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x120]
mov rdi, rax
mov rsi, qword [rsp + 0xa0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0xa8], rax
lea rax, [0x14014bb40]
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x120]
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xd0]
call fcn.140171b40
lea rax, [rsp + 0xd0]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x108]
call fcn.14016b120
mov qword [rsp + 0xe8], rax
cmp dword [rsp + 0xd8], 0
je 0x14014b220
mov dword [rsp + 0x44], 1
jmp 0x14014b228
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x14014b23f
call fcn.1401a89dc
jmp 0x14014b0ff
lea rax, [rsp + 0x108]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
mov qword [rsp + 0xc0], rax
jmp 0x14014b27f
mov rax, qword [rsp + 0x48]
add rax, 0x10
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rsp + 0x48], rax
je 0x14014b2aa
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.140147dd0
jmp 0x14014b271
lea rcx, [rsp + 0x108]
call fcn.1401652e0
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14019dfb0
add rsp, 0x148
pop rdi
pop rsi
ret