Function at 0x414dd0
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0xc30
mov dword [ebp - 0x268], eax
call fcn.004e6b5b
mov dword [ebp - 0x26c], eax
push esi
mov dword [ebp - 0x258], 0
lea edi, [eax + 0x208]
lea eax, [edi + 0x208]
lea ebx, [eax + 0x208]
mov dword [ebp - 0x264], eax
lea eax, [ebx + 0x208]
mov dword [ebp - 0x260], eax
call fcn.00415960
add esp, 8
test eax, eax
jle 0x414e50
push 0x104
push ebx
push 0x54897c
push esi
call fcn.0048f340
jmp 0x414e5e
push 0
push esi
push 0x104
push ebx
call fcn.004823d0
mov esi, dword [ebp - 0x26c]
add esp, 0x10
push 0
push 0
push edi
push esi
push ebx
call fcn.0051545f
push 0
push 0
push edi
lea eax, [edi + 0x208]
push esi
push eax
call fcn.00514cf8
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [ebp - 0x254]
add esp, 0x28
push eax
push ebx
call edi
mov dword [ebp - 0x25c], eax
cmp eax, 0xffffffff
jne 0x414eab
or ebx, 0xffffffff
jmp 0x4150eb
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
test byte [ebp - 0x254], 0x10
jne 0x414f1b
push 0x104
lea eax, [ebx + 0x208]
push eax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x264]
call fcn.0048f340
push 0x104
lea eax, [ebx + 0x410]
push eax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x268]
call fcn.0048f340
add esp, 0x20
lea ecx, [ebx + 0x208]
lea eax, [ecx + 0x208]
push 0
push eax
push ecx
call esi
test eax, eax
je 0x414f38
inc dword [ebp - 0x258]
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x254]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x414f64
mov eax, dword [ebp - 0x25c]
jmp 0x414eb1
mov ecx, dword [ebp - 0x260]
lea eax, [ecx + 0x208]
push eax
push ecx
call fcn.0048ed30
add esp, 4
push eax
push 0x2f4f
call fcn.00489f40
add esp, 0xc
or ebx, 0xffffffff
jmp 0x4150de
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x4150c6
cmp dword [ebp + 0x10], 0
je 0x4150d8
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x254]
push eax
push ebx
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x414ea3
nop
test byte [ebp - 0x254], 0x10
je 0x41508d
mov ecx, 0x5489a0
lea eax, [ebp - 0x228]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x414fde
test dx, dx
je 0x414fda
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x414fde
add eax, 4
add ecx, 4
test dx, dx
jne 0x414fb8
xor eax, eax
jmp 0x414fe3
sbb eax, eax
or eax, 1
test eax, eax
je 0x41508d
mov eax, 0x5489a4
lea ecx, [ebp - 0x228]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x41501c
test dx, dx
je 0x415018
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x41501c
add ecx, 4
add eax, 4
test dx, dx
jne 0x414ff6
xor eax, eax
jmp 0x415021
sbb eax, eax
or eax, 1
test eax, eax
je 0x41508d
mov esi, dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push 0x104
push esi
push eax
push dword [ebp - 0x264]
call fcn.0048f340
push 0x104
lea ebx, [esi + 0x208]
push ebx
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x268]
call fcn.0048f340
add esp, 0x20
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 1
push ebx
push esi
call fcn.00414dd0
add esp, 0xc
test eax, eax
js 0x4150c1
mov ebx, dword [ebp - 0x258]
add ebx, eax
mov dword [ebp - 0x258], ebx
jmp 0x415093
mov ebx, dword [ebp - 0x258]
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x414fa0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x4150e4
push str.FindNextFile
call fcn.0048a190
add esp, 4
or ebx, 0xffffffff
jmp 0x4150e4
push str.FindNextFile
call fcn.0048a190
add esp, 4
or ebx, 0xffffffff
jmp 0x4150de
mov ebx, dword [ebp - 0x258]
mov edi, dword [ebp - 0x25c]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x26c]
call fcn.004e6b64
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00507257
mov esp, ebp
pop ebp
ret