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

Disassembly:
push 0xffffffffffffffff
push 0x47147c
mov eax, dword fs:[0]
push eax
mov eax, 0x100c
call fcn.004580a0
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490d68]
xor eax, esp
push eax
lea eax, [esp + 0x1020]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xc], 0
jne 0x41f0ce
xor eax, eax
jmp 0x41f3d9
call fcn.0041eca0
push 0x800
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00457170
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.0041caa0
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 [0x48f010]
je 0x41f146
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41f146
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00457d84
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 0x41f166
push 0
lea eax, [esp + 0x20]
push eax
call edi
push 0x8a
lea ecx, [esp + 0x18]
call fcn.0041caa0
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 [0x48f010]
je 0x41f1ae
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41f1ae
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00457d84
add esp, 4
lea edx, [esp + 0x1c]
push edx
call ebx
test eax, eax
jne 0x41f1c1
push eax
lea eax, [esp + 0x20]
push eax
call edi
push 0x8a
lea ecx, [esp + 0x18]
call fcn.0041caa0
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.0041b010
mov eax, dword [esp + 0x14]
or ebx, 0xffffffff
lea edx, [eax - 0xc]
mov dword [esp + 0x1028], ebx
cmp edx, dword [0x48f010]
je 0x41f22d
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41f22d
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00457d84
add esp, 4
push 0x8c
lea ecx, [esp + 0x18]
call fcn.0041caa0
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.0041b010
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
mov dword [esp + 0x1028], ebx
cmp edx, dword [0x48f010]
je 0x41f28f
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41f28f
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00457d84
add esp, 4
push 0x8b
lea ecx, [esp + 0x18]
call fcn.0041caa0
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.0041b010
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
mov dword [esp + 0x1028], ebx
cmp edx, dword [0x48f010]
je 0x41f2f1
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41f2f1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00457d84
add esp, 4
push 0x8d
lea ecx, [esp + 0x18]
call fcn.0041caa0
mov eax, dword [eax]
push edi
push 1
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x4783d8
push eax
mov ecx, esi
mov dword [esp + 0x1040], 3
call fcn.0041b010
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
mov dword [esp + 0x1028], ebx
cmp edx, dword [0x48f010]
je 0x41f353
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41f353
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00457d84
add esp, 4
push 0x800
lea ecx, [esp + 0x820]
push 0
push ecx
call fcn.00457170
add esp, 0xc
push 0x8f
lea ecx, [esp + 0x1c]
call fcn.0041caa0
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 [0x48f010]
je 0x41f3b7
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41f3b7
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.00457d84
add esp, 4
lea ecx, [esp + 0x81c]
push ecx
push str.http:__www.360safe.com_repair.html
push 0x4786ec
push 0x4786c8
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.0045715c
add esp, 0x1018
ret 4