Function at 0x5950b0
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 [0x5ff014]
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 0x5951b3
mov edi, eax
push 2
call fcn.004deac0
add esp, 4
test al, al
je 0x595188
lea esi, [esp + 0x40]
mov ecx, esi
push 2
push 0x82
push str..._.._chrome_installer_util_registry_key_backup.cc
call fcn.00454e90
lea eax, [esp + 0x48]
push 0x2e
push str.Failed_getting_info_of_key_to_backup__result:
push eax
call fcn.004d4870
add esp, 0xc
mov ecx, eax
push edi
call fcn.0042ab10
mov ecx, esi
call fcn.00455270
lea ecx, [esp + 0xf8]
push dword [ecx + 4]
call fcn.004aae40
xor ebx, ebx
mov ecx, dword [esp + 0x118]
xor ecx, ebp
call fcn.00504596
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xe8]
cmp eax, ecx
cmovb 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.005540d0
mov eax, dword [esp + 0xec]
test eax, eax
mov edi, dword [esp + 0xc]
je 0x595500
cmp eax, 0x924924a
jae 0x5959fc
lea ecx, [eax + eax*8]
lea esi, [ecx + ecx*2]
add esi, eax
push esi
call fcn.00503d75
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.004d8180
mov dword [esp + 0x30], 0
cmp dword [esp + 0xec], 0
mov esi, dword [ebp + 8]
je 0x5954eb
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 0x5952d1
mov ebx, eax
cmp eax, 0xea
je 0x595389
cmp ebx, 0x103
jne 0x595904
mov ebx, dword [esp]
mov dword [esp + 0xec], ebx
jmp 0x595377
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 0x5953c8
mov ecx, esi
lea edx, [esp + 0x40]
call fcn.004aaea0
add esi, 0x1c
mov dword [esp + 0x108], esi
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x59531a
push eax
call fcn.00503da5
add esp, 4
cmp byte [esp + 0x4b], 0
jns 0x59532d
push dword [esp + 0x40]
call fcn.00503da5
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.00442c80
mov eax, dword [esp + 4]
mov dword [esi - 4], eax
add esi, 0xfffffff0
mov ecx, esi
push ebx
push edi
call fcn.0047be30
mov ebx, dword [esp]
inc ebx
mov edi, dword [esp + 0xc]
mov esi, dword [ebp + 8]
cmp ebx, dword [esp + 0xec]
jb 0x595261
jmp 0x5954eb
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x14]
sub eax, ecx
jbe 0x5953a3
lea ecx, [esp + 0x14]
push eax
call fcn.004d4f10
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 0x595377
lea ecx, [esp + 0x34]
push eax
call fcn.00495e90
jmp 0x595377
mov ebx, dword [esp + 0x104]
mov dword [esp + 4], esi
sub esi, ebx
sar esi, 2
imul edi, esi, 0xb6db6db7
lea ecx, [edi + 1]
cmp ecx, 0x924924a
jae 0x5959f0
sub eax, ebx
sar eax, 2
imul eax, eax, 0xb6db6db7
lea esi, [eax + eax]
cmp esi, ecx
cmovb esi, ecx
cmp eax, 0x4924924
mov eax, 0x9249249
cmovae esi, eax
test esi, esi
je 0x5954b5
cmp esi, 0x924924a
jae 0x5959fc
lea eax, [esi + esi*8]
lea eax, [eax + eax*2]
add eax, esi
push eax
call fcn.00503d75
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.004aaea0
mov eax, dword [esp + 8]
add eax, esi
add eax, 0x1c
mov esi, dword [esp + 4]
cmp esi, ebx
je 0x5954bc
mov dword [esp + 8], eax
add esi, 0xffffffe4
add edi, 0xffffffe4
mov ecx, edi
mov edx, esi
call fcn.004aaea0
cmp esi, ebx
jne 0x595471
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 0x5954d5
add esi, 0xffffffe4
mov ecx, esi
call fcn.00595a10
jmp 0x5954a5
xor eax, eax
jmp 0x595432
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10c], eax
test ebx, ebx
je 0x595309
push ebx
call fcn.00503da5
add esp, 4
jmp 0x595309
mov eax, dword [esp + 0x14]
test eax, eax
je 0x595500
mov dword [esp + 0x18], eax
push eax
call fcn.00503da5
add esp, 4
cmp dword [esp + 0xf4], 0
je 0x5957fc
xor ebx, ebx
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], ebx
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0xea
je 0x59555f
mov edi, eax
cmp eax, 0x103
jne 0x59559c
mov dword [esp + 0xf4], ebx
jmp 0x595583
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 0x595591
lea ecx, [esp + 0x34]
push edx
call fcn.00495e90
mov esi, dword [ebp + 8]
cmp ebx, dword [esp + 0xf4]
jb 0x595510
jmp 0x59567d
jae 0x595580
lea eax, [ecx + eax*2]
mov dword [esp + 0x38], eax
jmp 0x595580
test edi, edi
jne 0x59578d
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 + 0x40], eax
lea ecx, [esp + 0x44]
lea eax, [esp + 0x14]
push eax
call fcn.004aac60
lea ecx, [esp + 0xf8]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x114]
push eax
call fcn.005962a0
lea ecx, [esp + 0x50]
push dword [esp + 0x54]
call fcn.004aae40
mov edi, dword [esp + 0x44]
test edi, edi
je 0x595634
mov esi, dword [esp + 0x48]
cmp esi, edi
je 0x595984
add esi, 0xffffffe4
mov ecx, esi
call fcn.00595a10
cmp esi, edi
jne 0x595612
mov eax, dword [esp + 0x44]
mov dword [esp + 0x48], edi
push eax
call fcn.00503da5
add esp, 4
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x20]
push dword [esp + 0x24]
call fcn.004aae40
mov edi, dword [esp + 0x14]
test edi, edi
je 0x595677
mov esi, dword [esp + 0x18]
cmp esi, edi
je 0x59598b
add esi, 0xffffffe4
mov ecx, esi
call fcn.00595a10
cmp esi, edi
jne 0x595655
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], edi
push eax
call fcn.00503da5
add esp, 4
mov esi, dword [ebp + 8]
inc ebx
jmp 0x595583
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.0045a3c0
mov esi, dword [esp + 0xf8]
lea eax, [esp + 0xfc]
cmp esi, eax
je 0x5957ef
lea eax, [esi + 0x10]
cmp byte [esi + 0x1b], 0
mov dword [esp], eax
jns 0x5956b7
mov eax, dword [eax]
mov ecx, edi
push 0x20009
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.0045ed90
test eax, eax
jne 0x595717
lea ecx, [esi + 0x1c]
push edi
call fcn.005950b0
test al, al
je 0x595992
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x5956ff
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x5956e5
mov esi, eax
lea ecx, [esp + 0xfc]
cmp eax, ecx
jne 0x5956a9
jmp 0x5957ef
mov eax, dword [esi + 8]
cmp dword [eax], esi
je 0x5956ed
add esi, 8
mov ecx, dword [esi]
lea esi, [ecx + 8]
mov eax, dword [ecx + 8]
cmp dword [eax], ecx
jne 0x595709
jmp 0x5956ed
mov ebx, eax
push 2
call fcn.004deac0
add esp, 4
test al, al
je 0x59577d
lea edi, [esp + 0x40]
mov ecx, edi
push 2
push 0xd8
push str..._.._chrome_installer_util_registry_key_backup.cc
call fcn.00454e90
lea eax, [esp + 0x48]
push 0x17
push str.Failed_opening_subkey__
push eax
call fcn.004d4870
add esp, 0xc
push dword [esp]
push eax
call fcn.00455670
add esp, 8
push 0x16
push str.__for_backup__result:
push eax
call fcn.004d4870
add esp, 0xc
mov ecx, eax
push ebx
call fcn.0042ab10
mov ecx, edi
call fcn.00455270
lea ecx, [esp + 0x14]
call fcn.0045ee00
xor ebx, ebx
jmp 0x595895
push 2
call fcn.004deac0
add esp, 4
test al, al
je 0x595786
lea esi, [esp + 0x40]
mov ecx, esi
push 2
push 0xc8
push str..._.._chrome_installer_util_registry_key_backup.cc
call fcn.00454e90
lea eax, [esp + 0x48]
push 0x1e
push str.Failed_getting_name_of_subkey
push eax
call fcn.004d4870
add esp, 0xc
mov ecx, eax
push ebx
call fcn.0042ad40
push 0x15
push str._for_backup__result:
push eax
call fcn.004d4870
add esp, 0xc
mov ecx, eax
push edi
call fcn.0042ab10
mov ecx, esi
call fcn.00455270
jmp 0x595786
lea ecx, [esp + 0x14]
call fcn.0045ee00
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 0x5958f6
mov dword [esi + 8], edx
mov ecx, dword [esp + 0x100]
lea edx, [esp + 0xfc]
test ecx, ecx
je 0x5958fb
mov dword [eax + 8], edx
mov bl, 1
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5958aa
mov dword [esp + 0x38], eax
push eax
call fcn.00503da5
add esp, 4
mov edi, dword [esp + 0x104]
lea ecx, [esp + 0xf8]
push dword [ecx + 4]
call fcn.004aae40
test edi, edi
je 0x595199
mov esi, dword [esp + 0x108]
cmp esi, edi
je 0x5958e8
add esi, 0xffffffe4
mov ecx, esi
call fcn.00595a10
cmp esi, edi
jne 0x5958d3
mov edi, dword [esp + 0x104]
push edi
call fcn.00503da5
add esp, 4
jmp 0x595199
mov dword [ebx + 0xc], edx
jmp 0x595885
mov dword [esp + 0xf8], edx
jmp 0x595893
push 2
call fcn.004deac0
add esp, 4
test al, al
je 0x595966
lea esi, [esp + 0x40]
mov ecx, esi
push 2
push 0xa8
push str..._.._chrome_installer_util_registry_key_backup.cc
call fcn.00454e90
lea eax, [esp + 0x48]
push 0x18
push str.Failed_backing_up_value
push eax
call fcn.004d4870
add esp, 0xc
mov ecx, eax
push dword [esp]
call fcn.0042ad40
push 0xa
push str.__result:
push eax
call fcn.004d4870
add esp, 0xc
mov ecx, eax
push ebx
call fcn.0042ab10
mov ecx, esi
call fcn.00455270
mov eax, dword [esp + 0x14]
test eax, eax
je 0x595786
mov dword [esp + 0x18], eax
push eax
call fcn.00503da5
add esp, 4
jmp 0x595786
mov eax, edi
jmp 0x595624
mov eax, edi
jmp 0x595667
push 2
call fcn.004deac0
add esp, 4
test al, al
je 0x59577d
lea edi, [esp + 0x40]
mov ecx, edi
push 2
push 0xdd
push str..._.._chrome_installer_util_registry_key_backup.cc
call fcn.00454e90
lea eax, [esp + 0x48]
push 0x1a
push str.Failed_backing_up_subkey__
push eax
call fcn.004d4870
add esp, 0xc
push dword [esp]
push eax
call fcn.00455670
add esp, 8
push 1
push 0x5dc71b
push eax
call fcn.004d4870
add esp, 0xc
jmp 0x595776
lea ecx, [esp + 0x104]
call fcn.00534620
call fcn.00517b60
int3