Function at 0x10219e3
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1027050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 2
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x1021c67
cmp dword [ebp + 8], ebx
jne 0x1021a1e
call fcn.0102045a
test eax, eax
jne 0x1021c61
push esi
push edi
push dword [ebp + 8]
mov byte [ebp - 0x20d], bl
call fcn.01020c96
cmp dword [ebp + 8], ebx
je 0x1021a5c
push dword [ebp + 0xc]
call fcn.01020bcc
push dword [ebp + 0xc]
mov esi, 0x1001c48
push 1
push ebx
mov edi, 0x1001bb4
mov edx, esi
mov ecx, SysStringLen
call fcn.010205b9
jmp 0x1021b4a
lea eax, [ebp - 0x214]
push eax
push 3
push ebx
mov esi, 0x1001c48
push esi
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1021adb
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x208
call fcn.010204ae
test eax, eax
jne 0x1021acf
lea eax, [ebp - 0x20c]
push eax
push 0x1001bb4
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x1021acf
push ebx
push 0x10013f0
push 1
push ebx
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 1
lea eax, [ebp - 0x218]
push eax
push 2
mov dword [ebp - 0x218], 0x19
call fcn.010215af
push 0x17
pop edi
push 1
push 2
lea eax, [ebp - 0x21c]
push eax
push 2
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x218], 6
call fcn.010215af
push 1
push 1
lea eax, [ebp - 0x218]
push eax
push 4
mov dword [ebp - 0x218], edi
call fcn.010215af
push edi
call fcn.01021617
push 0x1001e50
call fcn.0102204d
mov byte [ebp - 0x20d], 1
call fcn.01020540
test eax, eax
jne 0x1021c29
push 0x25
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x1021bf5
cmp dword [ebp + 8], ebx
je 0x1021b79
call fcn.0102311e
test al, al
jne 0x1021c0e
lea eax, [ebp - 0x214]
push eax
push 3
push ebx
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1021c0e
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x208
call fcn.010204ae
test eax, eax
jne 0x1021be7
lea eax, [ebp - 0x20c]
push eax
push 0x1001bb4
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x1021be7
push ebx
push 0x10013f0
push 1
push ebx
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1021c0e
cmp dword [ebp + 8], ebx
jne 0x1021c0e
push ebx
push ebx
push ebx
mov edi, 0x1001bb4
mov edx, esi
mov ecx, 0x80000001
call fcn.010205b9
push ebx
call fcn.010218e2
push dword [ebp + 8]
push 0x1001c90
call fcn.010207bc
push ebx
call fcn.01020505
jmp 0x1021c3c
push 0x1002460
push ebx
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [ebp - 0x20d], bl
pop edi
pop esi
je 0x1021c54
push ebx
push ebx
push ebx
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push dword [ebp + 8]
push 0x1001b98
call fcn.0102087f
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.010234cb
leave
ret 8