Function at 0x43581c
Capabilities:
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x10], edx
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1dd0
call fcn.00478be0
sub rsp, rax
mov qword [rsp + 0x2f8], 0xfffffffffffffffe
mov qword [rsp + 0x1e00], rbx
mov qword [rsp + 0x1e18], rsi
mov rax, qword [0x004bf230]
xor rax, rsp
mov qword [rsp + 0x1dc0], rax
mov rsi, r8
mov qword [rsp + 0x300], r8
xor ebx, ebx
lea edi, [rbx + 1]
mov dword [rsp + 0x1e08], edi
mov r14, qword [0x004c5758]
mov qword [rsp + 0xe0], r14
lea rdx, str._Pending_Reboot_Table_state_:_Logging_start
mov rcx, r14
call fcn.00429b54
lea rdx, str.____________________________________________
mov rcx, r14
call fcn.00429b54
nop
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlSession_Manager
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x43590a
lea rdx, str.Failed_to_open_Pending_Reboot_table_key
mov rcx, r14
call fcn.00429edc
nop
cmp qword [rsi + 0x20], 8
jb 0x4358f1
mov rcx, qword [rsi + 8]
call fcn.00443d3c
mov r12d, 7
mov qword [rsi + 0x20], r12
mov qword [rsi + 0x18], rbx
mov word [rsi + 8], bx
xor eax, eax
jmp 0x4366f6
mov dword [rsp + 0x60], ebx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x80]
xor r8d, r8d
lea rdx, str.PendingFileRenameOperations
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x436687
cmp dword [rsp + 0x60], ebx
je 0x436687
mov ecx, dword [rsp + 0x60]
call fcn.004444b0
mov r15, rax
mov qword [rsp + 0x78], rax
cmp rax, rbx
jne 0x43599b
lea rdx, str.out_of_memory._Cannot_allocate_memory_for_variable.
mov rcx, r14
call fcn.00429edc
nop
cmp qword [rsi + 0x20], 8
jb 0x435982
mov rcx, qword [rsi + 8]
call fcn.00443d3c
mov r12d, 7
mov qword [rsi + 0x20], r12
mov qword [rsi + 0x18], rbx
mov word [rsi + 8], bx
xor eax, eax
jmp 0x4366f6
mov r13, rax
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x80]
xor r8d, r8d
lea rdx, str.PendingFileRenameOperations
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
jne 0x436646
cmp dword [rsp + 0x60], ebx
je 0x436646
mov eax, dword [rsp + 0x60]
shr rax, 1
lea rax, [r15 + rax*2 - 2]
mov qword [rsp + 0x110], rax
mov edi, 0x206
mov r12d, 7
jmp 0x435a14
mov edi, 0x206
mov word [rsp + 0x310], bx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x312]
call fcn.00449860
mov word [rsp + 0xd60], bx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0xd62]
call fcn.00449860
mov word [rsp + 0x1390], bx
xor edx, edx
mov r8d, 0xa26
lea rcx, [rsp + 0x1392]
call fcn.00449860
mov word [rsp + 0xb50], bx
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0xb52]
call fcn.00449860
mov word [rsp + 0x730], bx
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x732]
call fcn.00449860
mov word [rsp + 0x940], bx
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x942]
call fcn.00449860
mov word [rsp + 0x520], bx
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x522]
call fcn.00449860
mov word [rsp + 0xf70], bx
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0xf72]
call fcn.00449860
mov word [rsp + 0x1180], bx
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x1182]
call fcn.00449860
mov r8, r13
mov edx, 0x105
lea rcx, [rsp + 0x310]
call fcn.004444bc
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x310]
repne scasw ax, word [rdi]
not rcx
lea edi, [rax + 1]
sub rcx, rdi
lea r13, [r13 + rcx*2]
mov qword [rsp + 0x68], r13
lea r8d, [rax + 4]
lea rdx, str.___
lea rcx, [rsp + 0x310]
call fcn.00444868
cmp eax, ebx
je 0x435b9b
cmp edi, ebx
je 0x435b6f
lea rdx, str.Unknown_format_in_the_Pending_Reboot_Table
mov rcx, r14
call fcn.00429b54
mov rcx, r15
call fcn.00444544
nop
cmp qword [rsi + 0x20], 8
jb 0x435b88
mov rcx, qword [rsi + 8]
call fcn.00443d3c
mov qword [rsi + 0x20], r12
mov qword [rsi + 0x18], rbx
mov word [rsi + 8], bx
xor eax, eax
jmp 0x4366f6
mov ecx, 0x103
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x520]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x940]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x730]
mov r8, rcx
lea rdx, [rsp + 0xb50]
lea rcx, [rsp + 0x318]
call fcn.0045310c
add r13, 2
mov qword [rsp + 0x68], r13
cmp word [r13], bx
jne 0x435f8e
lea rax, [rsp + 0x730]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xb50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x318]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x940]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x520]
mov qword [rsp + 0x20], rax
lea r9, str.__s___s___s__s__s___Delete
or r15, 0xffffffffffffffff
mov r8, r15
mov edx, 0x514
lea rcx, [rsp + 0x1390]
call fcn.00445024
cmp ebx, ebx
je 0x4365c8
mov qword [rsp + 0x278], r12
mov qword [rsp + 0x270], rbx
mov word [rsp + 0x260], bx
xor eax, eax
mov rcx, r15
lea rdi, [rsp + 0x730]
repne scasw ax, word [rdi]
not rcx
lea r15d, [rax + 1]
sub rcx, r15
mov r8, rcx
lea rdx, [rsp + 0x730]
lea rcx, [rsp + 0x258]
call fcn.00404e54
nop
mov qword [rsp + 0x1d8], r12
mov qword [rsp + 0x1d0], rbx
mov word [rsp + 0x1c0], bx
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xb50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8, rcx
lea rdx, [rsp + 0xb50]
lea rcx, [rsp + 0x1b8]
call fcn.00404e54
nop
mov qword [rsp + 0x2c8], r12
mov qword [rsp + 0x2c0], rbx
mov word [rsp + 0x2b0], bx
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x318]
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8, rcx
lea rdx, [rsp + 0x318]
lea rcx, [rsp + 0x2a8]
call fcn.00404e54
nop
mov qword [rsp + 0x188], r12
mov qword [rsp + 0x180], rbx
mov word [rsp + 0x170], bx
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x940]
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8, rcx
lea rdx, [rsp + 0x940]
lea rcx, [rsp + 0x168]
call fcn.00404e54
nop
mov qword [rsp + 0x228], r12
mov qword [rsp + 0x220], rbx
mov word [rsp + 0x210], bx
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x520]
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8, rcx
lea rdx, [rsp + 0x520]
lea rcx, [rsp + 0x208]
call fcn.00404e54
nop
mov qword [rsp + 0x250], r12
mov qword [rsp + 0x248], rbx
mov word [rsp + 0x238], bx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [str.DELETE]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8, rcx
lea rcx, [rsp + 0x230]
call fcn.00404e54
nop
lea rax, [rsp + 0x258]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x2a8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x168]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x208]
lea r8, [rsp + 0x230]
mov rdx, rsi
lea ecx, [r15 + 0x3e]
call fcn.0045c6b4
nop
cmp qword [rsp + 0x250], 8
jb 0x435e7c
mov rcx, qword [rsp + 0x238]
call fcn.00443d3c
mov qword [rsp + 0x250], r12
mov qword [rsp + 0x248], rbx
mov word [rsp + 0x238], bx
cmp qword [rsp + 0x228], 8
jb 0x435eac
mov rcx, qword [rsp + 0x210]
call fcn.00443d3c
mov qword [rsp + 0x228], r12
mov qword [rsp + 0x220], rbx
mov word [rsp + 0x210], bx
cmp qword [rsp + 0x188], 8
jb 0x435edc
mov rcx, qword [rsp + 0x170]
call fcn.00443d3c
mov qword [rsp + 0x188], r12
mov qword [rsp + 0x180], rbx
mov word [rsp + 0x170], bx
cmp qword [rsp + 0x2c8], 8
jb 0x435f0c
mov rcx, qword [rsp + 0x2b0]
call fcn.00443d3c
mov qword [rsp + 0x2c8], r12
mov qword [rsp + 0x2c0], rbx
mov word [rsp + 0x2b0], bx
cmp qword [rsp + 0x1d8], 8
jb 0x435f3c
mov rcx, qword [rsp + 0x1c0]
call fcn.00443d3c
mov qword [rsp + 0x1d8], r12
mov qword [rsp + 0x1d0], rbx
mov word [rsp + 0x1c0], bx
cmp qword [rsp + 0x278], 8
jb 0x435f6c
mov rcx, qword [rsp + 0x260]
call fcn.00443d3c
mov qword [rsp + 0x278], r12
mov qword [rsp + 0x270], rbx
mov word [rsp + 0x260], bx
mov edi, 1
jmp 0x4365dc
mov r8, r13
mov edx, 0x105
lea rcx, [rsp + 0xd60]
call fcn.004444bc
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xd60]
repne scasw ax, word [rdi]
not rcx
lea edi, [rax + 1]
sub rcx, rdi
lea r13, [r13 + rcx*2]
mov qword [rsp + 0x68], r13
lea r15, [rsp + 0xd60]
mov qword [rsp + 0x88], r15
cmp word [rsp + 0xd60], 0x21
je 0x435fed
cmp word [rsp + 0xd60], 0x40
jne 0x435ffd
lea r15, [rsp + 0xd62]
mov qword [rsp + 0x88], r15
mov r8d, 4
lea rdx, str.___
mov rcx, r15
call fcn.00444868
cmp eax, ebx
je 0x436057
cmp edi, ebx
je 0x436029
lea rdx, str.Unknown_format_in_the_Pending_Reboot_Table
mov rcx, r14
call fcn.00429b54
mov rcx, qword [rsp + 0x78]
call fcn.00444544
nop
cmp qword [rsi + 0x20], 8
jb 0x436044
mov rcx, qword [rsi + 8]
call fcn.00443d3c
mov qword [rsi + 0x20], r12
mov qword [rsi + 0x18], rbx
mov word [rsi + 8], bx
xor eax, eax
jmp 0x4366f6
add r15, 8
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0x103
lea r9, [rsp + 0x1180]
mov r8d, 0x103
lea rdx, [rsp + 0xf70]
mov rcx, r15
call fcn.0045310c
lea rdx, [rsp + 0x1180]
mov qword [rsp + 0x58], rdx
lea rax, [rsp + 0xf70]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
lea rax, [rsp + 0x730]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xb50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x318]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x940]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x520]
mov qword [rsp + 0x20], rax
lea r9, str.__s___s___s__s__s___To____s__s__s
or r8, 0xffffffffffffffff
mov edx, 0x514
lea rcx, [rsp + 0x1390]
call fcn.00445024
cmp ebx, ebx
je 0x4365c8
mov qword [rsp + 0x138], r12
mov qword [rsp + 0x130], rbx
mov word [rsp + 0x120], bx
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x1180]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x1180]
lea rcx, [rsp + 0x118]
call fcn.00404e54
nop
mov qword [rsp + 0x2f0], r12
mov qword [rsp + 0x2e8], rbx
mov word [rsp + 0x2d8], bx
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xf70]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xf70]
lea rcx, [rsp + 0x2d0]
call fcn.00404e54
nop
mov qword [rsp + 0x2a0], r12
mov qword [rsp + 0x298], rbx
mov word [rsp + 0x288], bx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r15
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r15
lea rcx, [rsp + 0x280]
call fcn.00404e54
nop
mov qword [rsp + 0x108], r12
mov qword [rsp + 0x100], rbx
mov word [rsp + 0xf0], bx
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x730]
repne scasw ax, word [rdi]
not rcx
lea r15d, [rax + 1]
sub rcx, r15
mov r8, rcx
lea rdx, [rsp + 0x730]
lea rcx, [rsp + 0xe8]
call fcn.00404e54
nop
mov qword [rsp + 0xd8], r12
mov qword [rsp + 0xd0], rbx
mov word [rsp + 0xc0], bx
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xb50]
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8, rcx
lea rdx, [rsp + 0xb50]
lea rcx, [rsp + 0xb8]
call fcn.00404e54
nop
mov qword [rsp + 0x200], r12
mov qword [rsp + 0x1f8], rbx
mov word [rsp + 0x1e8], bx
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x318]
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8, rcx
lea rdx, [rsp + 0x318]
lea rcx, [rsp + 0x1e0]
call fcn.00404e54
nop
mov qword [rsp + 0x1b0], r12
mov qword [rsp + 0x1a8], rbx
mov word [rsp + 0x198], bx
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x940]
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8, rcx
lea rdx, [rsp + 0x940]
lea rcx, [rsp + 0x190]
call fcn.00404e54
nop
mov qword [rsp + 0x160], r12
mov qword [rsp + 0x158], rbx
mov word [rsp + 0x148], bx
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x520]
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8, rcx
lea rdx, [rsp + 0x520]
lea rcx, [rsp + 0x140]
call fcn.00404e54
nop
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xa8], rbx
mov word [rsp + 0x98], bx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [str.RENAME]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8, rcx
lea rcx, [rsp + 0x90]
call fcn.00404e54
nop
lea rax, [rsp + 0x118]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x280]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x190]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x140]
lea r8, [rsp + 0x90]
mov rdx, rsi
lea ecx, [r15 + 0x3e]
call fcn.0045c8dc
nop
cmp qword [rsp + 0xb0], 8
jb 0x436429
mov rcx, qword [rsp + 0x98]
call fcn.00443d3c
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xa8], rbx
mov word [rsp + 0x98], bx
cmp qword [rsp + 0x160], 8
jb 0x436459
mov rcx, qword [rsp + 0x148]
call fcn.00443d3c
mov qword [rsp + 0x160], r12
mov qword [rsp + 0x158], rbx
mov word [rsp + 0x148], bx
cmp qword [rsp + 0x1b0], 8
jb 0x436489
mov rcx, qword [rsp + 0x198]
call fcn.00443d3c
mov qword [rsp + 0x1b0], r12
mov qword [rsp + 0x1a8], rbx
mov word [rsp + 0x198], bx
cmp qword [rsp + 0x200], 8
jb 0x4364b9
mov rcx, qword [rsp + 0x1e8]
call fcn.00443d3c
mov qword [rsp + 0x200], r12
mov qword [rsp + 0x1f8], rbx
mov word [rsp + 0x1e8], bx
cmp qword [rsp + 0xd8], 8
jb 0x4364e9
mov rcx, qword [rsp + 0xc0]
call fcn.00443d3c
mov qword [rsp + 0xd8], r12
mov qword [rsp + 0xd0], rbx
mov word [rsp + 0xc0], bx
cmp qword [rsp + 0x108], 8
jb 0x436519
mov rcx, qword [rsp + 0xf0]
call fcn.00443d3c
mov qword [rsp + 0x108], r12
mov qword [rsp + 0x100], rbx
mov word [rsp + 0xf0], bx
cmp qword [rsp + 0x2a0], 8
jb 0x436549
mov rcx, qword [rsp + 0x288]
call fcn.00443d3c
mov qword [rsp + 0x2a0], r12
mov qword [rsp + 0x298], rbx
mov word [rsp + 0x288], bx
cmp qword [rsp + 0x2f0], 8
jb 0x436579
mov rcx, qword [rsp + 0x2d8]
call fcn.00443d3c
mov qword [rsp + 0x2f0], r12
mov qword [rsp + 0x2e8], rbx
mov word [rsp + 0x2d8], bx
cmp qword [rsp + 0x138], 8
jb 0x4365a9
mov rcx, qword [rsp + 0x120]
call fcn.00443d3c
mov qword [rsp + 0x138], r12
mov qword [rsp + 0x130], rbx
mov word [rsp + 0x120], bx
mov edi, 1
jmp 0x4365dc
cmp edi, ebx
je 0x4365dc
lea rdx, [rsp + 0x1390]
mov rcx, r14
call fcn.00429b54
add r13, 2
mov qword [rsp + 0x68], r13
cmp r13, qword [rsp + 0x110]
mov r15, qword [rsp + 0x78]
jb 0x435a0f
cmp edi, ebx
je 0x43661a
lea rdx, str._Pending_Reboot_Table_state_:_Logging_end
mov rcx, r14
call fcn.00429b54
lea rdx, str.____________________________________________
mov rcx, r14
call fcn.00429b54
mov rcx, r15
call fcn.00444544
nop
cmp qword [rsi + 0x20], 8
jb 0x436633
mov rcx, qword [rsi + 8]
call fcn.00443d3c
mov qword [rsi + 0x20], r12
mov qword [rsi + 0x18], rbx
mov word [rsi + 8], bx
mov eax, edi
jmp 0x4366f6
lea rdx, str.There_was_an_error_reading_from_the_pending_file_rename_operation.
mov rcx, r14
call fcn.00429edc
mov rcx, r15
call fcn.00444544
nop
cmp qword [rsi + 0x20], 8
jb 0x43666e
mov rcx, qword [rsi + 8]
call fcn.00443d3c
mov r12d, 7
mov qword [rsi + 0x20], r12
mov qword [rsi + 0x18], rbx
mov word [rsi + 8], bx
lea eax, [r12 - 6]
jmp 0x4366f6
lea rdx, str.There_are_no_queued_up_pending_reboot_entries.
mov rcx, r14
call fcn.00429b54
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rsi + 0x20], 8
jb 0x4366b2
mov rcx, qword [rsi + 8]
call fcn.00443d3c
mov r12d, 7
mov qword [rsi + 0x20], r12
mov qword [rsi + 0x18], rbx
mov word [rsi + 8], bx
mov eax, edi
jmp 0x4366f6
mov rcx, qword [rsp + 0x1dc0]
xor rcx, rsp
call fcn.00443d60
lea r11, [rsp + 0x1dd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret