Function at 0x41a400
Capabilities:
Check if file exists
Copy file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43d001
mov eax, dword fs:[0]
push eax
sub esp, 0x898
mov eax, dword [0x4516e0]
xor eax, esp
mov dword [esp + 0x890], eax
push ebx
push esi
push edi
mov eax, dword [0x4516e0]
xor eax, esp
push eax
lea eax, [esp + 0x8a8]
mov dword fs:[0], eax
mov ebx, edx
mov eax, ecx
mov dword [esp + 0x10], eax
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
jne 0x41a45c
xor eax, eax
jmp 0x41a769
push ebx
call esi
test eax, eax
jne 0x41a581
call fcn.004083ea
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x41a483
push 0x80004005
call fcn.004085b7
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x8b0], 0
test ebx, ebx
je 0x41a4d1
test ebx, 0xffff0000
jne 0x41a4b7
movzx eax, bx
lea ecx, [esp + 0x18]
push eax
call fcn.00407e64
jmp 0x41a4de
mov ecx, ebx
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a4c0
sub ecx, edx
sar ecx, 1
jmp 0x41a4d3
xor ecx, ecx
push ecx
push ebx
lea ecx, [esp + 0x20]
call fcn.00408040
mov dword [esp + 0x8b0], 1
mov esi, dword [esp + 0x18]
push 0x5c
push esi
call fcn.0041e87b
add esp, 8
or edi, 0xffffffff
test eax, eax
je 0x41a558
sub eax, esi
sar eax, 1
test eax, eax
jle 0x41a558
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.00407dd0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8b4], 2
call fcn.00409de8
mov byte [esp + 0x8b0], 1
mov ecx, edi
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a54d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.0041adb0
mov ecx, ebx
call fcn.0041adb0
add esi, 0xfffffff0
mov dword [esp + 0x8b0], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x41a581
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0x24c
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0
push 0
push eax
mov esi, 1
call fcn.00422860
push 0x20a
lea eax, [esp + 0x69c]
push 0
push eax
call fcn.00422860
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x6a4]
add esp, 0x18
push dword [esp + 0x10]
push eax
call edi
push 0x44b0fc
lea eax, [esp + 0x690]
push eax
call edi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x690]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x41a455
lea esp, [esp]
mov ecx, 0x44b104
lea eax, [esp + 0x48]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41a636
test dx, dx
je 0x41a632
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41a636
add eax, 4
add ecx, 4
test dx, dx
jne 0x41a610
xor eax, eax
jmp 0x41a63b
sbb eax, eax
or eax, 1
test eax, eax
je 0x41a746
mov ecx, 0x44a7b8
lea eax, [esp + 0x48]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41a676
test dx, dx
je 0x41a672
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41a676
add eax, 4
add ecx, 4
test dx, dx
jne 0x41a650
xor eax, eax
jmp 0x41a67b
sbb eax, eax
or eax, 1
test eax, eax
je 0x41a746
push 0x20a
lea eax, [esp + 0x480]
push 0
push eax
call fcn.00422860
add esp, 0xc
lea eax, [esp + 0x47c]
push dword [esp + 0x10]
push eax
call edi
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x480]
push eax
call edi
push 0x20a
lea eax, [esp + 0x270]
push 0
push eax
call fcn.00422860
add esp, 0xc
lea eax, [esp + 0x26c]
push ebx
push eax
call edi
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x270]
push eax
call edi
push 0x80
lea eax, [esp + 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [esp + 0x1c], 0x10
je 0x41a719
lea edx, [esp + 0x26c]
lea ecx, [esp + 0x47c]
call fcn.0041a400
mov esi, eax
jmp 0x41a746
push 0
lea eax, [esp + 0x270]
push eax
lea eax, [esp + 0x484]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
lea eax, [esp + 0x26c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41a600
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
mov ecx, dword [esp + 0x8a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x890]
xor ecx, esp
call fcn.0041e635
mov esp, ebp
pop ebp
ret