Function at 0x409b40
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
mov ebx, edx
mov dword [ebp - 0xc], ecx
push 0x3000
mov dword [ebp - 0x10], ebx
call fcn.0045669c
mov edi, eax
add esp, 4
mov dword [ebp - 8], edi
test edi, edi
jne 0x409b6f
lea eax, [edi + 2]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x3000
call fcn.0045669c
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
test esi, esi
jne 0x409b99
push edi
call fcn.004533f0
add esp, 4
lea eax, [esi + 2]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x2fc4
push 0
push edi
call fcn.0044f970
push 0x2fc4
push 0
push esi
call fcn.0044f970
push dword [ebp - 0xc]
push 0x46cbd8
push edi
call fcn.004025f0
push ebx
mov ebx, dword [ebp + 8]
mov ecx, 0x46cbd8
test ebx, ebx
mov eax, str._ws0_filernspod.3dm
cmovne eax, ecx
push eax
push esi
call fcn.004025f0
add esp, 0x30
push 0
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
call edi
push 6
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
call esi
push 0x2fc4
push 0
push dword [ebp - 8]
call fcn.0044f970
push 0x2fc4
push 0
push dword [ebp - 4]
call fcn.0044f970
push dword [ebp - 0xc]
push 0x46cc00
push dword [ebp - 8]
call fcn.004025f0
push dword [ebp - 0x10]
mov ecx, 0x46cc00
test ebx, ebx
mov eax, str._ws0_filernspod.3ds
cmovne eax, ecx
push eax
push dword [ebp - 4]
call fcn.004025f0
add esp, 0x30
push 0
push dword [ebp - 4]
push dword [ebp - 8]
call edi
push 6
push dword [ebp - 4]
call esi
push 0x2fc4
push 0
push dword [ebp - 8]
call fcn.0044f970
push 0x2fc4
push 0
push dword [ebp - 4]
call fcn.0044f970
push dword [ebp - 0xc]
push 0x46cc28
push dword [ebp - 8]
call fcn.004025f0
push dword [ebp - 0x10]
mov ecx, 0x46cc28
test ebx, ebx
mov eax, str._ws00_filernspod.7z
cmovne eax, ecx
push eax
push dword [ebp - 4]
call fcn.004025f0
add esp, 0x30
push 0
push dword [ebp - 4]
push dword [ebp - 8]
call edi
push 6
push dword [ebp - 4]
call esi
push 0x2fc4
push 0
push dword [ebp - 8]
call fcn.0044f970
push 0x2fc4
push 0
push dword [ebp - 4]
call fcn.0044f970
push dword [ebp - 0xc]
push 0x46cc50
push dword [ebp - 8]
call fcn.004025f0
push dword [ebp - 0x10]
mov ecx, 0x46cc50
test ebx, ebx
mov eax, str._ws000_filernspod.123
cmovne eax, ecx
push eax
push dword [ebp - 4]
call fcn.004025f0
add esp, 0x30
push 0
push dword [ebp - 4]
push dword [ebp - 8]
call edi
push 6
push dword [ebp - 4]
call esi
push 0x2fc4
push 0
push dword [ebp - 8]
call fcn.0044f970
push 0x2fc4
push 0
push dword [ebp - 4]
call fcn.0044f970
push dword [ebp - 0xc]
push 0x46cc7c
push dword [ebp - 8]
call fcn.004025f0
push dword [ebp - 0x10]
mov ecx, 0x46cc7c
test ebx, ebx
mov eax, str._ws0_filernspod.doc
cmovne eax, ecx
push eax
push dword [ebp - 4]
call fcn.004025f0
add esp, 0x30
push 0
push dword [ebp - 4]
push dword [ebp - 8]
call edi
push 6
push dword [ebp - 4]
call esi
push 0x2fc4
push 0
push dword [ebp - 8]
call fcn.0044f970
push 0x2fc4
push 0
push dword [ebp - 4]
call fcn.0044f970
push dword [ebp - 0xc]
push 0x46cca4
push dword [ebp - 8]
call fcn.004025f0
push dword [ebp - 0x10]
test ebx, ebx
mov eax, str._ws1_filernspod.docx
mov ebx, dword [ebp - 4]
mov ecx, 0x46cca4
cmovne eax, ecx
push eax
push ebx
call fcn.004025f0
add esp, 0x30
push 0
push ebx
push dword [ebp - 8]
call edi
push 6
push ebx
call esi
push dword [ebp - 8]
call fcn.004533f0
push ebx
call fcn.004533f0
add esp, 8
xor eax, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret