Function at 0x417a00
Capabilities:
Check if file exists
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e195a
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x51c240]
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 eax, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x478], ebx
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [eax]
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x490], edi
call esi
test eax, eax
je 0x417e45
push dword [edi]
call esi
test eax, eax
je 0x417a6b
push edi
call fcn.00417e80
add esp, 4
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x417e3f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00488360
mov edi, dword [ebp - 0x46c]
lea eax, [ebp - 0x218]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
push dword [edi]
push eax
call esi
push 0x4ef218
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x470], eax
cmp eax, 0xffffffff
je 0x417e3f
test eax, eax
je 0x417e3f
mov esi, eax
nop word [eax + eax]
cmp word [ebp - 0x43c], 0x2e
mov ax, word [ebp - 0x43a]
jne 0x417b0a
test ax, ax
je 0x417e20
cmp ax, 0x2e
jne 0x417b1e
cmp word [ebp - 0x438], 0
je 0x417e20
mov eax, dword [edi]
mov dword [ebp - 4], 0
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x417b37
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x417b4b
call fcn.00402e80
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x417e6b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
or ebx, 1
mov dword [ebp - 0x48c], ebx
mov dword [ebp - 0x478], ebx
lea esi, [eax + 0x10]
mov eax, dword [edi]
mov dword [ebp - 0x480], esi
mov dword [ebp - 0x488], eax
mov edi, dword [eax - 0xc]
lea ebx, [edi + 1]
test ebx, ebx
js 0x417e61
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x417ba3
push ebx
lea ecx, [ebp - 0x480]
call fcn.00403c60
mov esi, dword [ebp - 0x480]
add edi, edi
push edi
push dword [ebp - 0x488]
push edi
push esi
call fcn.00418cd0
lea ecx, [edi + esi]
add esp, 0x10
test ecx, ecx
jne 0x417bcf
call fcn.004929dd
mov dword [eax], 0x16
call fcn.004928b6
jmp 0x417bd8
mov ax, word [0x4ee59c]
mov word [ecx], ax
cmp ebx, dword [esi - 8]
jg 0x417e61
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.0040ea30
add esp, 0xc
mov ebx, dword [ebp - 0x48c]
and ebx, 0xfffffffe
mov dword [ebp - 0x478], ebx
mov dword [ebp - 0x488], ebx
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x417c38
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x474]
test eax, eax
je 0x417e6b
mov ecx, dword [ebp - 0x490]
mov edx, eax
mov edi, dword [ecx]
mov ecx, edi
mov si, word [ecx]
cmp si, word [edx]
jne 0x417c78
test si, si
je 0x417c74
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x417c78
add ecx, 4
add edx, 4
test si, si
jne 0x417c52
xor ecx, ecx
jmp 0x417c7d
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x417c89
lea edx, [eax - 0x10]
jmp 0x417df8
mov ecx, dword [edi - 0x10]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x417c9d
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x417cb1
call fcn.00402e80
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x417e6b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
or ebx, 4
mov dword [ebp - 0x478], ebx
lea esi, [eax + 0x10]
mov eax, dword [ebp - 0x490]
mov dword [ebp - 0x484], esi
mov eax, dword [eax]
mov dword [ebp - 0x48c], eax
mov edi, dword [eax - 0xc]
lea ebx, [edi + 1]
test ebx, ebx
js 0x417e61
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x417d09
push ebx
lea ecx, [ebp - 0x484]
call fcn.00403c60
mov esi, dword [ebp - 0x484]
add edi, edi
push edi
push dword [ebp - 0x48c]
push edi
push esi
call fcn.00418cd0
lea ecx, [edi + esi]
add esp, 0x10
test ecx, ecx
jne 0x417d35
call fcn.004929dd
mov dword [eax], 0x16
call fcn.004928b6
jmp 0x417d3e
mov ax, word [0x4ee59c]
mov word [ecx], ax
cmp ebx, dword [esi - 8]
jg 0x417e61
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x484]
push eax
lea eax, [ebp - 0x47c]
push eax
call fcn.0040ea30
add esp, 0xc
mov ebx, dword [ebp - 0x488]
and ebx, 0xfffffffb
mov dword [ebp - 0x478], ebx
mov byte [ebp - 4], 5
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x417d98
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp - 0x468], 0x10
je 0x417db9
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.00417a00
add esp, 8
jmp 0x417dcd
push 0
push dword [ebp - 0x47c]
push dword [ebp - 0x474]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x47c]
or eax, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417def
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x474]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417e14
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x470]
mov edi, dword [ebp - 0x46c]
lea eax, [ebp - 0x468]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x417af0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x417e45
call dword [sym.imp.KERNEL32.dll_GetLastError]
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.0044db73
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402bc0
push 0x80004005
call fcn.00402bc0
int3