Function at 0x413d33
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, 0x444224
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 - 0x28]
call fcn.00404729
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00404729
push ebx
lea ecx, [ebp - 0x40]
call fcn.00404729
push 0x43bf8c
lea ecx, [ebp - 0x14]
call fcn.00404729
lea eax, [ebp - 0x268]
test eax, eax
je 0x413deb
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, str..lnk
mov eax, edi
test eax, eax
je 0x413e0d
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.0041a23b
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.0041a23b
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.0041a27c
push eax
lea ecx, [ebp - 0x28]
call fcn.0040478a
lea ecx, [ebp - 8]
call fcn.00404c0d
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
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.0041a23b
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.0041a23b
push eax
lea ecx, [ebp - 0x40]
call fcn.0040478a
lea ecx, [ebp - 8]
call fcn.00404c0d
push 0x44579c
push ebx
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x413f0a
push 0x44579c
lea eax, [ebp - 0x10]
push 0x43bb18
push eax
call fcn.00409818
add esp, 0xc
jmp 0x413f26
mov ebx, 0x43ef64
mov eax, ebx
test eax, eax
je 0x413f1c
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 0x413f43
mov dword [ebp - 0xc], ecx
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x413f56
mov ecx, dword [0x43b50c]
mov dword [ebp - 0xc], ecx
push dword [eax]
lea ecx, [ebp - 0xc]
call fcn.0040b61a
lea eax, [ebp - 0xc]
push 0x43bf8c
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041a27c
lea eax, [ebp - 0xc]
push 0x43f3ac
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041a27c
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
push eax
push dword [eax - 8]
call fcn.00404d28
mov eax, edi
test eax, eax
je 0x413f96
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404d28
push dword [ebp - 0xc]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
test eax, eax
je 0x413fc1
push dword [ebp - 0xc]
call fcn.00421803
push dword [ebp - 0xc]
call fcn.004216ea
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 0x414034
mov eax, dword [0x43b50c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 4]
push str._s360
push eax
call fcn.00409818
add esp, 0xc
push dword [ebp - 4]
call ebx
test eax, eax
je 0x41402c
push dword [ebp - 4]
call fcn.00421803
push dword [ebp - 0xc]
call fcn.004216ea
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 0x41404a
push dword [ebp - 0xc]
call fcn.004216ea
pop ecx
jmp 0x41405c
push dword [ebp - 0x1c]
call ebx
test eax, eax
jne 0x41405c
push dword [ebp - 0x34]
call ebx
test eax, eax
je 0x414071
push dword [ebp - 0x34]
call edi
push 0
push dword [ebp - 0x1c]
push dword [esi + 0x34]
call fcn.0041e276
add esp, 0xc
mov eax, dword [esi + 4]
cmp dword [eax + 4], 9
jge 0x41412f
lea eax, [ebp - 0xc]
push 0x43bf8c
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041a27c
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00404d28
mov ebx, 0x43f378
mov eax, ebx
test eax, eax
je 0x4140b1
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 str.360
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041a27c
cmp dword [ebp + 8], 0
jne 0x4140eb
push dword [ebp - 4]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
test eax, eax
jne 0x4140eb
push dword [ebp - 8]
call ebx
test eax, eax
je 0x41411f
push dword [ebp - 8]
call edi
mov eax, dword [esi + 4]
push 0x43f334
add eax, 0x14
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041a27c
push str._SafeMode
push dword [ebp - 4]
push dword [eax]
call fcn.0041e276
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00404c0d
lea ecx, [ebp - 8]
call fcn.00404c0d
lea ecx, [ebp - 4]
call fcn.00404c0d
lea eax, [ebp - 0xc]
push 0x43bf8c
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0041a27c
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
push eax
push dword [eax - 8]
call fcn.00404d28
mov ebx, 0x43f308
mov eax, ebx
test eax, eax
je 0x414162
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [ebp - 0x24]
call fcn.00404d28
lea eax, [ebp - 0xc]
push 0x43f2e0
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041a27c
cmp dword [ebp + 8], 0
jne 0x414191
push dword [ebp - 0x24]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4141a9
push dword [ebp - 0x54]
call edi
push 0x43f2d8
push dword [ebp - 0x24]
push dword [esi + 0x34]
call fcn.0041e276
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x43f2c0
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0041a27c
cmp dword [ebp + 8], 0
jne 0x4141ce
push dword [ebp - 0x4c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4141fd
mov eax, dword [esi + 4]
push str._seup.exe
add eax, 0x14
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041a27c
push str._manual
push dword [ebp - 0x4c]
push dword [eax]
call fcn.0041e276
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00404c0d
lea eax, [ebp - 0xc]
push 0x43f294
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041a27c
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push eax
push dword [eax - 8]
call fcn.00404d28
mov ebx, str..lnk
mov eax, ebx
test eax, eax
je 0x414230
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [ebp - 0x20]
call fcn.00404d28
lea eax, [ebp - 0xc]
push 0x43f274
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0041a27c
cmp dword [ebp + 8], 0
jne 0x41426c
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41426c
push dword [ebp - 0x50]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41429d
push dword [ebp - 0x50]
call edi
mov eax, dword [esi + 4]
push str.UnInst360SE.exe
add eax, 0x14
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041a27c
push 0
push dword [ebp - 0x20]
push dword [eax]
call fcn.0041e276
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00404c0d
cmp dword [esi + 0x48], 0
je 0x414341
mov eax, dword [esi + 4]
push 0x43f230
add eax, 0x24
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041a27c
mov eax, dword [esi + 4]
push 0x43bf8c
add eax, 0x24
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041a27c
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 0x4142ed
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 0x414317
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414317
push dword [ebp - 0x2c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414331
push dword [ebp - 8]
call edi
push dword [ebp - 0x2c]
call edi
push 0
push dword [ebp - 4]
push dword [esi + 0x34]
call fcn.0041e276
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.00404c0d
lea ecx, [ebp - 8]
call fcn.00404c0d
mov eax, dword [esi + 4]
push 0x43f230
add eax, 0x28
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0041a27c
mov eax, dword [esi + 4]
push 0x43bf8c
add eax, 0x28
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041a27c
push dword [ebp - 0x44]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414385
push dword [ebp - 0x38]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41439f
push dword [ebp - 0x38]
call edi
push dword [ebp - 0x44]
call edi
push 0
push dword [ebp - 0x58]
push dword [esi + 0x34]
call fcn.0041e276
add esp, 0xc
mov eax, dword [esi + 4]
cmp dword [eax + 4], 9
jl 0x414468
mov eax, dword [esi + 0x20]
push str.4.0.0.4
push eax
call fcn.0042157a
pop ecx
test eax, eax
pop ecx
jge 0x414452
mov eax, dword [esi + 4]
push str.User_PinnedTaskBar360
add eax, 0x28
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041a27c
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4143f3
push dword [ebp - 0x28]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41444a
push dword [ebp - 4]
call edi
push dword [ebp - 0x28]
call edi
mov eax, dword [esi + 4]
push 0x43f1a8
add eax, 0x14
push eax
lea eax, [ebp - 0x18]
push 0x43f1a4
push eax
call fcn.0041a2c8
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041a27c
lea ecx, [ebp - 0x18]
call fcn.00404c0d
push 0
push 0xbb8
push 0
push dword [ebp - 8]
call fcn.004210b4
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 + 0x4c], 0
je 0x4144fd
mov ecx, esi
call fcn.00414872
jmp 0x4144fd
cmp dword [esi + 0x4c], 0
je 0x4144fd
add eax, 0x28
push 0x43f230
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041a27c
mov eax, dword [esi + 4]
push 0x43bf8c
add eax, 0x28
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041a27c
lea eax, [ebp - 0x10]
lea ecx, [ebp - 4]
push eax
call fcn.0041a1c7
push ebx
lea ecx, [ebp - 4]
call fcn.0041a1df
cmp dword [ebp + 8], 0
jne 0x4144ce
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4144ce
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4144ed
push dword [ebp - 8]
call edi
push dword [ebp - 0x3c]
call edi
push 0
push dword [ebp - 4]
push dword [esi + 0x34]
call fcn.0041e276
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 0x43bf8c
add eax, 0x20
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0041a27c
push 0x44579c
lea ecx, [ebp - 0x30]
call fcn.0041a1df
push ebx
lea ecx, [ebp - 0x30]
call fcn.0041a1df
mov eax, dword [esi + 4]
push 0x43f230
add eax, 0x20
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041a27c
cmp dword [ebp + 8], 0
jne 0x414550
push dword [ebp - 0x30]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41455f
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 - 0x20]
call fcn.00404c0d
lea ecx, [ebp - 0x4c]
call fcn.00404c0d
lea ecx, [ebp - 0x54]
call fcn.00404c0d
lea ecx, [ebp - 0x24]
call fcn.00404c0d
lea ecx, [ebp - 0x34]
call fcn.00404c0d
lea ecx, [ebp - 0x1c]
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 - 0x28]
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