Function at 0x6213c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov eax, dword [0x808040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, dword [ecx]
mov esi, ecx
cmp ebx, dword [ecx + 4]
je 0x62142f
xor edi, edi
jmp 0x621410
mov edx, ebx
cmove edx, edi
push eax
push ecx
push dword [ebx + 0x18]
push 0
push edx
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x6214ca
add ebx, 0x1c
cmp ebx, dword [esi + 4]
mov edi, 0
je 0x62142f
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
sub eax, ecx
cmove ecx, edi
cmp byte [ebx + 0xb], 0
jns 0x6213e3
cmp dword [ebx + 4], 0
je 0x62142b
mov edx, dword [ebx]
jmp 0x6213e8
xor edx, edx
jmp 0x6213e8
xor eax, eax
dec eax
lea ecx, [ebp - 0xbc]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
call fcn.004a6e00
mov edi, dword [esi + 0xc]
add esi, 0x10
mov bl, 1
mov dword [ebp - 0xc4], esi
cmp edi, esi
jne 0x621474
jmp 0x6215a5
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x62145c
mov edi, eax
cmp eax, dword [ebp - 0xc4]
mov bl, 1
je 0x6215a5
lea ecx, [edi + 0x10]
cmp byte [edi + 0x1b], 0
mov eax, ecx
jns 0x621481
mov eax, dword [ecx]
mov dword [ebp - 0xc0], ecx
lea esi, [ebp - 0xbc]
mov ecx, esi
push 0x20006
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.004a6ed0
test eax, eax
jne 0x621536
lea ecx, [edi + 0x1c]
push esi
call fcn.006213c0
test al, al
je 0x6215c9
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x62145c
mov eax, dword [edi + 8]
cmp dword [eax], edi
mov edi, eax
jne 0x6214bf
jmp 0x621464
mov edi, eax
push 2
call fcn.0055f440
add esp, 4
test al, al
je 0x621532
lea esi, [ebp - 0xb0]
mov ecx, esi
push 2
push 0xfa
push str.....chromeinstallerutil_registry_key_backup.cc
call fcn.004ba430
lea eax, [ebp - 0xa8]
push 0x16
push str.Failed_writing_value__
push eax
call fcn.00533f70
add esp, 0xc
push ebx
push eax
call fcn.004b5750
add esp, 8
push 0xb
push str.___result:
push eax
call fcn.00533f70
add esp, 0xc
mov ecx, eax
push edi
call fcn.00411270
mov ecx, esi
call fcn.004ba910
xor ebx, ebx
jmp 0x6215b0
mov ebx, eax
push 2
call fcn.0055f440
add esp, 4
test al, al
je 0x6215a3
lea edi, [ebp - 0xb0]
mov ecx, edi
push 2
push 0x108
push str.....chromeinstallerutil_registry_key_backup.cc
call fcn.004ba430
lea eax, [ebp - 0xa8]
push 0x18
push str.Failed_creating_subkey__
push eax
call fcn.00533f70
add esp, 0xc
push dword [ebp - 0xc0]
push eax
call fcn.004b5750
add esp, 8
push 0xb
push str.___result:
push eax
call fcn.00533f70
add esp, 0xc
mov ecx, eax
push ebx
call fcn.00411270
mov ecx, edi
call fcn.004ba910
xor ebx, ebx
lea ecx, [ebp - 0xbc]
call fcn.004a6ff0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6b46
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 2
call fcn.0055f440
add esp, 4
test al, al
je 0x6215a3
lea edi, [ebp - 0xb0]
mov ecx, edi
push 2
push 0x10d
push str.....chromeinstallerutil_registry_key_backup.cc
call fcn.004ba430
lea eax, [ebp - 0xa8]
push 0x17
push str.Failed_writing_subkey__
push eax
call fcn.00533f70
add esp, 0xc
push dword [ebp - 0xc0]
push eax
call fcn.004b5750
add esp, 8
push 0xb
push str.___result:
push eax
call fcn.00533f70
add esp, 0xc
mov ecx, eax
push 0
jmp 0x621597