Function at 0x413ccc
Capabilities:
Check if file exists
Delete file
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
push ebx
push esi
mov esi, ecx
mov ebx, 0x443154
push edi
push ebx
lea ecx, [ebp - 0x10]
call fcn.00404729
and word [ebp - 0x268], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x266]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x104
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x60]
push eax
push str.CurName
push str.Software360360se3
push SysReAllocStringLen
mov dword [ebp - 0x60], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00404729
push ebx
lea ecx, [ebp - 0x38]
call fcn.00404729
push ebx
lea ecx, [ebp - 0x24]
call fcn.00404729
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00404729
push ebx
lea ecx, [ebp - 0x40]
call fcn.00404729
push 0x43af64
lea ecx, [ebp - 0x14]
call fcn.00404729
lea eax, [ebp - 0x268]
test eax, eax
je 0x413d84
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x268]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00404d28
mov edi, 0x43e32c
mov eax, edi
test eax, eax
je 0x413da6
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp - 0x14]
call fcn.00404d28
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 4]
add eax, 0x24
push eax
lea eax, [ebp - 8]
push eax
call fcn.00407f31
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040478a
lea ecx, [ebp - 8]
call fcn.00404c0d
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 4]
add eax, 0x28
push eax
lea eax, [ebp - 8]
push eax
call fcn.00407f31
push eax
lea ecx, [ebp - 0x38]
call fcn.0040478a
lea ecx, [ebp - 8]
call fcn.00404c0d
mov eax, dword [esi + 4]
push str.User_PinnedTaskBar
add eax, 0x28
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041a0ea
push eax
lea ecx, [ebp - 0x24]
call fcn.0040478a
lea ecx, [ebp - 8]
call fcn.00404c0d
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
push eax
push dword [eax - 8]
call fcn.00404d28
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 4]
add eax, 0x28
push eax
lea eax, [ebp - 8]
push eax
call fcn.00407f31
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040478a
lea ecx, [ebp - 8]
call fcn.00404c0d
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 4]
add eax, 0x20
push eax
lea eax, [ebp - 8]
push eax
call fcn.00407f31
push eax
lea ecx, [ebp - 0x40]
call fcn.0040478a
lea ecx, [ebp - 8]
call fcn.00404c0d
push 0x4446cc
push ebx
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x413ea3
push 0x4446cc
lea eax, [ebp - 0x10]
push 0x43ab18
push eax
call fcn.00409921
add esp, 0xc
jmp 0x413ebf
mov ebx, 0x43dea0
mov eax, ebx
test eax, eax
je 0x413eb5
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.00404ce9
mov eax, dword [esi + 4]
add eax, 0x1c
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
jl 0x413edc
mov dword [ebp - 0xc], ecx
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x413eef
mov ecx, dword [0x43a50c]
mov dword [ebp - 0xc], ecx
push dword [eax]
lea ecx, [ebp - 0xc]
call fcn.0040b723
lea eax, [ebp - 0xc]
push 0x43af64
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041a0ea
lea eax, [ebp - 0xc]
push 0x43e2e4
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041a0ea
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push eax
push dword [eax - 8]
call fcn.00404d28
mov eax, edi
test eax, eax
je 0x413f2f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.00404d28
push dword [ebp - 0xc]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
test eax, eax
je 0x413f5a
push dword [ebp - 0xc]
call fcn.0042161f
push dword [ebp - 0xc]
call fcn.00421506
pop ecx
pop ecx
and word [ebp - 0x470], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x46e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edi, edi
lea eax, [ebp - 0x470]
push edi
push 0x17
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x413fcd
mov eax, dword [0x43a50c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 4]
push str._s360
push eax
call fcn.00409921
add esp, 0xc
push dword [ebp - 4]
call ebx
test eax, eax
je 0x413fc5
push dword [ebp - 4]
call fcn.0042161f
push dword [ebp - 0xc]
call fcn.00421506
pop ecx
pop ecx
lea ecx, [ebp - 4]
call fcn.00404c0d
cmp dword [ebp + 8], edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
je 0x413fe3
push dword [ebp - 0xc]
call fcn.00421506
pop ecx
jmp 0x413ff5
push dword [ebp - 0x18]
call ebx
test eax, eax
jne 0x413ff5
push dword [ebp - 0x34]
call ebx
test eax, eax
je 0x41400a
push dword [ebp - 0x34]
call edi
push 0
push dword [ebp - 0x18]
push dword [esi + 0x30]
call fcn.0041e092
add esp, 0xc
mov eax, dword [esi + 4]
cmp dword [eax + 4], 9
jge 0x4140c8
lea eax, [ebp - 0xc]
push 0x43af64
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041a0ea
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00404d28
mov ebx, 0x43e2b0
mov eax, ebx
test eax, eax
je 0x41404a
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [ebp - 4]
call fcn.00404d28
lea eax, [ebp - 0xc]
push 0x43e288
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041a0ea
cmp dword [ebp + 8], 0
jne 0x414084
push dword [ebp - 4]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
test eax, eax
jne 0x414084
push dword [ebp - 8]
call ebx
test eax, eax
je 0x4140b8
push dword [ebp - 8]
call edi
mov eax, dword [esi + 4]
push 0x43e26c
add eax, 0x14
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041a0ea
push str._SafeMode
push dword [ebp - 4]
push dword [eax]
call fcn.0041e092
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.00404c0d
lea ecx, [ebp - 8]
call fcn.00404c0d
lea ecx, [ebp - 4]
call fcn.00404c0d
lea eax, [ebp - 0xc]
push 0x43af64
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041a0ea
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
push eax
push dword [eax - 8]
call fcn.00404d28
mov ebx, 0x43e240
mov eax, ebx
test eax, eax
je 0x4140fb
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.00404d28
lea eax, [ebp - 0xc]
push 0x43e218
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041a0ea
cmp dword [ebp + 8], 0
jne 0x41412a
push dword [ebp - 0x28]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414142
push dword [ebp - 0x54]
call edi
push 0x43e210
push dword [ebp - 0x28]
push dword [esi + 0x30]
call fcn.0041e092
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x43e1f8
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0041a0ea
cmp dword [ebp + 8], 0
jne 0x414167
push dword [ebp - 0x4c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414196
mov eax, dword [esi + 4]
push str._seup.exe
add eax, 0x14
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041a0ea
push str._manual
push dword [ebp - 0x4c]
push dword [eax]
call fcn.0041e092
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.00404c0d
lea eax, [ebp - 0xc]
push 0x43e1cc
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041a0ea
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
push eax
push dword [eax - 8]
call fcn.00404d28
mov ebx, 0x43e32c
mov eax, ebx
test eax, eax
je 0x4141c9
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404d28
lea eax, [ebp - 0xc]
push 0x43e1ac
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0041a0ea
cmp dword [ebp + 8], 0
jne 0x414205
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414205
push dword [ebp - 0x50]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414236
push dword [ebp - 0x50]
call edi
mov eax, dword [esi + 4]
push str.UnInst360SE.exe
add eax, 0x14
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041a0ea
push 0
push dword [ebp - 0x1c]
push dword [eax]
call fcn.0041e092
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.00404c0d
cmp dword [esi + 0x44], 0
je 0x4142da
mov eax, dword [esi + 4]
push 0x43e168
add eax, 0x24
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041a0ea
mov eax, dword [esi + 4]
push 0x43af64
add eax, 0x24
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041a0ea
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00404d28
mov eax, ebx
test eax, eax
je 0x414286
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [ebp - 4]
call fcn.00404d28
cmp dword [ebp + 8], 0
jne 0x4142b0
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4142b0
push dword [ebp - 0x2c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4142ca
push dword [ebp - 8]
call edi
push dword [ebp - 0x2c]
call edi
push 0
push dword [ebp - 4]
push dword [esi + 0x30]
call fcn.0041e092
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.00404c0d
lea ecx, [ebp - 8]
call fcn.00404c0d
mov eax, dword [esi + 4]
push 0x43e168
add eax, 0x28
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0041a0ea
mov eax, dword [esi + 4]
push 0x43af64
add eax, 0x28
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041a0ea
push dword [ebp - 0x44]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41431e
push dword [ebp - 0x38]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414338
push dword [ebp - 0x38]
call edi
push dword [ebp - 0x44]
call edi
push 0
push dword [ebp - 0x58]
push dword [esi + 0x30]
call fcn.0041e092
add esp, 0xc
mov eax, dword [esi + 4]
cmp dword [eax + 4], 9
jl 0x4143e6
mov eax, dword [esi + 0x20]
push str.4.0.0.4
push eax
call fcn.00421396
pop ecx
test eax, eax
pop ecx
jge 0x4143d0
mov eax, dword [esi + 4]
push str.User_PinnedTaskBar360
add eax, 0x28
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041a0ea
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414388
push dword [ebp - 0x24]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4143c8
push dword [ebp - 4]
call edi
push dword [ebp - 0x24]
call edi
mov eax, dword [esi + 4]
push str.360se.exe__tp:11__v:0
add eax, 0x14
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041a0ea
push 0
push 0xbb8
push 0
push dword [ebp - 8]
call fcn.00420ed0
add esp, 0x10
push dword [ebp - 4]
call edi
lea ecx, [ebp - 8]
call fcn.00404c0d
lea ecx, [ebp - 4]
call fcn.00404c0d
cmp dword [esi + 0x48], 0
je 0x41447b
mov ecx, esi
call fcn.004147f0
jmp 0x41447b
cmp dword [esi + 0x48], 0
je 0x41447b
add eax, 0x28
push 0x43e168
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041a0ea
mov eax, dword [esi + 4]
push 0x43af64
add eax, 0x28
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041a0ea
lea eax, [ebp - 0x10]
lea ecx, [ebp - 4]
push eax
call fcn.0041a0ab
push ebx
lea ecx, [ebp - 4]
call fcn.0041a0c3
cmp dword [ebp + 8], 0
jne 0x41444c
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41444c
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41446b
push dword [ebp - 8]
call edi
push dword [ebp - 0x3c]
call edi
push 0
push dword [ebp - 4]
push dword [esi + 0x30]
call fcn.0041e092
add esp, 0xc
push dword [ebp - 8]
call edi
lea ecx, [ebp - 4]
call fcn.00404c0d
lea ecx, [ebp - 8]
call fcn.00404c0d
mov eax, dword [esi + 4]
push 0x43af64
add eax, 0x20
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0041a0ea
push 0x4446cc
lea ecx, [ebp - 0x30]
call fcn.0041a0c3
push ebx
lea ecx, [ebp - 0x30]
call fcn.0041a0c3
mov eax, dword [esi + 4]
push 0x43e168
add eax, 0x20
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041a0ea
cmp dword [ebp + 8], 0
jne 0x4144ce
push dword [ebp - 0x30]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4144dd
push dword [ebp - 0x48]
call edi
push dword [ebp - 0x40]
call edi
push dword [ebp - 0x48]
call edi
lea ecx, [ebp - 0x48]
call fcn.00404c0d
lea ecx, [ebp - 0x30]
call fcn.00404c0d
lea ecx, [ebp - 0x58]
call fcn.00404c0d
lea ecx, [ebp - 0x44]
call fcn.00404c0d
lea ecx, [ebp - 0x50]
call fcn.00404c0d
lea ecx, [ebp - 0x1c]
call fcn.00404c0d
lea ecx, [ebp - 0x4c]
call fcn.00404c0d
lea ecx, [ebp - 0x54]
call fcn.00404c0d
lea ecx, [ebp - 0x28]
call fcn.00404c0d
lea ecx, [ebp - 0x34]
call fcn.00404c0d
lea ecx, [ebp - 0x18]
call fcn.00404c0d
lea ecx, [ebp - 0xc]
call fcn.00404c0d
lea ecx, [ebp - 0x14]
call fcn.00404c0d
lea ecx, [ebp - 0x40]
call fcn.00404c0d
lea ecx, [ebp - 0x3c]
call fcn.00404c0d
lea ecx, [ebp - 0x24]
call fcn.00404c0d
lea ecx, [ebp - 0x38]
call fcn.00404c0d
lea ecx, [ebp - 0x2c]
call fcn.00404c0d
lea ecx, [ebp - 0x10]
call fcn.00404c0d
pop edi
pop esi
pop ebx
leave
ret 4