Function at 0x41a580
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4681fc
mov eax, dword fs:[0]
push eax
mov eax, 0x100c
call fcn.0044ef90
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x1020]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xc], 0
jne 0x41a5ce
xor eax, eax
jmp 0x41a8d9
call fcn.0041a370
push 0x800
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0044e060
add esp, 0xc
push 1
push 0x17
lea ecx, [esp + 0x24]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x256
lea ecx, [esp + 0x18]
call fcn.00418500
mov eax, dword [eax]
push eax
lea edx, [esp + 0x20]
push edx
mov eax, edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esp + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x484060]
je 0x41a646
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41a646
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0044ec74
add esp, 4
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea edx, [esp + 0x1c]
push edx
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41a666
push 0
lea eax, [esp + 0x20]
push eax
call edi
push 0x8a
lea ecx, [esp + 0x18]
call fcn.00418500
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x20]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x484060]
je 0x41a6ae
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41a6ae
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0044ec74
add esp, 4
lea edx, [esp + 0x1c]
push edx
call ebx
test eax, eax
jne 0x41a6c1
push eax
lea eax, [esp + 0x20]
push eax
call edi
push 0x8a
lea ecx, [esp + 0x18]
call fcn.00418500
mov edi, dword [esp + 0x1030]
mov eax, dword [eax]
push edi
push 0
lea ecx, [esp + 0x24]
push ecx
push 0
push str.360Safe.exe
push eax
mov ecx, esi
mov dword [esp + 0x1040], 0
call fcn.00416950
mov eax, dword [esp + 0x14]
or ebx, 0xffffffff
lea edx, [eax - 0xc]
mov dword [esp + 0x1028], ebx
cmp edx, dword [0x484060]
je 0x41a72d
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41a72d
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0044ec74
add esp, 4
push 0x8c
lea ecx, [esp + 0x18]
call fcn.00418500
mov eax, dword [eax]
push edi
push 0
lea ecx, [esp + 0x24]
push ecx
push 0
push str.safemon360realpro.exe
push eax
mov ecx, esi
mov dword [esp + 0x1040], 1
call fcn.00416950
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
mov dword [esp + 0x1028], ebx
cmp edx, dword [0x484060]
je 0x41a78f
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41a78f
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0044ec74
add esp, 4
push 0x8b
lea ecx, [esp + 0x18]
call fcn.00418500
mov eax, dword [eax]
push edi
push 0
lea ecx, [esp + 0x24]
push ecx
push 0
push str.SoftMgrSoftManager.exe
push eax
mov ecx, esi
mov dword [esp + 0x1040], 2
call fcn.00416950
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
mov dword [esp + 0x1028], ebx
cmp edx, dword [0x484060]
je 0x41a7f1
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41a7f1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0044ec74
add esp, 4
push 0x8d
lea ecx, [esp + 0x18]
call fcn.00418500
mov eax, dword [eax]
push edi
push 1
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x46f42c
push eax
mov ecx, esi
mov dword [esp + 0x1040], 3
call fcn.00416950
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
mov dword [esp + 0x1028], ebx
cmp edx, dword [0x484060]
je 0x41a853
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41a853
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0044ec74
add esp, 4
push 0x800
lea ecx, [esp + 0x820]
push 0
push ecx
call fcn.0044e060
add esp, 0xc
push 0x8f
lea ecx, [esp + 0x1c]
call fcn.00418500
mov edx, dword [eax]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x824]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esp + 0x18]
lea edx, [eax - 0xc]
cmp edx, dword [0x484060]
je 0x41a8b7
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41a8b7
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0044ec74
add esp, 4
lea ecx, [esp + 0x81c]
push ecx
push str.http:__www.360safe.com_repair.html
push 0x46f5f0
push 0x46f5cc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, 1
mov ecx, dword [esp + 0x1020]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.0044e04c
add esp, 0x1018
ret 4