Function at 0x40ced0
Capabilities:
Copy file
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586775
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x5effd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x478], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x46c]
call fcn.004032f0
mov byte [ebp - 4], 1
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0055ed40
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x5cba8c
mov edx, dword [ebp - 0x478]
add edx, 0xe4
push edx
call fcn.0040c150
add esp, 8
movzx eax, al
test eax, eax
je 0x40cf84
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x46c]
call fcn.00402aa0
push str.gameAU
lea ecx, [ebp - 0x46c]
call fcn.0040b8f0
jmp 0x40cfc7
push 0x5cbaa8
mov edx, dword [ebp - 0x478]
add edx, 0xe4
push edx
call fcn.0040c150
add esp, 8
movzx eax, al
test eax, eax
je 0x40cfc7
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x46c]
call fcn.00402aa0
push str.gameAU3
lea ecx, [ebp - 0x46c]
call fcn.0040b8f0
lea edx, [ebp - 0x46c]
push edx
lea ecx, [ebp - 0x47c]
call fcn.004027d0
mov byte [ebp - 4], 2
push 0x5cbac4
lea eax, [ebp - 0x47c]
push eax
lea ecx, [ebp - 0x488]
push ecx
call fcn.00403bd0
add esp, 0xc
mov dword [ebp - 0x480], eax
mov edx, dword [ebp - 0x480]
mov dword [ebp - 0x484], edx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x468]
push eax
mov ecx, dword [ebp - 0x484]
call fcn.0040d250
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x474], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x488]
call fcn.00403170
cmp dword [ebp - 0x474], 0xffffffff
jne 0x40d04a
jmp 0x40d1b8
cmp dword [ebp - 0x468], 0x10
jne 0x40d05d
jmp 0x40d18f
lea ecx, [ebp - 0x43c]
push ecx
lea ecx, [ebp - 0x470]
call fcn.00404d70
mov byte [ebp - 4], 4
push 0x5cbad0
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x4b4]
push eax
call fcn.00403bd0
add esp, 0xc
mov dword [ebp - 0x48c], eax
mov ecx, dword [ebp - 0x48c]
mov dword [ebp - 0x490], ecx
mov byte [ebp - 4], 5
lea edx, [ebp - 0x470]
push edx
mov eax, dword [ebp - 0x490]
push eax
lea ecx, [ebp - 0x4b0]
push ecx
call fcn.0040a850
add esp, 0xc
mov dword [ebp - 0x494], eax
mov edx, dword [ebp - 0x494]
mov dword [ebp - 0x4a0], edx
mov byte [ebp - 4], 6
push 0x5cbad4
lea eax, [ebp - 0x46c]
push eax
lea ecx, [ebp - 0x4ac]
push ecx
call fcn.00403bd0
add esp, 0xc
mov dword [ebp - 0x498], eax
mov edx, dword [ebp - 0x498]
mov dword [ebp - 0x49c], edx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x470]
push eax
mov ecx, dword [ebp - 0x49c]
push ecx
lea edx, [ebp - 0x4a8]
push edx
call fcn.0040a850
add esp, 0xc
mov dword [ebp - 0x4a4], eax
push 0
mov ecx, dword [ebp - 0x4a0]
call fcn.00402310
push eax
mov ecx, dword [ebp - 0x4a4]
call fcn.00402310
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x4a8]
call fcn.00403170
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4ac]
call fcn.00403170
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4b0]
call fcn.00403170
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4b4]
call fcn.00403170
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x470]
call fcn.00403170
lea eax, [ebp - 0x468]
push eax
mov ecx, dword [ebp - 0x474]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40d04a
mov edx, dword [ebp - 0x474]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x47c]
call fcn.00403170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x46c]
call fcn.00403170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403170
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055c24d
mov esp, ebp
pop ebp
ret 4