Function at 0x46e250
Capabilities:
Copy file
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a10d6
mov eax, dword fs:[0]
push eax
mov eax, 0x10cc
call fcn.0056e430
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push ecx
push str.OperateFile::FileCopyAndDelete
lea ecx, [ebp - 0xe80]
mov dword [ebp - 0x10d8], edi
mov dword [ebp - 0x10d4], eax
call fcn.0040a480
mov dword [ebp - 4], 0
mov esi, dword [0x608f30]
cmp esi, 0x608f30
je 0x46e341
test byte [esi + 0x1c], 1
je 0x46e2f9
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cecd4
mov ecx, 0x63
cmovae eax, dword [0x608f54]
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.00401840
mov esi, dword [0x608f30]
add esp, 0xc
cmp esi, 0x608f30
je 0x46e341
test byte [esi + 0x1c], 1
je 0x46e341
push dword [ebp - 0x10d4]
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push ebx
push eax
push dword [esi + 0x14]
mov ecx, 0x64
push dword [esi + 0x10]
call fcn.0040c1c0
mov esi, dword [0x608f30]
add esp, 0x18
push 0x618
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00571c00
push 0x410
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.00571c00
push 0x410
lea eax, [ebp - 0xe48]
push 0
push eax
call fcn.00571c00
push 0x250
lea eax, [ebp - 0x10d0]
push 0
push eax
call fcn.00571c00
add esp, 0x30
xor edi, edi
test ebx, ebx
je 0x46e77a
cmp dword [ebp - 0x10d8], edi
je 0x46e77a
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x5c6930
push ebx
call esi
test eax, eax
je 0x46e774
push 0x5c6930
push dword [ebp - 0x10d8]
call esi
test eax, eax
je 0x46e774
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x628]
push ebx
push eax
call esi
push ebx
lea eax, [ebp - 0x420]
push eax
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp word [ebx + eax*2 - 2], 0x5c
jne 0x46e407
push 0x5cb000
jmp 0x46e41a
push 0x5c692c
lea eax, [ebp - 0x628]
push eax
call esi
push str..
lea eax, [ebp - 0x420]
push eax
call esi
mov ebx, dword [ebp - 0x10d8]
lea eax, [ebp - 0xa38]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebx + eax*2 - 2], 0x5c
je 0x46e454
push 0x5c692c
lea eax, [ebp - 0xa38]
push eax
call esi
mov ebx, dword [ebp - 0x10d4]
test ebx, ebx
je 0x46e490
push ebx
lea eax, [ebp - 0xe48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebx + eax*2 - 2], 0x5c
je 0x46e489
push 0x5c692c
lea eax, [ebp - 0xe48]
push eax
call esi
mov ebx, 1
jmp 0x46e492
xor ebx, ebx
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46e4d9
test byte [ecx + 0x1c], 4
je 0x46e4d9
cmp dword [0x608f68], 8
lea edx, [ebp - 0x420]
push edx
mov eax, 0x608f54
mov edx, 0x5cecd4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x66
call fcn.00405920
add esp, 0x10
lea ecx, [ebp - 0x10d4]
call fcn.0046a2f0
lea eax, [ebp - 0x10d0]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x46e6bc
nop word [eax + eax]
test byte [ebp - 0x10d0], 0x10
jne 0x46e69f
lea eax, [ebp - 0x10a4]
push eax
lea eax, [ebp - 0x628]
push eax
push 0x5c70f4
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0041e030
lea eax, [ebp - 0x10a4]
push eax
lea eax, [ebp - 0xa38]
push eax
push 0x5c70f4
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.0041e030
add esp, 0x28
lea eax, [ebp - 0x830]
lea ecx, [ebp - 0x10d4]
push 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0046c620
test eax, eax
jle 0x46e603
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46e5d5
test byte [ecx + 0x1c], 4
je 0x46e5d5
cmp dword [0x608f68], 8
lea edx, [ebp - 0x830]
push edx
lea edx, [ebp - 0x218]
mov eax, 0x608f54
cmovae eax, dword [0x608f54]
push edx
push eax
push dword [ecx + 0x14]
mov edx, 0x5cecd4
push dword [ecx + 0x10]
mov ecx, 0x67
call fcn.00430170
add esp, 0x14
push 0
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x46e5fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x70
je 0x46e714
mov edi, 1
test ebx, ebx
je 0x46e69f
lea eax, [ebp - 0x10a4]
push eax
lea eax, [ebp - 0xe48]
push eax
push 0x5c70f4
lea eax, [ebp - 0xc40]
push 0x104
push eax
call fcn.0041e030
add esp, 0x14
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46e679
test byte [ecx + 0x1c], 4
je 0x46e679
cmp dword [0x608f68], 8
lea edx, [ebp - 0xc40]
push edx
mov eax, 0x608f54
mov edx, 0x5cecd4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x69
call fcn.00405920
add esp, 0x10
push 0x20
lea eax, [ebp - 0xc40]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0xc40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
mov eax, 1
cmovne edi, eax
lea eax, [ebp - 0x10d0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46e510
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0xe7c], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46e704
test byte [ecx + 0x1c], 1
je 0x46e704
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x6a
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x10d4]
call fcn.0046a3c0
jmp 0x46e7bf
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0xe7c], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46e764
test byte [ecx + 0x1c], 1
je 0x46e764
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0xffffffffffffffff
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x68
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x10d4]
or edi, 0xffffffff
call fcn.0046a3c0
jmp 0x46e7bf
mov esi, dword [0x608f30]
mov byte [ebp - 0xe7c], 1
cmp esi, 0x608f30
je 0x46e7bd
test byte [esi + 0x1c], 1
je 0x46e7bd
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push eax
push dword [esi + 0x14]
mov ecx, 0x65
push dword [esi + 0x10]
call fcn.004018a0
add esp, 0x10
xor edi, edi
lea ecx, [ebp - 0xe80]
call fcn.0040a570
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 0xc