Function at 0x4169c4
Capabilities:
Delete directory
Delete file
Get common file path
Move file

Disassembly:
push 0x6c0
mov eax, 0x49e69e
call fcn.0045cd4f
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x658]
mov edx, edi
mov dword [ebp - 0x6cc], ebx
call fcn.004164e6
xor eax, eax
push eax
mov dword [ebp - 4], eax
push eax
mov dword [ebp - 0x6c4], eax
mov dword [ebp - 0x6c0], eax
call fcn.004172a6
mov dword [ebp - 0x6c4], eax
push 0x4b8994
lea eax, [ebp - 0x658]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x670]
push eax
call fcn.004098b4
add esp, 0xc
push 3
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00408b05
lea edx, [ebp - 0x6c4]
mov ecx, eax
call 0x4168ae
pop ecx
lea ecx, [ebp - 0x670]
mov byte [ebp - 4], 1
call fcn.00408cf0
mov eax, dword [ebp - 0x6c4]
lea ecx, [ebp - 0x6bc]
mov eax, dword [eax]
mov dword [ebp - 0x6bc], eax
lea eax, [ebp - 0x6c4]
push eax
call fcn.004082d1
mov eax, dword [ebp - 0x6c4]
lea ecx, [ebp - 0x6c8]
mov dword [ebp - 0x6c8], eax
lea eax, [ebp - 0x6c4]
push eax
call fcn.004082d1
mov eax, dword [ebp - 0x6bc]
cmp eax, dword [ebp - 0x6c8]
je 0x416d01
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4b894c
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x688]
push eax
call fcn.004098b4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x6bc]
add ecx, 0x34
push ecx
push eax
lea eax, [ebp - 0x640]
push eax
call fcn.00412622
add esp, 0x18
lea ecx, [ebp - 0x688]
mov byte [ebp - 4], 5
call fcn.00408cf0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0045e560
add esp, 0xc
lea eax, [ebp - 0x420]
lea ecx, [ebp - 0x640]
push 0x104
push eax
call fcn.00408b05
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
dec eax
cmp eax, 0x102
ja 0x416b3a
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x640]
call fcn.0040848d
mov eax, dword [ebp - 0x6bc]
lea ecx, [ebp - 0x640]
test byte [eax + 8], 0x10
je 0x416b72
call fcn.00408b05
mov ecx, eax
call fcn.004169c4
test al, al
jne 0x416cb4
lea ecx, [ebp - 0x640]
call fcn.00408cf0
xor bl, bl
jmp 0x416d0d
call fcn.00408b05
push eax
call esi
test eax, eax
jne 0x416cb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x416cb4
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0045e560
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x416bdb
cmp eax, 0x104
jae 0x416bdb
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x6b8]
call fcn.00408923
or ebx, 1
jmp 0x416bf0
lea eax, [ebp - 0x658]
push eax
lea ecx, [ebp - 0x6a0]
call fcn.0040f3d7
or ebx, 2
push eax
lea ecx, [ebp - 0x670]
mov dword [ebp - 0x6cc], ebx
call fcn.00409c89
test bl, 2
je 0x416c1b
and ebx, 0xfffffffd
lea ecx, [ebp - 0x6a0]
mov dword [ebp - 0x6cc], ebx
call fcn.00408cf0
mov dword [ebp - 4], 5
test bl, 1
je 0x416c3b
and ebx, 0xfffffffe
lea ecx, [ebp - 0x6b8]
mov dword [ebp - 0x6cc], ebx
call fcn.00408cf0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0045e560
mov eax, dword [ebp - 0x6bc]
lea ecx, [ebp - 0x218]
add esp, 0xc
add eax, 0x34
push ecx
push 0
push eax
lea ecx, [ebp - 0x670]
call fcn.00408b05
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x640]
call fcn.00408b05
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 4
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x670]
call fcn.00408cf0
lea ecx, [ebp - 0x640]
mov byte [ebp - 4], 1
call fcn.00408cf0
mov eax, dword [ebp - 0x6bc]
lea ecx, [ebp - 0x6c8]
mov eax, dword [eax]
mov dword [ebp - 0x6bc], eax
mov eax, dword [ebp - 0x6c4]
mov dword [ebp - 0x6c8], eax
lea eax, [ebp - 0x6c4]
push eax
call fcn.004082d1
mov eax, dword [ebp - 0x6bc]
cmp eax, dword [ebp - 0x6c8]
jne 0x416aa7
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
mov eax, dword [ebp - 0x6c4]
mov edi, 0x258
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [ebp - 0x6c4]
mov dword [eax + 4], eax
and dword [ebp - 0x6c0], 0
mov eax, dword [ebp - 0x6c4]
cmp ecx, eax
je 0x416d51
mov esi, dword [ecx]
push edi
push ecx
mov byte [ebp - 4], 9
call fcn.00408c07
mov eax, dword [ebp - 0x6c4]
pop ecx
pop ecx
mov ecx, esi
cmp esi, eax
jne 0x416d36
push edi
push eax
mov byte [ebp - 4], 0xa
call fcn.00408c07
pop ecx
pop ecx
lea ecx, [ebp - 0x658]
call fcn.00408cf0
mov al, bl
call fcn.0045ccf9
ret