Function at 0x4dae30
Capabilities:
Check if file exists
Copy file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517742
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x550144]
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 edi, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x250
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.004e02e0
add esp, 0xc
lea ecx, [ebp - 0x270]
push esi
call fcn.0048d090
mov esi, dword [ebp - 0x274]
lea ecx, [ebp - 0x278]
push esi
mov dword [ebp - 4], 0
call fcn.0048d090
lea ecx, [ebp - 0x264]
call fcn.0047d1f0
lea ecx, [ebp - 0x26c]
call fcn.0047d1f0
push 1
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x270]
call fcn.0048c180
push 0x536b50
push eax
call fcn.0048bff0
add esp, 8
lea ecx, [ebp - 0x268]
mov bl, al
call fcn.0044c080
test bl, bl
je 0x4daf04
push 0x536b50
lea ecx, [ebp - 0x270]
call fcn.0048c580
push 1
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x278]
call fcn.0048c180
push 0x536b50
push eax
call fcn.0048bff0
add esp, 8
lea ecx, [ebp - 0x268]
mov bl, al
call fcn.0044c080
test bl, bl
je 0x4daf47
push 0x536b50
lea ecx, [ebp - 0x278]
call fcn.0048c580
push 0x5359c8
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.0048c050
add esp, 0xc
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 4
call fcn.0048d300
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
call fcn.0044c080
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x264]
call fcn.0044c0a0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x268], ebx
cmp ebx, 0xffffffff
jne 0x4dafc6
push dword [ebp - 0x270]
push 0x51fcec
push 0x550bb8
call fcn.0048d880
add esp, 0xc
xor ebx, ebx
jmp 0x4db134
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [eax]
test byte [ebp - 0x260], 0x12
jne 0x4db10a
lea eax, [ebp - 0x234]
push 0x2e
push eax
call fcn.004c6090
add esp, 8
test eax, eax
je 0x4db1f6
mov ecx, str..dll
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4db026
test dx, dx
je 0x4db022
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4db026
add eax, 4
add ecx, 4
test dx, dx
jne 0x4db000
xor eax, eax
jmp 0x4db02b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4db1f6
push dword [esi]
lea eax, [ebp - 0x234]
push eax
push 0x525608
push 0x550bb8
call fcn.0048d880
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.0048c050
add esp, 0x1c
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 5
call fcn.0048d300
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 3
call fcn.0044c080
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.0048c050
add esp, 0xc
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 6
call fcn.0048d300
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 3
call fcn.0044c080
lea ecx, [ebp - 0x26c]
call fcn.0044c0a0
cmp dword [ebp + 0x10], 0
mov esi, eax
je 0x4db19d
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4db180
push esi
lea ecx, [ebp - 0x264]
call fcn.0044c0a0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4db214
mov esi, dword [ebp - 0x274]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4dafd0
lea ebx, [eax + 1]
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x26c]
call fcn.0044c080
lea ecx, [ebp - 0x264]
call fcn.0044c080
lea ecx, [ebp - 0x278]
call fcn.0044c080
lea ecx, [ebp - 0x270]
call fcn.0044c080
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.004de51d
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp - 0x264]
push 0x525688
push 0x550bb8
call fcn.0048d880
add esp, 0xc
jmp 0x4db104
push 0
push esi
lea ecx, [ebp - 0x264]
call fcn.0044c0a0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4db104
call ebx
cmp eax, 5
je 0x4db1d3
cmp eax, 0x20
jne 0x4db23c
cmp dword [edi + 0x54], 1
jne 0x4db1d3
mov dword [edi + 0x58], 1
push dword [ebp - 0x264]
push dword [ebp - 0x26c]
push 0x525700
push 0x550bb8
call fcn.0048d880
add esp, 0x10
jmp 0x4db104
lea eax, [ebp - 0x234]
push eax
push 0x51fd2c
push 0x550bb8
call fcn.0048d880
add esp, 0xc
jmp 0x4db10a
call ebx
push eax
push dword [ebp - 0x264]
push dword [ebp - 0x26c]
push 0x525648
push 0x550bb8
call fcn.0048d880
add esp, 0x14
xor ebx, ebx
jmp 0x4db128
call ebx
push eax
push dword [ebp - 0x264]
push dword [ebp - 0x26c]
push 0x5256b8
push 0x550bb8
call fcn.0048d880
add esp, 0x14
xor ebx, ebx
jmp 0x4db128