Function at 0x449490
Capabilities:
Persist via app paths registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a0e0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5746cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0040b740
mov ecx, eax
test ecx, ecx
je 0x4499b3
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], vtable.mf_bind_t_class_CInstaller__class_CInstaller___void_.0
mov dword [ebp - 0x1c], 0x447c00
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
call fcn.00451f60
add esp, 4
mov byte [ebp - 4], 0
call fcn.00441610
mov esi, eax
call fcn.00441620
mov ecx, eax
call fcn.00441720
mov ecx, dword [esi]
push dword [eax]
push esi
call dword [ecx + 0x2c]
push eax
push str.install_type:_d__install_version:_s
call fcn.00443b30
mov dword [ebp - 0x24], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x20], 0x447c10
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
call fcn.00451f60
add esp, 0x10
mov byte [ebp - 4], 0
lea esi, [ebx + 4]
push esi
call fcn.00441620
mov ecx, eax
call fcn.00441730
push eax
call fcn.00458920
mov dword [ebp - 0x24], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x20], 0x447c10
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 2
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
call fcn.00451f60
mov esi, dword [esi]
lea ecx, [ebp - 0x24]
add esp, 0xc
mov byte [ebp - 4], 0
call fcn.00452480
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00452a60
lea ecx, [ebp - 0x24]
call fcn.00452d70
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00452590
push str.remove_all_pending_files
call fcn.00443b30
mov dword [ebp - 0x24], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x20], 0x447c10
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 3
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 5
push eax
call fcn.00451f60
push str..tmp
push dword [ebx + 4]
lea esi, [ebx + 4]
mov byte [ebp - 4], 0
call fcn.0040df00
mov dword [ebp - 0x24], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x20], 0x447c10
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 4
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 6
push eax
call fcn.00451f60
push dword [esi]
mov byte [ebp - 4], 0
push str.remove_all_.tmp_files_in__s
call fcn.00443b30
push str.update
lea eax, [ebp + 8]
push esi
push eax
call fcn.00440cb0
push dword [eax]
mov byte [ebp - 4], 7
call fcn.0040d880
mov edx, dword [ebp + 8]
or esi, 0xffffffff
add esp, 0x2c
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449676
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.update
lea ecx, [ebx + 4]
push ecx
lea eax, [ebp + 8]
push eax
call fcn.00440cb0
push dword [eax]
mov byte [ebp - 4], 8
push str.Delete_directory_recursively:__s
call fcn.00443b30
mov edx, dword [ebp + 8]
add esp, 0x14
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4496b9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x24], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x20], 0x447c10
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 9
push eax
call fcn.00451f60
add esp, 4
mov byte [ebp - 4], 0
mov ecx, ebx
call fcn.00446b60
and eax, 1
mov dword [ebp - 0x14], eax
jne 0x449706
push 0xf
push str.copy_file_fail
lea ecx, [ebp - 0x10]
call fcn.004469d0
mov edi, dword [ebp - 0x10]
push str.start_call_program
call fcn.00443b30
mov eax, dword [ebx + 4]
add esp, 4
push dword [eax - 0xc]
push eax
call fcn.00441620
mov ecx, eax
call fcn.00441730
mov ecx, eax
call fcn.0044b190
mov eax, dword [ebx + 4]
push dword [eax - 0xc]
push eax
call fcn.00441620
mov ecx, eax
call fcn.00441730
mov ecx, eax
call fcn.0044b9c0
push dword [ebx + 4]
call fcn.004599d0
mov dword [ebp - 0x24], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x20], 0x447c10
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0x60
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xa
push eax
call fcn.00451f60
add esp, 8
mov byte [ebp - 4], 0
cmp dword [ebx + 0x7c], 0
je 0x4497fe
call fcn.0040b740
mov ecx, eax
test ecx, ecx
je 0x4499bd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push str.halowallpaper
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.0040b400
test al, al
jne 0x4497bf
push 0xd
push str.halowallpaper
lea ecx, [ebp + 8]
call fcn.0040ab90
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 0
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push 0x533d60
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathshalowp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4497fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, ebx
call fcn.00449b20
test eax, eax
jne 0x44981e
push 0x14
push str.write_path_reg_fail
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.004469d0
mov edi, dword [ebp - 0x10]
mov ecx, ebx
call fcn.00447cb0
mov ecx, ebx
call fcn.00446ed0
mov dword [ebp - 0x24], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x20], 0x447c10
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0x62
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xc
push eax
call fcn.00451f60
push str.install_end.
mov byte [ebp - 4], 0
call fcn.00443b30
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], vtable.mf_bind_t_2_class_CInstaller__class_CInstaller___void__int__wchar_t_const__.0
mov dword [ebp - 0x24], 0x447ad0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
push eax
call fcn.00451f60
add esp, 0xc
mov byte [ebp - 4], 0
call fcn.0042d280
mov ecx, eax
call fcn.004237b0
test eax, eax
je 0x449939
mov ecx, ebx
call fcn.00447250
test eax, eax
je 0x449939
push str.run_suc
lea ecx, [ebp - 0x14]
call fcn.00408c10
push str.service
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call fcn.00408c10
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x18], esp
mov dword [eax + 0x24], 0
push 0
push 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp + 8]
push eax
call fcn.0041d260
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.00418810
mov edx, dword [ebp + 8]
mov eax, esi
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44991b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449939
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.real_install_end.
call fcn.00443b30
lea esi, [ebx + 0xf4]
mov dword [ebp - 0x1c], vtable._BaseModule::CAutoLocker.0
add esp, 4
mov dword [ebp - 0x18], esi
test esi, esi
je 0x44995f
mov eax, dword [esi]
push esi
call dword [eax]
mov ecx, dword [ebx + 0x68]
mov byte [ebp - 4], 0x11
test ecx, ecx
je 0x449970
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
mov byte [ebp - 4], 0x12
test esi, esi
je 0x44997e
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x44999d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00409360
push 0x80004005
call fcn.00409360
int3