Function at 0x4e3de0
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 ebx, dword [ebp + 8]
mov eax, dword [0x7aa024]
xor eax, ebp
mov dword [esp + 0x170], eax
push 0x4f
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.005e4320
add esp, 8
test eax, eax
jg 0x4e41a6
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.005513f0
mov dword [esp + 0x5c], 0
push 0x20
call fcn.0064cd3e
add esp, 4
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [esp + 0x58], eax
cmp eax, ebx
je 0x4e3e73
cmp byte [ebx + 0xb], 0
jns 0x4e3e65
mov ecx, eax
push dword [ebx + 4]
push dword [ebx]
call fcn.0053bd50
jmp 0x4e3e73
mov ecx, dword [ebx + 8]
mov dword [eax + 8], ecx
movsd xmm0, qword [ebx]
movsd qword [eax], xmm0
mov eax, 0x3001f
or eax, dword [esi + 0x20]
cmp byte [ebx + 0xb], 0
mov edx, ebx
jns 0x4e3e85
mov edx, dword [ebx]
mov edi, dword [ebp + 0xc]
lea ecx, [esp + 0x60]
push eax
push edx
push dword [esi + 0x10]
call fcn.005514c0
cmp eax, 5
je 0x4e3ee0
test eax, eax
jne 0x4e3f62
mov ecx, dword [0x7ba7b0]
test ecx, ecx
jne 0x4e3eb9
call fcn.004dc890
mov ecx, eax
mov dword [0x7ba7b0], eax
xor eax, eax
cmp dword [esi + 0x20], 0x200
sete al
lea eax, [eax*8 + 4]
push 0x30019
push eax
push edi
call fcn.004dcb40
test al, al
jne 0x4e3f98
push 0x4f
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.005e4320
add esp, 8
test eax, eax
jg 0x4e41e4
mov ecx, dword [0x7ba7b0]
test ecx, ecx
jne 0x4e3f0d
call fcn.004dc890
mov ecx, eax
mov dword [0x7ba7b0], 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 edi
call fcn.004dd1d0
test al, al
je 0x4e4058
mov eax, 0x3001f
or eax, dword [esi + 0x20]
cmp byte [ebx + 0xb], 0
mov edx, ebx
jns 0x4e3f50
mov edx, dword [ebx]
lea ecx, [esp + 0x60]
push eax
push edx
push dword [esi + 0x10]
call fcn.005514c0
test eax, eax
je 0x4e3f98
push 2
call fcn.005e42f0
add esp, 4
test al, al
je 0x4e4161
lea esi, [esp + 0x6c]
mov ecx, esi
push 2
push 0x4a
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.005417e0
lea eax, [esp + 0x74]
push 0x13
push str.Failed_to_open_key
jmp 0x4e4147
mov dword [esp + 0x10], esi
lea esi, [esp + 0x5c]
push esi
push 0
push 0x16
push dword [esp + 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegGetKeySecurity]
test eax, eax
je 0x4e3fbc
cmp eax, 0x7a
jne 0x4e408e
mov edi, dword [esp + 0x58]
push dword [esp + 0x5c]
call fcn.0064cda3
add esp, 4
mov ecx, dword [edi + 0xc]
mov dword [edi + 0xc], eax
test ecx, ecx
je 0x4e3fe6
push ecx
call fcn.0064cdac
add esp, 4
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0xc]
push esi
push eax
push 0x16
push dword [esp + 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegGetKeySecurity]
test eax, eax
mov edi, dword [ebp + 0xc]
je 0x4e40c4
push 2
call fcn.005e42f0
add esp, 4
test al, al
je 0x4e4161
lea esi, [esp + 0x6c]
mov ecx, esi
push 2
push 0x64
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.005417e0
lea eax, [esp + 0x74]
push 0x29
push str.Failed_to_obtain_security_descriptor_for
push eax
call fcn.0067fe70
add esp, 0xc
push edi
push eax
call fcn.00542020
add esp, 8
push 0x1a
push str._but_we_succeeded_earlier_
push eax
call fcn.0067fe70
add esp, 0xc
jmp 0x4e415a
push 2
call fcn.005e42f0
add esp, 4
test al, al
je 0x4e4161
lea esi, [esp + 0x6c]
mov ecx, esi
push 2
push 0x41
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.005417e0
lea eax, [esp + 0x74]
push 0x2e
push str.Unable_to_obtain_sufficient_permissions_on_key
jmp 0x4e4147
push 2
call fcn.005e42f0
add esp, 4
test al, al
je 0x4e4161
lea esi, [esp + 0x6c]
mov ecx, esi
push 2
push 0x54
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.005417e0
lea eax, [esp + 0x74]
push 0x29
push str.Failed_to_obtain_security_descriptor_for
jmp 0x4e4147
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 edi, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
xorps xmm0, xmm0
movups xmmword [esp + 4], xmm0
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x4e4218
push 2
call fcn.005e42f0
add esp, 4
test al, al
mov edi, dword [ebp + 0xc]
je 0x4e4161
lea esi, [esp + 0x6c]
mov ecx, esi
push 2
push 0x72
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.005417e0
lea eax, [esp + 0x74]
push 0x1e
push str.Failed_to_obtain_key_info_for
push eax
call fcn.0067fe70
add esp, 0xc
push edi
push eax
call fcn.00542020
add esp, 8
mov ecx, esi
call fcn.00541c20
xor ebx, ebx
mov esi, dword [esp + 0x58]
mov dword [esp + 0x58], 0
test esi, esi
je 0x4e4183
mov ecx, esi
call fcn.004e4aa0
push esi
call fcn.0064cd6e
add esp, 4
lea ecx, [esp + 0x60]
call fcn.00551530
mov ecx, dword [esp + 0x170]
xor ecx, ebp
call fcn.0064d372
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea edi, [esp + 0x6c]
mov ecx, edi
push 0xffffffffffffffff
push 0x26
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.005417e0
lea eax, [esp + 0x74]
push 0x19
push str.DeleteAndSaveRecursive_:
push eax
call fcn.0067fe70
add esp, 0xc
push ebx
push eax
call fcn.00542020
add esp, 8
mov ecx, edi
call fcn.00541c20
jmp 0x4e3e19
lea ecx, [esp + 0x6c]
push 0xffffffffffffffff
push 0x3a
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.005417e0
lea eax, [esp + 0x74]
push 0x23
push str.Insufficient_permissions_on_the_key
push eax
call fcn.0067fe70
add esp, 0xc
lea ecx, [esp + 0x6c]
call fcn.00541c20
jmp 0x4e3ef7
push 0x4f
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.005e4320
add esp, 8
test eax, eax
mov edi, dword [ebp + 0xc]
jg 0x4e472e
mov eax, dword [esp + 0x50]
inc eax
mov dword [esp + 0x50], eax
mov dword [esp], eax
add eax, eax
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0064cda3
add esp, 4
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x4c]
push esi
call fcn.0064cda3
add esp, 4
cmp dword [esp + 0x54], 0
jle 0x4e43a5
xor ecx, ecx
inc ecx
mov edx, dword [esp]
mov dword [esp], ecx
lea edi, [ecx - 1]
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
lea ecx, [esp + 0x50]
push ecx
mov esi, dword [esp + 0x20]
push esi
push edi
push dword [esp + 0x7c]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4e4380
push 0x18
call fcn.0064cd3e
add esp, 4
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x10], ecx
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov ecx, eax
push esi
call fcn.0053b8e0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x6c]
mov dword [eax + 0x14], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 8], ecx
mov dword [eax + 0x10], ebx
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x18]
cmp edx, dword [ecx + 0x1c]
jae 0x4e4312
mov dword [esp + 0x6c], 0
mov dword [edx], eax
add edx, 4
mov dword [ecx + 0x18], edx
jmp 0x4e431f
add ecx, 0x14
lea eax, [esp + 0x6c]
push eax
call fcn.004e4c00
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x6c], 0
test esi, esi
je 0x4e4365
mov eax, dword [esi + 0x10]
mov dword [esi + 0x10], 0
test eax, eax
je 0x4e434c
push eax
call fcn.0064cdac
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x4e435c
push dword [esi]
call fcn.0064cd6e
add esp, 4
push esi
call fcn.0064cd6e
add esp, 4
mov ecx, dword [esp]
cmp ecx, dword [esp + 0x54]
jge 0x4e43a1
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
inc ecx
mov eax, dword [esp + 8]
jmp 0x4e4273
mov dword [esp + 4], ebx
push 2
call fcn.005e42f0
add esp, 4
test al, al
jne 0x4e476b
xor ebx, ebx
mov eax, dword [esp + 4]
jmp 0x4e470b
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x18]
cmp eax, dword [edx + 0x1c]
jae 0x4e43cb
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x58], 0
mov dword [eax], ecx
add eax, 4
mov dword [edx + 0x18], eax
jmp 0x4e43d8
lea ecx, [edx + 0x14]
lea eax, [esp + 0x58]
push eax
call fcn.004e4d30
xor eax, eax
dec eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
cmp byte [ebx + 0xb], 0
js 0x4e4400
mov eax, dword [ebx + 8]
mov dword [esp + 0x48], eax
movsd xmm0, qword [ebx]
movsd qword [esp + 0x40], xmm0
jmp 0x4e440e
lea ecx, [esp + 0x40]
push dword [ebx + 4]
push dword [ebx]
call fcn.005df860
movzx ecx, byte [esp + 0x4b]
mov eax, ecx
test cl, cl
jns 0x4e441d
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4e4442
test cl, cl
jns 0x4e442b
mov ecx, dword [esp + 0x40]
jmp 0x4e442f
lea ecx, [esp + 0x40]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x4e4442
lea ecx, [esp + 0x40]
push 0x5c
call fcn.005dfb10
xor eax, eax
dec eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
cmp byte [edi + 0xb], 0
js 0x4e446a
mov eax, dword [edi + 8]
mov dword [esp + 0x3c], eax
movsd xmm0, qword [edi]
movsd qword [esp + 0x34], xmm0
jmp 0x4e4478
lea ecx, [esp + 0x34]
push dword [edi + 4]
push dword [edi]
call fcn.005df860
mov al, byte [esp + 0x3f]
test al, al
mov ecx, dword [esp + 0x38]
movzx edx, al
mov dword [esp], edx
cmovs edx, ecx
test edx, edx
je 0x4e44be
test al, al
jns 0x4e4499
mov esi, dword [esp + 0x34]
jmp 0x4e449d
lea esi, [esp + 0x34]
cmp word [esi + edx*2 - 2], 0x5c
je 0x4e44be
lea esi, [esp + 0x34]
mov ecx, esi
push 0x5c
call fcn.005dfb10
mov al, byte [esi + 0xb]
mov ecx, dword [esi + 4]
movzx edx, al
mov dword [esp], edx
movzx edx, byte [esp + 0x4b]
mov dword [esp + 8], edx
test dl, dl
jns 0x4e44d3
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
test al, al
mov eax, dword [esp]
cmovs eax, ecx
mov dword [esp], eax
xor edi, edi
mov eax, 0x104
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00550740
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], edi
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4e458e
mov esi, 5
cmp eax, 0x103
je 0x4e4685
push 2
call fcn.005e42f0
add esp, 4
xor esi, esi
inc esi
test al, al
je 0x4e4685
lea esi, [esp + 0x6c]
mov ecx, esi
push 2
push 0xa7
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.005417e0
push 0x17
push str.Failed_to_read_a_subkey
lea eax, [esp + 0x7c]
push eax
call fcn.0067fe70
add esp, 0xc
mov ecx, esi
call fcn.00541c20
xor esi, esi
inc esi
jmp 0x4e4685
lea ecx, [esp + 0x20]
push edi
push dword [esp + 0x34]
call fcn.005dff20
lea esi, [esp + 0x40]
mov ecx, esi
push edi
push dword [esp + 0xc]
call fcn.005dff20
lea ecx, [esp + 0x34]
push edi
push dword [esp + 4]
call fcn.005dff20
mov eax, 0x104
push eax
push 0xff
lea eax, [esp + 0x74]
push eax
call fcn.00650600
add esp, 0xc
movzx eax, byte [esp + 0x4b]
test al, al
jns 0x4e45e3
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
push eax
push esi
lea esi, [esp + 0x1c]
push esi
call fcn.00547f00
add esp, 0xc
cmp byte [esp + 0x1f], 0
mov eax, esi
jns 0x4e45ff
mov eax, dword [esp + 0x14]
mov ecx, 0x104
push ecx
push eax
lea esi, [esp + 0x74]
push esi
call fcn.005ed1d0
add esp, 0xc
cmp byte [esp + 0x1f], 0
jns 0x4e4626
push dword [esp + 0x14]
call fcn.0064cd6e
add esp, 4
push esi
call fcn.005d1080
add esp, 4
movzx eax, byte [esp + 0x2b]
test al, al
cmovs eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea esi, [esp + 0x20]
cmovns edx, esi
lea ecx, [esp + 0x40]
push eax
push edx
call fcn.005df8c0
movzx eax, byte [esp + 0x2b]
mov edx, esi
test al, al
jns 0x4e4664
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea esi, [esp + 0x34]
mov ecx, esi
push eax
push edx
call fcn.005df8c0
mov ecx, dword [esp + 0x10]
push esi
lea eax, [esp + 0x44]
push eax
call fcn.004e3de0
xor al, 1
movzx esi, al
cmp byte [esp + 0x2b], 0
jns 0x4e4698
push dword [esp + 0x20]
call fcn.0064cd6e
add esp, 4
test esi, esi
je 0x4e44e0
cmp esi, 5
jne 0x4e46d3
lea ecx, [esp + 0x60]
call fcn.006a9940
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x20]
cmp byte [ebx + 0xb], 0
mov esi, dword [esp + 0xc]
jns 0x4e46c4
mov ebx, dword [ebx]
push 0
push ecx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov bl, 1
jmp 0x4e46d9
xor ebx, ebx
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 4]
cmp byte [esp + 0x3f], 0
jns 0x4e46f4
push dword [esp + 0x34]
call fcn.0064cd6e
mov eax, dword [esp + 8]
add esp, 4
cmp byte [esp + 0x4b], 0
jns 0x4e470b
push dword [esp + 0x40]
call fcn.0064cd6e
mov eax, dword [esp + 8]
add esp, 4
test eax, eax
je 0x4e4718
push eax
call fcn.0064cdac
add esp, 4
test esi, esi
je 0x4e4163
push esi
call fcn.0064cdac
add esp, 4
jmp 0x4e4163
lea esi, [esp + 0x6c]
mov ecx, esi
push 0xffffffffffffffff
push 0x75
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.005417e0
lea ecx, [esp + 0x74]
push dword [esp + 0x54]
call fcn.004a3270
push 7
push str._values
push eax
call fcn.0067fe70
add esp, 0xc
mov ecx, esi
call fcn.00541c20
jmp 0x4e4232
lea esi, [esp + 0x6c]
mov ecx, esi
push 2
push 0x84
push str.....operadesktopwindowsinstaller_transactionsdelete_reg_key_operation.cc
call fcn.005417e0
lea eax, [esp + 0x74]
push 0x1a
push str.Failed_to_obtain_value_nr
push eax
call fcn.0067fe70
add esp, 0xc
mov ecx, eax
push edi
call fcn.004a3040
mov ecx, esi
mov esi, dword [esp + 0xc]
call fcn.00541c20
jmp 0x4e4396