Function at 0x442d70
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x3c
cmp byte [ebp + 8], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
je 0x442db8
mov eax, dword [ecx + 8]
test eax, eax
je 0x442e70
mov eax, dword [ebx + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esp], eax
call esi
sub esp, 4
cmp eax, 0xffffffff
je 0x442dfd
and eax, 0x410
cmp eax, 0x400
jne 0x442ea0
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x442e10
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
call esi
sub esp, 4
cmp eax, 0xffffffff
je 0x442dfd
mov edx, dword [ebx + 0x1c]
mov dword [esp], edx
test al, 0x10
jne 0x442df0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub esp, 4
test eax, eax
je 0x442dfd
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
sub esp, 4
test eax, eax
jne 0x442de6
add ebx, 4
mov dword [esp], ebx
call fcn.0043f260
lea esi, [esi]
nop
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x15b
mov dword [esp + 4], str._home_runner_.conan_data_poco_1.9.4_____build_ddb2b81308510e07b37be09e804e3aad8c61881f_src_Foundation_src_File_WIN32U.cpp
mov dword [esp], str.__path.empty__
call fcn.004087a0
mov edx, dword [ebx + 8]
test edx, edx
jne 0x442dbf
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x9f
mov dword [esp + 4], str._home_runner_.conan_data_poco_1.9.4_____build_ddb2b81308510e07b37be09e804e3aad8c61881f_src_Foundation_src_File_WIN32U.cpp
mov dword [esp], str.__path.empty__
call fcn.004087a0
jmp 0x442dbf
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xaa
mov dword [esp + 4], str._home_runner_.conan_data_poco_1.9.4_____build_ddb2b81308510e07b37be09e804e3aad8c61881f_src_Foundation_src_File_WIN32U.cpp
mov dword [esp], str.__path.empty__
call fcn.004087a0
jmp 0x442d92
mov edi, dword [ebx + 8]
test edi, edi
je 0x442fb0
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
call esi
sub esp, 4
cmp eax, 0xffffffff
je 0x442dfd
test al, 0x10
je 0x442db8
lea edi, [ebp - 0x24]
mov ecx, ebx
mov dword [ebp - 0x24], 0
mov dword [esp], edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00442c00
mov esi, dword [ebp - 0x24]
sub esp, 4
cmp esi, dword [ebp - 0x20]
je 0x442f0d
mov dword [esp], 1
mov ecx, esi
call fcn.00442d70
sub esp, 4
add esi, 0x34
cmp dword [ebp - 0x20], esi
jne 0x442ef4
mov dword [ebp - 0x2c], 8
mov esi, 0xa
mov ecx, ebx
call fcn.00440130
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
cmp esi, ebx
jne 0x442f96
lea esi, [esi]
test ebx, ebx
je 0x442de6
mov eax, dword [ebp - 0x1c]
mov dword [esp], ebx
sub eax, ebx
mov dword [esp + 4], eax
call fcn.00513b70
jmp 0x442de6
mov eax, dword [ebx + 0x1c]
lea edx, [ebx + 0x24]
mov dword [ebx], vtable.ipeImplE.0
cmp eax, edx
je 0x442f73
mov edx, dword [ebx + 0x24]
mov dword [esp], eax
lea edx, [edx + edx + 2]
mov dword [esp + 4], edx
call fcn.00513b70
mov eax, dword [ebx + 4]
lea edx, [ebx + 0xc]
cmp eax, edx
je 0x442f8f
mov edi, dword [ebx + 0xc]
mov dword [esp], eax
lea edx, [edi + 1]
mov dword [esp + 4], edx
call fcn.00513b70
add ebx, 0x34
cmp esi, ebx
je 0x442fe0
mov eax, dword [ebx]
mov eax, dword [eax]
cmp eax, fcn.0043edb0
je 0x442f50
mov ecx, ebx
call eax
jmp 0x442f8f
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x9f
mov dword [esp + 4], str._home_runner_.conan_data_poco_1.9.4_____build_ddb2b81308510e07b37be09e804e3aad8c61881f_src_Foundation_src_File_WIN32U.cpp
mov dword [esp], str.__path.empty__
call fcn.004087a0
jmp 0x442eab
mov ebx, dword [ebp - 0x24]
jmp 0x442f30