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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x118
mov dword [ebp - 0x120], ecx
mov eax, dword [0x80e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x24]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx - 4], ecx
lea ecx, [ebp - 0x2c]
mov dword [ecx], eax
lea edx, [ebp - 0x30]
mov dword [edx], eax
lea esi, [ebp - 0x34]
mov dword [esi], eax
lea edi, [ebp - 0x38]
mov dword [edi], eax
lea ebx, [ebp - 0x3c]
mov dword [ebx], eax
mov ecx, dword [ebp + 8]
push eax
push eax
push ebx
mov ebx, ecx
push edi
push esi
push eax
push edx
lea ecx, [ebp - 0x2c]
push ecx
push eax
push eax
push eax
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x623fc6
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
cmp ecx, eax
cmova eax, ecx
inc eax
xor edx, edx
dec edx
lea ecx, [ebp - 0xe8]
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
push eax
call fcn.00606260
mov eax, dword [ebp - 0x34]
test eax, eax
mov edi, dword [ebp - 0x120]
je 0x623ee8
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
sub edx, ecx
sar edx, 2
imul edx, edx, 0xb6db6db7
cmp edx, eax
jae 0x623e82
cmp eax, 0x924924a
jae 0x6246f1
lea edx, [ebp - 0x10]
mov edi, dword [edx - 8]
sub edi, ecx
lea esi, [ebp - 0xdc]
mov dword [esi + 0x10], edx
lea ecx, [eax + eax*8]
lea ebx, [ecx + ecx*2]
add ebx, eax
push ebx
call fcn.005c8b59
add esp, 4
mov dword [esi], eax
add edi, eax
mov dword [esi + 8], edi
mov dword [esi + 4], edi
add ebx, eax
mov dword [esi + 0xc], ebx
lea ecx, [ebp - 0x1c]
mov edx, esi
call fcn.00624cb0
mov edi, dword [esi + 4]
mov esi, dword [esi + 8]
jmp 0x623e65
add esi, 0xffffffe4
je 0x623fb3
mov ecx, esi
call fcn.00624700
cmp esi, edi
jne 0x623e55
mov eax, dword [ebp - 0xdc]
test eax, eax
mov edi, dword [ebp - 0x120]
je 0x623e82
push eax
call fcn.005c8b90
add esp, 4
lea ecx, [ebp - 0xf4]
xor eax, eax
dec eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x3c]
cmp eax, 1
adc eax, 0
push eax
call fcn.00537640
mov dword [ebp - 0xfc], 0
cmp dword [ebp - 0x34], 0
je 0x623eb9
xor ebx, ebx
jmp 0x624459
mov eax, dword [ebp - 0xf4]
test eax, eax
mov ebx, dword [ebp + 8]
je 0x623ee8
mov ecx, dword [ebp - 0xf0]
mov edx, ecx
sub edx, eax
dec ecx
cmp edx, ecx
ja 0x623fb3
mov dword [ebp - 0xf0], eax
push eax
call fcn.005c8b90
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x623f2c
xor edi, edi
jmp 0x624089
lea esi, [ebp - 0x118]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
call fcn.004a68d0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
cmp edi, eax
jne 0x624218
lea ecx, [ebp - 0x118]
call fcn.004a6ac0
mov edi, dword [ebp - 0x120]
mov eax, dword [edi]
mov ecx, dword [ebp - 0x1c]
mov dword [edi], ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x18]
mov dword [edi + 4], ecx
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 8], ecx
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x28]
mov dword [edi + 0xc], ecx
mov dword [ebp - 0x28], eax
lea edx, [edi + 0x10]
mov eax, dword [edi + 0x10]
mov esi, dword [ebp - 0x24]
mov dword [edi + 0x10], esi
mov dword [ebp - 0x24], eax
mov ecx, dword [edi + 0x14]
mov ebx, edi
mov edi, dword [ebp - 0x20]
mov dword [ebx + 0x14], edi
mov dword [ebp - 0x20], ecx
test edi, edi
je 0x623f83
mov dword [esi + 8], edx
mov ecx, dword [ebp - 0x20]
jmp 0x623f86
mov dword [ebx + 0xc], edx
test ecx, ecx
je 0x623f92
lea ecx, [ebp - 0x24]
mov dword [eax + 8], ecx
jmp 0x623f98
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov bl, 1
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x624016
mov ecx, dword [ebp - 0xe4]
cmp ecx, eax
je 0x623fb5
add ecx, 0xfffffffe
jne 0x623faa
ud2
mov dword [ebp - 0xe4], eax
push eax
call fcn.005c8b90
add esp, 4
jmp 0x624016
mov esi, eax
push 2
call fcn.00560ca0
add esp, 4
test al, al
je 0x624014
lea edi, [ebp - 0xdc]
mov ecx, edi
push 2
push 0x87
push str.....chromeinstallerutil_registry_key_backup.cc
call fcn.004ba0e0
lea eax, [ebp - 0xd4]
push 0x2e
push str.Failed_getting_info_of_key_to_backup__result:
push eax
call fcn.00535510
add esp, 0xc
mov ecx, eax
push esi
call fcn.00411270
mov ecx, edi
call fcn.004ba5c0
xor ebx, ebx
lea ecx, [ebp - 0x28]
push dword [ecx + 4]
call fcn.00625190
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x624054
mov esi, dword [ebp - 0x18]
mov eax, edi
cmp esi, edi
je 0x624048
add esi, 0xffffffe4
je 0x623fb3
mov ecx, esi
call fcn.00624700
cmp esi, edi
jne 0x624031
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edi
push eax
call fcn.005c8b90
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9f16
mov eax, ebx
add esp, 0x118
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [ebp - 0xf8]
inc eax
lea ecx, [ebp - 0xe8]
push eax
call fcn.0049cbf0
cmp edi, dword [ebp - 0x2c]
jae 0x623ef5
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xe4]
mov edx, ecx
sub edx, eax
sar edx, 1
mov dword [ebp - 0xf8], edx
cmp ecx, eax
je 0x623fb3
mov ecx, dword [ebx]
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
lea edx, [ebp - 0xf8]
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]
cmp eax, 0xea
je 0x62406d
mov esi, eax
cmp eax, 0x103
jne 0x6240e6
mov dword [ebp - 0x2c], edi
jmp 0x624080
test esi, esi
jne 0x624624
xor eax, eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xe8]
cmp dword [ebp - 0xe4], eax
je 0x623fb3
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0xd8]
lea eax, [ebp - 0x118]
push eax
call fcn.00624db0
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.006251f0
lea ecx, [ebp - 0xcc]
push dword [ebp - 0xc8]
call fcn.00625190
mov ebx, dword [ebp - 0xd8]
test ebx, ebx
je 0x6241aa
mov esi, dword [ebp - 0xd4]
mov eax, ebx
cmp esi, ebx
je 0x62419b
add esi, 0xffffffe4
je 0x623fb3
mov ecx, esi
call fcn.00624700
cmp esi, ebx
jne 0x624181
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xd4], ebx
push eax
call fcn.005c8b90
add esp, 4
lea ecx, [ebp - 0x10c]
push dword [ebp - 0x108]
call fcn.00625190
mov ebx, dword [ebp - 0x118]
test ebx, ebx
je 0x6241fa
mov esi, dword [ebp - 0x114]
mov eax, ebx
cmp esi, ebx
je 0x6241eb
add esi, 0xffffffe4
je 0x623fb3
mov ecx, esi
call fcn.00624700
cmp esi, ebx
jne 0x6241d1
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x114], ebx
push eax
call fcn.005c8b90
add esp, 4
inc edi
mov ebx, dword [ebp + 8]
jmp 0x624080
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x624203
mov edi, eax
lea ecx, [ebp - 0x24]
cmp eax, ecx
je 0x623f1b
lea ecx, [edi + 0x10]
cmp byte [edi + 0x1b], 0
mov eax, ecx
jns 0x624225
mov eax, dword [ecx]
mov dword [ebp - 0x11c], ecx
mov ecx, esi
push 0x20009
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.004a6a20
test eax, eax
jne 0x6245a5
lea ecx, [edi + 0x1c]
push esi
call fcn.00623d50
test al, al
je 0x62468a
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x624203
mov eax, dword [edi + 8]
cmp dword [eax], edi
mov edi, eax
jne 0x62425d
jmp 0x62420b
mov ecx, dword [ebp - 0x1c]
sub edi, ecx
sar edi, 2
imul esi, edi, 0xb6db6db7
lea edi, [esi + 1]
cmp edi, 0x924924a
jae 0x6246f1
sub eax, ecx
sar eax, 2
imul eax, eax, 0xb6db6db7
lea ecx, [eax + eax]
cmp ecx, edi
cmova edi, ecx
cmp eax, 0x4924924
mov eax, 0x9249249
cmovae edi, eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x108], eax
xor eax, eax
test edi, edi
je 0x6242d1
cmp edi, 0x924924a
jae 0x6246f6
lea eax, [edi + edi*8]
lea eax, [eax + eax*2]
add eax, edi
push eax
call fcn.005c8b59
add esp, 4
mov dword [ebp - 0x118], eax
lea ecx, [esi + esi*8]
lea ecx, [ecx + ecx*2]
add esi, eax
add esi, ecx
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x114], esi
lea ecx, [edi + edi*8]
lea ecx, [ecx + ecx*2]
add eax, edi
add eax, ecx
mov dword [ebp - 0x10c], eax
mov ecx, esi
lea edx, [ebp - 0xdc]
call fcn.00624d50
add dword [ebp - 0x110], 0x1c
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x118]
call fcn.00624cb0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x11c], eax
mov esi, dword [ebp - 0x114]
mov edi, dword [ebp - 0x110]
jmp 0x624346
add edi, 0xffffffe4
je 0x623fb3
mov ecx, edi
call fcn.00624700
cmp edi, esi
jne 0x624336
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x62435d
push eax
call fcn.005c8b90
add esp, 4
lea esi, [ebp - 0xdc]
mov edi, dword [ebp - 0x11c]
jmp 0x6243a4
test esi, esi
jne 0x62450f
xorps xmm0, xmm0
movups xmmword [ebp - 0xd0], xmm0
movups xmmword [ebp - 0xdc], xmm0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
cmp edi, eax
jae 0x624268
mov ecx, edi
lea esi, [ebp - 0xdc]
mov edx, esi
call fcn.00624d50
add edi, 0x1c
mov dword [ebp - 0x18], edi
mov ecx, esi
call fcn.00624700
mov esi, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], esi
je 0x623fb3
mov edi, dword [ebp - 0xf4]
cmp dword [ebp - 0xf0], edi
je 0x623fb3
mov eax, dword [ebp - 0xe8]
cmp dword [ebp - 0xe4], eax
je 0x623fb3
mov edx, dword [ebp - 0xf8]
test edx, edx
sete cl
test eax, eax
setne ch
or ch, cl
je 0x623fb3
lea ecx, [esi - 0x1c]
mov dword [ebp - 0x124], edi
mov edi, dword [ebp - 0x100]
mov dword [ebp - 0x11c], edi
mov edi, dword [ebp - 0xfc]
push edx
push eax
call fcn.004a41a0
mov dword [esi - 4], edi
add esi, 0xfffffff0
mov edx, dword [ebp - 0x11c]
mov edi, dword [ebp - 0x124]
lea eax, [edi + edx]
mov ecx, esi
push edx
push eax
push edi
call fcn.004a01a0
inc ebx
mov edi, dword [ebp - 0x120]
jmp 0x624450
mov esi, eax
cmp eax, 0x103
jne 0x62436b
mov dword [ebp - 0x34], ebx
cmp ebx, dword [ebp - 0x34]
jae 0x623eb9
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xe4]
mov edx, ecx
sub edx, eax
sar edx, 1
mov dword [ebp - 0xf8], edx
mov edx, dword [ebp - 0xf4]
mov esi, dword [ebp - 0xf0]
sub esi, edx
mov dword [ebp - 0x100], esi
je 0x623fb3
cmp ecx, eax
je 0x623fb3
lea ecx, [ebp - 0x100]
push ecx
push edx
lea ecx, [ebp - 0xfc]
push ecx
push 0
lea ecx, [ebp - 0xf8]
push ecx
push eax
push ebx
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0xea
jne 0x624440
mov eax, dword [ebp - 0x100]
mov ecx, dword [ebp - 0xf0]
sub ecx, dword [ebp - 0xf4]
sub eax, ecx
jbe 0x6244e1
lea ecx, [ebp - 0xf4]
push eax
call fcn.00537b40
mov eax, dword [ebp - 0xf8]
inc eax
mov ecx, dword [ebp - 0xe4]
sub ecx, dword [ebp - 0xe8]
sar ecx, 1
cmp eax, ecx
jbe 0x624450
lea ecx, [ebp - 0xe8]
push eax
call fcn.0049cbf0
jmp 0x624450
push 2
call fcn.00560ca0
add esp, 4
test al, al
je 0x624573
lea edi, [ebp - 0xdc]
mov ecx, edi
push 2
push 0xad
push str.....chromeinstallerutil_registry_key_backup.cc
call fcn.004ba0e0
lea eax, [ebp - 0xd4]
push 0x18
push str.Failed_backing_up_value
push eax
call fcn.00535510
add esp, 0xc
mov ecx, eax
push ebx
call fcn.004114c0
push 0xa
push str.__result:
push eax
call fcn.00535510
add esp, 0xc
mov ecx, eax
push esi
call fcn.00411270
mov ecx, edi
call fcn.004ba5c0
mov eax, dword [ebp - 0xf4]
test eax, eax
je 0x62461d
mov ecx, dword [ebp - 0xf0]
mov edx, ecx
sub edx, eax
dec ecx
cmp edx, ecx
ja 0x623fb3
mov dword [ebp - 0xf0], eax
push eax
call fcn.005c8b90
add esp, 4
jmp 0x62461d
mov ebx, eax
push 2
call fcn.00560ca0
add esp, 4
test al, al
je 0x624612
lea edi, [ebp - 0xdc]
mov ecx, edi
push 2
push 0xdd
push str.....chromeinstallerutil_registry_key_backup.cc
call fcn.004ba0e0
lea eax, [ebp - 0xd4]
push 0x17
push str.Failed_opening_subkey__
push eax
call fcn.00535510
add esp, 0xc
push dword [ebp - 0x11c]
push eax
call fcn.004b54f0
add esp, 8
push 0x16
push str.__for_backup__result:
push eax
call fcn.00535510
add esp, 0xc
mov ecx, eax
push ebx
call fcn.00411270
mov ecx, edi
call fcn.004ba5c0
lea ecx, [ebp - 0x118]
call fcn.004a6ac0
xor ebx, ebx
jmp 0x623f9a
push 2
call fcn.00560ca0
add esp, 4
test al, al
je 0x62461d
lea ebx, [ebp - 0xdc]
mov ecx, ebx
push 2
push 0xcd
push str.....chromeinstallerutil_registry_key_backup.cc
call fcn.004ba0e0
lea eax, [ebp - 0xd4]
push 0x1e
push str.Failed_getting_name_of_subkey
push eax
call fcn.00535510
add esp, 0xc
mov ecx, eax
push edi
call fcn.004114c0
push 0x15
push str._for_backup__result:
push eax
call fcn.00535510
add esp, 0xc
mov ecx, eax
push esi
call fcn.00411270
mov ecx, ebx
call fcn.004ba5c0
jmp 0x62461d
push 2
call fcn.00560ca0
add esp, 4
test al, al
je 0x624612
lea esi, [ebp - 0xdc]
mov ecx, esi
push 2
push 0xe2
push str.....chromeinstallerutil_registry_key_backup.cc
call fcn.004ba0e0
lea eax, [ebp - 0xd4]
push 0x1a
push str.Failed_backing_up_subkey__
push eax
call fcn.00535510
add esp, 0xc
push dword [ebp - 0x11c]
push eax
call fcn.004b54f0
add esp, 8
push 1
push 0x77d676
push eax
call fcn.00535510
add esp, 0xc
mov ecx, esi
jmp 0x62460d
call fcn.005fddc0
call fcn.005fe460
int3