Function at 0x455340
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 [0x59d024]
xor eax, ebp
mov dword [esp + 0x170], eax
push 0x4f
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.004b44c0
add esp, 8
test eax, eax
jg 0x455702
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.00479b70
xor ebx, ebx
mov dword [esp + 0x5c], ebx
push 0x20
call fcn.004eca5e
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 0x4553e5
cmp byte [eax + 0xb], 0
movzx edx, byte [edi + 0xb]
js 0x455952
test dl, dl
jns 0x4553d7
mov ecx, eax
push dword [edi + 4]
push dword [edi]
call fcn.00469530
jmp 0x4553e5
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 0x4553f7
mov edx, dword [edi]
mov ebx, dword [ebp + 0xc]
lea ecx, [esp + 0x60]
push eax
push edx
push dword [esi + 0x10]
call fcn.0047fc80
cmp eax, 5
je 0x455452
test eax, eax
jne 0x4554d4
mov ecx, dword [0x5a1e4c]
test ecx, ecx
jne 0x45542b
call fcn.0043f650
mov ecx, eax
mov dword [0x5a1e4c], eax
xor eax, eax
cmp dword [esi + 0x20], 0x200
sete al
lea eax, [eax*8 + 4]
push 0x30019
push eax
push ebx
call fcn.0043f8f0
test al, al
jne 0x45550a
push 0x4f
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.004b44c0
add esp, 8
test eax, eax
jg 0x455740
mov ecx, dword [0x5a1e4c]
test ecx, ecx
jne 0x45547f
call fcn.0043f650
mov ecx, eax
mov dword [0x5a1e4c], 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.0043ffb0
test al, al
je 0x4555c6
mov eax, 0x3001f
or eax, dword [esi + 0x20]
cmp byte [edi + 0xb], 0
mov edx, edi
jns 0x4554c2
mov edx, dword [edi]
lea ecx, [esp + 0x60]
push eax
push edx
push dword [esi + 0x10]
call fcn.0047fc80
test eax, eax
je 0x45550a
push 2
call fcn.004b4490
add esp, 4
test al, al
je 0x4556bd
lea esi, [esp + 0x6c]
mov ecx, esi
push 2
push 0x4a
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.0046fcd0
lea eax, [esp + 0x74]
push 0x13
push str.Failed_to_open_key
jmp 0x4555f7
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 0x45552a
cmp eax, 0x7a
jne 0x455616
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x58]
push dword [esp + 0x5c]
call fcn.004ecac3
add esp, 4
mov ecx, dword [esi + 0xc]
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x455558
push ecx
call fcn.004ecacc
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 0x455655
push 2
call fcn.004b4490
add esp, 4
test al, al
je 0x4556bd
lea esi, [esp + 0x6c]
mov ecx, esi
push 2
push 0x64
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.0046fcd0
lea eax, [esp + 0x74]
push 0x29
push str.Failed_to_obtain_security_descriptor_for
push eax
call fcn.0051d150
add esp, 0xc
push dword [ebp + 0xc]
push eax
call fcn.004705d0
add esp, 8
push 0x1a
push str._but_we_succeeded_earlier_
push eax
call fcn.0051d150
add esp, 0xc
jmp 0x45560a
push 2
call fcn.004b4490
add esp, 4
test al, al
je 0x4556bd
lea esi, [esp + 0x6c]
mov ecx, esi
push 2
push 0x41
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.0046fcd0
lea eax, [esp + 0x74]
push 0x2e
push str.Unable_to_obtain_sufficient_permissions_on_key
push eax
call fcn.0051d150
add esp, 0xc
push ebx
push eax
call fcn.004705d0
add esp, 8
mov ecx, esi
call fcn.00470110
jmp 0x4556bd
push 2
call fcn.004b4490
add esp, 4
test al, al
je 0x4556bd
lea esi, [esp + 0x6c]
mov ecx, esi
push 2
push 0x54
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.0046fcd0
lea eax, [esp + 0x74]
push 0x29
push str.Failed_to_obtain_security_descriptor_for
push eax
call fcn.0051d150
add esp, 0xc
push dword [ebp + 0xc]
jmp 0x455601
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 0x455777
push 2
call fcn.004b4490
add esp, 4
test al, al
mov edi, dword [ebp + 0xc]
jne 0x455cc6
xor ebx, ebx
mov esi, dword [esp + 0x58]
mov dword [esp + 0x58], 0
test esi, esi
je 0x4556df
mov ecx, esi
call fcn.00456120
push esi
call fcn.004eca8e
add esp, 4
lea ecx, [esp + 0x60]
call fcn.0047fcf0
mov ecx, dword [esp + 0x170]
xor ecx, ebp
call fcn.004ed092
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.0046fcd0
lea eax, [esp + 0x74]
push 0x19
push str.DeleteAndSaveRecursive_:
push eax
call fcn.0051d150
add esp, 0xc
push edi
push eax
call fcn.004705d0
add esp, 8
mov ecx, ebx
call fcn.00470110
jmp 0x455379
lea ebx, [esp + 0x6c]
mov ecx, ebx
push 0xffffffffffffffff
push 0x3a
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.0046fcd0
lea eax, [esp + 0x74]
push 0x23
push str.Insufficient_permissions_on_the_key
push eax
call fcn.0051d150
add esp, 0xc
mov ecx, ebx
mov ebx, dword [ebp + 0xc]
call fcn.00470110
jmp 0x455469
push 0x4f
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.004b44c0
add esp, 8
test eax, eax
jg 0x455cf4
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.004ecac3
add esp, 4
mov dword [esp + 4], eax
push dword [esp + 0x4c]
call fcn.004ecac3
add esp, 4
cmp dword [esp + 0x54], 0
jle 0x455900
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 0x455935
push 0x18
call fcn.004eca5e
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 0x455dfe
push esi
call fcn.00508f54
add esp, 4
mov ecx, ebx
push eax
push esi
call fcn.00468e50
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 0x455891
test edx, edx
je 0x455dc7
mov dword [esp + 0x6c], 0
mov dword [edx], eax
add edx, 4
mov dword [ecx + 0x18], edx
jmp 0x45589e
add ecx, 0x14
lea eax, [esp + 0x6c]
push eax
call fcn.004562a0
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x6c], 0
test ebx, ebx
je 0x4558de
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x10], 0
test eax, eax
je 0x4558c5
push eax
call fcn.004ecacc
add esp, 4
cmp byte [ebx + 0xb], 0
jns 0x4558d5
push dword [ebx]
call fcn.004eca8e
add esp, 4
push ebx
call fcn.004eca8e
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 0x4557dc
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 0x455964
test eax, eax
mov esi, 0xffffffff
je 0x455dc7
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x58], 0
mov dword [eax], ecx
add eax, 4
mov dword [edx + 0x18], eax
jmp 0x455974
push 2
call fcn.004b4490
add esp, 4
test al, al
jne 0x455d31
xor ebx, ebx
mov esi, dword [esp + 4]
jmp 0x455c8d
test dl, dl
jns 0x455cb3
mov edx, dword [edi + 4]
mov ebx, dword [edi]
jmp 0x455cb8
lea ecx, [edx + 0x14]
lea eax, [esp + 0x58]
push eax
call fcn.00456410
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 0x455d73
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 0x4559d2
test al, al
jns 0x455de2
test ecx, ecx
je 0x455e0f
mov edx, dword [esp + 0x40]
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x455d99
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
cmp byte [ebx + 0xb], 0
js 0x455d86
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 0x455a3a
test al, al
jns 0x455df1
test ecx, ecx
je 0x455e0f
mov esi, ebx
mov ebx, dword [esp + 0x34]
mov edx, ecx
cmp word [ebx + edx*2 - 2], 0x5c
mov ebx, esi
jne 0x455da9
movzx edx, byte [esp + 0x4b]
test dl, dl
jns 0x455a49
mov edx, dword [esp + 0x44]
jmp 0x455a4c
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.0047e760
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 0x455ac9
test eax, eax
je 0x455aeb
push 2
call fcn.004b4490
add esp, 4
xor ebx, ebx
inc ebx
test al, al
jne 0x455b40
cmp byte [esp + 0x2b], 0
jns 0x455adc
push dword [esp + 0x20]
call fcn.004eca8e
add esp, 4
test ebx, ebx
mov ecx, esi
je 0x455a5d
jmp 0x455c2e
mov ecx, esi
xor ebx, ebx
push ebx
push dword [esp + 0x34]
call fcn.004b20e0
lea ecx, [esp + 0x40]
push ebx
push dword [esp + 0x14]
call fcn.004b20e0
lea ecx, [esp + 0x34]
push ebx
push dword [esp + 0xc]
call fcn.004b20e0
mov eax, 0x104
push eax
push 0xff
lea ebx, [esp + 0x74]
push ebx
call fcn.004f0310
add esp, 0xc
movzx eax, byte [esp + 0x4b]
test al, al
jns 0x455b7a
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
jmp 0x455b81
lea ebx, [esp + 0x6c]
mov ecx, ebx
push 2
push 0xa7
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.0046fcd0
push 0x17
push str.Failed_to_read_a_subkey
lea eax, [esp + 0x7c]
push eax
call fcn.0051d150
add esp, 0xc
mov ecx, ebx
call fcn.00470110
xor ebx, ebx
inc ebx
jmp 0x455ac9
and eax, 0x7f
lea ecx, [esp + 0x40]
push eax
push ecx
lea ebx, [esp + 0x1c]
push ebx
call fcn.004778b0
add esp, 0xc
cmp byte [esp + 0x1f], 0
jns 0x455b9b
mov ebx, dword [esp + 0x14]
mov ecx, 0x104
push ecx
push ebx
lea ebx, [esp + 0x74]
push ebx
call fcn.004bc210
add esp, 0xc
cmp byte [esp + 0x1f], 0
jns 0x455bc2
push dword [esp + 0x14]
call fcn.004eca8e
add esp, 4
push ebx
call fcn.004ab010
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.004691c0
movzx eax, byte [esp + 0x2b]
test al, al
jns 0x455c03
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
jmp 0x455c08
and eax, 0x7f
mov edx, ebx
lea ebx, [esp + 0x34]
mov ecx, ebx
push eax
push edx
call fcn.004691c0
mov ecx, dword [esp + 0xc]
push ebx
lea eax, [esp + 0x44]
push eax
call fcn.00455340
xor al, 1
movzx ebx, al
jmp 0x455ac9
cmp ebx, 5
jne 0x455c61
lea ecx, [esp + 0x60]
call fcn.0053ff20
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x20]
cmp byte [edi + 0xb], 0
jns 0x455c4e
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 0x455c67
xor ebx, ebx
mov esi, dword [esp + 4]
cmp byte [esp + 0x3f], 0
jns 0x455c7a
push dword [esp + 0x34]
call fcn.004eca8e
add esp, 4
cmp byte [esp + 0x4b], 0
jns 0x455c8d
push dword [esp + 0x40]
call fcn.004eca8e
add esp, 4
mov eax, dword [esp]
test eax, eax
je 0x455c9d
push eax
call fcn.004ecacc
add esp, 4
test esi, esi
je 0x4556bf
push esi
call fcn.004ecacc
add esp, 4
jmp 0x4556bf
and edx, 0x7f
mov ebx, edi
mov ecx, eax
push edx
push ebx
call fcn.00469460
jmp 0x4553e5
lea esi, [esp + 0x6c]
mov ecx, esi
push 2
push 0x72
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.0046fcd0
lea eax, [esp + 0x74]
push 0x1e
push str.Failed_to_obtain_key_info_for
push eax
call fcn.0051d150
add esp, 0xc
push edi
jmp 0x455601
lea ebx, [esp + 0x6c]
mov ecx, ebx
push 0xffffffffffffffff
push 0x75
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.0046fcd0
lea ecx, [esp + 0x74]
push dword [esp + 0x54]
call fcn.0042ad20
push 7
push str._values
push eax
call fcn.0051d150
add esp, 0xc
mov ecx, ebx
call fcn.00470110
jmp 0x45578e
lea esi, [esp + 0x6c]
mov ecx, esi
push 2
push 0x84
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.0046fcd0
lea eax, [esp + 0x74]
push 0x1a
push str.Failed_to_obtain_value_nr
push eax
call fcn.0051d150
add esp, 0xc
mov ecx, eax
push dword [esp + 8]
call fcn.0042aaf0
mov ecx, esi
call fcn.00470110
jmp 0x455947
lea ecx, [esp + 0x40]
push dword [edi + 4]
push dword [edi]
call fcn.00468b90
jmp 0x45599b
lea ecx, [esp + 0x34]
push dword [ebx + 4]
push dword [ebx]
call fcn.00468b90
jmp 0x4559f9
lea ecx, [esp + 0x40]
push 0x5c
call fcn.004b1ee0
jmp 0x4559d2
lea ebx, [esp + 0x34]
mov ecx, ebx
push 0x5c
call fcn.004b1ee0
movzx eax, byte [ebx + 0xb]
mov ecx, dword [ebx + 4]
mov ebx, eax
and ebx, 0x7f
jmp 0x455a3a
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.0051d7e0
test eax, eax
je 0x455e0f
lea edx, [esp + 0x40]
mov ecx, eax
jmp 0x4559c6
je 0x455e0f
mov esi, ebx
lea ebx, [esp + 0x34]
jmp 0x455a2c
push str.string::assign_received_nullptr
push str.__s___nullptr
push 0xa70
jmp 0x455e1e
push str.string::back__:_string_is_empty
push str._empty__
push 0x4c8
push str....._buildtools_third_partylibc_trunkinclude_string
jmp 0x455dd8