Function at 0x40b7b0
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44948b
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x4611f4]
xor eax, esp
mov dword [esp + 0x424], eax
push esi
push edi
mov eax, dword [0x4611f4]
xor eax, esp
push eax
lea eax, [esp + 0x438]
mov dword fs:[0], eax
mov dword [esp + 0x10], ecx
xor eax, eax
push 0x206
push eax
mov word [esp + 0x22c], ax
lea eax, [esp + 0x22e]
push eax
call fcn.00434de0
add esp, 0xc
lea eax, [esp + 0x224]
push 1
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.BaofengBFVKanDianYingProfiles_temp_
lea eax, [esp + 0x228]
push eax
call esi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x24], ax
lea eax, [esp + 0x26]
push eax
call fcn.00434de0
add esp, 0xc
lea eax, [esp + 0x224]
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x40b881
lea ecx, [esp + 0x1c]
call fcn.0041c800
push str.ExtraDLLs.7z
lea eax, [esp + 0x20]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x1c]
push eax
call edi
test eax, eax
jne 0x40b8c4
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40b8c4
and eax, 0xfffffffe
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x1c]
push eax
call edi
mov esi, dword [0x4649a4]
push str.RESOURCE_DATA
push 0x96
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40b8eb
push eax
mov edx, esi
lea ecx, [esp + 0x20]
call fcn.0041cc70
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0
call fcn.00419090
lea ecx, [esp + 0x228]
mov esi, eax
call fcn.00419090
mov edx, esi
mov ecx, eax
call fcn.004086a0
add esp, 4
lea eax, [esp + 0x1c]
push eax
call edi
test eax, eax
jne 0x40b954
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40b954
and eax, 0xfffffffe
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x1c]
push eax
call edi
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x224]
push eax
lea eax, [esp + 0x14]
push str._s360Ini.dll
push eax
mov dword [esp + 0x44c], 0
call fcn.0040be40
mov edi, dword [esp + 0x1c]
mov eax, 1
add esp, 8
add edi, 0xfffffff0
mov ecx, edi
mov word [0x4649ac], ax
mov esi, esp
call fcn.00401e50
add eax, 0x10
mov dword [esi], eax
call fcn.0040ba10
test eax, eax
je 0x40b9be
xor eax, eax
mov word [0x4649ac], ax
mov dword [esp + 0x440], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b9e0
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x438]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.00431c68
mov esp, ebp
pop ebp
ret