Function at 0x442274b9
Capabilities:
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
jmp 0x442274b9
push ebp
sub esp, 0x584
lea ebp, [esp - 4]
mov eax, dword [0x442bd0c0]
xor eax, ebp
mov dword [ebp + 0x584], eax
push 0x68
mov eax, 0x442814d6
call fcn.4427ccc2
mov esi, dword [ebp + 0x590]
xor ebx, ebx
push esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const__]
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 4], ebx
call fcn.442271d5
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x74]
mov byte [ebp - 0x11], al
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
cmp byte [ebp - 0x11], bl
je 0x442276dc
xor eax, eax
push 0x20a
mov word [ebp + 0x228], ax
lea eax, [ebp + 0x22a]
push ebx
push eax
call sub.MSVCR90.dll_memset
push 0x102
lea eax, [ebp + 0x228]
push esi
push eax
call dword [sym.imp.MSVCR90.dll_wcsncpy]
push 0x1e
lea eax, [ebp - 0x38]
push ebx
push eax
call sub.MSVCR90.dll_memset
lea eax, [ebp + 0x228]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov eax, 0x614
mov word [ebp - 0x28], ax
add esp, 0x24
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x442276dc
push 0x13
pop ecx
mov esi, str.6B00FE91_95C1_470e_870C_509748F5F3D4
lea edi, [ebp + 0x534]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [ebp - 0x18]
push edi
lea ecx, [ebp]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const__]
lea eax, [ebp + 0x534]
push eax
lea ecx, [ebp]
mov dword [ebp - 4], 1
call dword [0x44282280]
push ebx
call dword [sym.imp.MSVCR90.dll__time64]
push eax
call dword [sym.imp.MSVCR90.dll_srand]
pop ecx
pop ecx
xor esi, esi
cmp dword [ebp - 0x10], ebx
je 0x4422769f
xor eax, eax
push 0xfe
mov word [ebp + 0x434], ax
lea eax, [ebp + 0x436]
push ebx
push eax
call sub.MSVCR90.dll_memset
call dword [sym.imp.MSVCR90.dll_rand]
push eax
push 0x442897a4
lea eax, [ebp + 0x434]
push 0x7f
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
lea eax, [ebp + 0x434]
push eax
lea ecx, [ebp]
call dword [0x44282280]
xor eax, eax
push 0x20a
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x105
lea ecx, [ebp]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.MSVCR90.dll_wcsncpy]
push 0x1e
lea eax, [ebp - 0x58]
push ebx
push eax
call sub.MSVCR90.dll_memset
lea eax, [ebp + 0x228]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, 0x614
mov word [ebp - 0x48], ax
add esp, 0x18
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], 4
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
inc esi
cmp esi, 0xa
mov dword [ebp - 0x10], eax
jl 0x442275d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
cmp dword [ebp - 0x10], ebx
je 0x442276dc
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x442276d9
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x442276dc
mov dword [ebp - 0x10], ebx
xor eax, eax
cmp dword [ebp - 0x10], ebx
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x584]
xor ecx, ebp
call fcn.4427cc16
add ebp, 0x588
leave
ret