Function at 0x41d5c2
Capabilities:
Check if file exists
Delete file
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa50
push esi
push edi
xor edi, edi
mov esi, ecx
cmp dword [ebp + 8], edi
je 0x41dc9b
mov eax, dword [esi + 0x20]
cmp dword [eax - 0xc], edi
jl 0x41d5f1
mov dword [ebp - 0x38], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41d603
mov ecx, dword [0x43c4ec]
push eax
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x38]
call fcn.004238ba
mov eax, dword [esi + 0x24]
cmp dword [eax - 0xc], edi
jl 0x41d61a
mov dword [ebp - 0x34], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41d62c
mov ecx, dword [0x43c4ec]
push eax
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x34]
call fcn.004238ba
mov edi, str.360
push ebx
lea eax, [ebp - 0x38]
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00418344
push dword [ebp - 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call ebx
lea eax, [ebp - 0x34]
push edi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00418344
push dword [ebp - 0x44]
call ebx
mov eax, dword [0x43c4ec]
and word [ebp - 0x250], 0
mov dword [ebp - 0x30], eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x24e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0
lea eax, [ebp - 0x250]
push 0x17
push eax
push 0
call edi
test eax, eax
je 0x41d6b5
lea eax, [ebp - 0x250]
push 0x43da54
push eax
lea eax, [ebp - 0x30]
push 0x43d538
push eax
call fcn.00409d55
add esp, 0x10
lea eax, [ebp - 0x30]
push str.360
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00418344
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404768
lea ecx, [ebp - 0xc]
call fcn.00404beb
push dword [ebp - 0x1c]
call ebx
push 0
lea eax, [ebp - 0x250]
push 2
push eax
push 0
call edi
test eax, eax
je 0x41d70d
lea eax, [ebp - 0x250]
push 0x43da54
push eax
lea eax, [ebp - 0x30]
push 0x43d538
push eax
call fcn.00409d55
add esp, 0x10
lea eax, [ebp - 0x30]
push str.360
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00418344
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404768
lea ecx, [ebp - 0xc]
call fcn.00404beb
push dword [ebp - 0x1c]
call ebx
mov eax, dword [esi + 0x10]
cmp dword [eax - 0xc], 0
jl 0x41d74d
mov dword [ebp - 0x20], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41d75f
mov ecx, dword [0x43c4ec]
push eax
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
call fcn.004238ba
mov eax, dword [esi + 0x14]
cmp dword [eax - 0xc], 0
jl 0x41d777
mov dword [ebp - 8], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41d789
mov ecx, dword [0x43c4ec]
push eax
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
call fcn.004238ba
cmp dword [esi + 0x14ac], 0
mov ebx, 0x469cdc
mov edi, 0x464340
je 0x41dab3
lea eax, [ebp - 0x20]
push edi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00418344
lea eax, [ebp - 8]
push edi
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00418344
push dword [ebp + 8]
mov ecx, esi
call fcn.0041d475
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d7e3
push dword [ebp - 0x20]
mov dword [ebp + 8], 1
call fcn.00424430
pop ecx
push dword [ebp - 8]
call fcn.00424317
cmp word [0x469cdc], 0
pop ecx
je 0x41d9db
mov eax, dword [0x43c4ec]
push ebx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0x43caa8
push eax
call fcn.00409d55
and word [ebp - 0xa50], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xa4e]
rep stosd dword es:[edi], eax
add esp, 0xc
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultmain
lea eax, [ebp - 0xa50]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [ebp - 0x18]
add esp, 0x10
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
lea eax, [ebp - 0xa50]
push str.title
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edi, 0x464308
lea eax, [ebp - 8]
push edi
push ebx
push 0x43f51c
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418344
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00418344
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00418344
lea ecx, [ebp - 0x2c]
call fcn.00404beb
lea ecx, [ebp - 4]
call fcn.00404beb
push 0
push dword [ebp - 0x14]
push dword [esi + 0x48]
call fcn.00424e03
add esp, 0xc
lea eax, [ebp - 8]
push 0x4642f0
push ebx
push 0x43f51c
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00418344
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418344
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00418344
lea ecx, [ebp - 4]
call fcn.00404beb
lea ecx, [ebp - 0x2c]
call fcn.00404beb
push 0x4642e8
push dword [ebp - 0x28]
push dword [esi + 0x48]
call fcn.00424e03
add esp, 0xc
lea eax, [ebp - 8]
push edi
push ebx
push 0x4642e0
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00418344
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418344
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00418344
lea ecx, [ebp - 4]
call fcn.00404beb
lea ecx, [ebp - 0x2c]
call fcn.00404beb
lea edi, [esi + 0x4c]
push str.UnInst360SE.exe
lea eax, [ebp - 4]
push edi
push eax
call fcn.00418344
mov eax, dword [eax]
push 0
push dword [ebp - 0x24]
push eax
call fcn.00424e03
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.00404beb
lea eax, [ebp - 8]
push 0x4642a4
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00418344
push str._seup.exe
lea eax, [ebp - 4]
push edi
push eax
call fcn.00418344
mov eax, dword [eax]
push str._manual
push dword [ebp - 0x10]
push eax
call fcn.00424e03
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.00404beb
lea ecx, [ebp - 0x10]
call fcn.00404beb
lea ecx, [ebp - 0x24]
call fcn.00404beb
lea ecx, [ebp - 0x28]
call fcn.00404beb
lea ecx, [ebp - 0x14]
call fcn.00404beb
lea ecx, [ebp - 0x18]
call fcn.00404beb
mov edi, 0x464340
jmp 0x41daa3
push 0
push dword [ebp - 0xc]
push dword [esi + 0x48]
call fcn.00424e03
add esp, 0xc
lea eax, [ebp - 8]
push 0x464258
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00418344
push 0x4642e8
push dword [ebp - 0x24]
push dword [esi + 0x48]
call fcn.00424e03
add esp, 0xc
lea eax, [ebp - 8]
push 0x464238
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00418344
lea eax, [esi + 0x4c]
push str.UnInst360SE.exe
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418344
mov eax, dword [eax]
push 0
push dword [ebp - 0x28]
push eax
call fcn.00424e03
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.00404beb
lea eax, [ebp - 8]
push 0x4642a4
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00418344
lea eax, [esi + 0x4c]
push str._seup.exe
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418344
mov eax, dword [eax]
push str._manual
push dword [ebp - 0x14]
push eax
call fcn.00424e03
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.00404beb
lea ecx, [ebp - 0x14]
call fcn.00404beb
lea ecx, [ebp - 0x28]
call fcn.00404beb
lea ecx, [ebp - 0x24]
call fcn.00404beb
lea ecx, [ebp - 0xc]
call fcn.00404beb
lea ecx, [ebp - 0x3c]
call fcn.00404beb
cmp dword [esi + 0x14b4], 0
je 0x41dbaa
lea eax, [esi + 0x20]
push 0x464218
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00418344
lea eax, [esi + 0x20]
push edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00418344
lea eax, [esi + 0x24]
push edi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00418344
cmp dword [ebp + 8], 0
jne 0x41db12
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41db12
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41db92
cmp word [0x469cdc], 0
je 0x41db72
push 0x464308
push ebx
lea eax, [esi + 0x24]
push 0x43f51c
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418344
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00418344
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00418344
lea ecx, [ebp - 0x3c]
call fcn.00404beb
lea ecx, [ebp - 4]
call fcn.00404beb
push 0
push dword [ebp - 0xc]
push dword [esi + 0x48]
call fcn.00424e03
add esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.00404beb
jmp 0x41db82
push 0
push dword [ebp - 0x14]
push dword [esi + 0x48]
call fcn.00424e03
add esp, 0xc
push dword [ebp - 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call ebx
push dword [ebp - 0x10]
call ebx
lea ecx, [ebp - 0x14]
call fcn.00404beb
lea ecx, [ebp - 0x18]
call fcn.00404beb
lea ecx, [ebp - 0x10]
call fcn.00404beb
lea ebx, [esi + 0x28]
push 0x464218
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.00418344
push edi
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.00418344
push dword [ebp - 0x40]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41dbed
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [ebp - 0x48]
push dword [esi + 0x48]
call fcn.00424e03
add esp, 0xc
cmp dword [esi + 4], 9
jge 0x41dc52
cmp dword [esi + 0x14b8], 0
je 0x41dc52
push 0x464218
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00418344
push edi
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00418344
cmp dword [ebp + 8], 0
jne 0x41dc29
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41dc42
push 0
push dword [ebp - 0x10]
push dword [esi + 0x48]
call fcn.00424e03
add esp, 0xc
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
call fcn.00404beb
lea ecx, [ebp - 0xc]
call fcn.00404beb
lea ecx, [ebp - 0x48]
call fcn.00404beb
lea ecx, [ebp - 0x40]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
lea ecx, [ebp - 0x20]
call fcn.00404beb
lea ecx, [ebp - 0x30]
call fcn.00404beb
lea ecx, [ebp - 0x44]
call fcn.00404beb
lea ecx, [ebp - 0x1c]
call fcn.00404beb
lea ecx, [ebp - 0x34]
call fcn.00404beb
lea ecx, [ebp - 0x38]
call fcn.00404beb
pop ebx
pop edi
pop esi
leave
ret 4