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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x4b13a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x64], ecx
push edi
mov edi, dword [ebp + 8]
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0xa0], edi
push 0x3c
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
call fcn.0047bbb9
add esp, 4
test eax, eax
je 0x444971
lea ecx, [eax + 4]
mov dword [eax], eax
test ecx, ecx
je 0x444203
mov dword [ecx], eax
lea ecx, [eax + 8]
test ecx, ecx
je 0x44420c
mov dword [ecx], eax
mov word [eax + 0xc], 0x101
push 0
push 0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x6c], ebx
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x9c], ebx
push eax
push 0
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x4c], ebx
push eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x8c], ebx
push eax
push 0
push 0
push 0
push dword [edi]
mov dword [ebp - 0xa8], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
test edi, edi
je 0x4442b7
call fcn.00447db0
cmp eax, 2
jg 0x4442a0
push 2
push 0x7e
push str.c:_b_build_slavewin_build_srcchromeinstallerutil_registry_key_backup.cc
lea ecx, [ebp - 0x174]
mov ebx, 1
call fcn.004472f0
push edi
add eax, 8
push str.Failed_getting_info_of_key_to_backup__result:
push eax
call fcn.00404cd0
add esp, 8
mov ecx, eax
call fcn.0040c2a0
test bl, 1
je 0x4442b0
lea ecx, [ebp - 0x174]
call fcn.00447510
xor bl, bl
jmp 0x44483c
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x8c]
cmp eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x9c]
mov edi, ebx
mov dword [ebp - 0x7c], ebx
cmovae ecx, edx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], ebx
mov esi, dword [ecx]
inc esi
je 0x444343
cmp esi, 0x7fffffff
ja 0x444976
lea edi, [esi + esi]
push edi
call fcn.0047bbb9
mov ebx, eax
add esp, 4
mov dword [ebp - 0x7c], ebx
test ebx, ebx
je 0x444971
add edi, ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x90], edi
test esi, esi
je 0x44433d
xor eax, eax
mov ecx, esi
shr ecx, 1
mov edi, ebx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x54]
mov dword [ebp - 0x94], edi
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x444636
cmp ecx, 0x6666666
ja 0x444980
push ecx
lea ecx, [ebp - 0x88]
call fcn.00444ff0
mov eax, dword [ebp - 0x84]
mov edx, 1
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xa8]
test eax, eax
cmovne edx, eax
xor eax, eax
xor esi, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
test edx, edx
je 0x4443e8
cmp edx, 0xffffffff
ja 0x44498a
push edx
call fcn.0047bbb9
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
test esi, esi
je 0x444971
mov eax, dword [ebp - 0x38]
push eax
push 0
push esi
lea ecx, [esi + eax]
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x70], ecx
call fcn.0047cd50
mov eax, dword [ebp - 0x50]
add esp, 0xc
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x74], eax
xor edx, edx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x38], edx
test ecx, ecx
je 0x444629
lea ebx, [ebx]
mov eax, edi
sub eax, ebx
sar eax, 1
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
sub eax, esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
push esi
lea eax, [ebp - 0x5c]
push eax
push 0
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0xa0]
push ebx
push edx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ecx, eax
mov dword [ebp - 0xa4], eax
sub ecx, 0
je 0x4444d5
sub ecx, 0xea
jne 0x444582
mov edi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x34]
cmp edi, eax
jbe 0x4444a2
cmp eax, edi
jae 0x4444a2
sub esi, dword [ebp - 0x50]
lea ecx, [ebp - 0x78]
add esi, edi
push esi
call fcn.0042e460
mov ecx, dword [ebp - 0x74]
mov eax, edi
mov esi, dword [ebp - 0x78]
sub eax, ecx
add eax, esi
mov dword [ebp - 0x40], esi
push eax
push 0
push ecx
call fcn.0047cd50
lea eax, [edi + esi]
add esp, 0xc
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x60]
inc eax
cmp eax, dword [ebp - 0xac]
jbe 0x44456e
push eax
lea ecx, [ebp - 0x98]
call fcn.00445680
mov edi, dword [ebp - 0x94]
mov ebx, dword [ebp - 0x98]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x7c], ebx
jmp 0x444571
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], 0
call fcn.00445600
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x444514
push eax
call fcn.0047bc0a
add esp, 4
cmp dword [ebp - 0x18], 8
jb 0x444525
push dword [ebp - 0x2c]
call fcn.0047bc0a
add esp, 4
mov eax, dword [ebp - 0x84]
push dword [ebp - 0x60]
mov ebx, dword [ebp - 0x68]
push dword [ebp - 0x7c]
mov esi, dword [ebp - 0x5c]
lea edi, [eax - 0x28]
mov ecx, edi
mov dword [ebp - 0x58], eax
call fcn.0040aec0
push dword [ebp - 0x64]
mov dword [edi + 0x24], esi
lea ecx, [edi + 0x18]
mov esi, dword [ebp - 0x40]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
lea eax, [ebx + esi]
push eax
push esi
call fcn.0042d720
mov edx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x7c]
inc edx
mov edi, dword [ebp - 0x54]
mov dword [ebp - 0x38], edx
jmp 0x444574
mov edi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x4c]
jb 0x444410
jmp 0x444620
sub ecx, 0x19
je 0x44461a
call fcn.00447db0
cmp eax, 2
jg 0x4445ea
push 2
push 0xa3
push str.c:_b_build_slavewin_build_srcchromeinstallerutil_registry_key_backup.cc
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x3c], 2
call fcn.004472f0
push dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x38]
add eax, 8
push 0x49e05c
push ecx
push str.Failed_backing_up_value
push eax
call fcn.00404cd0
add esp, 8
mov ecx, eax
call fcn.00408020
push eax
call fcn.00404cd0
add esp, 8
mov ecx, eax
call fcn.0040c2a0
test byte [ebp - 0x3c], 2
je 0x4445fb
lea ecx, [ebp - 0x174]
call fcn.00447510
test esi, esi
je 0x444608
push esi
call fcn.0047bc0a
add esp, 4
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x2d], 0
jmp 0x444829
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x34], eax
test esi, esi
je 0x444636
push esi
call fcn.0047bc0a
add esp, 4
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4447dc
xor esi, esi
mov dword [ebp - 0x40], 0
test eax, eax
je 0x444771
push 0
push 0
mov eax, edi
sub eax, ebx
push 0
sar eax, 1
push 0
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0xa0]
push ebx
push esi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, eax
mov dword [ebp - 0xa4], eax
sub ecx, 0
je 0x4446aa
sub ecx, 0xea
jne 0x4446f3
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x98]
inc eax
push eax
call fcn.00445680
mov edi, dword [ebp - 0x94]
mov ebx, dword [ebp - 0x98]
jmp 0x4446e8
lea ecx, [ebp - 0xc4]
call fcn.00443f30
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
call fcn.00443ec0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x48]
call fcn.00443df0
lea ecx, [ebp - 0x1c]
call fcn.00444040
lea ecx, [ebp - 0xc4]
call fcn.004440b0
inc esi
cmp esi, dword [ebp - 0x6c]
jb 0x444652
jmp 0x444771
sub ecx, 0x19
je 0x44476e
call fcn.00447db0
cmp eax, 2
jg 0x444754
push 2
push 0xc3
push str.c:_b_build_slavewin_build_srcchromeinstallerutil_registry_key_backup.cc
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x3c], 8
call fcn.004472f0
push dword [ebp - 0xa4]
add eax, 8
push str._for_backup__result:
push esi
push str.Failed_getting_name_of_subkey
push eax
call fcn.00404cd0
add esp, 8
mov ecx, eax
call fcn.00408020
push eax
call fcn.00404cd0
add esp, 8
mov ecx, eax
call fcn.0040c2a0
test byte [ebp - 0x3c], 8
je 0x444765
lea ecx, [ebp - 0x174]
call fcn.00447510
mov byte [ebp - 0x2d], 0
jmp 0x444829
mov dword [ebp - 0x6c], esi
lea ecx, [ebp - 0x78]
call fcn.00449910
mov eax, dword [ebp - 0x48]
mov esi, dword [eax]
mov dword [ebp - 0x5c], esi
cmp esi, eax
je 0x4447d4
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x444790
mov eax, dword [eax]
push 0x20009
push eax
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x78]
push dword [eax]
call fcn.00450870
mov edi, eax
test edi, edi
jne 0x4448eb
lea eax, [ebp - 0x78]
push eax
lea ecx, [esi + 0x28]
call fcn.004441a0
test al, al
je 0x44488c
lea ecx, [ebp - 0x5c]
call fcn.0044d750
mov esi, dword [ebp - 0x5c]
cmp esi, dword [ebp - 0x48]
jne 0x444785
lea ecx, [ebp - 0x78]
call fcn.004503e0
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x88]
cmp edx, eax
je 0x444805
mov eax, dword [edx]
mov ecx, dword [ebp - 0x34]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x80]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
add edx, 0xc
lea eax, [ebp - 0x48]
cmp edx, eax
je 0x444825
mov ecx, dword [edx]
mov eax, dword [ebp - 0x48]
mov dword [edx], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov ecx, dword [edx + 4]
mov dword [edx + 4], eax
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x2d], 1
test ebx, ebx
je 0x444836
push ebx
call fcn.0047bc0a
add esp, 4
mov esi, dword [ebp - 0x34]
mov bl, byte [ebp - 0x2d]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x48]
push eax
push dword [eax]
lea eax, [ebp - 0x64]
push eax
call fcn.00445290
push dword [ebp - 0x48]
call fcn.0047bc0a
add esp, 4
test esi, esi
je 0x444877
push dword [ebp - 0x64]
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x2d]
push eax
push ecx
push esi
call fcn.00443910
push esi
call fcn.0047bc0a
add esp, 0x14
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047cd41
mov esp, ebp
pop ebp
ret 4
call fcn.00447db0
cmp eax, 2
jg 0x4448e5
push 2
push 0xd8
push str.c:_b_build_slavewin_build_srcchromeinstallerutil_registry_key_backup.cc
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x3c], 0x40
call fcn.004472f0
add eax, 8
add esi, 0x10
push str.Failed_backing_up_subkey__
push eax
call fcn.00404cd0
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x4448d0
mov esi, dword [esi]
push esi
push eax
call fcn.00447950
push 0x49f96c
push eax
call fcn.00404cd0
add esp, 0x10
test byte [ebp - 0x3c], 0x40
jmp 0x444953
call fcn.00447db0
cmp eax, 2
jg 0x44494f
push 2
push 0xd3
push str.c:_b_build_slavewin_build_srcchromeinstallerutil_registry_key_backup.cc
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x3c], 0x20
call fcn.004472f0
add eax, 8
add esi, 0x10
push str.Failed_opening_subkey__
push eax
call fcn.00404cd0
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x44492f
mov esi, dword [esi]
push esi
push eax
call fcn.00447950
add esp, 8
push edi
push str.__for_backup__result:
push eax
call fcn.00404cd0
add esp, 8
mov ecx, eax
call fcn.0040c2a0
test byte [ebp - 0x3c], 0x20
je 0x444960
lea ecx, [ebp - 0x174]
call fcn.00447510
lea ecx, [ebp - 0x78]
call fcn.004503e0
mov byte [ebp - 0x2d], 0
jmp 0x444829
call fcn.0047b157
push str.vector_T__too_long
call fcn.0047b188
push str.vector_T__too_long
call fcn.0047b188
push str.vector_T__too_long
call fcn.0047b188
int3