Function at 0x490920
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x28]
sub esp, 0x28
push 0xffffffffffffffff
push 0x5605a5
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x60b3c4]
xor eax, ebp
mov dword [ebp + 0x24], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x30]
xorps xmm0, xmm0
movlpd qword [ebp + 0x10], xmm0
mov dword [ebp + 0x10], 0x5e52a4
mov dword [ebp + 0x14], 0
sub esp, 8
mov dword [ebp - 4], 0
mov eax, esp
push ecx
push 0
push 0x2011f
sub esp, 0xc
mov dword [eax], str.SOFTWAREMcAfeeWebAdvisor
lea ecx, [ebp + 0x10]
mov dword [eax + 4], 0x1a
call fcn.0046b120
test eax, eax
je 0x4909fe
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0xac]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp + 0x1c]
mov dword [ebp + 0x1c], str.UIDService.cpp
lea ecx, [ebp - 0xac]
mov dword [ebp + 0x20], 0x47
call fcn.00418540
mov edx, str.Could_not_create_registry_key
lea ecx, [ebp - 0xac]
call fcn.004185a0
mov edx, 0x5e4fc0
lea ecx, [ebp - 0xac]
call fcn.00418720
lea ecx, [ebp - 0x54]
call fcn.00459e90
mov byte [ebp - 4], 1
jmp 0x490bfa
push edi
sub esp, 8
lea ecx, [ebp + 0x10]
mov eax, esp
mov dword [eax], 0x5f3d20
mov dword [eax + 4], 4
call fcn.0042fef0
test eax, eax
je 0x490c11
lea eax, [ebp]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x490bad
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp]
push eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
js 0x490bad
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x490bad
mov dword [ebp + 0x20], esi
mov ecx, esi
mov byte [ebp - 4], 2
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490a60
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.0041ba30
mov byte [ebp - 4], 0
test esi, esi
je 0x490a87
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [edi + 0x14], 8
jb 0x490a8f
mov edi, dword [edi]
sub esp, 8
lea edx, [edi + 2]
mov ecx, esp
mov dword [ecx], edi
nop dword [eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x490aa0
sub esp, 8
sub edi, edx
mov eax, esp
sar edi, 1
mov dword [ecx + 4], edi
lea ecx, [ebp + 0x10]
mov dword [eax], 0x5f3d20
mov dword [eax + 4], 4
call fcn.0041b0e0
test eax, eax
je 0x490b32
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0xac]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp + 0x1c]
mov dword [ebp + 0x1c], str.UIDService.cpp
lea ecx, [ebp - 0xac]
mov dword [ebp + 0x20], 0x55
call fcn.00418540
mov edx, str.Could_not_set_registry_value
lea ecx, [ebp - 0xac]
call fcn.004185a0
mov edx, 0x5e4fc4
lea ecx, [ebp - 0xac]
call fcn.00418720
lea ecx, [ebp - 0x54]
call fcn.00459e90
mov byte [ebp - 4], 4
jmp 0x490bfa
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x18], 1
test eax, eax
je 0x490b5e
push 4
lea ecx, [ebp + 0x18]
push ecx
push 4
push 0
push str.InstallerFlags
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x490c11
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0xac]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp + 0x1c]
mov dword [ebp + 0x1c], str.UIDService.cpp
lea ecx, [ebp - 0xac]
mov dword [ebp + 0x20], 0x5c
call fcn.00418540
mov edx, str.Could_not_set_registry_value_InstallerFlags
lea ecx, [ebp - 0xac]
call fcn.004185a0
lea ecx, [ebp - 0x54]
call fcn.00459e90
mov byte [ebp - 4], 5
jmp 0x490bfa
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0xac]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp + 0x1c]
mov dword [ebp + 0x1c], str.UIDService.cpp
lea ecx, [ebp - 0xac]
mov dword [ebp + 0x20], 0x4f
call fcn.00418540
mov edx, str.Failed_to_create_new_UUID
lea ecx, [ebp - 0xac]
call fcn.004185a0
lea ecx, [ebp - 0x54]
call fcn.00459e90
mov byte [ebp - 4], 3
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], vtable.std::ios_base.0
push eax
call fcn.004f7d4c
add esp, 4
xor bl, bl
jmp 0x490c13
mov bl, 1
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x10], 0x5e52a4
test eax, eax
je 0x490c28
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x24]
xor ecx, ebp
call fcn.0050fd4b
lea esp, [ebp + 0x28]
pop ebp
ret 4