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

Disassembly:
push ebp
lea ebp, [esp - 0x1804]
mov eax, 0x1804
call fcn.00471870
push 0xffffffffffffffff
push 0x4abf20
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4ed820]
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.00448400
test ebx, ebx
je 0x449f58
test edi, edi
je 0x449f58
push 3
push edi
push ebx
call fcn.00472a9e
add esp, 0xc
test eax, eax
je 0x449c0f
push 0
push dword [ebp - 0x20]
push esi
push edi
push ebx
call fcn.00445b90
add esp, 0x14
jmp 0x449f5a
mov ebx, 0x800
push ebx
xor esi, esi
lea eax, [ebp]
push esi
push eax
call fcn.004701a0
push 0x400
lea eax, [ebp]
push edi
push eax
call fcn.00470149
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.00444b1a
add esp, 4
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x449c67
push edi
push dword [ebp - 0x20]
call fcn.00444a53
pop ecx
pop ecx
jmp 0x449c73
push 3
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp eax, esi
jne 0x449f5a
push 0x4b87b0
lea ecx, [ebp - 0x10]
call fcn.004025d8
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.004464c0
mov ecx, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.004498db
lea ecx, [ebp - 0x30]
call fcn.004458b7
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040290e
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.00445aa7
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x449e35
push ebx
push eax
lea eax, [ebp + 0x800]
push eax
call fcn.004701a0
add esp, 0xc
lea eax, [ebp + 0x800]
push eax
push 0
push 0x4b5328
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x449d38
push 0x4b879c
lea ecx, [ebp - 0x10]
call fcn.004025d8
mov dword [ebp - 4], 2
call esi
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.004464c0
mov byte [ebp - 4], 3
jmp 0x449e15
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 0x449de7
push 4
pop ebx
push ebx
push 0
push eax
call fcn.00444d63
push edi
push dword [ebp - 0x1c]
push str.rename_locale_and_try__s____s
call fcn.00404d3e
add esp, 0x18
cmp dword [ebp - 0x14], 0
je 0x449d86
push edi
push dword [ebp - 0x20]
call fcn.00444a53
pop ecx
pop ecx
jmp 0x449d92
push 3
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x449f53
push 0x4b8748
lea ecx, [ebp - 0x10]
call fcn.004025d8
mov dword [ebp - 4], ebx
call esi
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.004464c0
mov ecx, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
call fcn.004498db
lea ecx, [ebp - 0x30]
call fcn.004458b7
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040290e
mov ebx, 0x800
jmp 0x449e35
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.T_rT
lea ecx, [ebp - 0x10]
call fcn.004025d8
mov dword [ebp - 4], 6
call esi
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.004464c0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x18]
push eax
call fcn.004498db
lea ecx, [ebp - 0x30]
call fcn.004458b7
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040290e
push ebx
lea eax, [ebp + 0x1000]
push 0
push eax
call fcn.004701a0
add esp, 0xc
lea eax, [ebp + 0x1000]
push eax
xor ebx, ebx
push ebx
push 0x4b5328
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp + 0x1000]
cmp dword [ebp - 0x14], ebx
je 0x449e78
push eax
push dword [ebp - 0x20]
call fcn.00444a53
pop ecx
pop ecx
jmp 0x449e84
push 3
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x449eca
push 5
lea eax, [ebp + 0x1000]
push edi
push eax
call fcn.00444d63
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x34]
add esp, 0xc
cmp eax, ebx
je 0x449ec5
lea ecx, [ebp + 0x1000]
push ecx
lea ecx, [eax + 0x238]
push ecx
lea ecx, [eax + 0x218]
push ecx
push eax
call fcn.00444901
add esp, 0x10
cmp dword [ebp - 0x10], ebx
jne 0x449f1e
lea eax, [ebp + 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4b8720
lea ecx, [ebp - 0x14]
call fcn.004025d8
mov dword [ebp - 4], 8
call esi
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x44]
call fcn.004464c0
mov ecx, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 9
call fcn.004498db
lea ecx, [ebp - 0x44]
call fcn.004458b7
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040290e
cmp dword [ebp - 0x38], ebx
je 0x449f2f
cmp dword [ebp - 0x24], ebx
jne 0x449f2f
mov dword [ebp - 0x10], 1
lea eax, [ebp + 0x1000]
push eax
push dword [ebp - 0x1c]
push str.tray_pending__s____s
call fcn.00404d3e
mov ecx, dword [0x4f17c0]
add esp, 0xc
push 1
call fcn.0045c70a
mov eax, dword [ebp - 0x10]
jmp 0x449f5a
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.0047021a
add ebp, 0x1804
leave
ret