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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp + 8]
call fcn.00430cc0
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x44ed8d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x14], 8
jb 0x44e8d9
mov dword [ebp - 0x44], 1
jmp 0x44e8e0
mov dword [ebp - 0x44], 0
mov al, byte [ebp - 0x44]
mov byte [ebp - 5], al
movzx ecx, byte [ebp - 5]
test ecx, ecx
je 0x44e902
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
movzx edx, word [ecx]
test edx, edx
je 0x44ed8d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x14], 8
jb 0x44e946
mov dword [ebp - 0x4c], 1
jmp 0x44e94d
mov dword [ebp - 0x4c], 0
mov al, byte [ebp - 0x4c]
mov byte [ebp - 6], al
movzx ecx, byte [ebp - 6]
test ecx, ecx
je 0x44e96f
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
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.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44ed8d
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x14], 8
jb 0x44e9b7
mov dword [ebp - 0x54], 1
jmp 0x44e9be
mov dword [ebp - 0x54], 0
mov dl, byte [ebp - 0x54]
mov byte [ebp - 7], dl
movzx eax, byte [ebp - 7]
test eax, eax
je 0x44e9e0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xbc]
push eax
call fcn.00450010
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 8
jb 0x44ea22
mov dword [ebp - 0x5c], 1
jmp 0x44ea29
mov dword [ebp - 0x5c], 0
mov cl, byte [ebp - 0x5c]
mov byte [ebp - 8], cl
movzx edx, byte [ebp - 8]
test edx, edx
je 0x44ea4b
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], ecx
cmp dword [ebp - 0xc8], 0
je 0x44ed86
mov edx, dword [ebp + 8]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x14], 8
jb 0x44ea8b
mov dword [ebp - 0x64], 1
jmp 0x44ea92
mov dword [ebp - 0x64], 0
mov dl, byte [ebp - 0x64]
mov byte [ebp - 9], dl
movzx eax, byte [ebp - 9]
test eax, eax
je 0x44eab4
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xd4]
movzx ecx, word [eax]
test ecx, ecx
je 0x44ed86
mov edx, dword [ebp + 8]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x14], 8
jb 0x44eaf8
mov dword [ebp - 0x6c], 1
jmp 0x44eaff
mov dword [ebp - 0x6c], 0
mov dl, byte [ebp - 0x6c]
mov byte [ebp - 0xa], dl
movzx eax, byte [ebp - 0xa]
test eax, eax
je 0x44eb21
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0xe0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44ed86
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 8
jb 0x44eb69
mov dword [ebp - 0x74], 1
jmp 0x44eb70
mov dword [ebp - 0x74], 0
mov cl, byte [ebp - 0x74]
mov byte [ebp - 0xb], cl
movzx edx, byte [ebp - 0xb]
test edx, edx
je 0x44eb92
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xec], ecx
mov edx, dword [ebp - 0xec]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x44ec6b
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
and eax, 1
je 0x44ebe0
mov ecx, dword [ebp - 4]
and ecx, 0xfffffffe
mov dword [ebp - 4], ecx
mov dword [ebp - 0x30], 1
mov edx, dword [ebp - 4]
and edx, 2
je 0x44ebf8
mov eax, dword [ebp - 4]
and eax, 0xfffffffd
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], 1
cmp dword [ebp - 0x30], 0
je 0x44ec6b
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x14], 8
jb 0x44ec1c
mov dword [ebp - 0x7c], 1
jmp 0x44ec23
mov dword [ebp - 0x7c], 0
mov cl, byte [ebp - 0x7c]
mov byte [ebp - 0xc], cl
movzx edx, byte [ebp - 0xc]
test edx, edx
je 0x44ec45
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov dword [ebp - 0xf0], ecx
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xf8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x14], 8
jb 0x44ec8f
mov dword [ebp - 0x84], 1
jmp 0x44ec99
mov dword [ebp - 0x84], 0
mov cl, byte [ebp - 0x84]
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x44ecc1
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x14], 8
jb 0x44ed0a
mov dword [ebp - 0x8c], 1
jmp 0x44ed14
mov dword [ebp - 0x8c], 0
mov al, byte [ebp - 0x8c]
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x44ed3c
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x10c], edx
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44ed71
mov dword [ebp - 0x94], 1
jmp 0x44ed7b
mov dword [ebp - 0x94], 0
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x40], edx
jmp 0x44ed8d
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x40]
mov esp, ebp
pop ebp
ret 4