Function at 0x14005e960
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x398]
sub rsp, 0x498
mov rax, qword [0x1401737a8]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov r14, rcx
mov dword [rsp + 0x30], edx
mov r9, rcx
lea r8, str.SoftwareSysinternals_s
xor edi, edi
lea rcx, [rbp + 0x170]
mov edx, 0x104
mov qword [rsp + 0x50], rdi
call fcn.1400192b0
cmp dword [rsp + 0x30], edi
jne 0x14005ee26
mov rcx, r14
call fcn.14005e350
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x14005ee26
lea r8, [rsp + 0x40]
mov qword [rsp + 0x40], rdi
lea rdx, str.SoftwareMicrosoftwindows_ntcurrentversion
mov dword [rsp + 0x3c], 0x208
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x38], edi
mov ebx, edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea r15d, [rdi + 1]
test eax, eax
jne 0x14005eaba
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x60]
xor r8d, r8d
lea rdx, [0x14012ed70]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005ea51
lea rdx, [rsp + 0x60]
lea rcx, str.iotuap
call fcn.1400e89f4
test eax, eax
cmove ebx, r15d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x14005eaba
mov rcx, qword [str.SYSINTERNALS_SOFTWARE_LICENSE_TERMS_nThese_license_terms_are_an_agreement_between_Sysinternals_a_wholly_owned_subsidiary_of_Microsoft_Corporation__and_you.Please_read_them.They_apply_to_the_software_you_are_downloading_from_https:__sysinternals.com__which_includes_the_media_on_which_you_received_it__if_any.The_terms_also_apply_to_any_Sysinternals_n_updates__nsupplements__nInternet___based_services__nand_support_services_nfor_this_software__unless_other_terms_accompany_those_items.If_so__those_terms_apply._nBY_USING_THE_SOFTWARE__YOU_ACCEPT_THESE_TERMS.IF_YOU_DO_NOT_ACCEPT_THEM__DO_NOT_USE_THE_SOFTWARE._n_nIf_you_comply_with_these_license_terms__you_have_the_rights_below._nINSTALLATION_AND_USER_RIGHTS_nYou_may_install_and_use_any_number_of_copies_of_the_software_on_your_devices._n_nSCOPE_OF_LICENSE_nThe_software_is_licensed__not_sold.This_agreement_only_gives_you_some_rights_to_use_the_software.Sysinternals_reserves_all_other_rights.Unless_applicable_law_gives_you_more_rights_despite_this_limitation__you_may_use_the_software_only_as_expressly_permitted_in_this_agreement.In_doing_so__you_must_comply_with_any_technical_limitations_in_the_software_that_only_allow_you_to_use_it_in_certain_ways.You_may_not_n_work_around_any_technical_limitations_in_the_software__nreverse_engineer__decompile_or_disassemble_the_software__except_and_only_to_the_extent_that_applicable_law_expressly_permits__despite_this_limitation__nmake_more_copies_of_the_software_than_specified_in_this_agreement_or_allowed_by_applicable_law__despite_this_limitation__npublish_the_software_for_others_to_copy__nrent__lease_or_lend_the_software__ntransfer_the_software_or_this_agreement_to_any_third_party__or_n_use_the_software_for_commercial_software_hosting_services._n_nSENSITIVE_INFORMATION_nPlease_be_aware_that__similar_to_other_debug_tools_that_capture]
xor sil, sil
mov r14d, edi
call fcn.140023f60
lea rcx, str.Accept_Eula__Y_N__
call fcn.14005ef20
call fcn.1400fc5d0
movsx edx, al
lea rcx, [0x14012edac]
mov ebx, eax
call fcn.14005ef20
lea ecx, [rbx - 0x59]
test cl, 0xdf
jne 0x14005eaa3
mov r14d, r15d
movzx esi, r15b
sub bl, 0x4e
test bl, 0xdf
je 0x14005eab0
cmp sil, r15b
jne 0x14005ea72
mov dword [rsp + 0x30], r14d
jmp 0x14005ee20
lea r8, [rsp + 0x48]
mov qword [rsp + 0x48], rdi
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionServerServerLevels
mov dword [rsp + 0x3c], edi
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x40], 4
mov ebx, edi
mov dword [rsp + 0x38], edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14005eb43
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.NanoServer
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005eb30
cmp dword [rsp + 0x38], 4
jne 0x14005eb30
cmp dword [rsp + 0x3c], r15d
cmove ebx, r15d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14005eea4
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
je 0x14005eea4
mov qword [rsp + 0x4e0], r12
mov edx, 0x3e8
mov ecx, 0x40
mov qword [rsp + 0x490], r13
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, r15d
lea rcx, str.Riched32.dll
mov rsi, rax
call fcn.140035800
lea rcx, str.License_Agreement
mov dword [rsi], 0x80c808d0
lea rdx, [rsi + 0x16]
mov dword [rsi + 0xa], edi
sub rdx, rcx
mov qword [rsi + 0xe], 0xb40138
mov word [rsi + 8], di
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005ebc0
mov eax, 8
lea rcx, [0x14012eba0]
lea rdx, [rsi + 0x3c]
mov word [rsi + 0x3a], ax
sub rdx, rcx
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005ebf0
mov ecx, 0x1f6
lea rax, [rsi + 0x59]
and rax, 0xfffffffffffffffc
lea r8, [rax + 0x12]
lea rdx, [r8 + 4]
mov word [rax + 0x10], cx
lea rcx, str.You_can_also_use_the__accepteula_command_line_switch_to_accept_the_EULA.
mov dword [rax + 8], 0x30007
sub rdx, rcx
mov dword [rax + 0xc], 0xe012a
mov dword [rax], 0x50000000
mov dword [r8], 0x82ffff
nop
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005ec40
mov word [r8 + 0x96], di
lea rax, [r8 + 0x9b]
inc word [rsi + 8]
lea rcx, str.Agree
and rax, 0xfffffffffffffffc
lea r8, [rax + 0x12]
lea rdx, [r8 + 4]
sub rdx, rcx
mov dword [rax + 8], 0x9f00c9
mov dword [rax + 0xc], 0xe0032
mov word [rax + 0x10], r15w
mov dword [rax], 0x50010000
mov dword [r8], 0x80ffff
nop dword [rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005eca0
mov word [r8 + 0x12], di
lea rax, [r8 + 0x17]
inc word [rsi + 8]
lea rdx, str.Decline
and rax, 0xfffffffffffffffc
mov ecx, 2
lea r9, [rax + 0x12]
lea r8, [r9 + 4]
sub r8, rdx
mov word [rax + 0x10], cx
mov rcx, rdx
mov dword [rax + 8], 0x9f00ff
mov dword [rax + 0xc], 0xe0032
mov dword [rax], 0x50010000
mov dword [r9], 0x80ffff
nop word [rax + rax]
movzx eax, word [rcx]
mov word [r8 + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005ed00
mov r12, qword [rsp + 0x4e0]
lea rax, [r9 + 0x1b]
mov word [r9 + 0x16], di
and rax, 0xfffffffffffffffc
inc word [rsi + 8]
lea r9, [rax + 0x12]
mov ecx, 0x1f5
lea r8, [r9 + 4]
mov word [rax + 0x10], cx
lea rcx, str.Print
mov dword [rax + 8], 0x9f0007
sub r8, rcx
mov dword [rax + 0xc], 0xe0032
mov dword [rax], 0x50010000
mov dword [r9], 0x80ffff
movzx eax, word [rcx]
mov word [r8 + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005ed60
mov r13, qword [rsp + 0x490]
lea rax, [r9 + 0x17]
and rax, 0xfffffffffffffffc
mov word [r9 + 0x12], di
inc word [rsi + 8]
mov ecx, 0x1f4
lea r9, [rax + 0x12]
mov word [rax + 0x10], cx
mov r8, r9
mov dword [rax + 8], 0xe0007
lea rcx, str.RICHEDIT
mov dword [rax + 0xc], 0x8c012a
sub r8, rcx
mov dword [rax], 0x50a11844
nop dword [rax + rax]
movzx eax, word [rcx]
mov word [r8 + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005edc0
lea rcx, [r9 + 0x12]
sub rcx, rdx
nop dword [rax + rax]
movzx eax, word [rdx]
mov word [rcx + rdx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x14005ede0
mov word [r9 + 0x24], di
xor r8d, r8d
inc word [rsi + 8]
lea r9, [0x14005e070]
mov rdx, rsi
mov qword [rsp + 0x20], r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rcx, rsi
mov dword [rsp + 0x30], eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [rsp + 0x30], edi
je 0x14005ee7f
lea r8, [rsp + 0x50]
mov rcx, 0xffffffff80000001
lea rdx, [rbp + 0x170]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14005ee7b
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 4
lea rdx, str.EulaAccepted
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x30], edi
setne dil
mov eax, edi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1400e17a0
add rsp, 0x498
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14005e920
int3