Function at 0x54446c
Capabilities:
Copy file
Delete file
Get common file path
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xb4
push 0
push 0
dec ecx
jne 0x544475
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 0x11], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405bbc
mov eax, dword [ebp - 8]
call fcn.00405bbc
xor eax, eax
push ebp
push 0x544969
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x13], 1
lea eax, [ebp - 0x10]
call fcn.0040573c
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x5444c7
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x5444d5
sub eax, 4
mov eax, dword [eax]
mov esi, eax
lea eax, [ebx + 1]
add eax, eax
call fcn.00402f38
mov edi, eax
lea eax, [ebx + 1]
mov edx, eax
add edx, edx
mov eax, edi
xor ecx, ecx
call fcn.00403b7c
lea eax, [ebx + 1]
push eax
push edi
inc ebx
push ebx
mov eax, dword [ebp - 4]
call fcn.00405bcc
push eax
push 0
call sub.kernel32.dll_GetACP_1
push eax
call sub.kernel32.dll_MultiByteToWideChar_1
lea eax, [esi + 1]
add eax, eax
call fcn.00402f38
mov ebx, eax
lea eax, [esi + 1]
mov edx, eax
add edx, edx
mov eax, ebx
xor ecx, ecx
call fcn.00403b7c
lea eax, [esi + 1]
push eax
push ebx
inc esi
push esi
mov eax, dword [ebp - 8]
call fcn.00405bcc
push eax
push 0
call sub.kernel32.dll_GetACP_1
push eax
call sub.kernel32.dll_MultiByteToWideChar_1
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x544571
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x5446ec
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x20
je 0x544584
cmp eax, 5
jne 0x5446ec
cmp byte [ebp - 0x11], 0
je 0x544659
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.004057d4
cmp dword [ebp - 0x18], 0
je 0x5445a7
mov eax, dword [ebp - 0x18]
call fcn.00402f54
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 8]
mov edx, 0x544984
call fcn.00405a08
mov eax, dword [ebp - 8]
test eax, eax
je 0x5445c3
sub eax, 4
mov eax, dword [eax]
mov esi, eax
lea eax, [esi + 1]
add eax, eax
call fcn.00402f38
mov ebx, eax
lea eax, [esi + 1]
mov edx, eax
add edx, edx
mov eax, ebx
xor ecx, ecx
call fcn.00403b7c
lea eax, [esi + 1]
push eax
push ebx
inc esi
push esi
mov eax, dword [ebp - 8]
call fcn.00405bcc
push eax
push 0
call sub.kernel32.dll_GetACP_1
push eax
call sub.kernel32.dll_MultiByteToWideChar_1
push 0x20
push ebx
call sub.kernel32.dll_SetFileAttributesW
push ebx
call sub.kernel32.dll_DeleteFileW
lea eax, [ebp - 0x564]
push eax
push ebx
call sub.kernel32.dll_FindFirstFileW
cmp eax, 0xffffffff
je 0x5446ec
push eax
call sub.kernel32.dll_FindClose_2
mov byte [ebp - 0x12], 0
test edi, edi
je 0x544637
mov eax, edi
call fcn.00402f54
test ebx, ebx
je 0x544642
mov eax, ebx
call fcn.00402f54
cmp dword [ebp - 0x18], 0
je 0x544913
mov eax, dword [ebp - 0x18]
call fcn.00402f54
jmp 0x544913
push 0
lea eax, [ebp - 0x56c]
push eax
lea ecx, [ebp - 0x570]
mov eax, dword [0x55a778]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov edx, 0x544994
call fcn.00486174
mov eax, dword [ebp - 0x570]
push eax
lea edx, [ebp - 0x57c]
mov eax, dword [ebp - 8]
call fcn.0040b8f4
mov eax, dword [ebp - 0x57c]
mov dword [ebp - 0x578], eax
mov byte [ebp - 0x574], 0xb
lea edx, [ebp - 0x578]
xor ecx, ecx
pop eax
call fcn.0040c558
mov edx, dword [ebp - 0x56c]
lea eax, [ebp - 0x568]
call fcn.00406120
mov eax, dword [ebp - 0x568]
movzx ecx, word [0x5449d4]
mov dl, 1
call fcn.004fde7c
cmp eax, 4
je 0x544549
mov byte [ebp - 0x12], 0
jmp 0x544913
push 0
push ebx
push edi
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x544776
lea eax, [ebp - 0x580]
push eax
lea ecx, [ebp - 0x584]
mov eax, dword [0x55a778]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov edx, 0x5449e0
call fcn.00486174
mov eax, dword [ebp - 0x584]
push eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x59c], eax
mov byte [ebp - 0x598], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x594], eax
mov byte [ebp - 0x590], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x58c], eax
mov byte [ebp - 0x588], 0xb
lea edx, [ebp - 0x59c]
mov ecx, 2
pop eax
call fcn.0040c558
mov eax, dword [ebp - 0x580]
call fcn.0044d130
mov byte [ebp - 0x13], 0
cmp byte [ebp - 0x13], 0
je 0x5448e8
cmp dword [ebp - 0x10], 0
je 0x5448e8
mov byte [0x560974], 1
mov eax, dword [0x55a660]
mov byte [eax], 6
lea edx, [ebp - 0x5a0]
mov eax, dword [ebp - 8]
call fcn.0040b8f4
mov edx, dword [ebp - 0x5a0]
mov eax, dword [0x55a634]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 5
mov eax, dword [ebp - 0x18]
push eax
push ebx
call sub.kernel32.dll_MoveFileExW
test eax, eax
jne 0x5448e8
push 0x122
lea eax, [ebp - 0x145]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x5a8]
lea edx, [ebp - 0x145]
mov ecx, 0x12d
call fcn.004059ac
mov eax, dword [ebp - 0x5a8]
lea ecx, [ebp - 0x5a4]
mov edx, 0x544a08
call fcn.004fe830
mov edx, dword [ebp - 0x5a4]
lea eax, [ebp - 0x314]
call fcn.0040388c
lea eax, [ebp - 0x314]
call fcn.00403628
call fcn.00403228
test eax, eax
je 0x544854
lea eax, [ebp - 0x314]
call fcn.0040361c
call fcn.00403228
mov edx, 0x544a1c
lea eax, [ebp - 0x314]
call fcn.00405eec
call fcn.004041d0
call fcn.00403228
cmp dword [ebp - 0x10], 0
je 0x544884
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0050086c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x314]
call fcn.00405eec
call fcn.0040393c
call fcn.00403094
jmp 0x54489e
mov edx, 0x544a30
lea eax, [ebp - 0x314]
call fcn.00405eec
call fcn.0040393c
call fcn.00403094
mov dl, 0x3d
lea eax, [ebp - 0x314]
call fcn.00404194
call fcn.0040393c
call fcn.00403094
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0050086c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x314]
call fcn.00405eec
call fcn.004041d0
call fcn.00403094
lea eax, [ebp - 0x314]
call fcn.00403954
call fcn.00403094
test edi, edi
je 0x5448f3
mov eax, edi
call fcn.00402f54
test ebx, ebx
je 0x5448fe
mov eax, ebx
call fcn.00402f54
cmp dword [ebp - 0x18], 0
je 0x54490c
mov eax, dword [ebp - 0x18]
call fcn.00402f54
movzx eax, byte [ebp - 0x13]
mov byte [ebp - 0x12], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x544970
lea eax, [ebp - 0x5a8]
mov edx, 3
call fcn.00405760
lea eax, [ebp - 0x584]
mov edx, 3
call fcn.00405760
lea eax, [ebp - 0x570]
mov edx, 2
call fcn.00405760
lea eax, [ebp - 0x568]
call fcn.00405f44
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405760
ret