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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1694
call fcn.005482e0
mov eax, dword [0x5afee0]
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 ebx, ecx
push edi
mov dword [ebp - 0x1670], eax
push 0xa
mov eax, ebx
mov dword [ebp - 0x1674], ebx
call fcn.00490da0
cmp dword [ebx + 0x5d120], 7
jne 0x47fe70
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x418], ax
xor edi, edi
lea eax, [ebp - 0x416]
push edi
push eax
call fcn.00537010
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x620], ax
lea eax, [ebp - 0x61e]
push edi
push eax
call fcn.00537010
add esp, 0xc
xor eax, eax
push 0x1046
mov word [ebp - 0x1668], ax
lea eax, [ebp - 0x1666]
push edi
push eax
mov dword [ebp - 0x167c], 0x103
call fcn.00537010
lea edx, [ebx + 0x5d558]
add esp, 0xc
lea eax, [ebp - 0x1668]
mov ebx, 0x824
push eax
mov ecx, ebx
call fcn.00408533
mov eax, dword [ebp - 0x1670]
cmp eax, edi
je 0x47fc44
lea edx, [eax + 4]
cmp word [edx], di
je 0x47fc3c
lea eax, [ebp - 0x1668]
push eax
mov ecx, ebx
call fcn.00408533
mov eax, dword [ebp - 0x1670]
mov eax, dword [eax]
mov dword [ebp - 0x1670], eax
push edi
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 0x47fdab
xor eax, eax
cmp ax, word [ebp - 0x418]
je 0x47fdab
push esi
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.00537010
add esp, 0xc
lea edi, [ebp - 0x210]
call fcn.00413045
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.00532a01
add esp, 0x14
lea ebx, [ebp - 0x620]
call fcn.0049699b
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 0x47fd51
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]
cmp dword [eax + 0x5d120], 7
jne 0x47fda9
lea eax, [ebp - 0x166c]
push eax
xor ebx, ebx
push edi
mov dword [ebp - 0x166c], ebx
call fcn.0049a93c
pop ecx
pop ecx
cmp dword [ebp - 0x166c], ebx
jne 0x47fd9d
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 0x47fda9
cmp dword [ebp - 0x166c], ebx
je 0x47fda9
push dword [ebp - 0x166c]
call dword [sym.imp.USER32.dll_DestroyIcon]
xor edi, edi
push dword [ebp - 0x1670]
call fcn.00420bf1
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x47fe57
xor eax, eax
push esi
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.00537010
add esp, 0xc
push edi
push 2
lea eax, [ebp - 0x1670]
push eax
lea eax, [ebp - 0x210]
push eax
mov ecx, ebx
mov dword [ebp - 0x1670], 0x103
call fcn.004207c3
push eax
call dword [sym.imp.SHLWAPI.dll_UrlGetPartW]
test eax, eax
jl 0x47fe57
lea ecx, [ebp - 0x418]
lea eax, [ebp - 0x210]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47fe3a
cmp dx, di
je 0x47fe36
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47fe3a
add eax, 4
add ecx, 4
cmp dx, di
jne 0x47fe14
xor eax, eax
jmp 0x47fe3f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x47fe57
mov ecx, dword [ebp - 0x1678]
push edi
mov edi, dword [ecx + 0x4dc]
mov eax, ebx
call fcn.0045020d
mov esi, dword [ebp - 0x1674]
lea eax, [esi + 0x5d148]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi]
mov ecx, esi
jmp 0x47fe74
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0052f7d0
leave
ret 8