Function at 0x478cc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566f1b
mov eax, dword fs:[0]
push eax
mov eax, 0x19e8
call fcn.004a9970
mov eax, dword [0x5c9c4c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x19e8], ecx
push 0x58a548
call fcn.00472a20
add esp, 4
call fcn.0046e940
mov ecx, eax
call fcn.0046eaf0
mov edi, eax
push edi
mov ecx, dword [edi]
call dword [ecx + 0x18]
mov esi, eax
lea eax, [ebp - 0x9e0]
push 0x800
push 0
push eax
mov dword [ebp - 0x19e4], esi
call fcn.00506bc0
mov ecx, dword [edi]
lea eax, [ebp - 0x9e0]
add esp, 0xc
push 0x400
push eax
push edi
call dword [ecx + 0x1c]
cmp word [ebp - 0x9e0], 0
jne 0x478d59
xor eax, eax
jmp 0x478ff7
push 0x800
lea eax, [ebp - 0x19e0]
push 0
push eax
call fcn.00506bc0
mov eax, dword [edi]
lea ecx, [ebp - 0x19e0]
add esp, 0xc
push 0x400
push ecx
push edi
call dword [eax + 0x20]
mov ecx, dword [ebp - 0x19e8]
mov ecx, dword [ecx + 4]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 1
lea eax, [ebp - 0x19e0]
push eax
lea eax, [ebp - 0x9e0]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
push 0xe
sbb eax, eax
inc eax
mov dword [ebp - 0x19f4], eax
lea eax, [ebp - 0x38]
push eax
call fcn.004383e0
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x19e8]
cmp dword [ecx + 0x14], 8
mov edx, dword [eax + 4]
mov eax, dword [edx - 0xc]
jb 0x478dd7
mov ecx, dword [ecx]
add eax, eax
push eax
push edx
push 1
lea eax, [ebp - 0x19e0]
push eax
push ecx
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 0x38]
call fcn.00410990
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.0040cd20
mov ecx, eax
test ecx, ecx
je 0x479012
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x19ec], eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
lea eax, [ebp - 0x19ec]
mov dword [ebp - 4], 0
push 0x57cf0c
push eax
call fcn.0040b090
mov esi, dword [ebp - 0x19ec]
add esp, 0x20
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.InstallDate
lea eax, [ebp - 0x9e0]
push eax
push dword [ebp - 0x19e4]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.0046e930
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
jne 0x478eb4
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.FirstInstallDate
lea eax, [ebp - 0x9e0]
push eax
push dword [ebp - 0x19e4]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x190
lea eax, [ebp - 0x1e0]
push 0
push eax
call fcn.00506bc0
mov eax, dword [edi]
lea ecx, [ebp - 0x1e0]
add esp, 0xc
push 0xc8
push ecx
push edi
call dword [eax + 0x14]
push 0x800
lea eax, [ebp - 0x11e0]
push 0
push eax
call fcn.00506bc0
add esp, 0xc
lea eax, [ebp - 0x1e0]
push eax
mov eax, dword [ebp - 0x19e8]
push dword [eax + 4]
lea eax, [ebp - 0x11e0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x11e0]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x478f20
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x11e0]
push eax
push 1
push 0
lea eax, [ebp - 0x9e0]
push eax
push dword [ebp - 0x19e4]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea edi, [ebp - 0x11e0]
lea ecx, [edi + 2]
nop word [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x478f60
lea eax, [ebp - 0x50]
sub edi, ecx
push 0xe
push eax
sar edi, 1
call fcn.004383e0
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x478f85
mov eax, dword [eax]
lea ecx, [edi + edi]
mov edi, dword [ebp - 0x19e4]
push ecx
lea ecx, [ebp - 0x11e0]
push ecx
push 1
push 0
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 0x50]
call fcn.00410990
push 4
lea eax, [ebp - 0x19f0]
mov dword [ebp - 0x19f0], 1
push eax
push 4
push str.ReadyFor360START
lea eax, [ebp - 0x9e0]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x478ff1
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x19f4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a9518
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040ad60
int3