Function at 0x1400048c0
Capabilities:
Shutdown system

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x7a8
mov qword [rsp + 0x178], 0xfffffffffffffffe
mov rax, qword [0x140079aa0]
xor rax, rsp
mov qword [rsp + 0x790], rax
mov dword [rsp + 0x44], 0
mov rax, qword [rsp + 0x7b0]
cmp qword [rax + 0x28], 0
jne 0x140004927
mov byte [rsp + 0x36], 0
mov rcx, qword [rsp + 0x7b8]
call fcn.140035580
movzx eax, byte [rsp + 0x36]
jmp 0x140005e49
mov rcx, qword [rsp + 0x7b0]
call fcn.140003ca0
movzx eax, al
test eax, eax
je 0x14000497e
mov rcx, qword [rsp + 0x7b0]
call fcn.1400074c0
movzx eax, al
test eax, eax
jne 0x14000496b
mov byte [rsp + 0x3e], 0
mov rcx, qword [rsp + 0x7b8]
call fcn.140035580
movzx eax, byte [rsp + 0x3e]
jmp 0x140005e49
lea rdx, [0x14004fe58]
mov rcx, qword [sym.imp.MSVCP110.dll_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___std::wcout]
call fcn.14000dae0
mov rax, qword [rsp + 0x7b0]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0x7b0]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rax]
mov edx, 5
call qword [rax + 0x50]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400049b3
cmp dword [rsp + 0x30], 2
jne 0x1400049d0
mov edx, 0xffffffff
mov rax, qword [rsp + 0x7b0]
mov rcx, qword [rax + 0x38]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x44], eax
jmp 0x140004a1e
mov rcx, qword [rsp + 0x7b0]
call fcn.140003ca0
movzx eax, al
test eax, eax
je 0x140004a06
lea rdx, str._n_Error:_PRE_INSTALL_state_failed
mov rcx, qword [sym.imp.MSVCP110.dll_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___std::wcout]
call fcn.14000dae0
lea rdx, [0x14004eb24]
mov rcx, rax
call fcn.14000dae0
lea r8, str.Failed_PRE_INSTALL_State
mov edx, 1
lea rcx, [0x1400511b8]
call fcn.14003fa80
lea rcx, [rsp + 0x410]
call fcn.140017a30
nop
mov rax, qword [rsp + 0x7b0]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0x7b0]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rax]
lea rdx, [rsp + 0x410]
call qword [rax + 0x10]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140004a68
cmp dword [rsp + 0x30], 2
jne 0x140004aea
cmp dword [rsp + 0x69c], 0
ja 0x140004aea
mov rcx, qword [rsp + 0x7b0]
call fcn.140003ca0
movzx eax, al
test eax, eax
je 0x140004aa8
lea rdx, str._n_Error:_Failed_to_find_any_installable_components
mov rcx, qword [sym.imp.MSVCP110.dll_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___std::wcout]
call fcn.14000dae0
lea rdx, [0x14004f254]
mov rcx, rax
call fcn.14000dae0
lea r8, str.Failed_PRE_INSTALL_State_for_finding_compatible_HW
mov edx, 1
lea rcx, [0x1400518d8]
call fcn.14003fa80
mov byte [rsp + 0x37], 0
lea rcx, [rsp + 0x410]
call fcn.140018f40
nop
mov rcx, qword [rsp + 0x7b8]
call fcn.140035580
movzx eax, byte [rsp + 0x37]
jmp 0x140005e49
lea rcx, [rsp + 0x50]
call fcn.140014c50
nop
lea rdx, [rsp + 0x750]
lea rcx, [rsp + 0x50]
call fcn.140019520
lea rcx, [rsp + 0x48]
call fcn.14003d4a0
lea rcx, [rsp + 0x78]
call fcn.1400153b0
nop
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x50]
call fcn.14003e100
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
jmp 0x140004b4d
xor r8d, r8d
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x48]
call fcn.14001b310
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x50]
call fcn.140021d20
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14001b180
movzx eax, al
test eax, eax
je 0x140004c71
lea rcx, [rsp + 0x48]
call fcn.14001b270
cmp dword [rax + 0x218], 0
jne 0x140004ba1
lea rcx, [rsp + 0x48]
call fcn.14001b270
cmp dword [rax + 0x80], 0
je 0x140004c6c
lea rcx, [rsp + 0x48]
call fcn.14001b270
xor r8d, r8d
lea rdx, [0x140051524]
mov rcx, rax
call fcn.140024a30
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0xb0], 0
jl 0x140004c6c
lea rcx, [rsp + 0x48]
call fcn.14001b270
mov rcx, rax
call fcn.140027f80
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0x48]
call fcn.14001b270
mov rcx, qword [rsp + 0xf0]
mov r9, rcx
mov r8d, 2
lea rdx, [rsp + 0x350]
mov rcx, rax
call fcn.140028220
nop
lea rcx, [rsp + 0x350]
call fcn.140021120
mov rdx, rax
lea rcx, [rsp + 0x370]
call fcn.140014880
nop
lea r8, [rsp + 0x370]
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x78]
call fcn.1400251f0
nop
lea rcx, [rsp + 0x370]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x350]
call fcn.1400181d0
jmp 0x140004b38
mov byte [rsp + 0x34], 1
lea rcx, [rsp + 0x2d0]
call fcn.140014930
nop
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x180]
call fcn.1400149e0
nop
lea rax, [rsp + 0x180]
test rax, rax
je 0x140004cc0
lea rax, [rsp + 0x180]
add rax, 0x10
mov qword [rsp + 0xc0], rax
jmp 0x140004ccc
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0x3b0]
call fcn.1400299c0
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xc0]
call fcn.14000dea0
nop
lea rcx, [rsp + 0x3b0]
call fcn.1400181d0
lea rax, [rsp + 0x180]
test rax, rax
je 0x140004d37
lea rax, [rsp + 0x180]
add rax, 0x10
mov qword [rsp + 0xd0], rax
jmp 0x140004d43
mov qword [rsp + 0xd0], 0
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0x180]
call fcn.1400281d0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
call fcn.140021120
mov rcx, rax
call fcn.140028d40
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.14000dae0
nop
lea rcx, [rsp + 0x3f0]
call fcn.1400181d0
lea rax, [rsp + 0x180]
test rax, rax
je 0x140004dc6
lea rax, [rsp + 0x180]
add rax, 0x10
mov qword [rsp + 0xc8], rax
jmp 0x140004dd2
mov qword [rsp + 0xc8], 0
lea rdx, str.ConfigUnsupportedASICList.xml
mov rcx, qword [rsp + 0xc8]
call fcn.14000dae0
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x180]
call fcn.1400281d0
nop
lea rcx, [rsp + 0x98]
call fcn.14003d4a0
lea rcx, [rsp + 0x78]
call fcn.140027f70
cmp rax, 1
jbe 0x140004f7d
lea r9, [rsp + 0x2d0]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x2b0]
mov rcx, qword [rsp + 0x7b0]
call fcn.140007f60
movzx eax, al
test eax, eax
je 0x140004f7d
lea rdx, [rsp + 0x150]
lea rcx, [0x140079be0]
call fcn.140020fc0
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
jmp 0x140004e83
xor r8d, r8d
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x98]
call fcn.14001b3d0
lea rdx, [rsp + 0x148]
lea rcx, [0x140079be0]
call fcn.140021d20
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.14001b180
movzx eax, al
test eax, eax
je 0x140004ef8
lea rcx, [rsp + 0x98]
call fcn.14001b290
mov rdx, rax
lea rcx, [rsp + 0x3d0]
call fcn.1400147b0
nop
lea rcx, [rsp + 0x98]
call fcn.14001b290
movzx eax, byte [rax + 0x20]
test eax, eax
jne 0x140004ee6
mov byte [rsp + 0x34], 0
lea rcx, [rsp + 0x3d0]
call fcn.1400181d0
jmp 0x140004e6b
movzx eax, byte [rsp + 0x34]
test eax, eax
jne 0x140004f7d
movzx eax, byte [0x140079ac6]
test eax, eax
jne 0x140004f7d
mov byte [0x140079ac7], 1
mov byte [rsp + 0x41], 0
lea rcx, [rsp + 0x2b0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x180]
call fcn.14001b7a0
nop
lea rcx, [rsp + 0x2d0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x78]
call fcn.1400184f0
nop
lea rcx, [rsp + 0x50]
call fcn.1400182f0
nop
lea rcx, [rsp + 0x410]
call fcn.140018f40
nop
mov rcx, qword [rsp + 0x7b8]
call fcn.140035580
movzx eax, byte [rsp + 0x41]
jmp 0x140005e49
lea rcx, [rsp + 0x88]
call fcn.140014e50
nop
mov rax, qword [rsp + 0x7b0]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0x7b0]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rax]
xor r8d, r8d
lea rdx, [rsp + 0x88]
call qword [rax + 0x28]
test eax, eax
je 0x14000504c
lea r8, str.Failed_GetPackageList
mov edx, 1
lea rcx, [0x14004e058]
call fcn.14003fa80
mov byte [rsp + 0x43], 0
lea rcx, [rsp + 0x88]
call fcn.140018380
nop
lea rcx, [rsp + 0x2b0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x180]
call fcn.14001b7a0
nop
lea rcx, [rsp + 0x2d0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x78]
call fcn.1400184f0
nop
lea rcx, [rsp + 0x50]
call fcn.1400182f0
nop
lea rcx, [rsp + 0x410]
call fcn.140018f40
nop
mov rcx, qword [rsp + 0x7b8]
call fcn.140035580
movzx eax, byte [rsp + 0x43]
jmp 0x140005e49
lea rcx, [rsp + 0x88]
call fcn.140021c70
movzx eax, al
test eax, eax
jne 0x140005d45
lea rcx, [rsp + 0x68]
call fcn.140014e50
nop
lea rcx, [rsp + 0xa0]
call fcn.140014e50
nop
mov rcx, qword [rsp + 0x7b8]
call fcn.1400359c0
movzx eax, al
test eax, eax
je 0x140005106
lea rdx, [rsp + 0x390]
mov rcx, qword [rsp + 0x7b8]
call fcn.1400358b0
nop
lea rax, [rsp + 0x290]
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0x390]
mov rcx, qword [rsp + 0x130]
call fcn.1400147b0
mov qword [rsp + 0x108], rax
mov r9, qword [rsp + 0x108]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x7b0]
call fcn.140009b30
nop
lea rcx, [rsp + 0x390]
call fcn.1400181d0
jmp 0x140005120
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x7b0]
call fcn.140009f90
movzx eax, byte [0x140079ac1]
test eax, eax
je 0x14000513c
lea rdx, [rsp + 0x68]
lea rcx, [0x140079ae8]
call fcn.1400196c0
mov rcx, qword [rsp + 0x7b0]
call fcn.1400044b0
lea rcx, [rsp + 0x68]
call fcn.140021c70
movzx eax, al
cmp eax, 1
jne 0x1400052ba
mov rcx, qword [rsp + 0x7b0]
call fcn.140003ca0
movzx eax, al
test eax, eax
je 0x140005195
lea rdx, str._n_All_components_are_up_to_date
mov rcx, qword [sym.imp.MSVCP110.dll_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___std::wcout]
call fcn.14000dae0
lea rdx, [0x14004bff4]
mov rcx, rax
call fcn.14000dae0
mov rax, qword [rsp + 0x7b0]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0x7b0]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rax]
mov edx, 3
call qword [rax + 0x50]
test eax, eax
jne 0x1400051d9
mov edx, 0xffffffff
mov rax, qword [rsp + 0x7b0]
mov rcx, qword [rax + 0x38]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x44], eax
jmp 0x140005227
mov rcx, qword [rsp + 0x7b0]
call fcn.140003ca0
movzx eax, al
test eax, eax
je 0x14000520f
lea rdx, str._n_Error:_EXIT_state_failed
mov rcx, qword [sym.imp.MSVCP110.dll_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___std::wcout]
call fcn.14000dae0
lea rdx, [0x14004c674]
mov rcx, rax
call fcn.14000dae0
lea r8, [0x14004e1c8]
mov edx, 1
lea rcx, [0x14004e230]
call fcn.14003fa80
mov byte [rsp + 0x3a], 1
lea rcx, [rsp + 0xa0]
call fcn.140018380
nop
lea rcx, [rsp + 0x68]
call fcn.140018380
nop
lea rcx, [rsp + 0x88]
call fcn.140018380
nop
lea rcx, [rsp + 0x2b0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x180]
call fcn.14001b7a0
nop
lea rcx, [rsp + 0x2d0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x78]
call fcn.1400184f0
nop
lea rcx, [rsp + 0x50]
call fcn.1400182f0
nop
lea rcx, [rsp + 0x410]
call fcn.140018f40
nop
mov rcx, qword [rsp + 0x7b8]
call fcn.140035580
movzx eax, byte [rsp + 0x3a]
jmp 0x140005e49
mov rcx, qword [rsp + 0x7b0]
call fcn.140003ca0
movzx eax, al
test eax, eax
je 0x140005306
lea rdx, str._n__n_Final_Package_List_for_Install:__r_n
mov rcx, qword [sym.imp.MSVCP110.dll_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___std::wcout]
call fcn.14000dae0
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x7b0]
call fcn.1400070a0
lea rdx, str._n_Installing
mov rcx, qword [sym.imp.MSVCP110.dll_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___std::wcout]
call fcn.14000dae0
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rsp + 0x7b0]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0x7b0]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rax]
mov edx, 7
call qword [rax + 0x50]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140005346
cmp dword [rsp + 0x30], 2
jne 0x140005363
mov edx, 0xffffffff
mov rax, qword [rsp + 0x7b0]
mov rcx, qword [rax + 0x38]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x44], eax
jmp 0x1400053a2
mov rcx, qword [rsp + 0x7b0]
call fcn.140003ca0
movzx eax, al
test eax, eax
je 0x14000538a
lea rdx, str._n_Error:_INSTALL_state_failed__r_n
mov rcx, qword [sym.imp.MSVCP110.dll_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___std::wcout]
call fcn.14000dae0
lea r8, str.Failed_INSTALL_State
mov edx, 1
lea rcx, [0x14004ee48]
call fcn.14003fa80
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rsp + 0x7b0]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0x7b0]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rax]
mov edx, 8
call qword [rax + 0x50]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400053e2
cmp dword [rsp + 0x30], 2
jne 0x1400053ff
mov edx, 0xffffffff
mov rax, qword [rsp + 0x7b0]
mov rcx, qword [rax + 0x38]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x44], eax
jmp 0x140005476
mov rcx, qword [rsp + 0x7b0]
call fcn.140003ca0
movzx eax, al
test eax, eax
je 0x14000545e
mov rax, qword [rsp + 0x7b0]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0x7b0]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rax]
call qword [rax + 0x58]
cmp eax, 1
jne 0x14000544b
lea rdx, str._n_Warrning_BUSY_state__r_n
mov rcx, qword [sym.imp.MSVCP110.dll_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___std::wcout]
call fcn.14000dae0
jmp 0x14000545e
lea rdx, str._n_Error:_POST_INSTALL_state_failed__r_n
mov rcx, qword [sym.imp.MSVCP110.dll_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___std::wcout]
call fcn.14000dae0
lea r8, str.Failed_POST_INSTALL_State
mov edx, 1
lea rcx, [0x14004fba8]
call fcn.14003fa80
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x120]
lea r8, [rsp + 0x110]
lea rdx, [rsp + 0x114]
lea rcx, [rsp + 0xb4]
call fcn.140029bf0
mov rax, qword [rsp + 0x7b0]
add rax, 0x72
mov rcx, qword [rsp + 0x7b0]
mov rcx, qword [rcx + 0x28]
mov rdx, qword [rsp + 0x7b0]
mov rdx, qword [rdx + 0x28]
mov qword [rsp + 0x140], rdx
mov rcx, qword [rcx]
mov qword [rsp + 0x128], rcx
mov rdx, rax
mov rax, qword [rsp + 0x140]
mov rcx, rax
mov rax, qword [rsp + 0x128]
call qword [rax + 0x60]
test eax, eax
jne 0x140005ce0
mov rax, qword [rsp + 0x7c0]
mov rcx, qword [rsp + 0x7b0]
movzx ecx, byte [rcx + 0x72]
mov byte [rax], cl
mov rcx, qword [rsp + 0x7b8]
call fcn.140036370
movzx eax, al
test eax, eax
je 0x1400055ab
mov rax, qword [rsp + 0x7b0]
movzx eax, byte [rax + 0x72]
cmp eax, 1
jne 0x1400055a6
lea r8, [0x140050028]
xor edx, edx
lea rcx, [0x140050140]
call fcn.14003fa80
lea rcx, [rsp + 0x330]
call fcn.140014930
nop
lea rdx, [0x140050048]
lea rcx, [rsp + 0x330]
call fcn.140020e70
lea rcx, [rsp + 0x330]
call fcn.140021120
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP110.dll_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___std::wcout]
call fcn.14000dae0
nop
lea rcx, [rsp + 0x330]
call fcn.1400181d0
jmp 0x140005cde
mov rax, qword [rsp + 0x7b0]
movzx eax, byte [rax + 0x72]
cmp eax, 1
je 0x1400055ca
cmp dword [rsp + 0xb4], 6
jae 0x1400059c4
lea r8, str.Machine_will_have_to_be_rebooted_to_complete_install
xor edx, edx
lea rcx, [0x1400504e0]
call fcn.14003fa80
mov rcx, qword [rsp + 0x7b0]
call fcn.140003ca0
movzx eax, al
test eax, eax
je 0x14000569b
lea rcx, [rsp + 0x310]
call fcn.140014930
nop
lea rdx, str._n_Machine_will_have_to_be_rebooted_to_complete_install
lea rcx, [rsp + 0x310]
call fcn.140020e70
mov rax, qword [rsp + 0x7b0]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0x7b0]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rax]
lea rdx, [rsp + 0xb8]
call qword [rax + 0x68]
test eax, eax
jne 0x140005661
cmp dword [rsp + 0xb8], 2
jne 0x140005661
lea rdx, str._n_There_are_multiple_user_accounts_on_this_PC.__After_reboot_the_Catalyst_Control_Center_will_be_available_to_all_user_accounts__otherwise_it_will_only_be_available_on_this_current_user_account_until_the_system_is_rebooted.
lea rcx, [rsp + 0x310]
call fcn.140020e70
lea rcx, [rsp + 0x310]
call fcn.140021120
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP110.dll_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___std::wcout]
call fcn.14000dae0
mov rdx, qword [sym.imp.MSVCP110.dll_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int______ptr64___cdecl_std::endl_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int______ptr64_]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int______ptr64___cdecl_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::operator___class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int______ptr64____cdecl___class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int______ptr64_____ptr64]
nop
lea rcx, [rsp + 0x310]
call fcn.1400181d0
mov rcx, qword [rsp + 0x7b8]
call fcn.1400363a0
movzx eax, al
test eax, eax
je 0x1400059bf
movzx eax, byte [0x140079ac1]
test eax, eax
jne 0x14000592e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x118]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140005777
mov byte [rsp + 0x42], 0
lea rcx, [rsp + 0xa0]
call fcn.140018380
nop
lea rcx, [rsp + 0x68]
call fcn.140018380
nop
lea rcx, [rsp + 0x88]
call fcn.140018380
nop
lea rcx, [rsp + 0x2b0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x180]
call fcn.14001b7a0
nop
lea rcx, [rsp + 0x2d0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x78]
call fcn.1400184f0
nop
lea rcx, [rsp + 0x50]
call fcn.1400182f0
nop
lea rcx, [rsp + 0x410]
call fcn.140018f40
nop
mov rcx, qword [rsp + 0x7b8]
call fcn.140035580
movzx eax, byte [rsp + 0x42]
jmp 0x140005e49
mov eax, 0xc
imul rax, rax, 0
lea rax, [rsp + rax + 0x2f4]
mov r8, rax
lea rdx, [0x1400513a8]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov dword [rsp + 0x2f0], 1
mov eax, 0xc
imul rax, rax, 0
mov dword [rsp + rax + 0x2fc], 2
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x2f0]
xor edx, edx
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140005885
mov byte [rsp + 0x3c], 0
lea rcx, [rsp + 0xa0]
call fcn.140018380
nop
lea rcx, [rsp + 0x68]
call fcn.140018380
nop
lea rcx, [rsp + 0x88]
call fcn.140018380
nop
lea rcx, [rsp + 0x2b0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x180]
call fcn.14001b7a0
nop
lea rcx, [rsp + 0x2d0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x78]
call fcn.1400184f0
nop
lea rcx, [rsp + 0x50]
call fcn.1400182f0
nop
lea rcx, [rsp + 0x410]
call fcn.140018f40
nop
mov rcx, qword [rsp + 0x7b8]
call fcn.140035580
movzx eax, byte [rsp + 0x3c]
jmp 0x140005e49
mov edx, 0x80040002
mov ecx, 2
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x14000592e
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0xa0]
call fcn.140018380
nop
lea rcx, [rsp + 0x68]
call fcn.140018380
nop
lea rcx, [rsp + 0x88]
call fcn.140018380
nop
lea rcx, [rsp + 0x2b0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x180]
call fcn.14001b7a0
nop
lea rcx, [rsp + 0x2d0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x78]
call fcn.1400184f0
nop
lea rcx, [rsp + 0x50]
call fcn.1400182f0
nop
lea rcx, [rsp + 0x410]
call fcn.140018f40
nop
mov rcx, qword [rsp + 0x7b8]
call fcn.140035580
movzx eax, byte [rsp + 0x40]
jmp 0x140005e49
mov byte [rsp + 0x38], 1
lea rcx, [rsp + 0xa0]
call fcn.140018380
nop
lea rcx, [rsp + 0x68]
call fcn.140018380
nop
lea rcx, [rsp + 0x88]
call fcn.140018380
nop
lea rcx, [rsp + 0x2b0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x180]
call fcn.14001b7a0
nop
lea rcx, [rsp + 0x2d0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x78]
call fcn.1400184f0
nop
lea rcx, [rsp + 0x50]
call fcn.1400182f0
nop
lea rcx, [rsp + 0x410]
call fcn.140018f40
nop
mov rcx, qword [rsp + 0x7b8]
call fcn.140035580
movzx eax, byte [rsp + 0x38]
jmp 0x140005e49
jmp 0x140005cde
mov rcx, qword [rsp + 0x7b8]
call fcn.1400363a0
movzx eax, al
test eax, eax
je 0x140005cde
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x138]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140005a91
mov byte [rsp + 0x39], 0
lea rcx, [rsp + 0xa0]
call fcn.140018380
nop
lea rcx, [rsp + 0x68]
call fcn.140018380
nop
lea rcx, [rsp + 0x88]
call fcn.140018380
nop
lea rcx, [rsp + 0x2b0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x180]
call fcn.14001b7a0
nop
lea rcx, [rsp + 0x2d0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x78]
call fcn.1400184f0
nop
lea rcx, [rsp + 0x50]
call fcn.1400182f0
nop
lea rcx, [rsp + 0x410]
call fcn.140018f40
nop
mov rcx, qword [rsp + 0x7b8]
call fcn.140035580
movzx eax, byte [rsp + 0x39]
jmp 0x140005e49
mov eax, 0xc
imul rax, rax, 0
lea rax, [rsp + rax + 0x304]
mov r8, rax
lea rdx, [0x1400517c8]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov dword [rsp + 0x300], 1
mov eax, 0xc
imul rax, rax, 0
mov dword [rsp + rax + 0x30c], 2
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x300]
xor edx, edx
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140005b9f
mov byte [rsp + 0x3b], 0
lea rcx, [rsp + 0xa0]
call fcn.140018380
nop
lea rcx, [rsp + 0x68]
call fcn.140018380
nop
lea rcx, [rsp + 0x88]
call fcn.140018380
nop
lea rcx, [rsp + 0x2b0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x180]
call fcn.14001b7a0
nop
lea rcx, [rsp + 0x2d0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x78]
call fcn.1400184f0
nop
lea rcx, [rsp + 0x50]
call fcn.1400182f0
nop
lea rcx, [rsp + 0x410]
call fcn.140018f40
nop
mov rcx, qword [rsp + 0x7b8]
call fcn.140035580
movzx eax, byte [rsp + 0x3b]
jmp 0x140005e49
mov edx, 0x80040002
mov ecx, 2
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x140005c4d
mov byte [rsp + 0x3d], 0
lea rcx, [rsp + 0xa0]
call fcn.140018380
nop
lea rcx, [rsp + 0x68]
call fcn.140018380
nop
lea rcx, [rsp + 0x88]
call fcn.140018380
nop
lea rcx, [rsp + 0x2b0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x180]
call fcn.14001b7a0
nop
lea rcx, [rsp + 0x2d0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x78]
call fcn.1400184f0
nop
lea rcx, [rsp + 0x50]
call fcn.1400182f0
nop
lea rcx, [rsp + 0x410]
call fcn.140018f40
nop
mov rcx, qword [rsp + 0x7b8]
call fcn.140035580
movzx eax, byte [rsp + 0x3d]
jmp 0x140005e49
mov byte [rsp + 0x3f], 1
lea rcx, [rsp + 0xa0]
call fcn.140018380
nop
lea rcx, [rsp + 0x68]
call fcn.140018380
nop
lea rcx, [rsp + 0x88]
call fcn.140018380
nop
lea rcx, [rsp + 0x2b0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x180]
call fcn.14001b7a0
nop
lea rcx, [rsp + 0x2d0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x78]
call fcn.1400184f0
nop
lea rcx, [rsp + 0x50]
call fcn.1400182f0
nop
lea rcx, [rsp + 0x410]
call fcn.140018f40
nop
mov rcx, qword [rsp + 0x7b8]
call fcn.140035580
movzx eax, byte [rsp + 0x3f]
jmp 0x140005e49
jmp 0x140005d1f
mov rcx, qword [rsp + 0x7b0]
call fcn.140003ca0
movzx eax, al
test eax, eax
je 0x140005d07
lea rdx, [0x140052530]
mov rcx, qword [sym.imp.MSVCP110.dll_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___std::wcout]
call fcn.14000dae0
lea r8, [0x1400526c8]
mov edx, 1
lea rcx, [0x140052740]
call fcn.14003fa80
mov rcx, qword [rsp + 0x7b0]
call fcn.140007780
nop
lea rcx, [rsp + 0xa0]
call fcn.140018380
nop
lea rcx, [rsp + 0x68]
call fcn.140018380
mov rax, qword [rsp + 0x7b0]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0x7b0]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rax]
mov edx, 3
call qword [rax + 0x50]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140005d7a
cmp dword [rsp + 0x30], 2
jne 0x140005d97
mov edx, 0xffffffff
mov rax, qword [rsp + 0x7b0]
mov rcx, qword [rax + 0x38]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x44], eax
jmp 0x140005dd6
mov rcx, qword [rsp + 0x7b0]
call fcn.140003ca0
movzx eax, al
test eax, eax
je 0x140005dbe
lea rdx, [0x140052ba8]
mov rcx, qword [sym.imp.MSVCP110.dll_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___std::wcout]
call fcn.14000dae0
lea r8, [0x140052c50]
mov edx, 1
lea rcx, [0x140052cb0]
call fcn.14003fa80
mov byte [rsp + 0x35], 1
lea rcx, [rsp + 0x88]
call fcn.140018380
nop
lea rcx, [rsp + 0x2b0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x180]
call fcn.14001b7a0
nop
lea rcx, [rsp + 0x2d0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x78]
call fcn.1400184f0
nop
lea rcx, [rsp + 0x50]
call fcn.1400182f0
nop
lea rcx, [rsp + 0x410]
call fcn.140018f40
nop
mov rcx, qword [rsp + 0x7b8]
call fcn.140035580
movzx eax, byte [rsp + 0x35]
mov rcx, qword [rsp + 0x790]
xor rcx, rsp
call fcn.140040570
add rsp, 0x7a8
ret