Function at 0x542070
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
mov dword [esp + 0xc], ecx
mov eax, dword [0x603024]
xor eax, ebp
mov dword [esp + 0x118], eax
xor eax, eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], eax
lea ecx, [esp + 0xfc]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx - 4], ecx
lea ecx, [esp + 0xf4]
mov dword [ecx], eax
lea edx, [esp + 0xf0]
mov dword [edx], eax
lea esi, [esp + 0xec]
mov dword [esi], eax
lea edi, [esp + 0xe8]
mov dword [edi], eax
lea ebx, [esp + 0xe4]
mov dword [ebx], eax
push eax
push eax
push ebx
push edi
push esi
mov esi, dword [ebp + 8]
push eax
push edx
push ecx
push eax
push eax
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x54213d
mov edi, eax
push 2
call fcn.004e0f90
add esp, 4
test al, al
jne 0x542475
lea ecx, [esp + 0xf8]
push dword [ecx + 4]
call fcn.00441500
xor ebx, ebx
mov ecx, dword [esp + 0x118]
xor ecx, ebp
call fcn.00504b53
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, dword [esp + 0xf0]
mov eax, dword [esp + 0xe8]
cmp ecx, eax
cmova eax, ecx
inc eax
xor edx, edx
dec edx
lea ecx, [esp + 0x34]
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
push eax
call fcn.005429f0
mov eax, dword [esp + 0xec]
test eax, eax
mov edi, dword [esp + 0xc]
je 0x5424c9
cmp eax, 0x924924a
jae 0x5429e1
lea ecx, [eax + eax*8]
lea esi, [ecx + ecx*2]
add esi, eax
push esi
call fcn.0050397a
add esp, 4
add esi, eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], esi
lea ecx, [esp + 0x14]
xor eax, eax
dec eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xe4]
xor edx, edx
inc edx
test eax, eax
cmovne edx, eax
push edx
call fcn.004da1c0
mov dword [esp + 0x30], 0
cmp dword [esp + 0xec], 0
mov esi, dword [ebp + 8]
je 0x5424b4
xor ebx, ebx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
sub ecx, eax
sar ecx, 1
mov dword [esp + 0x110], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub edx, ecx
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x2c]
push edx
push ecx
lea ecx, [esp + 0x38]
push ecx
push 0
lea ecx, [esp + 0x120]
push ecx
push eax
mov dword [esp + 0x18], ebx
push ebx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x54225b
mov ebx, eax
cmp eax, 0xea
je 0x542313
cmp ebx, 0x103
jne 0x542896
mov ebx, dword [esp]
mov dword [esp + 0xec], ebx
jmp 0x542301
xorps xmm0, xmm0
movups xmmword [esp + 0x4c], xmm0
movaps xmmword [esp + 0x40], xmm0
mov esi, dword [esp + 0x108]
mov eax, dword [esp + 0x10c]
cmp esi, eax
jae 0x542352
mov ecx, esi
lea edx, [esp + 0x40]
call fcn.00441560
add esi, 0x1c
mov dword [esp + 0x108], esi
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x5422a4
push eax
call fcn.005039aa
add esp, 4
cmp byte [esp + 0x4b], 0
jns 0x5422b7
push dword [esp + 0x40]
call fcn.005039aa
add esp, 4
mov esi, dword [esp + 0x108]
lea ecx, [esi - 0x1c]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x2c]
add ebx, edi
push dword [esp + 0x110]
push dword [esp + 0x38]
call fcn.0044a850
mov eax, dword [esp + 4]
mov dword [esi - 4], eax
add esi, 0xfffffff0
mov ecx, esi
push ebx
push edi
call fcn.00441060
mov ebx, dword [esp]
inc ebx
mov edi, dword [esp + 0xc]
mov esi, dword [ebp + 8]
cmp ebx, dword [esp + 0xec]
jb 0x5421eb
jmp 0x5424b4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x14]
sub eax, ecx
jbe 0x54232d
lea ecx, [esp + 0x14]
push eax
call fcn.004d7df0
mov eax, dword [esp + 0x110]
inc eax
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
sar ecx, 1
sub eax, ecx
mov ebx, dword [esp]
jbe 0x542301
lea ecx, [esp + 0x34]
push eax
call fcn.00441600
jmp 0x542301
mov ebx, dword [esp + 0x104]
mov dword [esp + 4], esi
sub esi, ebx
sar esi, 2
imul edi, esi, 0xb6db6db7
lea esi, [edi + 1]
cmp esi, 0x924924a
jae 0x5429d5
sub eax, ebx
sar eax, 2
imul eax, eax, 0xb6db6db7
lea ecx, [eax + eax]
cmp ecx, esi
cmova esi, ecx
cmp eax, 0x4924924
mov eax, 0x9249249
cmovae esi, eax
test esi, esi
je 0x54243f
cmp esi, 0x924924a
jae 0x5429e1
lea eax, [esi + esi*8]
lea eax, [eax + eax*2]
add eax, esi
push eax
call fcn.0050397a
add esp, 4
lea ecx, [edi + edi*8]
lea ecx, [ecx + ecx*2]
add ecx, edi
mov dword [esp + 8], ecx
lea edi, [eax + ecx]
lea ecx, [esi + esi*8]
lea ecx, [ecx + ecx*2]
add ecx, esi
add ecx, eax
mov dword [esp + 0x10], ecx
mov esi, eax
mov ecx, edi
lea edx, [esp + 0x40]
call fcn.00441560
mov eax, dword [esp + 8]
add eax, esi
add eax, 0x1c
mov esi, dword [esp + 4]
cmp esi, ebx
je 0x542446
mov dword [esp + 8], eax
add esi, 0xffffffe4
add edi, 0xffffffe4
mov ecx, edi
mov edx, esi
call fcn.00441560
cmp esi, ebx
jne 0x5423fb
mov dword [esp + 0x104], edi
mov eax, dword [esp + 8]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10c], eax
mov esi, dword [esp + 4]
cmp esi, ebx
je 0x54245f
add esi, 0xffffffe4
mov ecx, esi
call fcn.00542a50
jmp 0x54242f
xor eax, eax
jmp 0x5423bc
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10c], eax
test ebx, ebx
je 0x542293
push ebx
call fcn.005039aa
add esp, 4
jmp 0x542293
lea esi, [esp + 0x40]
mov ecx, esi
push 2
push 0x82
push str..._.._chrome_installer_util_registry_key_backup.cc
call fcn.0045d3f0
lea eax, [esp + 0x48]
push 0x2e
push str.Failed_getting_info_of_key_to_backup__result:
push eax
call fcn.005364d0
add esp, 0xc
mov ecx, eax
push edi
call fcn.0042a980
mov ecx, esi
call fcn.0045d7d0
jmp 0x542112
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5424c9
mov dword [esp + 0x18], eax
push eax
call fcn.005039aa
add esp, 4
cmp dword [esp + 0xf4], 0
je 0x542725
xor edi, edi
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
sub ecx, eax
sar ecx, 1
mov dword [esp + 0x30], ecx
mov ecx, dword [esi]
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 0x542538
mov ebx, eax
cmp eax, 0xea
je 0x54260d
cmp ebx, 0x103
jne 0x54282d
mov dword [esp + 0xf4], edi
jmp 0x542631
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
lea ebx, [esp + 0x40]
mov ecx, ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00441160
lea ecx, [esp + 0xf8]
push ebx
lea eax, [esp + 0x114]
push eax
call fcn.00441710
lea ecx, [esp + 0x50]
push dword [esp + 0x54]
call fcn.00441500
mov ebx, dword [esp + 0x44]
test ebx, ebx
je 0x5425cb
mov esi, dword [esp + 0x48]
cmp esi, ebx
je 0x54264b
add esi, 0xffffffe4
mov ecx, esi
call fcn.00542a50
cmp esi, ebx
jne 0x5425a9
mov eax, dword [esp + 0x44]
mov dword [esp + 0x48], ebx
push eax
call fcn.005039aa
add esp, 4
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x20]
push dword [esp + 0x24]
call fcn.00441500
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x54260a
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x542652
add esi, 0xffffffe4
mov ecx, esi
call fcn.00542a50
cmp esi, ebx
jne 0x5425e8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ebx
push eax
call fcn.005039aa
add esp, 4
mov esi, dword [ebp + 8]
inc edi
jmp 0x542631
mov eax, dword [esp + 0x30]
inc eax
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
sub esi, ecx
sar esi, 1
mov edx, eax
sub edx, esi
jbe 0x542640
lea ecx, [esp + 0x34]
push edx
call fcn.00441600
mov esi, dword [ebp + 8]
cmp edi, dword [esp + 0xf4]
jb 0x5424d9
jmp 0x542656
jae 0x54262e
lea eax, [ecx + eax*2]
mov dword [esp + 0x38], eax
jmp 0x54262e
mov eax, ebx
jmp 0x5425bb
mov eax, ebx
jmp 0x5425fa
lea edi, [esp + 0x14]
xor eax, eax
dec eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.00463100
mov esi, dword [esp + 0xf8]
lea eax, [esp + 0xfc]
cmp esi, eax
je 0x542718
lea eax, [esi + 0x10]
cmp byte [esi + 0x1b], 0
mov dword [esp], eax
jns 0x542690
mov eax, dword [eax]
mov ecx, edi
push 0x20009
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.00467ef0
test eax, eax
jne 0x5426f4
lea ecx, [esi + 0x1c]
push edi
call fcn.00542070
test al, al
je 0x5428c6
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x5426d5
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x5426be
lea edx, [esp + 0xfc]
mov esi, eax
cmp eax, edx
jne 0x542682
jmp 0x542718
mov eax, dword [esi + 8]
cmp dword [eax], esi
lea edx, [esp + 0xfc]
je 0x5426cd
add esi, 8
mov ecx, dword [esi]
lea esi, [ecx + 8]
mov eax, dword [ecx + 8]
cmp dword [eax], ecx
jne 0x5426e6
jmp 0x5426cd
mov ebx, eax
push 2
call fcn.004e0f90
add esp, 4
test al, al
jne 0x542921
lea ecx, [esp + 0x14]
call fcn.00467f60
xor ebx, ebx
jmp 0x5427be
lea ecx, [esp + 0x14]
call fcn.00467f60
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
mov ecx, dword [esp + 0x104]
mov dword [edi], ecx
mov dword [esp + 0x104], eax
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x108]
mov dword [edi + 4], ecx
mov dword [esp + 0x108], eax
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x10c]
mov dword [edi + 8], ecx
mov dword [esp + 0x10c], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0xf8]
mov dword [edi + 0xc], ecx
mov dword [esp + 0xf8], eax
lea edx, [edi + 0x10]
mov eax, dword [edi + 0x10]
mov esi, dword [esp + 0xfc]
mov dword [edi + 0x10], esi
mov dword [esp + 0xfc], eax
mov ecx, dword [edi + 0x14]
mov ebx, edi
mov edi, dword [esp + 0x100]
mov dword [ebx + 0x14], edi
mov dword [esp + 0x100], ecx
test edi, edi
je 0x54281f
mov dword [esi + 8], edx
mov ecx, dword [esp + 0x100]
test ecx, ecx
lea ecx, [esp + 0xfc]
je 0x542824
mov dword [eax + 8], ecx
mov bl, 1
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5427d3
mov dword [esp + 0x38], eax
push eax
call fcn.005039aa
add esp, 4
mov edi, dword [esp + 0x104]
lea ecx, [esp + 0xf8]
push dword [ecx + 4]
call fcn.00441500
test edi, edi
je 0x542123
mov esi, dword [esp + 0x108]
cmp esi, edi
je 0x542811
add esi, 0xffffffe4
mov ecx, esi
call fcn.00542a50
cmp esi, edi
jne 0x5427fc
mov edi, dword [esp + 0x104]
push edi
call fcn.005039aa
add esp, 4
jmp 0x542123
mov dword [ebx + 0xc], edx
jmp 0x5427ae
mov dword [esp + 0xf8], ecx
jmp 0x5427bc
push 2
call fcn.004e0f90
add esp, 4
test al, al
je 0x542711
lea esi, [esp + 0x40]
mov ecx, esi
push 2
push 0xc8
push str..._.._chrome_installer_util_registry_key_backup.cc
call fcn.0045d3f0
lea eax, [esp + 0x48]
push 0x1e
push str.Failed_getting_name_of_subkey
push eax
call fcn.005364d0
add esp, 0xc
mov ecx, eax
push edi
call fcn.0042abb0
push 0x15
push str._for_backup__result:
push eax
call fcn.005364d0
add esp, 0xc
mov ecx, eax
push ebx
call fcn.0042a980
mov ecx, esi
call fcn.0045d7d0
jmp 0x542711
push 2
call fcn.004e0f90
add esp, 4
test al, al
jne 0x54297c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x542711
mov dword [esp + 0x18], eax
push eax
call fcn.005039aa
add esp, 4
jmp 0x542711
push 2
call fcn.004e0f90
add esp, 4
test al, al
je 0x542708
lea edi, [esp + 0x40]
mov ecx, edi
push 2
push 0xdd
push str..._.._chrome_installer_util_registry_key_backup.cc
call fcn.0045d3f0
lea eax, [esp + 0x48]
push 0x1a
push str.Failed_backing_up_subkey__
push eax
call fcn.005364d0
add esp, 0xc
push dword [esp]
push eax
call fcn.0045dbd0
add esp, 8
push 1
push 0x5e0933
push eax
call fcn.005364d0
add esp, 0xc
jmp 0x542970
lea edi, [esp + 0x40]
mov ecx, edi
push 2
push 0xd8
push str..._.._chrome_installer_util_registry_key_backup.cc
call fcn.0045d3f0
lea eax, [esp + 0x48]
push 0x17
push str.Failed_opening_subkey__
push eax
call fcn.005364d0
add esp, 0xc
push dword [esp]
push eax
call fcn.0045dbd0
add esp, 8
push 0x16
push str.__for_backup__result:
push eax
call fcn.005364d0
add esp, 0xc
mov ecx, eax
push ebx
call fcn.0042a980
mov ecx, edi
call fcn.0045d7d0
jmp 0x542708
lea esi, [esp + 0x40]
mov ecx, esi
push 2
push 0xa8
push str..._.._chrome_installer_util_registry_key_backup.cc
call fcn.0045d3f0
lea eax, [esp + 0x48]
push 0x18
push str.Failed_backing_up_value
push eax
call fcn.005364d0
add esp, 0xc
mov ecx, eax
push dword [esp]
call fcn.0042abb0
push 0xa
push str.__result:
push eax
call fcn.005364d0
add esp, 0xc
mov ecx, eax
push ebx
call fcn.0042a980
mov ecx, esi
call fcn.0045d7d0
jmp 0x5428a8
lea ecx, [esp + 0x104]
call fcn.00536260
call fcn.00518ff0
int3