Function at 0x4377a0
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 - 0x3ac]
sub esp, 0x42c
mov eax, dword [0x486d80]
xor eax, ebp
mov dword [ebp + 0x3a8], eax
push ebx
push esi
mov esi, dword [ebp + 0x3b4]
push edi
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x74], ebx
cmp dword [ebx + 0x44], edi
je 0x437d0c
cmp esi, edi
jne 0x4377dd
mov dword [ebp - 0x6c], edi
jmp 0x43780c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4377f1
mov dword [ebp - 0x6c], edi
jmp 0x43780c
lea edi, [eax + eax]
mov eax, edi
call fcn.00451640
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.004116c0
mov dword [ebp - 0x6c], eax
xor edi, edi
push 0x207
lea eax, [ebp + 0x1a1]
push edi
push eax
mov byte [ebp + 0x1a0], 0
call fcn.0044efc0
push 0x103
lea ecx, [ebp + 0x9d]
push edi
push ecx
mov byte [ebp + 0x9c], 0
call fcn.0044efc0
push 0x103
lea edx, [ebp - 0x67]
push edi
push edx
mov byte [ebp - 0x68], 0
call fcn.0044efc0
add esp, 0x24
lea eax, [ebp - 0x68]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x437d0c
push str.remove360.bat
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push edi
push 0x80
push 2
push edi
push 7
push 0xc01200a0
lea edx, [ebp - 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x80], eax
cmp eax, 0xffffffff
je 0x437d0c
mov esi, dword [ebx + 0x54]
add ebx, 0x48
mov dword [ebp - 0x70], edi
cmp esi, dword [ebx + 0x10]
jbe 0x4378b3
call fcn.0044f5fa
mov ebx, dword [ebx]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], esi
mov esi, dword [ebp - 0x74]
mov edi, dword [esi + 0x58]
add esi, 0x48
cmp dword [esi + 0xc], edi
jbe 0x4378ce
call fcn.0044f5fa
mov eax, dword [esi]
test ebx, ebx
je 0x4378d8
cmp ebx, eax
je 0x4378dd
call fcn.0044f5fa
cmp dword [ebp - 0x78], edi
jae 0x437a62
push 0x208
lea eax, [ebp + 0x1a0]
push 0
push eax
call fcn.0044efc0
add esp, 0xc
test ebx, ebx
jne 0x437955
call fcn.0044f5fa
xor eax, eax
mov esi, dword [ebp - 0x78]
cmp esi, dword [eax + 0x10]
jb 0x437914
call fcn.0044f5fa
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4379ae
test al, 0x10
je 0x4379ae
lea ecx, [ebp - 0x7c]
call fcn.00436b60
mov edi, dword [eax]
test edi, edi
jne 0x437959
xor eax, eax
push eax
push str.rd__s__q___s___r_n
push 0x208
lea ecx, [ebp + 0x1a0]
push ecx
jmp 0x437a0f
mov eax, dword [ebx]
jmp 0x437907
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x437981
xor eax, eax
push eax
push str.rd__s__q___s___r_n
push 0x208
lea ecx, [ebp + 0x1a0]
push ecx
jmp 0x437a0f
lea esi, [eax + eax]
mov eax, esi
call fcn.00451640
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004116c0
mov esi, dword [ebp - 0x78]
push eax
push str.rd__s__q___s___r_n
push 0x208
lea ecx, [ebp + 0x1a0]
push ecx
jmp 0x437a0f
test ebx, ebx
jne 0x4379cd
call fcn.0044f5fa
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4379c3
call fcn.0044f5fa
mov edi, dword [esi]
test edi, edi
jne 0x4379d1
xor eax, eax
jmp 0x4379fd
mov eax, dword [ebx]
jmp 0x4379b9
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4379e4
xor eax, eax
jmp 0x4379fd
lea esi, [eax + eax]
mov eax, esi
call fcn.00451640
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004116c0
mov esi, dword [ebp - 0x78]
push eax
push str.del__q___s___r_n
push 0x208
lea edx, [ebp + 0x1a0]
push edx
call fcn.00436890
lea eax, [ebp + 0x1a0]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437a20
push 0
sub eax, edx
lea ecx, [ebp - 0x70]
push ecx
push eax
mov eax, dword [ebp - 0x80]
lea edx, [ebp + 0x1a0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test ebx, ebx
jne 0x437a5e
call fcn.0044f5fa
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x437a56
call fcn.0044f5fa
add esi, 4
jmp 0x4378b8
mov eax, dword [ebx]
jmp 0x437a4c
mov ebx, dword [esi + 0x10]
cmp dword [esi + 0xc], ebx
jbe 0x437a6f
call fcn.0044f5fa
mov eax, dword [ebp - 0x74]
mov edi, dword [esi]
mov esi, dword [esi + 0xc]
add eax, 0x48
cmp esi, dword [eax + 0x10]
jbe 0x437a84
call fcn.0044f5fa
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + 0x48]
push ebx
push edi
add ecx, 0x48
push esi
push eax
lea edx, [ebp - 0x7c]
push edx
call fcn.00437600
push 0x104
lea eax, [ebp + 0x9c]
push 0
push eax
call fcn.0044efc0
push 0x208
lea ecx, [ebp + 0x1a0]
push 0
push ecx
call fcn.0044efc0
mov edx, dword [ebp - 0x6c]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineA]
add esp, 0x18
push str.SoftMgr
push edx
lea eax, [ebp + 0x9c]
push eax
call esi
lea ecx, [ebp + 0x9c]
push ecx
push str.rd__s__q___s___r_n
lea edx, [ebp + 0x1a0]
push 0x208
push edx
call fcn.00436890
lea eax, [ebp + 0x1a0]
add esp, 0x10
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x437b04
mov edi, dword [ebp - 0x80]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
sub eax, ecx
lea ecx, [ebp - 0x70]
push ecx
push eax
lea edx, [ebp + 0x1a0]
push edx
push edi
call ebx
push 0x104
lea eax, [ebp + 0x9c]
push 0
push eax
call fcn.0044efc0
push 0x208
lea ecx, [ebp + 0x1a0]
push 0
push ecx
call fcn.0044efc0
mov edx, dword [ebp - 0x6c]
add esp, 0x18
push str.leakrepair.dat
push edx
lea eax, [ebp + 0x9c]
push eax
call esi
lea ecx, [ebp + 0x9c]
push ecx
push str.del__q___s___r_n
lea edx, [ebp + 0x1a0]
push 0x208
push edx
call fcn.00436890
lea eax, [ebp + 0x1a0]
add esp, 0x10
lea ecx, [eax + 1]
jmp 0x437b90
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x437b90
push 0
sub eax, ecx
lea ecx, [ebp - 0x70]
push ecx
push eax
lea edx, [ebp + 0x1a0]
push edx
push edi
call ebx
push 0x104
lea eax, [ebp + 0x9c]
push 0
push eax
call fcn.0044efc0
push 0x208
lea ecx, [ebp + 0x1a0]
push 0
push ecx
call fcn.0044efc0
mov edx, dword [ebp - 0x6c]
add esp, 0x18
push str.uninst.exe
push edx
lea eax, [ebp + 0x9c]
push eax
call esi
lea ecx, [ebp + 0x9c]
push ecx
push str.del__q___s___r_n
lea edx, [ebp + 0x1a0]
push 0x208
push edx
call fcn.00436890
lea eax, [ebp + 0x1a0]
add esp, 0x10
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x437c10
push 0
sub eax, ecx
lea ecx, [ebp - 0x70]
push ecx
push eax
lea edx, [ebp + 0x1a0]
push edx
push edi
call ebx
push 0x208
lea eax, [ebp + 0x1a0]
push 0
push eax
call fcn.0044efc0
mov ecx, dword [ebp - 0x6c]
push ecx
push str.rd__q___s___r_n
lea edx, [ebp + 0x1a0]
push 0x208
push edx
call fcn.00436890
lea eax, [ebp + 0x1a0]
add esp, 0x1c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x437c63
push 0
sub eax, ecx
lea ecx, [ebp - 0x70]
push ecx
push eax
lea edx, [ebp + 0x1a0]
push edx
push edi
call ebx
push 0x208
lea eax, [ebp + 0x1a0]
push 0
push eax
call fcn.0044efc0
lea ecx, [ebp - 0x68]
push ecx
push str.del__q___s___r_n
lea edx, [ebp + 0x1a0]
push 0x208
push edx
call fcn.00436890
lea eax, [ebp + 0x1a0]
add esp, 0x1c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x437cb6
push 0
sub eax, ecx
lea ecx, [ebp - 0x70]
push ecx
push eax
lea edx, [ebp + 0x1a0]
push edx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x74]
mov dword [eax + 0x44], 0
lea eax, [ebp - 0x68]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437ce7
sub eax, edx
push eax
lea ecx, [ebp - 0x68]
push ecx
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 + 0x3a8]
xor ecx, ebp
call fcn.0044efac
add ebp, 0x3ac
mov esp, ebp
pop ebp
ret 4