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

Disassembly:
push ebp
lea ebp, [esp - 0x1804]
mov eax, 0x1804
call fcn.00476b40
push 0xffffffffffffffff
push 0x4b1582
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.0044ad4b
test ebx, ebx
je 0x44c8a9
test edi, edi
je 0x44c8a9
push 3
push edi
push ebx
call fcn.00477d1d
add esp, 0xc
test eax, eax
je 0x44c560
push 0
push dword [ebp - 0x20]
push esi
push edi
push ebx
call fcn.00448508
add esp, 0x14
jmp 0x44c8ab
mov ebx, 0x800
push ebx
xor esi, esi
lea eax, [ebp]
push esi
push eax
call fcn.00475420
push 0x400
lea eax, [ebp]
push edi
push eax
call fcn.004753d2
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.004474aa
add esp, 4
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x44c5b8
push edi
push dword [ebp - 0x20]
call fcn.004473e3
pop ecx
pop ecx
jmp 0x44c5c4
push 3
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp eax, esi
jne 0x44c8ab
push 0x4bdb88
lea ecx, [ebp - 0x10]
call fcn.004024e0
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.00448e38
mov ecx, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.0044c22c
lea ecx, [ebp - 0x30]
call fcn.0044827d
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00402820
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.0044841f
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x44c786
push ebx
push eax
lea eax, [ebp + 0x800]
push eax
call fcn.00475420
add esp, 0xc
lea eax, [ebp + 0x800]
push eax
push 0
push 0x4ba438
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x44c689
push 0x4bdb74
lea ecx, [ebp - 0x10]
call fcn.004024e0
mov dword [ebp - 4], 2
call esi
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.00448e38
mov byte [ebp - 4], 3
jmp 0x44c766
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 0x44c738
push 4
pop ebx
push ebx
push 0
push eax
call fcn.004476f3
push edi
push dword [ebp - 0x1c]
push str.rename_locale_and_try__s____s
call fcn.00404da7
add esp, 0x18
cmp dword [ebp - 0x14], 0
je 0x44c6d7
push edi
push dword [ebp - 0x20]
call fcn.004473e3
pop ecx
pop ecx
jmp 0x44c6e3
push 3
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x44c8a4
push 0x4bdb20
lea ecx, [ebp - 0x10]
call fcn.004024e0
mov dword [ebp - 4], ebx
call esi
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.00448e38
mov ecx, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
call fcn.0044c22c
lea ecx, [ebp - 0x30]
call fcn.0044827d
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00402820
mov ebx, 0x800
jmp 0x44c786
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.T_rT
lea ecx, [ebp - 0x10]
call fcn.004024e0
mov dword [ebp - 4], 6
call esi
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.00448e38
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x18]
push eax
call fcn.0044c22c
lea ecx, [ebp - 0x30]
call fcn.0044827d
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00402820
push ebx
lea eax, [ebp + 0x1000]
push 0
push eax
call fcn.00475420
add esp, 0xc
lea eax, [ebp + 0x1000]
push eax
xor ebx, ebx
push ebx
push 0x4ba438
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp + 0x1000]
cmp dword [ebp - 0x14], ebx
je 0x44c7c9
push eax
push dword [ebp - 0x20]
call fcn.004473e3
pop ecx
pop ecx
jmp 0x44c7d5
push 3
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x44c81b
push 5
lea eax, [ebp + 0x1000]
push edi
push eax
call fcn.004476f3
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x34]
add esp, 0xc
cmp eax, ebx
je 0x44c816
lea ecx, [ebp + 0x1000]
push ecx
lea ecx, [eax + 0x238]
push ecx
lea ecx, [eax + 0x218]
push ecx
push eax
call fcn.00447291
add esp, 0x10
cmp dword [ebp - 0x10], ebx
jne 0x44c86f
lea eax, [ebp + 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4bdaf8
lea ecx, [ebp - 0x14]
call fcn.004024e0
mov dword [ebp - 4], 8
call esi
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x44]
call fcn.00448e38
mov ecx, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 9
call fcn.0044c22c
lea ecx, [ebp - 0x44]
call fcn.0044827d
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00402820
cmp dword [ebp - 0x38], ebx
je 0x44c880
cmp dword [ebp - 0x24], ebx
jne 0x44c880
mov dword [ebp - 0x10], 1
lea eax, [ebp + 0x1000]
push eax
push dword [ebp - 0x1c]
push str.tray_pending__s____s
call fcn.00404da7
mov ecx, dword [0x4f7b88]
add esp, 0xc
push 1
call fcn.0045fe9f
mov eax, dword [ebp - 0x10]
jmp 0x44c8ab
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.0047549a
add ebp, 0x1804
leave
ret