Function at 0x475600
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4af5d8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [0x500de4]
mov eax, dword [edx + 0xc]
mov ecx, 0x500de4
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
movzx ecx, word [esp + 0x2a]
movzx edx, word [esp + 0x26]
movzx eax, word [esp + 0x24]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push str._d__d__d
push ecx
mov dword [esp + 0x50], 0
call fcn.00405e90
push str.Today
push 0x4b6f6c
lea edx, [esp + 0x34]
push str.date
push edx
call fcn.00443960
add esp, 0x24
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
test eax, eax
mov edi, dword [esp + 0x14]
mov byte [esp + 0x3c], 1
je 0x4757b4
push ecx
push edi
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x4757b4
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.0043a320
push str.data_rcmdlocalse.dat
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x50], 2
call fcn.00405d30
add esp, 0x14
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x475700
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push 0
push ecx
call fcn.0043a320
push str.data_rcmdlocalse.dat.rep
push eax
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x50], 5
call fcn.00405d30
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x3c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x475749
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
call esi
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47578f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4757b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Today
push str.date
call fcn.004439f0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x3c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4757eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47580f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x34
ret