Function at 0x4c9bac
Capabilities:
Copy file
Delete file
Timestomp file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1694
call fcn.005a41d0
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x1678], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
push edi
mov dword [ebp - 0x1670], eax
push 0xa
mov eax, esi
mov dword [ebp - 0x1674], esi
call fcn.00470b1b
cmp dword [esi + 0x5d120], 7
jne 0x4c9edd
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x418], ax
xor ebx, ebx
lea eax, [ebp - 0x416]
push ebx
push eax
call fcn.00596530
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x620], ax
lea eax, [ebp - 0x61e]
push ebx
push eax
call fcn.00596530
add esp, 0xc
xor eax, eax
push 0x1046
mov word [ebp - 0x1668], ax
lea eax, [ebp - 0x1666]
push ebx
push eax
mov dword [ebp - 0x167c], 0x103
call fcn.00596530
mov eax, dword [ebp - 0x1674]
add esp, 0xc
mov edi, 0x7ffffffe
push edi
add eax, 0x5d558
mov ecx, 0x824
lea edx, [ebp - 0x1668]
call fcn.004054ba
mov ecx, dword [ebp - 0x1670]
cmp ecx, ebx
je 0x4c9cab
lea eax, [ecx + 4]
cmp word [eax], bx
je 0x4c9ca3
push edi
mov ecx, 0x824
lea edx, [ebp - 0x1668]
call fcn.004054ba
mov ecx, dword [ebp - 0x1670]
mov eax, dword [ecx]
mov dword [ebp - 0x1670], eax
push ebx
push 2
lea eax, [ebp - 0x167c]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x1668]
push eax
call dword [sym.imp.SHLWAPI.dll_UrlGetPartW]
test eax, eax
jl 0x4c9e12
xor eax, eax
cmp ax, word [ebp - 0x418]
je 0x4c9e12
push esi
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.00596530
add esp, 0xc
lea edi, [ebp - 0x210]
call fcn.00404379
lea eax, [ebp - 0x418]
push eax
mov eax, edi
push eax
push str._s_s.ico
lea eax, [ebp - 0x620]
push 0x103
push eax
call fcn.0058f42f
add esp, 0x14
lea ebx, [ebp - 0x620]
call fcn.0047601e
mov edi, dword [ebp - 0x1674]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x620]
push eax
add edi, 0x5d148
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
push 0x80
push 4
push ebx
push 2
push 0x40000000
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x166c], eax
cmp eax, 0xffffffff
je 0x4c9db8
lea eax, [ebp - 0x1694]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x1684]
push eax
lea eax, [ebp - 0x1694]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push ebx
push ebx
lea eax, [ebp - 0x1684]
push eax
push dword [ebp - 0x166c]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x166c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1674]
xor ebx, ebx
cmp dword [eax + 0x5d120], 7
jne 0x4c9e12
lea eax, [ebp - 0x166c]
push eax
push edi
mov dword [ebp - 0x166c], ebx
call fcn.0042bc3c
pop ecx
pop ecx
cmp dword [ebp - 0x166c], ebx
jne 0x4c9e04
push 1
lea eax, [ebp - 0x166c]
push eax
push ebx
push ebx
push edi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x4c9e10
cmp dword [ebp - 0x166c], ebx
je 0x4c9e10
push dword [ebp - 0x166c]
call dword [sym.imp.USER32.dll_DestroyIcon]
xor ebx, ebx
push dword [ebp - 0x1670]
call fcn.004983d6
pop ecx
mov dword [ebp - 0x1670], eax
cmp eax, ebx
je 0x4c9eca
xor eax, eax
push esi
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.00596530
mov ecx, dword [ebp - 0x1670]
add esp, 0xc
push ebx
push 2
lea eax, [ebp - 0x166c]
push eax
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x166c], 0x103
call fcn.004410b2
push eax
call dword [sym.imp.SHLWAPI.dll_UrlGetPartW]
test eax, eax
jl 0x4c9eca
lea ecx, [ebp - 0x418]
lea eax, [ebp - 0x210]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c9ea9
cmp dx, bx
je 0x4c9ea5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c9ea9
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4c9e83
xor eax, eax
jmp 0x4c9eae
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4c9eca
mov edi, dword [ebp - 0x1678]
mov eax, dword [ebp - 0x1670]
push ebx
add edi, 0x1428
call fcn.004baa80
mov esi, dword [ebp - 0x1674]
lea eax, [esi + 0x5d148]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0058f3cf
leave
ret 8