Function at 0x500a60
Capabilities:
Access peb ldr_data
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x4a0
mov esi, esp
mov dword [esi + 0x488], ebp
lea ecx, [ebp + 8]
lea eax, [esi + 0x490]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x501cf0
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
movdqu xmm0, xmmword [0x7a9568]
movdqa xmmword [esi + 0x220], xmm0
movdqa xmmword [esi + 0x210], xmm0
movdqa xmmword [esi + 0x200], xmm0
movdqa xmmword [esi + 0x1f0], xmm0
movdqa xmmword [esi + 0x1e0], xmm0
xor edx, edx
mov dword [eax + 8], edx
push edx
call fcn.004af666
mov byte [esi + 0x90], 2
mov dword [esi + 0x98], eax
sub esp, 0x78
movaps xmm0, xmmword [esi + 0x220]
movups xmmword [esp + 0x68], xmm0
movaps xmm0, xmmword [esi + 0x210]
movups xmmword [esp + 0x58], xmm0
movaps xmm0, xmmword [esi + 0x200]
movups xmmword [esp + 0x48], xmm0
movaps xmm0, xmmword [esi + 0x1f0]
movups xmmword [esp + 0x38], xmm0
movaps xmm0, xmmword [esi + 0x1e0]
movups xmmword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esi + 0x90]
movdqu xmmword [esp + 0x18], xmm0
mov dword [esp + 0x14], str.On_Delete_DIR_:__s
mov dword [esp + 0x10], str.FileUtils
mov dword [esp + 0xc], str.emptyDir
mov dword [esp + 8], 0x324
mov dword [esp + 4], str..._.._applet_third_party_xplugin_src_base_FileUtils.cpp
mov dword [esp], 2
call fcn.004ee380
add esp, 0x78
lea ecx, [ebp + 0x1c]
push 0
call fcn.004aef38
mov byte [esi + 7], al
lea eax, [esi + 0x238]
push 0x250
push 0xff
push eax
call fcn.006ccfc0
add esp, 0xc
pcmpeqd xmm0, xmm0
lea ecx, [esi + 0x30]
movdqa xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xffffffff
call fcn.004ae9bc
mov dword [esi + 0x498], 1
lea ecx, [ebp + 8]
push 0x7320a0
call fcn.004af348
test al, al
jne 0x500bd1
lea ecx, [ebp + 8]
push 0x7320a0
call fcn.004af1b0
lea ecx, [ebp + 8]
call fcn.004af144
push eax
push str._s.
lea eax, [esi + 0x30]
push eax
call fcn.004af4fe
add esp, 0xc
lea ecx, [esi + 0x30]
call fcn.004af144
lea ecx, [esi + 0x238]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esi + 0xc], eax
cmp eax, 0xffffffff
je 0x501074
lea edi, [esi + 0x10]
push 0xff
push 0x73b68c
lea eax, [esi + 0x264]
push eax
call fcn.006e71e3
add esp, 0xc
test eax, eax
je 0x50104e
push 0xff
push 0x73b690
lea eax, [esi + 0x264]
push eax
call fcn.006e71e3
add esp, 0xc
test eax, eax
je 0x50104e
cmp byte [esi + 7], 0
jne 0x500c9c
mov dword [esi + 0x498], 1
mov ecx, edi
push 0xffffffffffffffff
lea eax, [esi + 0x264]
push eax
call fcn.004aea40
lea eax, [esi + 0x10]
mov dword [esi + 0x498], 2
lea ecx, [ebp + 0x1c]
push eax
call fcn.004af262
mov ebx, eax
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.004aeec0
test bl, bl
jne 0x50104e
test byte [esi + 0x238], 0x10
mov dword [esi + 0x498], 1
jne 0x500ed3
lea ecx, [ebp + 8]
call fcn.004af144
lea ecx, [esi + 0x264]
push ecx
push eax
push 0x738218
lea eax, [esi + 0x30]
push eax
call fcn.004af4fe
add esp, 0x10
mov eax, dword [esi + 0x238]
test al, 1
je 0x500dda
mov dword [esi + 8], eax
lea ecx, [esi + 0x30]
call fcn.004af144
mov ecx, dword [esi + 8]
and ecx, 0xfffffffe
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x500dda
xor eax, eax
push eax
push eax
push 0x34e
push str.emptyDir
push str.FileUtils
call fcn.005c4178
add esp, 0x14
movups xmm0, xmmword [0x7a9568]
movaps xmmword [esi + 0x130], xmm0
movaps xmmword [esi + 0x120], xmm0
movaps xmmword [esi + 0x110], xmm0
movaps xmmword [esi + 0x100], xmm0
movaps xmmword [esi + 0xf0], xmm0
lea ecx, [esi + 0x30]
push 0
call fcn.004af666
mov byte [esi + 0x60], 2
mov dword [esi + 0x68], eax
sub esp, 0x78
movaps xmm0, xmmword [esi + 0x130]
movups xmmword [esp + 0x68], xmm0
movaps xmm0, xmmword [esi + 0x120]
movups xmmword [esp + 0x58], xmm0
movaps xmm0, xmmword [esi + 0x110]
movups xmmword [esp + 0x48], xmm0
movaps xmm0, xmmword [esi + 0x100]
movups xmmword [esp + 0x38], xmm0
movaps xmm0, xmmword [esi + 0xf0]
movups xmmword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esi + 0x60]
movdqu xmmword [esp + 0x18], xmm0
mov dword [esp + 0x14], str.emptyDir__set_file_attr_failed__path___s
mov dword [esp + 0x10], str.FileUtils
mov dword [esp + 0xc], str.emptyDir
mov dword [esp + 8], 0x34f
mov dword [esp + 4], str..._.._applet_third_party_xplugin_src_base_FileUtils.cpp
mov dword [esp], 4
call fcn.004ee380
add esp, 0x78
lea ecx, [esi + 0x30]
call fcn.004af144
lea edi, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x50104e
xor eax, eax
push eax
push eax
push 0x354
push str.emptyDir
push str.FileUtils
call fcn.005c4178
add esp, 0x14
movups xmm0, xmmword [0x7a9568]
movaps xmmword [esi + 0xe0], xmm0
movaps xmmword [esi + 0xd0], xmm0
movaps xmmword [esi + 0xc0], xmm0
movaps xmmword [esi + 0xb0], xmm0
movaps xmmword [esi + 0xa0], xmm0
lea ecx, [esi + 0x30]
push 0
call fcn.004af666
mov byte [esi + 0x50], 2
mov dword [esi + 0x58], eax
sub esp, 0x78
movaps xmm0, xmmword [esi + 0xe0]
movups xmmword [esp + 0x68], xmm0
movaps xmm0, xmmword [esi + 0xd0]
movups xmmword [esp + 0x58], xmm0
movaps xmm0, xmmword [esi + 0xc0]
movups xmmword [esp + 0x48], xmm0
movaps xmm0, xmmword [esi + 0xb0]
movups xmmword [esp + 0x38], xmm0
movaps xmm0, xmmword [esi + 0xa0]
movups xmmword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esi + 0x50]
movdqu xmmword [esp + 0x18], xmm0
mov dword [esp + 0x14], str.emptyDir__file_delete_failed__path___s
mov dword [esp + 0x10], str.FileUtils
mov dword [esp + 0xc], str.emptyDir
mov dword [esp + 8], 0x355
mov dword [esp + 4], str..._.._applet_third_party_xplugin_src_base_FileUtils.cpp
mov dword [esp], 4
call fcn.004ee380
lea edi, [esi + 0x10]
add esp, 0x78
jmp 0x50104e
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0xffffffff
mov ecx, edi
lea eax, [ebp + 8]
push eax
call fcn.004aeac0
lea ecx, [esi + 0x10]
mov dword [esi + 0x498], 3
lea eax, [esi + 0x264]
push eax
call fcn.004af0aa
mov dword [esi + 0x4c], esp
push eax
sub esp, 0x24
mov eax, esp
mov dword [esi + 8], eax
lea ecx, [eax + 0x14]
mov dword [esi + 0x48], ecx
push 0xffffffffffffffff
push 0x6fa356
call fcn.004aea40
mov dword [esi + 0x498], 4
mov ecx, dword [esi + 8]
lea eax, [esi + 0x10]
push eax
call fcn.004aeac0
mov dword [esi + 0x498], 3
call fcn.00500a60
add esp, 0x28
mov esp, dword [esi + 0x4c]
lea ecx, [esi + 0x10]
call fcn.004af144
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x501044
xor eax, eax
push eax
push eax
push 0x346
push str.emptyDir
push str.FileUtils
call fcn.005c4178
add esp, 0x14
movdqu xmm0, xmmword [0x7a9568]
movdqa xmmword [esi + 0x180], xmm0
movdqa xmmword [esi + 0x170], xmm0
movdqa xmmword [esi + 0x160], xmm0
movdqa xmmword [esi + 0x150], xmm0
movdqa xmmword [esi + 0x140], xmm0
lea ecx, [esi + 0x10]
push 0
call fcn.004af666
mov byte [esi + 0x70], 2
mov dword [esi + 0x78], eax
sub esp, 0x78
movaps xmm0, xmmword [esi + 0x180]
movups xmmword [esp + 0x68], xmm0
movaps xmm0, xmmword [esi + 0x170]
movups xmmword [esp + 0x58], xmm0
movaps xmm0, xmmword [esi + 0x160]
movups xmmword [esp + 0x48], xmm0
movaps xmm0, xmmword [esi + 0x150]
movups xmmword [esp + 0x38], xmm0
movaps xmm0, xmmword [esi + 0x140]
movups xmmword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esi + 0x70]
movdqu xmmword [esp + 0x18], xmm0
mov dword [esp + 0x14], str.emptyDir__folder_delete_failed__path___s
mov dword [esp + 0x10], str.FileUtils
mov dword [esp + 0xc], str.emptyDir
mov dword [esp + 8], 0x347
mov dword [esp + 4], str..._.._applet_third_party_xplugin_src_base_FileUtils.cpp
mov dword [esp], 4
call fcn.004ee380
add esp, 0x78
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.004aeec0
lea eax, [esi + 0x238]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x500c10
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x50115a
xor eax, eax
push eax
push eax
push 0x332
push str.emptyDir
push str.FileUtils
call fcn.005c4178
add esp, 0x14
movdqu xmm0, xmmword [0x7a9568]
movdqa xmmword [esi + 0x1d0], xmm0
movdqa xmmword [esi + 0x1c0], xmm0
movdqa xmmword [esi + 0x1b0], xmm0
movdqa xmmword [esi + 0x1a0], xmm0
movdqa xmmword [esi + 0x190], xmm0
lea ecx, [ebp + 8]
push 0
call fcn.004af666
mov byte [esi + 0x80], 2
mov dword [esi + 0x88], eax
sub esp, 0x78
movaps xmm0, xmmword [esi + 0x1d0]
movups xmmword [esp + 0x68], xmm0
movaps xmm0, xmmword [esi + 0x1c0]
movups xmmword [esp + 0x58], xmm0
movaps xmm0, xmmword [esi + 0x1b0]
movups xmmword [esp + 0x48], xmm0
movaps xmm0, xmmword [esi + 0x1a0]
movups xmmword [esp + 0x38], xmm0
movaps xmm0, xmmword [esi + 0x190]
movups xmmword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esi + 0x80]
movdqu xmmword [esp + 0x18], xmm0
mov dword [esp + 0x14], str.emptyDir__invalid_handle_value__path___s
mov dword [esp + 0x10], str.FileUtils
mov dword [esp + 0xc], str.emptyDir
mov dword [esp + 8], 0x333
mov dword [esp + 4], str..._.._applet_third_party_xplugin_src_base_FileUtils.cpp
mov dword [esp], 4
call fcn.004ee380
add esp, 0x78
lea ecx, [esi + 0x30]
call fcn.004aeec0
lea ecx, [ebp + 8]
call fcn.004aeec0
lea ecx, [ebp + 0x1c]
call fcn.004aeec0
mov eax, dword [esi + 0x490]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret