Function at 0x415af0
Capabilities:
Check if file exists
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4fc8c0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
test ebx, ebx
je 0x415d46
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415d46
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x2c]
sub eax, 0x10
call fcn.00408780
add eax, 0x10
mov dword [esp + 0x18], eax
lea edi, [esp + 0x18]
mov dword [esp + 0x30], 0
call fcn.00417740
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + eax]
push ecx
mov edx, ebp
lea ecx, [esp + 0x18]
call fcn.00477c59
lea edx, [esp + 0x3c]
push str.messagecache
push edx
mov byte [esp + 0x3c], 1
call fcn.004384a0
add esp, 0xc
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x38]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.004085e0
lea edx, [esp + 0x1c]
push edx
lea esi, [esp + 0x24]
mov byte [esp + 0x34], 3
call fcn.00477ba8
mov byte [esp + 0x34], 4
mov eax, dword [eax]
push eax
push str._s.zip
lea edi, [esp + 0x44]
call fcn.0041a2e0
mov byte [esp + 0x3c], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415bf3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415c18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x38]
call fcn.0045b967
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 5
mov edx, dword [esp + 0x38]
push ecx
push edx
push ebx
call fcn.0045b83e
add esp, 0xc
test eax, eax
je 0x415cc9
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
push 1
push edx
push str.SOFTWARE360SoftMgrmessagecache
push SysReAllocString
call esi
push 0
call fcn.004cbb5a
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ebx, str._time
call fcn.00404810
mov eax, dword [eax]
add esp, 0xc
push 4
lea edx, [esp + 0x24]
push edx
push 4
push eax
push str.SOFTWARE360SoftMgrmessagecache
push SysReAllocString
call esi
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415cc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x415cd8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415cfd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415d22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415d46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4