Function at 0x4d4ea0
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, 0x130
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x110]
lea edx, [esp + 0x104]
lea esi, [esp + 0x100]
lea edi, [esp + 0xfc]
lea ebx, [esp + 0xf8]
mov eax, dword [0x5a05c4]
xor eax, ebp
mov dword [esp + 0x128], eax
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx - 4], ecx
lea ecx, [esp + 0x108]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], eax
mov dword [edx], eax
mov dword [esi], eax
mov dword [edi], eax
mov dword [ebx], eax
mov dword [ecx], eax
push eax
push eax
push ebx
push edi
push esi
push eax
push edx
push ecx
push eax
push eax
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x4d4f7f
mov edi, eax
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x4d4f78
lea esi, [esp + 0x50]
mov ecx, esi
push 2
push 0x82
push str..._.._chrome_installer_util_registry_key_backup.cc
call fcn.0043e680
lea eax, [esp + 0x54]
push 0x2e
push str.Failed_getting_info_of_key_to_backup__result:
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, eax
push edi
call fcn.00411310
mov ecx, esi
call fcn.0043ea30
xor ebx, ebx
jmp 0x4d56f2
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0xfc]
cmp eax, ecx
cmovb eax, ecx
lea ecx, [esp + 0x44]
inc eax
push eax
call fcn.0045fae0
mov edx, dword [esp + 0x100]
test edx, edx
je 0x4d530b
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x120]
sub ecx, eax
sar ecx, 2
imul ecx, ecx, 0xb6db6db7
cmp ecx, edx
jae 0x4d5003
lea esi, [esp + 0x124]
lea edi, [esp + 0x50]
mov ecx, dword [esi - 8]
sub ecx, eax
sar ecx, 2
imul eax, ecx, 0xb6db6db7
mov ecx, edi
push esi
push eax
call fcn.004d5f68
add esp, 8
lea ecx, [esp + 0x118]
mov edx, edi
call fcn.004d5fc6
mov ecx, edi
call fcn.004d6054
mov eax, dword [esp + 0xf8]
xor ebx, ebx
lea ecx, [esp + 0x38]
inc ebx
test eax, eax
cmovne ebx, eax
xor edi, edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
push ebx
call fcn.0040c5e4
lea eax, [esp + 0x38]
mov esi, dword [eax + 4]
push ebx
push edi
push esi
call fcn.0052b7c0
add esp, 0xc
add ebx, esi
cmp dword [esp + 0x100], edi
lea eax, [esp + 0x38]
mov dword [esp + 0x124], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov dword [eax + 4], ebx
je 0x4d5279
mov esi, dword [ebp + 8]
mov al, 1
lea ecx, [esp + 0x118]
lea edx, [esp + 0x50]
xor edi, edi
mov dword [esp + 4], eax
mov eax, 0xc
add ecx, eax
add eax, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x30]
sub ecx, eax
sar ecx, 1
mov dword [esp + 0x124], ecx
mov ecx, dword [esp + 0x38]
sub ebx, ecx
mov dword [esp + 0x30], ebx
push edx
push ecx
lea ecx, [esp + 0x3c]
push ecx
push 0
lea ecx, [esp + 0x134]
push ecx
push eax
mov dword [esp + 0x18], edi
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x4d5132
mov edi, eax
cmp eax, 0xea
je 0x4d50ec
cmp edi, 0x103
jne 0x4d5281
mov edi, dword [esp]
mov dword [esp + 0x100], edi
jmp 0x4d5267
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
sub ecx, dword [esp + 0x38]
sub eax, ecx
jbe 0x4d5106
lea ecx, [esp + 0x38]
push eax
call fcn.0040b27c
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x124]
mov edi, dword [esp]
sub ecx, dword [esp + 0x44]
inc eax
sar ecx, 1
cmp eax, ecx
jbe 0x4d5267
lea ecx, [esp + 0x44]
push eax
call fcn.004d5760
jmp 0x4d5267
mov edi, dword [esp + 0x11c]
mov ecx, dword [esp + 0x120]
xor eax, eax
xorps xmm0, xmm0
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
movaps xmmword [esp + 0x50], xmm0
cmp edi, ecx
jae 0x4d5188
lea esi, [esp + 0x50]
mov ecx, edi
push esi
call fcn.00427754
lea ecx, [edi + 0xc]
push dword [esp + 0xc]
call fcn.0040c6f8
mov eax, dword [esp + 0x68]
mov dword [edi + 0x18], eax
add edi, 0x1c
mov dword [esp + 0x11c], edi
jmp 0x4d521a
mov edx, dword [esp + 0x118]
lea esi, [esp + 0x50]
sub edi, edx
sar edi, 2
imul eax, edi, 0xb6db6db7
lea edi, [eax + 1]
cmp edi, 0x924924a
jae 0x4d5727
sub ecx, edx
lea ebx, [esp + 0x18]
sar ecx, 2
imul ecx, ecx, 0xb6db6db7
lea edx, [ecx + ecx]
cmp edx, edi
cmovb edx, edi
cmp ecx, 0x4924924
mov ecx, 0x9249249
cmovae edx, ecx
mov ecx, ebx
push dword [esp + 0x10]
push eax
call fcn.004d5f68
add esp, 8
mov edi, dword [esp + 0x20]
mov ecx, edi
push esi
call fcn.00427754
lea ecx, [edi + 0xc]
push dword [esp + 0xc]
call fcn.0040c6f8
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x118]
mov edx, ebx
mov dword [edi + 0x18], eax
add dword [esp + 0x20], 0x1c
call fcn.004d5fc6
mov ecx, ebx
call fcn.004d6054
mov ecx, esi
call fcn.004d5734
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x11c]
mov eax, dword [esp + 0x34]
add esi, ebx
mov dword [esp + 8], eax
lea ecx, [edi - 0x1c]
push dword [esp + 0x124]
push dword [esp + 0x48]
call fcn.004278e0
mov eax, dword [esp + 8]
mov dword [edi - 4], eax
add edi, 0xfffffff0
mov ecx, edi
push esi
push ebx
call fcn.0040c614
mov edi, dword [esp]
mov esi, dword [ebp + 8]
inc edi
cmp edi, dword [esp + 0x100]
jae 0x4d52eb
mov ebx, dword [esp + 0x3c]
jmp 0x4d5084
mov al, 1
mov dword [esp + 4], eax
jmp 0x4d52eb
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x4d52e3
lea ebx, [esp + 0x50]
mov ecx, ebx
push 2
push 0xa7
push str..._.._chrome_installer_util_registry_key_backup.cc
call fcn.0043e680
lea eax, [esp + 0x54]
push 0x18
push str.Failed_backing_up_value
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, eax
push dword [esp]
call fcn.004114f0
push 0xa
push str.__result:
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, eax
push edi
call fcn.00411310
mov ecx, ebx
call fcn.0043ea30
mov dword [esp + 4], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4d5300
mov dword [esp + 0x3c], eax
push eax
call fcn.005272d6
add esp, 4
cmp byte [esp + 4], 0
je 0x4d56db
cmp dword [esp + 0x108], 0
je 0x4d54e8
lea eax, [esp + 0x34]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x50]
xor ebx, ebx
xor esi, esi
mov dword [eax], 0
mov eax, 0x10
add ecx, eax
add eax, edx
mov dword [esp + 8], ecx
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
sub ecx, eax
sar ecx, 1
mov dword [esp + 0x34], ecx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x44]
push ecx
push eax
push esi
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4d539e
mov edi, eax
cmp eax, 0xea
je 0x4d538a
cmp edi, 0x103
jne 0x4d5575
mov dword [esp + 0x108], esi
jmp 0x4d5441
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x44]
inc eax
push eax
call fcn.004d5760
jmp 0x4d5441
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov edi, dword [esp]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x124], ecx
mov ecx, edi
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x124]
push eax
push edx
call fcn.004d5d12
lea eax, [esp + 0x50]
lea ecx, [esp + 0x10c]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004d618c
mov ecx, edi
push dword [esp + 0x64]
call fcn.004d5f14
lea ecx, [esp + 0x54]
call fcn.004d4e54
lea ecx, [esp + 0x24]
push dword [esp + 0x28]
call fcn.004d5f14
lea ecx, [esp + 0x18]
call fcn.004d4e54
inc esi
cmp esi, dword [esp + 0x108]
jb 0x4d533f
lea ebx, [esp + 0x18]
mov ecx, ebx
call fcn.00451840
mov edi, dword [esp + 0x10c]
lea eax, [esp + 0x110]
cmp eax, edi
je 0x4d54df
cmp byte [edi + 0x1b], 0
lea eax, [edi + 0x10]
mov dword [esp], eax
jns 0x4d5479
mov eax, dword [eax]
mov ecx, ebx
push 0x20009
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.004567f0
test eax, eax
jne 0x4d55ff
lea ecx, [edi + 0x1c]
push ebx
call fcn.004d4ea0
test al, al
je 0x4d566d
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4d54bc
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x4d54ab
lea edx, [esp + 0x110]
jmp 0x4d54d9
mov eax, dword [edi + 8]
lea edx, [esp + 0x110]
cmp dword [eax], edi
je 0x4d54d9
add edi, 8
mov ecx, dword [edi]
mov eax, dword [ecx + 8]
lea edi, [ecx + 8]
cmp dword [eax], ecx
jne 0x4d54cd
cmp edx, eax
mov edi, eax
jne 0x4d546b
lea ecx, [esp + 0x18]
call fcn.004568a0
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x118]
mov eax, dword [edi]
mov dword [edi], ecx
mov dword [esp + 0x118], eax
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x11c]
mov dword [edi + 4], ecx
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x120]
mov dword [edi + 8], ecx
mov dword [esp + 0x120], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x10c]
mov dword [edi + 0xc], ecx
mov dword [esp + 0x10c], eax
mov eax, dword [edi + 0x10]
mov edx, dword [esp + 0x110]
mov dword [edi + 0x10], edx
mov dword [esp + 0x110], eax
mov esi, dword [esp + 0x114]
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], esi
test esi, esi
lea esi, [edi + 0x10]
mov dword [esp + 0x114], ecx
je 0x4d55de
mov dword [edx + 8], esi
mov ecx, dword [esp + 0x114]
jmp 0x4d55e1
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x4d56db
lea ebx, [esp + 0x50]
mov ecx, ebx
push 2
push 0xc7
push str..._.._chrome_installer_util_registry_key_backup.cc
call fcn.0043e680
push 0x1e
push str.Failed_getting_name_of_subkey
lea eax, [esp + 0x5c]
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, eax
push esi
call fcn.004114f0
push 0x15
push str._for_backup__result:
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, eax
push edi
call fcn.00411310
mov ecx, ebx
call fcn.0043ea30
jmp 0x4d56db
mov dword [edi + 0xc], esi
lea edx, [esp + 0x110]
test ecx, ecx
je 0x4d55f1
mov dword [eax + 8], edx
jmp 0x4d55f8
mov dword [esp + 0x10c], edx
mov bl, 1
jmp 0x4d56dd
mov esi, eax
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x4d56d2
lea edi, [esp + 0x50]
mov ecx, edi
push 2
push 0xd7
push str..._.._chrome_installer_util_registry_key_backup.cc
call fcn.0043e680
push 0x17
push str.Failed_opening_subkey__
lea eax, [esp + 0x5c]
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, dword [esp]
cmp byte [ecx + 0xb], 0
jns 0x4d5649
mov ecx, dword [ecx]
push ecx
push eax
call fcn.0043f290
add esp, 8
push 0x16
push str.__for_backup__result:
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, eax
push esi
call fcn.00411310
jmp 0x4d56cb
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x4d56d2
lea edi, [esp + 0x50]
mov ecx, edi
push 2
push 0xdc
push str..._.._chrome_installer_util_registry_key_backup.cc
call fcn.0043e680
push 0x1a
push str.Failed_backing_up_subkey__
lea eax, [esp + 0x5c]
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, dword [esp]
cmp byte [ecx + 0xb], 0
jns 0x4d56b1
mov ecx, dword [ecx]
push ecx
push eax
call fcn.0043f290
add esp, 8
push 1
push 0x557274
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, edi
call fcn.0043ea30
lea ecx, [esp + 0x18]
call fcn.004568a0
xor ebx, ebx
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4d56f2
mov dword [esp + 0x48], eax
push eax
call fcn.005272d6
add esp, 4
lea ecx, [esp + 0x10c]
push dword [ecx + 4]
call fcn.004d5f14
lea ecx, [esp + 0x118]
call fcn.004d4e54
mov ecx, dword [esp + 0x128]
xor ecx, ebp
call fcn.00527311
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea ecx, [esp + 0x118]
call fcn.00428e9c
int3