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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9b49
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x6a0290]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a4], ecx
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
call fcn.00403de0
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
push 4
push str..
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 2
call fcn.004578c0
cmp dword [ebp - 0x130], 0x10
lea ecx, [ebp - 0x29c]
lea eax, [ebp - 0x144]
cmovae eax, dword [ebp - 0x144]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5433aa
xor esi, esi
jmp 0x5436a3
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov bl, byte [ebp - 0x29d]
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x144]
call fcn.00403de0
call esi
cmp byte [ebp - 0x270], 0x2e
je 0x54365b
mov eax, dword [ebp - 0x29c]
cmp eax, 0x2010
je 0x543489
cmp eax, 0x10
je 0x543489
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00403de0
push 1
push 0x5c37f4
lea ecx, [ebp - 0x12c]
call fcn.004578c0
cmp byte [ebp - 0x270], 0
jne 0x543427
xor ecx, ecx
jmp 0x543439
lea ecx, [ebp - 0x270]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x543430
sub ecx, edx
push ecx
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x12c]
call fcn.004578c0
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push 0xfffffffffffffffe
cmovae eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x543656
cmp dword [ebp - 0x130], 0x10
lea ecx, [ebp - 0x144]
mov eax, dword [ebp - 0x134]
cmovae ecx, dword [ebp - 0x144]
cmp byte [eax + ecx - 1], 0x5c
jne 0x5435c4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x144]
mov dword [ebp - 0x148], 0xf
push eax
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x14c], 0
mov byte [ebp - 0x15c], 0
call fcn.00403de0
cmp byte [ebp - 0x270], 0
mov byte [ebp - 4], 3
jne 0x5434f0
xor ecx, ecx
jmp 0x543509
lea ecx, [ebp - 0x270]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x543500
sub ecx, edx
push ecx
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x15c]
call fcn.004578c0
push 1
push 0x5c37f4
lea ecx, [ebp - 0x15c]
call fcn.004578c0
cmp dword [ebp - 0x148], 0x10
lea eax, [ebp - 0x15c]
cmovae eax, dword [ebp - 0x15c]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x114], 0
jne 0x543573
xor ecx, ecx
jmp 0x54358f
lea ecx, [ebp - 0x114]
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x543580
sub ecx, esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
lea eax, [ebp - 0x114]
mov ecx, edx
push eax
call fcn.00403f20
mov ecx, dword [ebp - 0x2a4]
call fcn.005432e0
cmp dword [ebp - 0x148], 0x10
mov byte [ebp - 4], 2
jb 0x5435c4
push dword [ebp - 0x15c]
call fcn.0058d68d
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00403de0
push 1
push 0x5c37f4
lea ecx, [ebp - 0x12c]
call fcn.004578c0
cmp byte [ebp - 0x270], 0
jne 0x5435f9
xor ecx, ecx
jmp 0x54360b
lea ecx, [ebp - 0x270]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x543602
sub ecx, edx
push ecx
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x12c]
call fcn.004578c0
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push 0xfffffffffffffffe
cmovae eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne bl
lea eax, [ebp - 0x29c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x5433b6
call esi
cmp eax, 0x12
jne 0x543695
cmp dword [ebp - 0x130], 0x10
lea eax, [ebp - 0x144]
cmovae eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov bl, 1
test edi, edi
je 0x5436a0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
movzx esi, bl
cmp dword [ebp - 0x118], 0x10
jb 0x5436ba
push dword [ebp - 0x12c]
call fcn.0058d68d
add esp, 4
cmp dword [ebp - 0x130], 0x10
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
jb 0x5436ec
push dword [ebp - 0x144]
call fcn.0058d68d
add esp, 4
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
jb 0x543718
push dword [ebp + 8]
call fcn.0058d68d
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058de24
mov esp, ebp
pop ebp
ret 0x18