Function at 0x461f40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1324
call fcn.005e00d0
mov eax, dword [0x6aae14]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0xfff
lea edx, [ebp - 0x130f]
push 0
push edx
mov dword [ebp - 0x1320], edi
mov dword [ebp - 0x131c], eax
mov dword [ebp - 0x1324], ecx
mov byte [ebp - 0x1310], 0
call fcn.005dfd60
push 0
push esi
push edi
call fcn.005cbaa0
mov ebx, eax
add esp, 0x18
mov dword [ebp - 0x1318], ebx
test ebx, ebx
je 0x461fe0
mov eax, dword [ebp - 0x131c]
movsx ecx, byte [ebp + 0x1c]
push esi
push eax
push ecx
lea edx, [ebp - 0x1310]
push str._Browser__Chrome__Removed_Extension__c:__s___s_
push edx
call fcn.005dfb23
push 0
push 1
lea eax, [ebp - 0x1310]
push eax
push 0x6aec98
call fcn.004311c0
add esp, 0x24
cmp dword [0x7302cc], 0
je 0x4621d7
push 1
lea ecx, [ebp - 0x1314]
push ecx
push str.SOFTWAREPoliciesGoogleChromeExtensionInstallForceList
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004dc050
add esp, 0x10
test eax, eax
jne 0x46202b
mov edx, dword [ebp - 0x1314]
push 1
push esi
push edx
call fcn.00461ce0
mov eax, dword [ebp - 0x1314]
add esp, 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004d96c0
test eax, eax
je 0x462072
push 1
lea ecx, [ebp - 0x1314]
push ecx
push str.SOFTWAREPoliciesGoogleChromeExtensionInstallForceList
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004faef0
add esp, 0x10
test eax, eax
jne 0x462072
mov edx, dword [ebp - 0x1314]
push 1
push esi
push edx
call fcn.00461ce0
mov eax, dword [ebp - 0x1314]
add esp, 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1314]
push ecx
push str.SOFTWAREPoliciesGoogleChromeExtensionInstallBlacklist
push reloc.OLEAUT32.dll_SysReAllocString
xor edi, edi
call fcn.004dc000
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0xc
test eax, eax
jne 0x462111
mov edx, dword [ebp - 0x1314]
push edi
push esi
push edx
call fcn.00461ce0
add esp, 0xc
test eax, eax
jne 0x462104
call fcn.004dd0c0
cdq
mov ecx, 0x3e8
idiv ecx
mov edi, edx
call ebx
xor edx, edx
mov ecx, 0x3e8
div ecx
add edx, edi
push edx
lea edx, [ebp - 0x108]
push str.2719_lu
push edx
call fcn.005dfb23
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x1314]
inc eax
push eax
push esi
push 1
push 0
lea eax, [ebp - 0x108]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, 1
mov edx, dword [ebp - 0x1314]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004d96c0
test eax, eax
je 0x4621b2
lea eax, [ebp - 0x1314]
push eax
push str.SOFTWAREPoliciesGoogleChromeExtensionInstallBlacklist
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00503d40
test eax, eax
jne 0x4621b2
mov ecx, dword [ebp - 0x1314]
push eax
push esi
push ecx
call fcn.00461ce0
add esp, 0xc
test eax, eax
jne 0x4621a5
call fcn.004dd0c0
cdq
mov ecx, 0x3e8
idiv ecx
mov edi, edx
call ebx
xor edx, edx
mov ecx, 0x3e8
div ecx
add edx, edi
push edx
lea edx, [ebp - 0x108]
push str.2719_lu
push edx
call fcn.005dfb23
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x1314]
inc eax
push eax
push esi
push 1
push 0
lea eax, [ebp - 0x108]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, 1
mov edx, dword [ebp - 0x1314]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x4621cb
push edi
push str.ChromeBLAdded
push 0x60d814
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004f48a0
mov ebx, dword [ebp - 0x1318]
mov edi, dword [ebp - 0x1320]
lea edx, [ebp - 0x310]
mov dword [ebp - 0x1318], 0
mov eax, edi
sub edx, edi
jmp 0x4621f0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4621f0
lea eax, [ebp - 0x310]
push eax
call fcn.004e24e0
mov eax, esi
add esp, 4
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x462210
lea edi, [ebp - 0x310]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x462220
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x310]
push ecx
call fcn.004ec720
add esp, 4
test eax, eax
je 0x4622a8
mov eax, dword [ebp - 0x1324]
mov esi, 1
push esi
push 0x2c
lea edx, [ebp - 0x310]
push edx
push eax
call fcn.004e5820
test eax, eax
je 0x4622ae
test ebx, ebx
jne 0x4622ae
mov ecx, dword [ebp - 0x131c]
movsx eax, byte [ebp + 0x1c]
push ecx
lea edx, [ebp - 0x310]
push edx
push eax
lea ecx, [ebp - 0x1310]
push str._Browser__Chrome__Removed_Extension_Folder__c:__s___s_
push ecx
call fcn.005dfb23
push ebx
push esi
lea edx, [ebp - 0x1310]
push edx
push 0x6aec98
call fcn.004311c0
add esp, 0x24
jmp 0x4622ae
mov esi, dword [ebp - 0x1318]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
or eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret