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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x12a4
call fcn.00407f60
mov eax, dword [0x410020]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x12a4], ecx
mov word [ebp - 0xc80], 0
push 0x206
push 0
lea eax, [ebp - 0xc7e]
push eax
call fcn.004010a0
add esp, 0xc
mov dword [ebp - 0x1094], 1
mov word [ebp - 0x868], 0
push 0x206
push 0
lea ecx, [ebp - 0x866]
push ecx
call fcn.004010a0
add esp, 0xc
mov word [ebp - 0x660], 0
push 0x206
push 0
lea edx, [ebp - 0x65e]
push edx
call fcn.004010a0
add esp, 0xc
mov word [ebp - 0xa78], 0
push 0x206
push 0
lea eax, [ebp - 0xa76]
push eax
call fcn.004010a0
add esp, 0xc
mov word [ebp - 0x12a0], 0
push 0x206
push 0
lea ecx, [ebp - 0x129e]
push ecx
call fcn.004010a0
add esp, 0xc
mov word [ebp - 0xe8c], 0
xor edx, edx
mov dword [ebp - 0xe8a], edx
mov word [ebp - 0x1090], 0
push 0x1fe
push 0
lea eax, [ebp - 0x108e]
push eax
call fcn.004010a0
add esp, 0xc
mov word [ebp - 0x208], 0
push 0x1fe
push 0
lea ecx, [ebp - 0x206]
push ecx
call fcn.004010a0
add esp, 0xc
mov word [ebp - 0xe80], 0
push 0x1fe
push 0
lea edx, [ebp - 0xe7e]
push edx
call fcn.004010a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0xc80]
push eax
mov ecx, dword [ebp - 0x12a4]
mov edx, dword [ecx + 0x10]
call edx
test eax, eax
jne 0x408e60
push 0x102
mov ecx, dword [ebp - 0x12a4]
call fcn.00408190
jmp 0x409125
push str.System32DRVSTORE_
lea eax, [ebp - 0xc80]
push eax
call fcn.0040111a
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xc80]
push edx
call fcn.0040111a
add esp, 8
lea eax, [ebp - 0xe80]
push eax
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x1090]
push edx
lea eax, [ebp - 0xe8c]
push eax
lea ecx, [ebp - 0xc80]
push ecx
call fcn.0040197c
add esp, 0x14
push 0
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x1090]
push eax
lea ecx, [ebp - 0xe8c]
push ecx
lea edx, [ebp - 0xc80]
push edx
call fcn.004019c6
add esp, 0x14
push 0x40ed84
lea eax, [ebp - 0xc80]
push eax
call fcn.0040111a
add esp, 8
lea ecx, [ebp - 0x458]
push ecx
lea edx, [ebp - 0xc80]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x86c], eax
jmp 0x408f22
lea eax, [ebp - 0x458]
push eax
mov ecx, dword [ebp - 0x86c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x1094], eax
cmp dword [ebp - 0x86c], 0xffffffff
je 0x409120
cmp dword [ebp - 0x1094], 0
je 0x409120
push 0x104
lea edx, [ebp - 0xc80]
push edx
mov eax, dword [ebp - 0x12a4]
mov ecx, dword [eax + 0x10]
call ecx
push 0x40ed88
lea edx, [ebp - 0xc80]
push edx
call fcn.0040111a
add esp, 8
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0xc80]
push ecx
call fcn.0040111a
add esp, 8
lea edx, [ebp - 0xc80]
push edx
lea eax, [ebp - 0x660]
push eax
call fcn.00401144
add esp, 8
push 0x40edb0
lea ecx, [ebp - 0x660]
push ecx
call fcn.0040111a
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x660]
push eax
call fcn.0040111a
add esp, 8
lea ecx, [ebp - 0x660]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x408fd0
jmp 0x408f08
push 0
push 0
push 0x104
lea edx, [ebp - 0xa78]
push edx
push 4
push 1
lea eax, [ebp - 0xc80]
push eax
lea ecx, [ebp - 0x660]
push ecx
mov edx, dword [ebp - 0x12a4]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0xe84], eax
cmp dword [ebp - 0xe84], 0
jne 0x409021
push 0x30a
mov ecx, dword [ebp - 0x12a4]
call fcn.00408190
jmp 0x409125
lea ecx, [ebp - 0xe80]
push ecx
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x1090]
push eax
lea ecx, [ebp - 0xe8c]
push ecx
lea edx, [ebp - 0xa78]
push edx
call fcn.0040197c
add esp, 0x14
push 0x40edb4
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x1090]
push ecx
lea edx, [ebp - 0xe8c]
push edx
lea eax, [ebp - 0x12a0]
push eax
call fcn.004019c6
add esp, 0x14
lea ecx, [ebp - 0xa78]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40909b
lea edx, [ebp - 0x12a0]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40911b
lea eax, [ebp - 0xe80]
push eax
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x1090]
push edx
lea eax, [ebp - 0xe8c]
push eax
lea ecx, [ebp - 0x660]
push ecx
call fcn.0040197c
add esp, 0x14
push str..pnf
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x1090]
push eax
lea ecx, [ebp - 0xe8c]
push ecx
lea edx, [ebp - 0x868]
push edx
call fcn.004019c6
add esp, 0x14
push 0
lea eax, [ebp - 0xa78]
push eax
lea ecx, [ebp - 0x660]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
lea edx, [ebp - 0x12a0]
push edx
lea eax, [ebp - 0x868]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x408f08
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004014e5
mov esp, ebp
pop ebp
ret 4