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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0770
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x80], ecx
cmp dword [ebp - 0x80], 0
jne 0x44edd6
mov dword [ebp - 0x3c], 1
jmp 0x44eddd
mov dword [ebp - 0x3c], 0
mov dl, byte [ebp - 0x3c]
mov byte [ebp - 0x11], dl
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x44edf2
xor eax, eax
jmp 0x44f1a9
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xf0]
call fcn.00402220
mov dword [ebp - 4], 0
push 0x5c
lea edx, [ebp - 0xf0]
push edx
call fcn.0042eac0
add esp, 8
mov dword [ebp - 0x7c], 0
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x14], 8
jb 0x44ee41
mov dword [ebp - 0x40], 1
jmp 0x44ee48
mov dword [ebp - 0x40], 0
mov al, byte [ebp - 0x40]
mov byte [ebp - 0x12], al
movzx ecx, byte [ebp - 0x12]
test ecx, ecx
je 0x44ee6a
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x44f188
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 8
jb 0x44eead
mov dword [ebp - 0x48], 1
jmp 0x44eeb4
mov dword [ebp - 0x48], 0
mov cl, byte [ebp - 0x48]
mov byte [ebp - 0x13], cl
movzx edx, byte [ebp - 0x13]
test edx, edx
je 0x44eed6
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
movzx eax, word [edx]
test eax, eax
je 0x44f188
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x14], 8
jb 0x44ef1d
mov dword [ebp - 0x50], 1
jmp 0x44ef24
mov dword [ebp - 0x50], 0
mov cl, byte [ebp - 0x50]
mov byte [ebp - 0x14], cl
movzx edx, byte [ebp - 0x14]
test edx, edx
je 0x44ef46
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44f188
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x14], 8
jb 0x44ef91
mov dword [ebp - 0x58], 1
jmp 0x44ef98
mov dword [ebp - 0x58], 0
mov al, byte [ebp - 0x58]
mov byte [ebp - 0x15], al
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x44efba
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x44f096
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x44f008
mov eax, dword [ebp - 0x10]
and eax, 0xfffffffe
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], 1
mov ecx, dword [ebp - 0x10]
and ecx, 2
je 0x44f020
mov edx, dword [ebp - 0x10]
and edx, 0xfffffffd
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x2c], 1
cmp dword [ebp - 0x2c], 0
je 0x44f096
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x14], 8
jb 0x44f047
mov dword [ebp - 0x60], 1
jmp 0x44f04e
mov dword [ebp - 0x60], 0
mov al, byte [ebp - 0x60]
mov byte [ebp - 0x16], al
movzx ecx, byte [ebp - 0x16]
test ecx, ecx
je 0x44f070
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xbc]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x14], 8
jb 0x44f0b7
mov dword [ebp - 0x68], 1
jmp 0x44f0be
mov dword [ebp - 0x68], 0
mov al, byte [ebp - 0x68]
mov byte [ebp - 0x17], al
movzx ecx, byte [ebp - 0x17]
test ecx, ecx
je 0x44f0e0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea edx, [ebp - 0xf0]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x14], 8
jb 0x44f123
mov dword [ebp - 0x70], 1
jmp 0x44f12a
mov dword [ebp - 0x70], 0
mov dl, byte [ebp - 0x70]
mov byte [ebp - 0x18], dl
movzx eax, byte [ebp - 0x18]
test eax, eax
je 0x44f14c
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xd4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44f17b
mov dword [ebp - 0x78], 1
jmp 0x44f182
mov dword [ebp - 0x78], 0
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0xd8], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00431070
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4