Function at 0x4c4760
Capabilities:
Copy file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511712
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x54b144]
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]
lea eax, [ebp - 0x260]
mov edi, dword [ebp + 0xc]
push 0x250
push 0
push eax
call fcn.004dcc10
add esp, 0xc
lea ecx, [ebp - 0x270]
push esi
call fcn.0048cc30
push edi
lea ecx, [ebp - 0x274]
mov dword [ebp - 4], 0
call fcn.0048cc30
lea ecx, [ebp - 0x264]
call fcn.0047d0b0
lea ecx, [ebp - 0x26c]
call fcn.0047d0b0
push 1
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x270]
call fcn.0048bd20
push 0x5329c0
push eax
call fcn.0048bb90
add esp, 8
lea ecx, [ebp - 0x268]
mov bl, al
call fcn.0044c000
test bl, bl
je 0x4c4826
push 0x5329c0
lea ecx, [ebp - 0x270]
call fcn.0048c120
push 1
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x274]
call fcn.0048bd20
push 0x5329c0
push eax
call fcn.0048bb90
add esp, 8
lea ecx, [ebp - 0x268]
mov bl, al
call fcn.0044c000
test bl, bl
je 0x4c4869
push 0x5329c0
lea ecx, [ebp - 0x274]
call fcn.0048c120
push 0x531838
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.0048bbf0
add esp, 0xc
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 4
call fcn.0048cea0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
call fcn.0044c000
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x264]
call fcn.0044c020
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x268], ebx
cmp ebx, 0xffffffff
jne 0x4c48e8
push dword [ebp - 0x270]
push 0x51c8bc
push 0x54bba8
call fcn.0048d420
add esp, 0xc
xor ebx, ebx
jmp 0x4c4a3e
mov ebx, 1
nop dword [eax]
test byte [ebp - 0x260], 0x12
jne 0x4c4ad8
lea eax, [ebp - 0x234]
push 0x2e
push eax
call fcn.004c5340
add esp, 8
test eax, eax
je 0x4c4abf
mov ecx, str..dll
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c4946
test dx, dx
je 0x4c4942
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c4946
add eax, 4
add ecx, 4
test dx, dx
jne 0x4c4920
xor eax, eax
jmp 0x4c494b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4c4abf
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0048bbf0
add esp, 0xc
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 5
call fcn.0048cea0
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 3
call fcn.0044c000
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.0048bbf0
add esp, 0xc
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 6
call fcn.0048cea0
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 3
call fcn.0044c000
lea ecx, [ebp - 0x26c]
call fcn.0044c020
lea ecx, [ebp - 0x264]
mov esi, eax
call fcn.0044c020
cmp dword [ebp + 0x10], 0
mov edi, eax
push 0
push esi
je 0x4c4aae
call fcn.004e43a1
add esp, 8
test eax, eax
je 0x4c4a8a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4c4ad8
push dword [ebp - 0x264]
push dword [ebp - 0x26c]
push 0x51c930
push 0x54bba8
call fcn.0048d420
add esp, 0x10
xor ebx, ebx
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x26c]
call fcn.0044c000
lea ecx, [ebp - 0x264]
call fcn.0044c000
lea ecx, [ebp - 0x274]
call fcn.0044c000
lea ecx, [ebp - 0x270]
call fcn.0044c000
mov eax, ebx
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.004dafe6
mov esp, ebp
pop ebp
ret 0xc
push 5
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4c4ad8
push dword [ebp - 0x26c]
push dword [ebp - 0x264]
push 0x51c968
jmp 0x4c4a23
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4c4a12
jmp 0x4c4ad8
lea eax, [ebp - 0x234]
push eax
push 0x51c8fc
push 0x54bba8
call fcn.0048d420
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4c48f0
jmp 0x4c4a32