Function at 0x57a2e0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dff61
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x676580]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
call fcn.00403290
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00403290
mov byte [ebp - 4], 1
mov dword [ebp - 0x270], 0xffffffff
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040b1c0
lea ecx, [ebp - 0x10]
push ecx
call fcn.0057a000
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
push 0x617734
lea eax, [ebp - 0x14]
push eax
call fcn.00403240
add esp, 0xc
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00493020
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0xffffffff
jne 0x57a38e
jmp 0x57a54e
push 0x617740
lea edx, [ebp - 0x240]
push edx
call fcn.005236c0
add esp, 8
test eax, eax
je 0x57a3be
push 0x617744
lea eax, [ebp - 0x240]
push eax
call fcn.005236c0
add esp, 8
test eax, eax
jne 0x57a3c3
jmp 0x57a52b
mov ecx, dword [ebp - 0x26c]
and ecx, 0x10
je 0x57a448
lea ecx, [ebp - 0x274]
call fcn.00403290
mov byte [ebp - 4], 2
lea edx, [ebp - 0x240]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0x61774c
lea ecx, [ebp - 0x274]
push ecx
call fcn.00403240
add esp, 0x10
push 0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x274]
call fcn.00493020
push eax
call fcn.0057a2e0
add esp, 0xc
test eax, eax
jne 0x57a434
cmp dword [ebp + 0xc], 0
jne 0x57a434
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x274]
call fcn.00403270
jmp 0x57a54e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x274]
call fcn.00403270
jmp 0x57a52b
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x27c]
call fcn.004092b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x27c]
call fcn.0043e040
lea ecx, [ebp - 0x27c]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x280]
push eax
call fcn.0040b990
add esp, 0xc
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x28c]
call fcn.00493020
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x278], eax
lea ecx, [ebp - 0x280]
call fcn.00403270
cmp dword [ebp - 0x278], 0
jne 0x57a4fc
cmp dword [ebp + 0x10], 0
je 0x57a4fc
lea ecx, [ebp - 0x27c]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x284]
push eax
call fcn.0040b990
add esp, 0xc
mov dword [ebp - 0x290], eax
push 4
push 0
mov ecx, dword [ebp - 0x290]
call fcn.00493020
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x284]
call fcn.00403270
cmp dword [ebp - 0x278], 0
jne 0x57a51c
cmp dword [ebp + 0xc], 0
jne 0x57a51c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
call fcn.00403270
jmp 0x57a54e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
call fcn.00403270
lea ecx, [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x57a38e
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x270], 0xffffffff
je 0x57a564
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x10]
call fcn.00493020
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x10]
push ecx
call fcn.00579f50
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.00493020
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x288], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00403270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403270
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005236f2
mov esp, ebp
pop ebp
ret