Function at 0x4069a0
Capabilities:
Copy file
Enumerate files on windows
Set file attributes

Disassembly:
sub esp, 0x888
mov eax, dword [str..inf]
mov cx, word [0x41107c]
mov edx, dword [str.LowerFilter]
mov dword [esp + 0xc], eax
mov eax, dword [0x411070]
mov word [esp + 0x10], cx
mov ecx, dword [0x411074]
mov dword [esp + 0x34], eax
mov eax, dword [0x411064]
mov dword [esp + 0x30], edx
mov edx, dword [str.LUCENTWDM]
mov dword [esp + 0x28], eax
mov eax, dword [0x411058]
push ebx
mov dword [esp + 0x3c], ecx
mov cx, word [0x411068]
mov dword [esp + 0x28], edx
mov edx, dword [str.wdmmdmld]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
mov dword [esp + 0x28], eax
push edi
mov word [esp + 0x3c], cx
mov cl, byte [0x41105c]
mov dword [esp + 0x28], edx
mov edx, dword [0x411050]
lea eax, [esp + 0x254]
push 0x414498
push eax
mov byte [esp + 0x38], cl
mov dword [esp + 0x20], edx
call ebp
lea ecx, [esp + 0x254]
push 0x415080
push ecx
call ebp
push 0x415080
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 3
jle 0x406a6d
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x254]
push 0x410350
push edx
call esi
jmp 0x406a73
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x254]
push eax
push ecx
call esi
lea edx, [esp + 0x358]
lea eax, [esp + 0x254]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x406cc4
jmp 0x406aad
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x150]
push 0x414498
push ecx
call ebp
lea edx, [esp + 0x150]
push 0x415080
push edx
call ebp
push 0x415080
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 3
jle 0x406aea
lea eax, [esp + 0x150]
push 0x410350
push eax
call esi
lea ecx, [esp + 0x384]
lea edx, [esp + 0x150]
push ecx
push edx
call esi
lea eax, [esp + 0x150]
push 0x410d30
push eax
call fcn.0040a4a0
mov edi, eax
xor esi, esi
add esp, 8
cmp edi, esi
je 0x406cc4
push edi
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esp + 0x18], esi
call fcn.0040a790
add esp, 4
cmp eax, 0xffffffff
je 0x406c28
cmp eax, 0xa
je 0x406b4b
mov byte [esp + esi + 0x498], al
inc esi
jmp 0x406bfb
lea ecx, [esp + 0x40]
lea edx, [esp + 0x498]
push ecx
push edx
mov byte [esp + esi + 0x4a0], 0
call fcn.0040a100
add esp, 8
test eax, eax
je 0x406b7a
cmp byte [esp + 0x498], 0x3b
jne 0x406c0f
mov eax, dword [0x410220]
cmp eax, 1
jne 0x406ba9
lea eax, [esp + 0x34]
lea ecx, [esp + 0x498]
push eax
push ecx
call fcn.0040a100
add esp, 8
test eax, eax
je 0x406bea
cmp byte [esp + 0x498], 0x3b
jne 0x406c19
jmp 0x406bea
cmp eax, 2
je 0x406bb8
cmp eax, 3
je 0x406bb8
cmp eax, 4
jne 0x406bea
lea edx, [esp + 0x28]
lea eax, [esp + 0x498]
push edx
push eax
call fcn.0040a100
add esp, 8
test eax, eax
jne 0x406c19
lea ecx, [esp + 0x18]
lea edx, [esp + 0x498]
push ecx
push edx
call fcn.0040a100
add esp, 8
test eax, eax
jne 0x406c20
lea eax, [esp + 0x498]
push 0x414498
push eax
xor esi, esi
call ebp
push edi
call fcn.0040a790
add esp, 4
cmp eax, 0xffffffff
jne 0x406b39
jmp 0x406c28
mov dword [esp + 0x10], 1
jmp 0x406c28
mov ebx, 1
jmp 0x406c28
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x406ca0
test ebx, ebx
jne 0x406ca0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x406ca0
lea ecx, [esp + 0x4c]
push 0x415ce0
push ecx
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x4c]
push 0x410350
push edx
call esi
lea eax, [esp + 0x384]
lea ecx, [esp + 0x4c]
push eax
push ecx
call esi
lea edx, [esp + 0x4c]
push ebx
lea eax, [esp + 0x154]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x4c]
push ebx
push ecx
call fcn.00409e50
add esp, 8
cmp eax, 0xffffffff
je 0x406ca0
lea edx, [esp + 0x4c]
push pe_nt_image_headers32
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call fcn.0040a3f0
mov ecx, dword [esp + 0x28]
add esp, 4
lea eax, [esp + 0x358]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x406aa7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x888
ret