Function at 0x453760
Capabilities:
Check if file exists
Get common file path
Get file attributes
Persist via run registry key
Set registry value
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3bc]
sub esp, 0x43c
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x3b8], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x3c4]
mov dword [ebp - 0x68], esi
cmp dword [esi + 0x44], ebx
je 0x453bd1
cmp edi, ebx
je 0x4537a7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4537ac
mov dword [ebp - 0x64], ebx
jmp 0x4537c8
lea esi, [eax + eax]
mov eax, esi
call fcn.00469390
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00405329
mov esi, dword [ebp - 0x68]
mov dword [ebp - 0x64], eax
push 0x207
lea eax, [ebp + 0x1b1]
push ebx
push eax
mov byte [ebp + 0x1b0], bl
call fcn.004670a0
mov edi, 0x103
push edi
lea eax, [ebp + 0xad]
push ebx
push eax
mov byte [ebp + 0xac], bl
call fcn.004670a0
push edi
lea eax, [ebp - 0x57]
push ebx
push eax
mov byte [ebp - 0x58], bl
call fcn.004670a0
add esp, 0x24
lea eax, [ebp - 0x58]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x453bd1
push str.remove360.bat
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push ebx
push 0x80
push 2
push ebx
push 7
push 0xc01200a0
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x5c], eax
cmp eax, 0xffffffff
je 0x453bd1
add esi, 0x48
push esi
push dword [esi + 0xc]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x60], ebx
call fcn.0040b30c
mov eax, dword [ebp - 0x80]
push esi
push dword [esi + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x70], eax
call fcn.0040b30c
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x74]
call fcn.00452f34
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, 0x208
jmp 0x4539a5
push esi
lea eax, [ebp + 0x1b0]
push ebx
push eax
call fcn.004670a0
add esp, 0xc
lea ecx, [ebp - 0x74]
call fcn.0040ad5e
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45390c
test al, 0x10
je 0x45390c
lea ecx, [ebp - 0x74]
call fcn.0040ad5e
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp eax, ebx
je 0x4538e6
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4538ea
xor eax, eax
jmp 0x453904
add eax, eax
mov dword [ebp - 0x78], eax
call fcn.00469390
mov eax, esp
push 3
push dword [ebp - 0x78]
push dword [ebp - 0x6c]
push eax
call fcn.00405329
push eax
push str.rd__s__q___s___r_n
jmp 0x453950
lea ecx, [ebp - 0x74]
call fcn.0040ad5e
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp eax, ebx
je 0x45392c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x453930
xor eax, eax
jmp 0x45394a
add eax, eax
mov dword [ebp - 0x78], eax
call fcn.00469390
mov eax, esp
push 3
push dword [ebp - 0x78]
push dword [ebp - 0x6c]
push eax
call fcn.00405329
push eax
push str.del__q___s___r_n
lea eax, [ebp + 0x1b0]
push esi
push eax
call fcn.0041b810
add esp, 0x10
push ebx
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0x1b0]
push eax
call fcn.00468130
pop ecx
push eax
lea eax, [ebp + 0x1b0]
push eax
push dword [ebp - 0x5c]
call edi
lea ecx, [ebp - 0x74]
call fcn.0040ad8a
mov eax, dword [ebp - 0x68]
add eax, 0x48
push eax
push dword [eax + 0x10]
lea ecx, [ebp - 0x80]
call fcn.0040b30c
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x74]
call fcn.00452f34
test al, al
jne 0x45389c
mov ecx, dword [ebp - 0x68]
add ecx, 0x48
call fcn.0040ab0a
push 0x104
lea eax, [ebp + 0xac]
push ebx
push eax
call fcn.004670a0
push esi
lea eax, [ebp + 0x1b0]
push ebx
push eax
call fcn.004670a0
add esp, 0x18
push str.SoftMgr
push dword [ebp - 0x64]
lea eax, [ebp + 0xac]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp + 0xac]
push eax
push str.rd__s__q___s___r_n
lea eax, [ebp + 0x1b0]
push esi
push eax
call fcn.0041b810
add esp, 0x10
push ebx
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0x1b0]
push eax
call fcn.00468130
pop ecx
push eax
lea eax, [ebp + 0x1b0]
push eax
push dword [ebp - 0x5c]
call edi
push 0x104
lea eax, [ebp + 0xac]
push ebx
push eax
call fcn.004670a0
push esi
lea eax, [ebp + 0x1b0]
push ebx
push eax
call fcn.004670a0
add esp, 0x18
push str.leakrepair.dat
push dword [ebp - 0x64]
lea eax, [ebp + 0xac]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp + 0xac]
push eax
push str.del__q___s___r_n
lea eax, [ebp + 0x1b0]
push esi
push eax
call fcn.0041b810
add esp, 0x10
push ebx
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0x1b0]
push eax
call fcn.00468130
pop ecx
push eax
lea eax, [ebp + 0x1b0]
push eax
push dword [ebp - 0x5c]
call edi
push 0x104
lea eax, [ebp + 0xac]
push ebx
push eax
call fcn.004670a0
push esi
lea eax, [ebp + 0x1b0]
push ebx
push eax
call fcn.004670a0
add esp, 0x18
push str.uninst.exe
push dword [ebp - 0x64]
lea eax, [ebp + 0xac]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp + 0xac]
push eax
push str.del__q___s___r_n
lea eax, [ebp + 0x1b0]
push esi
push eax
call fcn.0041b810
add esp, 0x10
push ebx
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0x1b0]
push eax
call fcn.00468130
pop ecx
push eax
lea eax, [ebp + 0x1b0]
push eax
push dword [ebp - 0x5c]
call edi
push esi
lea eax, [ebp + 0x1b0]
push ebx
push eax
call fcn.004670a0
push dword [ebp - 0x64]
lea eax, [ebp + 0x1b0]
push str.rd__q___s___r_n
push esi
push eax
call fcn.0041b810
add esp, 0x1c
push ebx
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0x1b0]
push eax
call fcn.00468130
pop ecx
push eax
lea eax, [ebp + 0x1b0]
push eax
push dword [ebp - 0x5c]
call edi
push esi
lea eax, [ebp + 0x1b0]
push ebx
push eax
call fcn.004670a0
lea eax, [ebp - 0x58]
push eax
push str.del__q___s___r_n
lea eax, [ebp + 0x1b0]
push esi
push eax
call fcn.0041b810
add esp, 0x1c
push ebx
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0x1b0]
push eax
call fcn.00468130
pop ecx
push eax
lea eax, [ebp + 0x1b0]
push eax
push dword [ebp - 0x5c]
call edi
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x68]
mov dword [eax + 0x44], ebx
lea eax, [ebp - 0x58]
push eax
call fcn.00468130
pop ecx
push eax
lea eax, [ebp - 0x58]
push eax
push 1
push str.360safeuninst
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3b8]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x3bc
leave
ret 4