Function at 0x44c89f
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x1804]
mov eax, 0x1804
call fcn.00476c90
push 0xffffffffffffffff
push 0x4b15b3
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x1800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1814]
mov ecx, dword [ebp + 0x1820]
mov ebx, dword [ebp + 0x180c]
mov edi, dword [ebp + 0x1810]
mov esi, dword [ebp + 0x181c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1824]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x34], eax
call fcn.0044b131
test ebx, ebx
je 0x44cc8f
test edi, edi
je 0x44cc8f
push 3
push edi
push ebx
call fcn.00477e6d
add esp, 0xc
test eax, eax
je 0x44c946
push 0
push dword [ebp - 0x20]
push esi
push edi
push ebx
call fcn.004488af
add esp, 0x14
jmp 0x44cc91
mov ebx, 0x800
push ebx
xor esi, esi
lea eax, [ebp]
push esi
push eax
call fcn.00475570
push 0x400
lea eax, [ebp]
push edi
push eax
call fcn.00475519
add esp, 0x18
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push dword [ebp - 0x20]
call fcn.00447802
add esp, 4
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x44c99e
push edi
push dword [ebp - 0x20]
call fcn.0044773b
pop ecx
pop ecx
jmp 0x44c9aa
push 3
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp eax, esi
jne 0x44cc91
push 0x4bec40
lea ecx, [ebp - 0x10]
call fcn.00402530
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.004491df
mov ecx, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.0044c612
lea ecx, [ebp - 0x30]
call fcn.004485c5
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00402870
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.004487c6
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x44cb6c
push ebx
push eax
lea eax, [ebp + 0x800]
push eax
call fcn.00475570
add esp, 0xc
lea eax, [ebp + 0x800]
push eax
push 0
push 0x4bb3d8
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x44ca6f
push 0x4bec2c
lea ecx, [ebp - 0x10]
call fcn.00402530
mov dword [ebp - 4], 2
call esi
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.004491df
mov byte [ebp - 4], 3
jmp 0x44cb4c
push 3
lea eax, [ebp + 0x800]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
lea eax, [ebp + 0x800]
je 0x44cb1e
push 4
pop ebx
push ebx
push 0
push eax
call fcn.00447a4b
push edi
push dword [ebp - 0x1c]
push str.rename_locale_and_try__s____s
call fcn.00404d91
add esp, 0x18
cmp dword [ebp - 0x14], 0
je 0x44cabd
push edi
push dword [ebp - 0x20]
call fcn.0044773b
pop ecx
pop ecx
jmp 0x44cac9
push 3
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x44cc8a
push 0x4bebd8
lea ecx, [ebp - 0x10]
call fcn.00402530
mov dword [ebp - 4], ebx
call esi
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.004491df
mov ecx, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
call fcn.0044c612
lea ecx, [ebp - 0x30]
call fcn.004485c5
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00402870
mov ebx, 0x800
jmp 0x44cb6c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.T_rT
lea ecx, [ebp - 0x10]
call fcn.00402530
mov dword [ebp - 4], 6
call esi
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.004491df
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x18]
push eax
call fcn.0044c612
lea ecx, [ebp - 0x30]
call fcn.004485c5
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00402870
push ebx
lea eax, [ebp + 0x1000]
push 0
push eax
call fcn.00475570
add esp, 0xc
lea eax, [ebp + 0x1000]
push eax
xor ebx, ebx
push ebx
push 0x4bb3d8
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp + 0x1000]
cmp dword [ebp - 0x14], ebx
je 0x44cbaf
push eax
push dword [ebp - 0x20]
call fcn.0044773b
pop ecx
pop ecx
jmp 0x44cbbb
push 3
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x44cc01
push 5
lea eax, [ebp + 0x1000]
push edi
push eax
call fcn.00447a4b
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x34]
add esp, 0xc
cmp eax, ebx
je 0x44cbfc
lea ecx, [ebp + 0x1000]
push ecx
lea ecx, [eax + 0x238]
push ecx
lea ecx, [eax + 0x218]
push ecx
push eax
call fcn.004475e9
add esp, 0x10
cmp dword [ebp - 0x10], ebx
jne 0x44cc55
lea eax, [ebp + 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4bebb0
lea ecx, [ebp - 0x14]
call fcn.00402530
mov dword [ebp - 4], 8
call esi
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x44]
call fcn.004491df
mov ecx, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 9
call fcn.0044c612
lea ecx, [ebp - 0x44]
call fcn.004485c5
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00402870
cmp dword [ebp - 0x38], ebx
je 0x44cc66
cmp dword [ebp - 0x24], ebx
jne 0x44cc66
mov dword [ebp - 0x10], 1
lea eax, [ebp + 0x1000]
push eax
push dword [ebp - 0x1c]
push str.tray_pending__s____s
call fcn.00404d91
mov ecx, dword [0x4f7ba0]
add esp, 0xc
push 1
call fcn.00460019
mov eax, dword [ebp - 0x10]
jmp 0x44cc91
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1800]
xor ecx, ebp
call fcn.004755ea
add ebp, 0x1804
leave
ret