Function at 0x41cb1f
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x660
push ebx
push esi
xor esi, esi
mov ebx, ecx
cmp dword [ebp + 8], esi
je 0x41d093
mov eax, dword [ebx + 0x20]
cmp dword [eax - 0xc], esi
jl 0x41cb4e
mov dword [ebp - 0x20], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41cb60
mov ecx, dword [0x4384ec]
push eax
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
call fcn.0041fcde
mov eax, dword [ebx + 0x24]
cmp dword [eax - 0xc], esi
jl 0x41cb77
mov dword [ebp - 0x24], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41cb89
mov ecx, dword [0x4384ec]
push eax
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x24]
call fcn.0041fcde
mov esi, str.360
push edi
lea eax, [ebp - 0x20]
push esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004178e4
push dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call edi
lea eax, [ebp - 0x24]
push esi
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004178e4
push dword [ebp - 0x38]
call edi
mov eax, dword [0x4384ec]
and word [ebp - 0x250], 0
mov dword [ebp - 0x1c], 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 0x41cc12
lea eax, [ebp - 0x250]
push 0x43dd5c
push eax
lea eax, [ebp - 0x1c]
push 0x439530
push eax
call fcn.004099a4
add esp, 0x10
lea eax, [ebp - 0x1c]
push esi
push eax
lea eax, [ebp - 8]
push eax
call fcn.004178e4
push eax
lea ecx, [ebp - 0x14]
call fcn.0040476f
lea ecx, [ebp - 8]
call fcn.00404bf2
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [ebp - 0x250]
push 2
push eax
push 0
call edi
test eax, eax
je 0x41cc6a
lea eax, [ebp - 0x250]
push 0x43dd5c
push eax
lea eax, [ebp - 0x1c]
push 0x439530
push eax
call fcn.004099a4
add esp, 0x10
lea eax, [ebp - 0x1c]
push esi
push eax
lea eax, [ebp - 8]
push eax
call fcn.004178e4
push eax
lea ecx, [ebp - 0x14]
call fcn.0040476f
lea ecx, [ebp - 8]
call fcn.00404bf2
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebx + 0x10]
cmp dword [eax - 0xc], 0
jl 0x41ccaa
mov dword [ebp - 0x18], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41ccbc
mov ecx, dword [0x4384ec]
push eax
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x18]
call fcn.0041fcde
mov eax, dword [ebx + 0x14]
cmp dword [eax - 0xc], 0
jl 0x41ccd4
mov dword [ebp - 0x10], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41cce6
mov ecx, dword [0x4384ec]
push eax
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x10]
call fcn.0041fcde
cmp dword [ebx + 0x14a4], 0
mov esi, 0x43dd40
je 0x41cf0e
lea eax, [ebp - 0x18]
push esi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004178e4
lea eax, [ebp - 0x10]
push esi
push eax
lea eax, [ebp - 8]
push eax
call fcn.004178e4
and word [ebp - 0x458], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x456]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edi, edi
lea eax, [ebp - 0x458]
push edi
push 0x17
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov word [ebp - 0x660], di
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x65e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
lea eax, [ebp - 0x660]
push 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [0x4384ec]
mov edi, str._s360
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.004099a4
mov eax, dword [0x4384ec]
add esp, 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 4]
push 0x43dd0c
push eax
call fcn.004099a4
mov eax, dword [0x4384ec]
add esp, 0xc
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.004099a4
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [ebp - 0xc]
call edi
test eax, eax
je 0x41cde7
push dword [ebp - 0xc]
mov dword [ebp + 8], 1
call fcn.0042081e
pop ecx
push dword [ebp - 4]
call edi
test eax, eax
je 0x41ce00
push dword [ebp - 4]
mov dword [ebp + 8], 1
call fcn.0042081e
pop ecx
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x41ce19
push dword [ebp - 0x18]
mov dword [ebp + 8], 1
call fcn.0042081e
pop ecx
push dword [ebp - 0x10]
call fcn.00420705
push 0
push dword [ebp - 8]
push dword [ebx + 0x44]
call fcn.004211f1
add esp, 0x10
lea eax, [ebp - 0x10]
push 0x43dcec
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004178e4
lea edi, [ebx + 0x48]
push str.UnInst360SE.exe
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.004178e4
mov eax, dword [eax]
push 0
push dword [ebp - 0x40]
push eax
call fcn.004211f1
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00404bf2
lea eax, [ebp - 0x10]
push 0x43dca0
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004178e4
push 0x43dc98
push dword [ebp - 0x30]
push dword [ebx + 0x44]
call fcn.004211f1
add esp, 0xc
lea eax, [ebp - 0x10]
push 0x43dc80
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004178e4
push str._seup.exe
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.004178e4
mov eax, dword [eax]
push str._manual
push dword [ebp - 0x3c]
push eax
call fcn.004211f1
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00404bf2
lea ecx, [ebp - 0x3c]
call fcn.00404bf2
lea ecx, [ebp - 0x30]
call fcn.00404bf2
lea ecx, [ebp - 0x40]
call fcn.00404bf2
lea ecx, [ebp - 0x44]
call fcn.00404bf2
lea ecx, [ebp - 4]
call fcn.00404bf2
lea ecx, [ebp - 0xc]
call fcn.00404bf2
lea ecx, [ebp - 8]
call fcn.00404bf2
lea ecx, [ebp - 0x48]
call fcn.00404bf2
cmp dword [ebx + 0x14ac], 0
mov edi, 0x43dc3c
je 0x41cfa4
lea eax, [ebx + 0x20]
push edi
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004178e4
lea eax, [ebx + 0x20]
push esi
push eax
lea eax, [ebp - 4]
push eax
call fcn.004178e4
lea eax, [ebx + 0x24]
push esi
push eax
lea eax, [ebp - 8]
push eax
call fcn.004178e4
cmp dword [ebp + 8], 0
jne 0x41cf6a
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41cf6a
push dword [ebp - 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41cf8c
push 0
push dword [ebp - 8]
push dword [ebx + 0x44]
call fcn.004211f1
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 8]
call fcn.00404bf2
lea ecx, [ebp - 4]
call fcn.00404bf2
lea ecx, [ebp - 0xc]
call fcn.00404bf2
lea eax, [ebx + 0x28]
push edi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004178e4
lea eax, [ebx + 0x28]
push esi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004178e4
push dword [ebp - 0x2c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41cfe6
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [ebp - 0x34]
push dword [ebx + 0x44]
call fcn.004211f1
add esp, 0xc
cmp dword [ebx + 4], 9
jge 0x41d04a
cmp dword [ebx + 0x14b0], 0
je 0x41d04a
push edi
lea edi, [ebx + 0x28]
lea eax, [ebp - 8]
push edi
push eax
call fcn.004178e4
push esi
lea eax, [ebp - 4]
push edi
push eax
call fcn.004178e4
cmp dword [ebp + 8], 0
jne 0x41d021
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d03a
push 0
push dword [ebp - 4]
push dword [ebx + 0x44]
call fcn.004211f1
add esp, 0xc
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 4]
call fcn.00404bf2
lea ecx, [ebp - 8]
call fcn.00404bf2
lea ecx, [ebp - 0x34]
call fcn.00404bf2
lea ecx, [ebp - 0x2c]
call fcn.00404bf2
lea ecx, [ebp - 0x10]
call fcn.00404bf2
lea ecx, [ebp - 0x18]
call fcn.00404bf2
lea ecx, [ebp - 0x1c]
call fcn.00404bf2
lea ecx, [ebp - 0x38]
call fcn.00404bf2
lea ecx, [ebp - 0x14]
call fcn.00404bf2
lea ecx, [ebp - 0x24]
call fcn.00404bf2
lea ecx, [ebp - 0x20]
call fcn.00404bf2
pop edi
pop esi
pop ebx
leave
ret 4