Function at 0x403b60
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418053
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1978
call fcn.00409ba0
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x1c]
mov eax, dword [esi + 8]
mov dword [ebp - 0x20], esi
push eax
mov ebx, 0x43297
call fcn.004061d0
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x403bca
push 1
call fcn.00403a90
mov ecx, dword [esi + 8]
push str._t_CProfileConverter::ConvertProfiles___started_
call fcn.004037f0
mov edx, dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x22c]
push edx
push eax
call fcn.00409255
mov ecx, dword [str..profile]
add esp, 0xc
lea edx, [ebp - 0x22c]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x36c]
lea ecx, [ebp - 0x22c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0x14], edi
jne 0x403c73
mov eax, dword [esi + 8]
test eax, eax
je 0x403c4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x22c]
push eax
push edx
lea eax, [ebp - 0xb6c]
push str._tInvalid_File_Handle_from_FindFirstFile__s_._GetLastError_reports__d
push eax
call fcn.00409203
add esp, 0x10
lea ecx, [ebp - 0xb6c]
push ecx
mov ecx, dword [esi + 8]
call fcn.004037f0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00406210
mov eax, 0x80043298
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 0x1988], 0x4193d4
mov edx, dword [ebp + 0xc]
mov ecx, esi
push edx
mov byte [ebp - 4], 1
call fcn.00404cb0
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x403cc1
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00406210
mov eax, 0x80043298
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x36c], 0x10
je 0x403f58
mov eax, dword [ebp + 8]
push 0x104
lea ecx, [ebp - 0x128]
push eax
push ecx
call fcn.00409255
add esp, 0xc
lea edx, [ebp - 0x340]
lea eax, [ebp - 0x128]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov ecx, 0x306
xor eax, eax
lea edi, [ebp - 0x1784]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x403d44
push 1
call fcn.00403a90
lea ecx, [ebp - 0x128]
lea edx, [ebp - 0xb6c]
push ecx
push str._tConverting_profile_in_file_named__s
push edx
call fcn.00409203
mov ecx, dword [esi + 8]
add esp, 0xc
lea eax, [ebp - 0xb6c]
push eax
call fcn.004037f0
lea ecx, [ebp - 0x1784]
lea edx, [ebp - 0x128]
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.00408a70
cmp eax, 0x43297
jne 0x403f44
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
inc ecx
mov dword [eax], ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x403da2
lea eax, [ebp - 0x1780]
lea ecx, [ebp - 0xb6c]
push eax
push str._tSaving_Converted_profile_named__s
push ecx
call fcn.00409203
mov ecx, dword [esi + 8]
add esp, 0xc
lea edx, [ebp - 0xb6c]
push edx
call fcn.004037f0
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x1784]
push 0
push eax
push ecx
mov ecx, esi
call fcn.00404d30
mov ebx, eax
cmp ebx, 0x43297
jne 0x403e63
mov eax, dword [esi + 8]
test eax, eax
je 0x403e1f
lea edx, [ebp - 0x1780]
lea eax, [ebp - 0xb6c]
push edx
push str._tSucessfully_saved_profile_named__s
push eax
call fcn.00409203
add esp, 0xc
lea ecx, [ebp - 0xb6c]
push ecx
mov ecx, dword [esi + 8]
call fcn.004037f0
lea edx, [ebp - 0x128]
lea eax, [ebp - 0xb6c]
push edx
push str._tDeleting_profile_file_named__s
push eax
call fcn.00409203
add esp, 0xc
lea ecx, [ebp - 0xb6c]
push ecx
mov ecx, dword [esi + 8]
call fcn.004037f0
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x1780]
mov ecx, esi
push eax
call fcn.00405eb0
cmp eax, 0xffffffff
jle 0x403f3d
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x403f3d
mov byte [ecx + eax], 1
mov ecx, dword [esi + 0x18]
mov edx, dword [ebp - 0x169c]
mov dword [ecx + eax*4], edx
jmp 0x403f3d
cmp ebx, 0x800432a0
jne 0x403e84
mov eax, dword [esi + 8]
test eax, eax
je 0x403f3d
lea eax, [ebp - 0x1780]
push eax
push str._t_FAILED__Failed_to_save_profile_named__s_because_it_exists_in_the_database_
jmp 0x403ec4
cmp ebx, 0x8004329d
jne 0x403ea5
mov eax, dword [esi + 8]
test eax, eax
je 0x403f3d
lea eax, [ebp - 0x1780]
push eax
push str._t_FAILED__Failed_to_save_profile_named__s_because_the_profile_database_is_locked_by_another_component_
jmp 0x403ec4
mov eax, dword [esi + 8]
cmp ebx, 0x800432b2
jne 0x403ee4
test eax, eax
je 0x403f3d
lea eax, [ebp - 0x1780]
push eax
push str._t_FAILED__Failed_to_save_profile_named__s_because_the_data_in_the_profile_is_invalid_
lea ecx, [ebp - 0xb6c]
push ecx
call fcn.00409203
mov ecx, dword [esi + 8]
add esp, 0xc
lea edx, [ebp - 0xb6c]
push edx
call fcn.004037f0
jmp 0x403f3d
test eax, eax
je 0x403f3d
lea eax, [ebp - 0x1780]
lea ecx, [ebp - 0xb6c]
push eax
push str._t_FAILED__Failed_to_save_profile_named__s
push ecx
call fcn.00409203
mov ecx, dword [esi + 8]
add esp, 0xc
lea edx, [ebp - 0xb6c]
push edx
call fcn.004037f0
mov ecx, dword [esi + 8]
push ebx
push str._t_FAILED__Error_code_from_Profile_Manager_API:
call fcn.00403920
mov ecx, dword [esi + 8]
call fcn.004039d0
jmp 0x403f3d
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x36c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov edi, dword [ebp - 0x14]
test eax, eax
jne 0x403cc4
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 0xc]
mov ecx, esi
push edx
call fcn.00404d00
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x403f97
push 1
call fcn.00403a90
mov ecx, dword [esi + 8]
push str._t_CProfileConverter::ConvertProfiles___completed_
call fcn.004037f0
mov ecx, dword [esi + 8]
push 1
call fcn.00403a90
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00406210
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc