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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c72e6
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x4f51d0]
xor eax, esp
mov dword [esp + 0x490], eax
push ebx
push esi
push edi
mov eax, dword [0x4f51d0]
xor eax, esp
push eax
lea eax, [esp + 0x4a8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x208
mov dword [esp + 0x14], eax
xor edi, edi
lea eax, [esp + 0x298]
push edi
push eax
call fcn.00492200
add esp, 0xc
push edi
push 0x10
lea eax, [esp + 0x29c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [esp + 0x294], di
je 0x41cc47
mov ebx, 0x50f384
mov ecx, ebx
lea esi, [esp + 0x20]
call fcn.004080cd
lea eax, [esp + 0x294]
push eax
mov eax, esi
push str._s.lnk
push eax
mov dword [esp + 0x4bc], edi
call fcn.0040d022
mov esi, dword [esp + 0x2c]
add esp, 0xc
lea eax, [esp + 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
jne 0x41cac0
lea eax, [esi - 0x10]
jmp 0x41cc42
mov ecx, ebx
lea esi, [esp + 0x1c]
call fcn.004080cd
mov byte [esp + 0x4b0], 1
mov eax, dword [esp + 0x10]
add eax, 4
push eax
mov eax, esi
push str._s_safeboxTray.exe
push eax
call fcn.0040d022
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
call fcn.0041cef9
mov byte [esp + 0x4b0], 2
mov ecx, ebx
lea esi, [esp + 0x10]
call fcn.004080cd
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x298]
push eax
mov eax, esi
push 0x4d8598
push eax
mov byte [esp + 0x4c0], 3
call fcn.0040d022
mov esi, dword [esp + 0x20]
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41cba2
lea edi, [esp + 0x14]
call fcn.0041cc6d
mov ecx, esi
mov byte [esp + 0x4b0], 4
call fcn.0045d7ac
test eax, eax
jne 0x41cb6d
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00408396
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x41cb9d
push dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x41cb8e
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x30]
call fcn.0041cf67
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00408396
lea eax, [edi - 0x10]
call fcn.00408396
lea eax, [esi - 0x10]
mov byte [esp + 0x4b0], 2
call fcn.00408396
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41cafd
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x38]
lea edi, [esp + 0x2c]
lea esi, [esp + 0x14]
call fcn.0041d48d
jmp 0x41cbfc
lea esi, [esp + 0x14]
call fcn.0041d133
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0041d4ad
mov ebx, dword [esp + 0x3c]
lea edi, [esp + 0x2c]
lea esi, [esp + 0x24]
call fcn.0041d48d
mov edi, esi
lea esi, [esp + 0x14]
call fcn.0041d15b
test al, al
je 0x41cbe6
lea esi, [esp + 0x2c]
call fcn.0041d0b7
push dword [esp + 0x2c]
call fcn.0048c641
mov eax, dword [esp + 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.00408396
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.00408396
mov ecx, dword [esp + 0x4a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x490]
xor ecx, esp
call fcn.0048c64c
mov esp, ebp
pop ebp
ret 4