Function at 0x41312c
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, 0x434ee4
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 - 0x60]
mov dword [ebp - 0x60], 0x104
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x5c]
push eax
push str.CurName
push str.Software360360se3
push SysReAllocString
mov dword [ebp - 0x5c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push ebx
lea ecx, [ebp - 0x34]
call fcn.00404729
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00404729
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00404729
push ebx
lea ecx, [ebp - 0x44]
call fcn.00404729
push ebx
lea ecx, [ebp - 0x40]
call fcn.00404729
push 0x42ef20
lea ecx, [ebp - 0x14]
call fcn.00404729
lea eax, [ebp - 0x268]
test eax, eax
je 0x4131e4
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 0x413206
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 - 4]
push eax
call fcn.00418d67
push eax
lea ecx, [ebp - 0x34]
call fcn.0040478a
lea ecx, [ebp - 4]
call fcn.00404c0d
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 4]
add eax, 0x28
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418d67
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040478a
lea ecx, [ebp - 4]
call fcn.00404c0d
mov eax, dword [esi + 4]
push str.User_PinnedTaskBar
add eax, 0x28
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418da8
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040478a
lea ecx, [ebp - 4]
call fcn.00404c0d
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
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 - 4]
push eax
call fcn.00418d67
push eax
lea ecx, [ebp - 0x44]
call fcn.0040478a
lea ecx, [ebp - 4]
call fcn.00404c0d
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 4]
add eax, 0x20
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418d67
push eax
lea ecx, [ebp - 0x40]
call fcn.0040478a
lea ecx, [ebp - 4]
call fcn.00404c0d
push 0x43645c
push ebx
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x413303
push 0x43645c
lea eax, [ebp - 0x10]
push 0x42eb18
push eax
call fcn.0040959f
add esp, 0xc
jmp 0x41331f
mov ebx, 0x431b28
mov eax, ebx
test eax, eax
je 0x413315
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 0x41333c
mov dword [ebp - 0xc], ecx
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41334f
mov ecx, dword [0x42e50c]
mov dword [ebp - 0xc], ecx
push dword [eax]
lea ecx, [ebp - 0xc]
call fcn.0040b399
lea eax, [ebp - 0xc]
push 0x42ef20
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00418da8
lea eax, [ebp - 0xc]
push 0x431f6c
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00418da8
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 0x41338f
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 0x4133ba
push dword [ebp - 0xc]
call fcn.0041d21e
push dword [ebp - 0xc]
call fcn.0041d105
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 0x41342d
mov eax, dword [0x42e50c]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 8]
push str._s360
push eax
call fcn.0040959f
add esp, 0xc
push dword [ebp - 8]
call ebx
test eax, eax
je 0x413425
push dword [ebp - 8]
call fcn.0041d21e
push dword [ebp - 0xc]
call fcn.0041d105
pop ecx
pop ecx
lea ecx, [ebp - 8]
call fcn.00404c0d
cmp dword [ebp + 8], edi
je 0x41343d
push dword [ebp - 0xc]
call fcn.0041d105
pop ecx
jmp 0x41344f
push dword [ebp - 0x18]
call ebx
test eax, eax
jne 0x41344f
push dword [ebp - 0x30]
call ebx
test eax, eax
je 0x413467
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push dword [ebp - 0x18]
push dword [esi + 0x18]
call fcn.00419cb4
add esp, 0xc
mov eax, dword [esi + 4]
cmp dword [eax + 4], 9
jge 0x413523
lea eax, [ebp - 0xc]
push 0x42ef20
push eax
lea eax, [ebp - 8]
push eax
call fcn.00418da8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00404d28
mov edi, 0x431f38
mov eax, edi
test eax, eax
je 0x4134a7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp - 8]
call fcn.00404d28
lea eax, [ebp - 0xc]
push str.360
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418da8
cmp dword [ebp + 8], 0
jne 0x4134db
push dword [ebp - 8]
call ebx
test eax, eax
jne 0x4134db
push dword [ebp - 4]
call ebx
test eax, eax
je 0x413513
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 4]
push 0x431ef4
add eax, 0x14
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00418da8
push str._SafeMode
push dword [ebp - 8]
push dword [eax]
call fcn.00419cb4
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.00404c0d
lea ecx, [ebp - 4]
call fcn.00404c0d
lea ecx, [ebp - 8]
call fcn.00404c0d
lea eax, [ebp - 0xc]
push 0x42ef20
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00418da8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
push eax
push dword [eax - 8]
call fcn.00404d28
mov edi, 0x431ec8
mov eax, edi
test eax, eax
je 0x413556
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp - 0x24]
call fcn.00404d28
lea eax, [ebp - 0xc]
push 0x431ea0
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00418da8
cmp dword [ebp + 8], 0
jne 0x413581
push dword [ebp - 0x24]
call ebx
test eax, eax
je 0x41359d
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x431e98
push dword [ebp - 0x24]
push dword [esi + 0x18]
call fcn.00419cb4
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x431e80
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00418da8
cmp dword [ebp + 8], 0
jne 0x4135be
push dword [ebp - 0x4c]
call ebx
test eax, eax
je 0x4135ed
mov eax, dword [esi + 4]
push str._seup.exe
add eax, 0x14
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00418da8
push str._manual
push dword [ebp - 0x4c]
push dword [eax]
call fcn.00419cb4
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.00404c0d
lea eax, [ebp - 0xc]
push 0x431e54
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00418da8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
push eax
push dword [eax - 8]
call fcn.00404d28
mov edi, str..lnk
mov eax, edi
test eax, eax
je 0x413620
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp - 0x28]
call fcn.00404d28
lea eax, [ebp - 0xc]
push 0x431e34
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00418da8
cmp dword [ebp + 8], 0
jne 0x413654
push dword [ebp - 0x28]
call ebx
test eax, eax
jne 0x413654
push dword [ebp - 0x48]
call ebx
test eax, eax
je 0x413689
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 4]
push str.UnInst360SE.exe
add eax, 0x14
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00418da8
push 0
push dword [ebp - 0x28]
push dword [eax]
call fcn.00419cb4
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.00404c0d
cmp dword [esi + 0x2c], 0
mov ebx, 0x431df0
je 0x413736
mov eax, dword [esi + 4]
push ebx
add eax, 0x24
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418da8
mov eax, dword [esi + 4]
push 0x42ef20
add eax, 0x24
push eax
lea eax, [ebp - 8]
push eax
call fcn.00418da8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00404d28
mov eax, edi
test eax, eax
je 0x4136da
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp - 8]
call fcn.00404d28
cmp dword [ebp + 8], 0
jne 0x413704
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x413704
push dword [ebp - 0x34]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413726
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [ebp - 8]
push dword [esi + 0x18]
call fcn.00419cb4
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.00404c0d
lea ecx, [ebp - 4]
call fcn.00404c0d
mov eax, dword [esi + 4]
push ebx
add eax, 0x28
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00418da8
mov eax, dword [esi + 4]
push 0x42ef20
add eax, 0x28
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00418da8
push dword [ebp - 0x3c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x413776
push dword [ebp - 0x2c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413798
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [ebp - 0x54]
push dword [esi + 0x18]
call fcn.00419cb4
add esp, 0xc
mov eax, dword [esi + 4]
cmp dword [eax + 4], 9
jl 0x413849
mov eax, dword [esi + 8]
push str.4.0.0.4
push eax
call fcn.0041cf95
pop ecx
test eax, eax
pop ecx
jge 0x413833
mov eax, dword [esi + 4]
push str.User_PinnedTaskBar360
add eax, 0x28
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418da8
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4137e8
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41382b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
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.00418da8
push 0
push 0xbb8
push 0
push dword [ebp - 8]
call fcn.0041cacf
add esp, 0x10
lea ecx, [ebp - 8]
call fcn.00404c0d
lea ecx, [ebp - 4]
call fcn.00404c0d
cmp dword [esi + 0x30], 0
je 0x4138e0
mov ecx, esi
call fcn.00413c52
jmp 0x4138e0
cmp dword [esi + 0x30], 0
je 0x4138e0
add eax, 0x28
push ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418da8
mov eax, dword [esi + 4]
push 0x42ef20
add eax, 0x28
push eax
lea eax, [ebp - 8]
push eax
call fcn.00418da8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00404d28
push edi
lea ecx, [ebp - 8]
call fcn.00418d0b
cmp dword [ebp + 8], 0
jne 0x4138ae
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4138ae
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4138d0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [ebp - 8]
push dword [esi + 0x18]
call fcn.00419cb4
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.00404c0d
lea ecx, [ebp - 4]
call fcn.00404c0d
mov eax, dword [esi + 4]
push 0x42ef20
add eax, 0x20
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00418da8
push 0x43645c
lea ecx, [ebp - 0x38]
call fcn.00418d0b
push edi
lea ecx, [ebp - 0x38]
call fcn.00418d0b
mov eax, dword [esi + 4]
push ebx
add eax, 0x20
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00418da8
cmp dword [ebp + 8], 0
jne 0x41392f
push dword [ebp - 0x38]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41393f
push dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
push dword [ebp - 0x40]
call esi
lea ecx, [ebp - 0x58]
call fcn.00404c0d
lea ecx, [ebp - 0x38]
call fcn.00404c0d
lea ecx, [ebp - 0x54]
call fcn.00404c0d
lea ecx, [ebp - 0x3c]
call fcn.00404c0d
lea ecx, [ebp - 0x48]
call fcn.00404c0d
lea ecx, [ebp - 0x28]
call fcn.00404c0d
lea ecx, [ebp - 0x4c]
call fcn.00404c0d
lea ecx, [ebp - 0x50]
call fcn.00404c0d
lea ecx, [ebp - 0x24]
call fcn.00404c0d
lea ecx, [ebp - 0x30]
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 - 0x44]
call fcn.00404c0d
lea ecx, [ebp - 0x1c]
call fcn.00404c0d
lea ecx, [ebp - 0x2c]
call fcn.00404c0d
lea ecx, [ebp - 0x34]
call fcn.00404c0d
lea ecx, [ebp - 0x10]
call fcn.00404c0d
pop edi
pop esi
pop ebx
leave
ret 4