Function at 0x46eb50
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a110b
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
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 esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push ecx
push str.OperateFile::MoveFileW
lea ecx, [ebp - 0x458]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46ec22
test byte [ecx + 0x1c], 1
je 0x46ebe5
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cecd4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x6f
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
cmp ecx, 0x608f30
je 0x46ec22
test byte [ecx + 0x1c], 1
je 0x46ec22
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push ebx
push esi
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x70
call fcn.0040c1c0
add esp, 0x18
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00571c00
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00571c00
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x218]
push 0x5c6c90
push eax
call esi
push edi
push ebx
lea eax, [ebp - 0x420]
push 0x5c6c90
push eax
call esi
add esp, 0x38
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46ed03
test byte [ecx + 0x1c], 4
je 0x46ecc2
cmp dword [0x608f68], 8
lea edx, [ebp - 0x218]
push edx
mov eax, 0x608f54
mov edx, 0x5cecd4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x71
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
cmp ecx, 0x608f30
je 0x46ed03
test byte [ecx + 0x1c], 4
je 0x46ed03
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, 0x72
call fcn.00405920
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x218]
push 0x20
push eax
call esi
test eax, eax
jne 0x46edb6
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46ed73
test byte [ecx + 0x1c], 2
je 0x46ed73
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x458]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5cecd4
push esi
mov ecx, 0x73
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
mov byte [ebp - 0x454], 1
cmp ecx, 0x608f30
je 0x46f01d
test byte [ecx + 0x1c], 1
je 0x46f01d
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x74
jmp 0x46f010
push 0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x46ef83
push 0x20
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
jne 0x46ee81
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46ee3e
test byte [ecx + 0x1c], 2
je 0x46ee3e
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x458]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5cecd4
push esi
mov ecx, 0x75
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
mov byte [ebp - 0x454], 1
cmp ecx, 0x608f30
je 0x46f01d
test byte [ecx + 0x1c], 1
je 0x46f01d
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x76
jmp 0x46f010
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x46ef30
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46eeed
test byte [ecx + 0x1c], 2
je 0x46eeed
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x458]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5cecd4
push esi
mov ecx, 0x77
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
mov byte [ebp - 0x454], 1
cmp ecx, 0x608f30
je 0x46f01d
test byte [ecx + 0x1c], 1
je 0x46f01d
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x78
jmp 0x46f010
mov byte [ebp - 0x454], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46ef79
test byte [ecx + 0x1c], 1
je 0x46ef79
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 1
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x7b
call fcn.004018a0
add esp, 0x10
mov esi, 1
jmp 0x46f01f
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46efda
test byte [ecx + 0x1c], 2
je 0x46efda
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x458]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5cecd4
push esi
mov ecx, 0x79
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
mov byte [ebp - 0x454], 1
cmp ecx, 0x608f30
je 0x46f01d
test byte [ecx + 0x1c], 1
je 0x46f01d
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x7a
mov edx, 0x5cecd4
call fcn.004018a0
add esp, 0x10
xor esi, esi
lea ecx, [ebp - 0x458]
call fcn.0040a570
mov eax, esi
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