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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c4
mov eax, dword [0x52ec00]
xor eax, esp
mov dword [esp + 0x8c0], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x1c], eax
xor eax, eax
mov edi, 0x206
push edi
mov word [esp + 0x6c4], ax
xor esi, esi
lea eax, [esp + 0x6c6]
push esi
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 1
call fcn.004dbcc0
push 0x517c68
push ebx
push 0x515490
mov ebx, 0x103
lea eax, [esp + 0x6d8]
push ebx
push eax
call fcn.004d5add
add esp, 0x20
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x6c4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
jne 0x43f563
xor eax, eax
jmp 0x43f819
cmp dword [ebp + 0x14], esi
je 0x43f581
cmp dword [ebp + 0xc], esi
je 0x43f573
cmp dword [ebp + 0xc], 1
jne 0x43f581
push dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
call fcn.0043f374
pop ecx
xor eax, eax
push edi
mov word [esp + 0x4bc], ax
lea eax, [esp + 0x4be]
push esi
push eax
call fcn.004dbcc0
add esp, 0xc
inc dword [0x552e50]
mov eax, dword [0x552e50]
push 0x32
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x43f610
push 1
push esi
push esi
push esi
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x43f610
cmp dword [esp + 0x48], 0x12
jne 0x43f5d9
mov dword [esp + 0x18], 1
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push esi
push esi
push esi
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x43f5ca
cmp dword [esp + 0x18], esi
je 0x43f610
push esi
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, 0x514004
lea eax, [esp + 0x8c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43f642
cmp dx, si
je 0x43f63e
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43f642
add eax, 4
add ecx, 4
cmp dx, si
jne 0x43f61c
xor eax, eax
jmp 0x43f647
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x43f7ca
mov ecx, 0x516d3c
lea eax, [esp + 0x8c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43f681
cmp dx, si
je 0x43f67d
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43f681
add eax, 4
add ecx, 4
cmp dx, si
jne 0x43f65b
xor eax, eax
jmp 0x43f686
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x43f7ca
xor eax, eax
push edi
mov word [esp + 0x2b4], ax
lea eax, [esp + 0x2b6]
push esi
push eax
call fcn.004dbcc0
test byte [esp + 0x6c], 0x10
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x2c4]
je 0x43f6ec
push str._s_s_
push ebx
push eax
call fcn.004d5add
push dword [ebp + 0x14]
lea eax, [esp + 0x2d4]
push dword [esp + 0x40]
push dword [ebp + 0xc]
push eax
call fcn.0043f4cc
add esp, 0x30
jmp 0x43f7c6
push 0x515490
push ebx
push eax
call fcn.004d5add
add esp, 0x20
cmp dword [ebp + 0xc], esi
je 0x43f70a
cmp dword [ebp + 0xc], 1
jne 0x43f7ca
cmp dword [esp + 0x1c], esi
je 0x43f76b
lea eax, [esp + 0x2b0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push 0x208
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x4bc]
push esi
push eax
call fcn.004dbcc0
push dword [esp + 0x24]
lea eax, [esp + 0x4c8]
push 0x517b64
push ebx
push eax
call fcn.004d5add
add esp, 0x1c
cmp dword [esp + 0x18], esi
je 0x43f7ca
push dword [esp + 0x1c]
lea eax, [esp + 0x4bc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x43f7ca
cmp dword [ebp + 0x14], esi
je 0x43f7b8
push 7
xor eax, eax
pop ecx
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x2b0]
mov dword [esp + 0x2c], eax
mov eax, 0x454
mov word [esp + 0x34], ax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x3e], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x42], esi
mov dword [esp + 0x2c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, 0x206
jmp 0x43f7c6
lea eax, [esp + 0x2b0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43f59d
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0xc], esi
je 0x43f7f6
cmp dword [ebp + 0xc], 2
jne 0x43f815
push 0x20
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp + 0x14], esi
jne 0x43f815
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x8cc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d5a7d
mov esp, ebp
pop ebp
ret