Function at 0x4766c0
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3de3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
test eax, eax
js 0x4766f3
cmp dword [eax*4 + 0x690ab8], 0
je 0x47692a
push 0x672dfc
mov ecx, 0x691118
call fcn.004084f0
mov eax, dword [eax + 0x1c]
test al, 1
jne 0x47692a
push esi
push ebx
mov esi, 0x90
push edi
push 0
lea edi, [esi - 1]
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.0046f3b0
push 1
lea ecx, [ebp - 0x2c]
push edi
push ecx
mov dword [ebp - 4], 0
call fcn.0046f3b0
add esp, 0x18
mov eax, dword [ebp - 0x2c]
mov ebx, 0x10
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], ebx
jae 0x47674e
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x476760
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], ebx
jae 0x47676b
lea eax, [ebp - 0x64]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x4767a1
mov eax, esi
sub eax, dword [0x69004c]
js 0x4767a1
cmp eax, dword [0x68b2f4]
jge 0x4767a1
cmp esi, 0x90
je 0x4767a1
mov eax, dword [eax*8 + 0x68d288]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
cmp dword [ebp - 0x18], ebx
jb 0x4767b2
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0052d217
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x50], ebx
jb 0x4767dc
mov edx, dword [ebp - 0x64]
push edx
call fcn.0052d217
add esp, 4
mov esi, edi
cmp esi, 0x78
jg 0x476715
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp eax, esi
jge 0x476804
mov ecx, dword [ebp - 0x10]
push 0x78
call fcn.00473ad0
test al, al
je 0x476927
jmp 0x47687b
push esi
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0046f3b0
push esi
lea ecx, [ebp - 0x2c]
push 0x78
push ecx
mov dword [ebp - 4], 2
call fcn.0046f3b0
mov ecx, dword [ebp - 0x2c]
add esp, 0x18
cmp dword [ebp - 0x18], ebx
jae 0x476830
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], ebx
jae 0x47683b
lea eax, [ebp - 0x64]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp dword [ebp - 0x18], ebx
jb 0x476855
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0052d217
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x50], ebx
jb 0x47687b
mov eax, dword [ebp - 0x64]
push eax
call fcn.0052d217
add esp, 4
mov eax, 0x78
sub eax, dword [0x69004c]
mov dword [0x690038], 0x78
js 0x4768aa
cmp eax, dword [0x68b2f4]
jge 0x4768aa
mov eax, dword [eax*8 + 0x68d288]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
cmp byte [ebp + 0x10], 0
je 0x476927
push 0xe
push 0x60f170
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x48], 0
call fcn.00405440
test byte [0x68987c], 1
mov ebx, 3
mov dword [ebp - 4], ebx
jne 0x476903
or dword [0x68987c], 1
mov ecx, 0x689868
mov byte [ebp - 4], 4
call fcn.0047f100
push 0x5f2070
call fcn.0052e444
add esp, 4
mov byte [ebp - 4], bl
push 0
push 0
lea ecx, [ebp - 0x48]
push ecx
mov ecx, 0x689868
call fcn.0047fc30
cmp dword [ebp - 0x34], 0x10
jb 0x476927
mov edx, dword [ebp - 0x48]
push edx
call fcn.0052d217
add esp, 4
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc