Function at 0x41a6b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x592a08
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x5deba8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], 0
push 0x5b6e34
lea ecx, [ebp - 0x10]
call fcn.0041d9b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004170e0
mov byte [ebp - 4], 1
push str.Software_ruanmeiTweakCube3
lea ecx, [ebp - 0x28]
call fcn.0041d9b0
mov byte [ebp - 4], 2
call fcn.00417050
test eax, eax
je 0x41a726
push str.SoftwareWow6432Node_ruanmeiTweakCube3
lea ecx, [ebp - 0x28]
call fcn.0041daf0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x28]
push eax
call fcn.0041d990
mov dword [ebp - 0x60], eax
push reloc.SHELL32.dll_SHChangeNotifyRegister
lea ecx, [ebp - 0x24]
call fcn.00417490
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x41a817
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x5b6ec0
call fcn.0041d9b0
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x5b6ec4
call fcn.0041d9b0
mov dword [ebp - 0x70], eax
lea edx, [ebp - 0x38]
push edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00417760
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0041dad0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0041dab0
lea ecx, [ebp - 0x10]
call fcn.0041e310
movzx edx, al
test edx, edx
jne 0x41a817
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041dde0
mov dword [ebp - 0x7c], eax
push 0x5b6edc
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.0041e180
add esp, 8
mov byte [ebp - 0x39], al
lea ecx, [ebp - 0x40]
call fcn.0041dab0
movzx edx, byte [ebp - 0x39]
test edx, edx
je 0x41a80a
push 0x5b6ee0
lea ecx, [ebp - 0x10]
call fcn.0041db30
push 0x5b6ee4
lea ecx, [ebp - 0x10]
call fcn.0041db30
lea ecx, [ebp - 0x10]
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41a966
push str.SoftwareTweakCube2
lea ecx, [ebp - 0x28]
call fcn.0041daf0
call fcn.00417050
test eax, eax
je 0x41a851
push str.SoftwareWow6432NodeTweakCube2
lea ecx, [ebp - 0x28]
call fcn.0041daf0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
lea eax, [ebp - 0x28]
push eax
call fcn.0041d990
mov dword [ebp - 0x80], eax
push reloc.SHELL32.dll_SHChangeNotifyRegister
lea ecx, [ebp - 0x24]
call fcn.00417490
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
je 0x41a966
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x5b6f2c
call fcn.0041d9b0
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push str.Install_Dir
call fcn.0041d9b0
mov dword [ebp - 0x90], eax
lea edx, [ebp - 0x50]
push edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00417760
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0041dad0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.0041dab0
lea ecx, [ebp - 0x10]
call fcn.0041e310
movzx edx, al
test edx, edx
jne 0x41a966
push 1
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041dde0
mov dword [ebp - 0x9c], eax
push 0x5b6f88
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.0041e180
add esp, 8
mov byte [ebp - 0x51], al
lea ecx, [ebp - 0x58]
call fcn.0041dab0
movzx edx, byte [ebp - 0x51]
test edx, edx
je 0x41a959
push 0x5b6f8c
lea ecx, [ebp - 0x10]
call fcn.0041db30
push 0x5b6f90
lea ecx, [ebp - 0x10]
call fcn.0041db30
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041d990
mov ecx, dword [ebp - 0x5c]
or ecx, 1
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00417180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret