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

Disassembly:
push 0xffffffffffffffff
push 0x4732ec
mov eax, dword fs:[0]
push eax
mov eax, 0x100c
call fcn.0045cb30
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x494db8]
xor eax, esp
push eax
lea eax, [esp + 0x1020]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x41f56e
xor eax, eax
jmp 0x41f879
call fcn.0041eac0
push 0x800
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0045bc00
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.0041c830
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 [0x493010]
je 0x41f5e6
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41f5e6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0045c814
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 0x41f606
push 0
lea eax, [esp + 0x20]
push eax
call edi
push 0x8a
lea ecx, [esp + 0x18]
call fcn.0041c830
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 [0x493010]
je 0x41f64e
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41f64e
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0045c814
add esp, 4
lea edx, [esp + 0x1c]
push edx
call ebx
test eax, eax
jne 0x41f661
push eax
lea eax, [esp + 0x20]
push eax
call edi
push 0x8a
lea ecx, [esp + 0x18]
call fcn.0041c830
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.0041ac90
mov eax, dword [esp + 0x14]
or ebx, 0xffffffff
lea edx, [eax - 0xc]
mov dword [esp + 0x1028], ebx
cmp edx, dword [0x493010]
je 0x41f6cd
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41f6cd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0045c814
add esp, 4
push 0x8c
lea ecx, [esp + 0x18]
call fcn.0041c830
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.0041ac90
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
mov dword [esp + 0x1028], ebx
cmp edx, dword [0x493010]
je 0x41f72f
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41f72f
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0045c814
add esp, 4
push 0x8b
lea ecx, [esp + 0x18]
call fcn.0041c830
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.0041ac90
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
mov dword [esp + 0x1028], ebx
cmp edx, dword [0x493010]
je 0x41f791
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41f791
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0045c814
add esp, 4
push 0x8d
lea ecx, [esp + 0x18]
call fcn.0041c830
mov eax, dword [eax]
push edi
push 1
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x47b430
push eax
mov ecx, esi
mov dword [esp + 0x1040], 3
call fcn.0041ac90
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
mov dword [esp + 0x1028], ebx
cmp edx, dword [0x493010]
je 0x41f7f3
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41f7f3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0045c814
add esp, 4
push 0x800
lea ecx, [esp + 0x820]
push 0
push ecx
call fcn.0045bc00
add esp, 0xc
push 0x8f
lea ecx, [esp + 0x1c]
call fcn.0041c830
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 [0x493010]
je 0x41f857
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41f857
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0045c814
add esp, 4
lea ecx, [esp + 0x81c]
push ecx
push str.http:__www.360safe.com_repair.html
push 0x47b820
push 0x47b7fc
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.0045bbec
add esp, 0x1018
ret 4