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

Disassembly:
push ebp
lea ebp, [esp - 0x1804]
mov eax, 0x1804
call fcn.004760e0
push 0xffffffffffffffff
push 0x4b0acd
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4f2be0]
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.0044ab08
test ebx, ebx
je 0x44c666
test edi, edi
je 0x44c666
push 3
push edi
push ebx
call fcn.004772ee
add esp, 0xc
test eax, eax
je 0x44c31d
push 0
push dword [ebp - 0x20]
push esi
push edi
push ebx
call fcn.004482a6
add esp, 0x14
jmp 0x44c668
mov ebx, 0x800
push ebx
xor esi, esi
lea eax, [ebp]
push esi
push eax
call fcn.00474a10
push 0x400
lea eax, [ebp]
push edi
push eax
call fcn.004749c2
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.00447203
add esp, 4
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x44c375
push edi
push dword [ebp - 0x20]
call fcn.0044713c
pop ecx
pop ecx
jmp 0x44c381
push 3
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp eax, esi
jne 0x44c668
push 0x4bd790
lea ecx, [ebp - 0x10]
call fcn.00402675
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.00448bf5
mov ecx, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.0044bfe9
lea ecx, [ebp - 0x30]
call fcn.0044801b
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004029d4
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.004481bd
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x44c543
push ebx
push eax
lea eax, [ebp + 0x800]
push eax
call fcn.00474a10
add esp, 0xc
lea eax, [ebp + 0x800]
push eax
push 0
push 0x4b9e60
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x44c446
push 0x4bd77c
lea ecx, [ebp - 0x10]
call fcn.00402675
mov dword [ebp - 4], 2
call esi
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.00448bf5
mov byte [ebp - 4], 3
jmp 0x44c523
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 0x44c4f5
push 4
pop ebx
push ebx
push 0
push eax
call fcn.0044744c
push edi
push dword [ebp - 0x1c]
push str.rename_locale_and_try__s____s
call fcn.00404dac
add esp, 0x18
cmp dword [ebp - 0x14], 0
je 0x44c494
push edi
push dword [ebp - 0x20]
call fcn.0044713c
pop ecx
pop ecx
jmp 0x44c4a0
push 3
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x44c661
push 0x4bd728
lea ecx, [ebp - 0x10]
call fcn.00402675
mov dword [ebp - 4], ebx
call esi
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.00448bf5
mov ecx, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
call fcn.0044bfe9
lea ecx, [ebp - 0x30]
call fcn.0044801b
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004029d4
mov ebx, 0x800
jmp 0x44c543
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.T_rT
lea ecx, [ebp - 0x10]
call fcn.00402675
mov dword [ebp - 4], 6
call esi
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.00448bf5
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x18]
push eax
call fcn.0044bfe9
lea ecx, [ebp - 0x30]
call fcn.0044801b
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004029d4
push ebx
lea eax, [ebp + 0x1000]
push 0
push eax
call fcn.00474a10
add esp, 0xc
lea eax, [ebp + 0x1000]
push eax
xor ebx, ebx
push ebx
push 0x4b9e60
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp + 0x1000]
cmp dword [ebp - 0x14], ebx
je 0x44c586
push eax
push dword [ebp - 0x20]
call fcn.0044713c
pop ecx
pop ecx
jmp 0x44c592
push 3
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x44c5d8
push 5
lea eax, [ebp + 0x1000]
push edi
push eax
call fcn.0044744c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x34]
add esp, 0xc
cmp eax, ebx
je 0x44c5d3
lea ecx, [ebp + 0x1000]
push ecx
lea ecx, [eax + 0x238]
push ecx
lea ecx, [eax + 0x218]
push ecx
push eax
call fcn.00446fea
add esp, 0x10
cmp dword [ebp - 0x10], ebx
jne 0x44c62c
lea eax, [ebp + 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4bd700
lea ecx, [ebp - 0x14]
call fcn.00402675
mov dword [ebp - 4], 8
call esi
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x44]
call fcn.00448bf5
mov ecx, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 9
call fcn.0044bfe9
lea ecx, [ebp - 0x44]
call fcn.0044801b
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004029d4
cmp dword [ebp - 0x38], ebx
je 0x44c63d
cmp dword [ebp - 0x24], ebx
jne 0x44c63d
mov dword [ebp - 0x10], 1
lea eax, [ebp + 0x1000]
push eax
push dword [ebp - 0x1c]
push str.tray_pending__s____s
call fcn.00404dac
mov ecx, dword [0x4f6a6c]
add esp, 0xc
push 1
call fcn.0045efd6
mov eax, dword [ebp - 0x10]
jmp 0x44c668
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.00474a8a
add ebp, 0x1804
leave
ret