Function at 0x440f50
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x178
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [esp + 0x170], eax
push 0x4f
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.004cfe50
add esp, 8
test eax, eax
jg 0x441312
xor eax, eax
dec eax
lea ecx, [esp + 0x60]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
call fcn.00462590
xor ebx, ebx
mov dword [esp + 0x5c], ebx
push 0x20
call fcn.0050d4fe
add esp, 4
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 8], ebx
xorps xmm0, xmm0
movups xmmword [eax + 0xc], xmm0
mov dword [eax + 0x1c], ebx
mov dword [esp + 0x58], eax
cmp eax, edi
je 0x440ff5
cmp byte [eax + 0xb], 0
movzx edx, byte [edi + 0xb]
js 0x441562
test dl, dl
jns 0x440fe7
mov ecx, eax
push dword [edi + 4]
push dword [edi]
call fcn.00451cf0
jmp 0x440ff5
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
movsd xmm0, qword [edi]
movsd qword [eax], xmm0
mov eax, 0x3001f
or eax, dword [esi + 0x20]
cmp byte [edi + 0xb], 0
mov edx, edi
jns 0x441007
mov edx, dword [edi]
mov ebx, dword [ebp + 0xc]
lea ecx, [esp + 0x60]
push eax
push edx
push dword [esi + 0x10]
call fcn.0046a170
cmp eax, 5
je 0x441062
test eax, eax
jne 0x4410e4
mov ecx, dword [0x5f8618]
test ecx, ecx
jne 0x44103b
call fcn.0043a080
mov ecx, eax
mov dword [0x5f8618], eax
xor eax, eax
cmp dword [esi + 0x20], 0x200
sete al
lea eax, [eax*8 + 4]
push 0x30019
push eax
push ebx
call fcn.0043a320
test al, al
jne 0x44111a
push 0x4f
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.004cfe50
add esp, 8
test eax, eax
jg 0x441350
mov ecx, dword [0x5f8618]
test ecx, ecx
jne 0x44108f
call fcn.0043a080
mov ecx, eax
mov dword [0x5f8618], eax
mov eax, dword [esp + 0x58]
add eax, 0x10
xor edx, edx
cmp dword [esi + 0x20], 0x200
sete dl
lea edx, [edx*8 + 4]
push eax
push 1
push 0x3001f
push edx
push ebx
call fcn.0043a9e0
test al, al
je 0x4411d6
mov eax, 0x3001f
or eax, dword [esi + 0x20]
cmp byte [edi + 0xb], 0
mov edx, edi
jns 0x4410d2
mov edx, dword [edi]
lea ecx, [esp + 0x60]
push eax
push edx
push dword [esi + 0x10]
call fcn.0046a170
test eax, eax
je 0x44111a
push 2
call fcn.004cfe20
add esp, 4
test al, al
je 0x4412cd
lea esi, [esp + 0x6c]
mov ecx, esi
push 2
push 0x4a
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.00458830
lea eax, [esp + 0x74]
push 0x13
push str.Failed_to_open_key
jmp 0x441207
lea ebx, [esp + 0x5c]
push ebx
push 0
push 0x16
push dword [esp + 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegGetKeySecurity]
test eax, eax
je 0x44113a
cmp eax, 0x7a
jne 0x441226
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x58]
push dword [esp + 0x5c]
call fcn.0050d563
add esp, 4
mov ecx, dword [esi + 0xc]
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x441168
push ecx
call fcn.0050d56c
add esp, 4
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0xc]
push ebx
push eax
push 0x16
push dword [esp + 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegGetKeySecurity]
test eax, eax
je 0x441265
push 2
call fcn.004cfe20
add esp, 4
test al, al
je 0x4412cd
lea esi, [esp + 0x6c]
mov ecx, esi
push 2
push 0x64
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.00458830
lea eax, [esp + 0x74]
push 0x29
push str.Failed_to_obtain_security_descriptor_for
push eax
call fcn.0053f210
add esp, 0xc
push dword [ebp + 0xc]
push eax
call fcn.00459130
add esp, 8
push 0x1a
push str._but_we_succeeded_earlier_
push eax
call fcn.0053f210
add esp, 0xc
jmp 0x44121a
push 2
call fcn.004cfe20
add esp, 4
test al, al
je 0x4412cd
lea esi, [esp + 0x6c]
mov ecx, esi
push 2
push 0x41
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.00458830
lea eax, [esp + 0x74]
push 0x2e
push str.Unable_to_obtain_sufficient_permissions_on_key
push eax
call fcn.0053f210
add esp, 0xc
push ebx
push eax
call fcn.00459130
add esp, 8
mov ecx, esi
call fcn.00458c70
jmp 0x4412cd
push 2
call fcn.004cfe20
add esp, 4
test al, al
je 0x4412cd
lea esi, [esp + 0x6c]
mov ecx, esi
push 2
push 0x54
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.00458830
lea eax, [esp + 0x74]
push 0x29
push str.Failed_to_obtain_security_descriptor_for
push eax
call fcn.0053f210
add esp, 0xc
push dword [ebp + 0xc]
jmp 0x441211
lea eax, [esp + 0x54]
xor ecx, ecx
dec ecx
mov dword [eax], ecx
lea edx, [esp + 0x50]
mov dword [edx], ecx
lea esi, [esp + 0x4c]
mov dword [esi], ecx
mov ecx, dword [esp + 0x60]
sub esp, 0x30
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
xorps xmm0, xmm0
movups xmmword [esp + 4], xmm0
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x441387
push 2
call fcn.004cfe20
add esp, 4
test al, al
mov edi, dword [ebp + 0xc]
jne 0x4418d6
xor ebx, ebx
mov esi, dword [esp + 0x58]
mov dword [esp + 0x58], 0
test esi, esi
je 0x4412ef
mov ecx, esi
call fcn.00441d30
push esi
call fcn.0050d52e
add esp, 4
lea ecx, [esp + 0x60]
call fcn.0046a1e0
mov ecx, dword [esp + 0x170]
xor ecx, ebp
call fcn.0050db32
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea ebx, [esp + 0x6c]
mov ecx, ebx
push 0xffffffffffffffff
push 0x26
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.00458830
lea eax, [esp + 0x74]
push 0x19
push str.DeleteAndSaveRecursive_:
push eax
call fcn.0053f210
add esp, 0xc
push edi
push eax
call fcn.00459130
add esp, 8
mov ecx, ebx
call fcn.00458c70
jmp 0x440f89
lea ebx, [esp + 0x6c]
mov ecx, ebx
push 0xffffffffffffffff
push 0x3a
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.00458830
lea eax, [esp + 0x74]
push 0x23
push str.Insufficient_permissions_on_the_key
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, ebx
mov ebx, dword [ebp + 0xc]
call fcn.00458c70
jmp 0x441079
push 0x4f
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.004cfe50
add esp, 8
test eax, eax
jg 0x441904
mov eax, dword [esp + 0x50]
lea ecx, [eax + eax]
add ecx, 2
inc eax
mov dword [esp + 0x50], eax
mov ebx, 0xffffffff
cmovs ecx, ebx
push ecx
call fcn.0050d563
add esp, 4
mov dword [esp + 4], eax
push dword [esp + 0x4c]
call fcn.0050d563
add esp, 4
cmp dword [esp + 0x54], 0
jle 0x441510
lea edx, [esp + 0x34]
lea esi, [esp + 0x40]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor ecx, ecx
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], 0xffffffff
push edx
push dword [esp + 4]
lea eax, [esp + 0x28]
push eax
push 0
push esi
mov esi, dword [esp + 0x18]
push esi
mov dword [esp + 0x20], ecx
push ecx
push dword [esp + 0x7c]
call ebx
test eax, eax
jne 0x441545
push 0x18
call fcn.0050d4fe
add esp, 4
mov ebx, eax
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], eax
mov dword [esp + 0x6c], ebx
mov eax, dword [esp + 0x20]
mov dword [ebx + 0xc], eax
test esi, esi
je 0x441a0e
push esi
call fcn.0052a854
add esp, 4
mov ecx, ebx
push eax
push esi
call fcn.00451610
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x6c]
mov dword [eax + 0x14], ecx
mov esi, dword [eax + 0x10]
mov ecx, dword [esp]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x18]
cmp edx, dword [ecx + 0x1c]
jae 0x4414a1
test edx, edx
je 0x4419d7
mov dword [esp + 0x6c], 0
mov dword [edx], eax
add edx, 4
mov dword [ecx + 0x18], edx
jmp 0x4414ae
add ecx, 0x14
lea eax, [esp + 0x6c]
push eax
call fcn.00441eb0
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x6c], 0
test ebx, ebx
je 0x4414ee
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x10], 0
test eax, eax
je 0x4414d5
push eax
call fcn.0050d56c
add esp, 4
cmp byte [ebx + 0xb], 0
jns 0x4414e5
push dword [ebx]
call fcn.0050d52e
add esp, 4
push ebx
call fcn.0050d52e
add esp, 4
mov ecx, dword [esp + 8]
inc ecx
mov dword [esp], esi
cmp ecx, dword [esp + 0x54]
mov eax, esi
lea edx, [esp + 0x34]
lea esi, [esp + 0x40]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jl 0x4413ec
mov ebx, dword [ebp + 0xc]
mov dword [esp], eax
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x18]
cmp eax, dword [edx + 0x1c]
jae 0x441574
test eax, eax
mov esi, 0xffffffff
je 0x4419d7
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x58], 0
mov dword [eax], ecx
add eax, 4
mov dword [edx + 0x18], eax
jmp 0x441584
push 2
call fcn.004cfe20
add esp, 4
test al, al
jne 0x441941
xor ebx, ebx
mov esi, dword [esp + 4]
jmp 0x44189d
test dl, dl
jns 0x4418c3
mov edx, dword [edi + 4]
mov ebx, dword [edi]
jmp 0x4418c8
lea ecx, [edx + 0x14]
lea eax, [esp + 0x58]
push eax
call fcn.00442020
xor esi, esi
dec esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
cmp byte [edi + 0xb], 0
js 0x441983
mov eax, dword [edi + 8]
mov dword [esp + 0x48], eax
movsd xmm0, qword [edi]
movsd qword [esp + 0x40], xmm0
movzx eax, byte [esp + 0x4b]
mov edx, eax
and edx, 0x7f
test al, al
mov ecx, dword [esp + 0x44]
cmovs edx, ecx
test edx, edx
je 0x4415e2
test al, al
jns 0x4419f2
test ecx, ecx
je 0x441a1f
mov edx, dword [esp + 0x40]
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x4419a9
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
cmp byte [ebx + 0xb], 0
js 0x441996
mov eax, dword [ebx + 8]
mov dword [esp + 0x3c], eax
movsd xmm0, qword [ebx]
movsd qword [esp + 0x34], xmm0
mov al, byte [esp + 0x3f]
movzx edx, al
mov ebx, edx
and ebx, 0x7f
test al, al
mov ecx, dword [esp + 0x38]
mov esi, ebx
cmovs esi, ecx
test esi, esi
je 0x44164a
test al, al
jns 0x441a01
test ecx, ecx
je 0x441a1f
mov esi, ebx
mov ebx, dword [esp + 0x34]
mov edx, ecx
cmp word [ebx + edx*2 - 2], 0x5c
mov ebx, esi
jne 0x4419b9
movzx edx, byte [esp + 0x4b]
test dl, dl
jns 0x441659
mov edx, dword [esp + 0x44]
jmp 0x44165c
and edx, 0x7f
mov dword [esp + 0x10], edx
test al, al
cmovs ebx, ecx
mov dword [esp + 8], ebx
lea ecx, [esp + 0x20]
mov eax, 0x104
mov dword [esp + 0x30], eax
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
push eax
mov esi, ecx
push ecx
call fcn.00468fa0
add esp, 8
mov ecx, dword [esp + 0x60]
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
lea edx, [esp + 0x50]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], ecx
mov ebx, 5
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x4416d9
test eax, eax
je 0x4416fb
push 2
call fcn.004cfe20
add esp, 4
xor ebx, ebx
inc ebx
test al, al
jne 0x441750
cmp byte [esp + 0x2b], 0
jns 0x4416ec
push dword [esp + 0x20]
call fcn.0050d52e
add esp, 4
test ebx, ebx
mov ecx, esi
je 0x44166d
jmp 0x44183e
mov ecx, esi
xor ebx, ebx
push ebx
push dword [esp + 0x34]
call fcn.004cda80
lea ecx, [esp + 0x40]
push ebx
push dword [esp + 0x14]
call fcn.004cda80
lea ecx, [esp + 0x34]
push ebx
push dword [esp + 0xc]
call fcn.004cda80
mov eax, 0x104
push eax
push 0xff
lea ebx, [esp + 0x74]
push ebx
call fcn.00510dc0
add esp, 0xc
movzx eax, byte [esp + 0x4b]
test al, al
jns 0x44178a
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
jmp 0x441791
lea ebx, [esp + 0x6c]
mov ecx, ebx
push 2
push 0xa7
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.00458830
push 0x17
push str.Failed_to_read_a_subkey
lea eax, [esp + 0x7c]
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, ebx
call fcn.00458c70
xor ebx, ebx
inc ebx
jmp 0x4416d9
and eax, 0x7f
lea ecx, [esp + 0x40]
push eax
push ecx
lea ebx, [esp + 0x1c]
push ebx
call fcn.004608f0
add esp, 0xc
cmp byte [esp + 0x1f], 0
jns 0x4417ab
mov ebx, dword [esp + 0x14]
mov ecx, 0x104
push ecx
push ebx
lea ebx, [esp + 0x74]
push ebx
call fcn.004d8150
add esp, 0xc
cmp byte [esp + 0x1f], 0
jns 0x4417d2
push dword [esp + 0x14]
call fcn.0050d52e
add esp, 4
push ebx
call fcn.004c5b20
add esp, 4
movzx eax, byte [esp + 0x2b]
mov edx, eax
and edx, 0x7f
test al, al
cmovs edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ebx, esi
cmovns eax, esi
lea ecx, [esp + 0x40]
push edx
push eax
call fcn.00451980
movzx eax, byte [esp + 0x2b]
test al, al
jns 0x441813
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
jmp 0x441818
and eax, 0x7f
mov edx, ebx
lea ebx, [esp + 0x34]
mov ecx, ebx
push eax
push edx
call fcn.00451980
mov ecx, dword [esp + 0xc]
push ebx
lea eax, [esp + 0x44]
push eax
call fcn.00440f50
xor al, 1
movzx ebx, al
jmp 0x4416d9
cmp ebx, 5
jne 0x441871
lea ecx, [esp + 0x60]
call fcn.00562150
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x20]
cmp byte [edi + 0xb], 0
jns 0x44185e
mov edi, dword [edi]
mov esi, dword [esp + 4]
push 0
push ecx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov bl, 1
jmp 0x441877
xor ebx, ebx
mov esi, dword [esp + 4]
cmp byte [esp + 0x3f], 0
jns 0x44188a
push dword [esp + 0x34]
call fcn.0050d52e
add esp, 4
cmp byte [esp + 0x4b], 0
jns 0x44189d
push dword [esp + 0x40]
call fcn.0050d52e
add esp, 4
mov eax, dword [esp]
test eax, eax
je 0x4418ad
push eax
call fcn.0050d56c
add esp, 4
test esi, esi
je 0x4412cf
push esi
call fcn.0050d56c
add esp, 4
jmp 0x4412cf
and edx, 0x7f
mov ebx, edi
mov ecx, eax
push edx
push ebx
call fcn.00451c20
jmp 0x440ff5
lea esi, [esp + 0x6c]
mov ecx, esi
push 2
push 0x72
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.00458830
lea eax, [esp + 0x74]
push 0x1e
push str.Failed_to_obtain_key_info_for
push eax
call fcn.0053f210
add esp, 0xc
push edi
jmp 0x441211
lea ebx, [esp + 0x6c]
mov ecx, ebx
push 0xffffffffffffffff
push 0x75
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.00458830
lea ecx, [esp + 0x74]
push dword [esp + 0x54]
call fcn.0042ad20
push 7
push str._values
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, ebx
call fcn.00458c70
jmp 0x44139e
lea esi, [esp + 0x6c]
mov ecx, esi
push 2
push 0x84
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.00458830
lea eax, [esp + 0x74]
push 0x1a
push str.Failed_to_obtain_value_nr
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, eax
push dword [esp + 8]
call fcn.0042aaf0
mov ecx, esi
call fcn.00458c70
jmp 0x441557
lea ecx, [esp + 0x40]
push dword [edi + 4]
push dword [edi]
call fcn.00451350
jmp 0x4415ab
lea ecx, [esp + 0x34]
push dword [ebx + 4]
push dword [ebx]
call fcn.00451350
jmp 0x441609
lea ecx, [esp + 0x40]
push 0x5c
call fcn.004cd880
jmp 0x4415e2
lea ebx, [esp + 0x34]
mov ecx, ebx
push 0x5c
call fcn.004cd880
movzx eax, byte [ebx + 0xb]
mov ecx, dword [ebx + 4]
mov ebx, eax
and ebx, 0x7f
jmp 0x44164a
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x23
push str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s
call fcn.0053ff10
test eax, eax
je 0x441a1f
lea edx, [esp + 0x40]
mov ecx, eax
jmp 0x4415d6
je 0x441a1f
mov esi, ebx
lea ebx, [esp + 0x34]
jmp 0x44163c
push str.string::assign_received_nullptr
push str.__s___nullptr
push 0xa70
jmp 0x441a2e
push str.string::back__:_string_is_empty
push str._empty__
push 0x4c8
push str....._buildtools_third_partylibc_trunkinclude_string
jmp 0x4419e8