Function at 0x404af0
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x45d700
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x476110]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], esi
mov edx, dword [0x46b884]
mov eax, dword [str.SOFTWARE_]
mov edi, ecx
mov ecx, dword [0x46b880]
push 0x1f6
mov dword [ebp + 8], edx
mov dword [ebp], eax
mov eax, dword [0x46b888]
mov dword [ebp + 4], ecx
mov ecx, dword [0x46b88c]
lea edx, [ebp + 0x14]
push esi
push edx
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x14], esi
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
call fcn.0044a2c0
lea eax, [ebp]
add esp, 0xc
add eax, 0xfffffffe
lea ecx, [ecx]
mov cx, word [eax + 2]
add eax, 2
cmp cx, si
jne 0x404b80
mov ecx, dword [str.xfplay]
mov edx, dword [0x46b768]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [eax], ecx
mov ecx, dword [0x46b76c]
mov dword [eax + 4], edx
mov dx, word [0x46b770]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
je 0x404bdf
push 0x4714c4
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 0x46b890
call fcn.0044819b
cmp dword [edi + 0x438], 8
mov ecx, dword [edi + 0x434]
jb 0x404bf6
mov eax, dword [edi + 0x424]
jmp 0x404bfc
lea eax, [edi + 0x424]
mov edx, dword [ebp - 0x14]
add ecx, ecx
push ecx
push eax
push 1
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.path
push edx
call esi
mov eax, dword [ebp - 0x14]
push 0xa
push str.8.9.8
push 1
push 0
push str.version
push eax
call esi
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x105
lea edx, [ebp]
push 0
push edx
call fcn.0044a2c0
push str.xfplay
lea eax, [ebp]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
je 0x404c91
push 0x4714c4
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x46b890
call fcn.0044819b
mov eax, 0x404c89
ret
push 0x105
lea ecx, [ebp]
push 0
push ecx
call fcn.0044a2c0
mov ebx, 8
add esp, 0xc
cmp dword [edi + 0x438], ebx
jb 0x404cb9
mov eax, dword [edi + 0x424]
jmp 0x404cbf
lea eax, [edi + 0x424]
push eax
lea edx, [ebp]
push str._sSaveMoneyAssist.exe
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp]
add esp, 0xc
lea edx, [eax + 2]
jmp 0x404ce0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404ce0
sub eax, edx
mov edx, dword [ebp - 0x14]
sar eax, 1
add eax, eax
push eax
lea ecx, [ebp]
push ecx
push 1
push 0
push str.DisplayIcon
push edx
call esi
mov eax, dword [ebp - 0x14]
push 0xc
push str.xfplay
push 1
push 0
push str.DisplayName
push eax
call esi
mov ecx, dword [ebp - 0x14]
push 0xa
push str.8.9.8
push 1
push 0
push str.DisplayVersion
push ecx
call esi
mov edx, dword [ebp - 0x14]
push 0xc
push str.xfplay
push 1
push 0
push str.Publisher
push edx
call esi
push 0x105
lea eax, [ebp]
push 0
push eax
call fcn.0044a2c0
add esp, 0xc
cmp dword [edi + 0x438], ebx
jb 0x404d6a
mov edi, dword [edi + 0x424]
jmp 0x404d70
add edi, 0x424
push str.UnInstall.exe
push edi
lea ecx, [ebp]
push str._s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp]
add esp, 0x10
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404d90
mov ecx, dword [ebp - 0x14]
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [ebp]
push eax
push 1
push 0
push str.UninstallString
push ecx
call esi
mov edx, dword [ebp - 0x14]
push 0x28
push str.http:__www.xfplay.tv
push 1
push 0
push str.URLInfoAbout
push edx
call esi
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.004468a0
add ebp, 0x210
mov esp, ebp
pop ebp
ret