Function at 0x407ad0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ac
mov eax, dword [0x43b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x4a8]
mov dword [ebp - 0x4a8], 0x104
push eax
lea eax, [ebp - 0x210]
mov ebx, ecx
push eax
mov esi, edx
mov dword [ebp - 0x4a4], ebx
call dword [sym.imp.USERENV.dll_GetProfilesDirectoryW]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x210]
push 0x436300
push eax
push 0x436304
push ebx
call edi
add esp, 0x10
lea eax, [ebp - 0x498]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, eax
mov dword [ebp - 0x49c], ecx
cmp ecx, 0xffffffff
je 0x407d15
mov edx, 0x2e
nop
cmp dx, word [ebp - 0x46c]
je 0x407cd7
mov eax, dword [ebp - 0x498]
test eax, 0x400
jne 0x407cd7
test al, 0x10
je 0x407cd7
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x436304
push ebx
call edi
add esp, 0x10
mov dword [ebp - 0x228], 0x437210
mov dword [ebp - 0x224], str.AppDataLocalLow
mov ebx, 0x437210
mov dword [ebp - 0x220], str.AppDataRoaming
mov dword [ebp - 0x21c], str.Application_Data
mov dword [ebp - 0x218], str.Local_SettingsApplication_Data
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x244], str.K7_ComputingK7TSecurity
mov dword [ebp - 0x240], str.K7_ComputingK7PMConfig.json
mov dword [ebp - 0x23c], str.K7_Computingconfig.json
mov dword [ebp - 0x238], str.K7_Password_Manager
mov dword [ebp - 0x234], str.K7PMConfig.json
mov dword [ebp - 0x230], str.config.json
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x4a0], 0
xor edi, edi
mov eax, str.K7_ComputingK7TSecurity
push eax
push ebx
push dword [ebp - 0x4a4]
push 0x4373dc
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x407c65
test al, 0x10
je 0x407c5e
mov ecx, esi
call fcn.00401ed0
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x407c65
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + edi*4 - 0x240]
inc edi
test eax, eax
jne 0x407c27
mov ecx, dword [ebp - 0x4a0]
inc ecx
mov dword [ebp - 0x4a0], ecx
mov ebx, dword [ebp + ecx*4 - 0x228]
test ebx, ebx
jne 0x407c20
mov ebx, dword [ebp - 0x4a4]
xor edi, edi
mov eax, 0x437210
push 0x4373f0
push eax
push ebx
push 0x4373dc
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x407cbf
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp + edi*4 - 0x224]
inc edi
test eax, eax
jne 0x407c96
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x49c]
lea eax, [ebp - 0x498]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, dword [ebp - 0x49c]
mov edx, 0x2e
test eax, eax
jne 0x407b50
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041559f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041559f
mov esp, ebp
pop ebp
ret