Function at 0x446ab0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp + 8]
call fcn.00422d20
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x446d95
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 8
jb 0x446af3
mov dword [ebp - 0x2c], 1
jmp 0x446afa
mov dword [ebp - 0x2c], 0
mov al, byte [ebp - 0x2c]
mov byte [ebp - 5], al
movzx ecx, byte [ebp - 5]
test ecx, ecx
je 0x446b16
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
movzx edx, word [ecx]
test edx, edx
je 0x446d95
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x14], 8
jb 0x446b4e
mov dword [ebp - 0x34], 1
jmp 0x446b55
mov dword [ebp - 0x34], 0
mov al, byte [ebp - 0x34]
mov byte [ebp - 6], al
movzx ecx, byte [ebp - 6]
test ecx, ecx
je 0x446b71
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x446d95
mov edx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x14], 8
jb 0x446bad
mov dword [ebp - 0x3c], 1
jmp 0x446bb4
mov dword [ebp - 0x3c], 0
mov dl, byte [ebp - 0x3c]
mov byte [ebp - 7], dl
movzx eax, byte [ebp - 7]
test eax, eax
je 0x446bd0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x446ca9
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 4]
and ecx, 1
je 0x446c1e
mov edx, dword [ebp - 4]
and edx, 0xfffffffe
mov dword [ebp - 4], edx
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 4]
and eax, 2
je 0x446c36
mov ecx, dword [ebp - 4]
and ecx, 0xfffffffd
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
je 0x446ca9
mov edx, dword [ebp + 8]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x14], 8
jb 0x446c5a
mov dword [ebp - 0x44], 1
jmp 0x446c61
mov dword [ebp - 0x44], 0
mov dl, byte [ebp - 0x44]
mov byte [ebp - 8], dl
movzx eax, byte [ebp - 8]
test eax, eax
je 0x446c83
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x14], 8
jb 0x446cc7
mov dword [ebp - 0x4c], 1
jmp 0x446cce
mov dword [ebp - 0x4c], 0
mov dl, byte [ebp - 0x4c]
mov byte [ebp - 9], dl
movzx eax, byte [ebp - 9]
test eax, eax
je 0x446cf0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x14], 8
jb 0x446d30
mov dword [ebp - 0x54], 1
jmp 0x446d37
mov dword [ebp - 0x54], 0
mov cl, byte [ebp - 0x54]
mov byte [ebp - 0xa], cl
movzx edx, byte [ebp - 0xa]
test edx, edx
je 0x446d59
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x446d88
mov dword [ebp - 0x5c], 1
jmp 0x446d8f
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov esp, ebp
pop ebp
ret 4