Function at 0x48d43a
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x484
mov eax, dword [0x52472c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
mov eax, dword [ebx]
push edi
xor edi, edi
mov dword [ebp - 0x484], ebx
mov esi, edx
cmp dword [eax - 0xc], edi
je 0x48d754
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push dword [ebx]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x48d754
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x48d4b0
mov eax, dword [ebx]
call fcn.0045e720
test eax, eax
je 0x48d754
lea eax, [ebp - 0x474]
push eax
mov eax, dword [esi]
push 0x3b
mov dword [ebp - 0x474], edi
mov dword [ebp - 0x470], edi
call fcn.004682a8
cmp dword [ebp - 0x474], edi
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x47c]
push eax
seta byte [ebp - 0x462]
call int.0041808f
push 0x4f747c
lea eax, [ebp - 0x47c]
push eax
call fcn.00446716
lea eax, [ebp - 0x460]
push eax
push dword [ebp - 0x47c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x480], eax
cmp eax, 0xffffffff
je 0x48d735
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x48d735
test byte [ebp - 0x460], 0x10
mov edi, 0x4f6654
jne 0x48d70e
push ebx
lea eax, [ebp - 0x468]
push eax
call int.0041808f
push edi
lea eax, [ebp - 0x468]
push eax
call fcn.00446716
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00446716
cmp byte [ebp - 0x462], 0
sete byte [ebp - 0x461]
cmp byte [ebp - 0x462], 0
je 0x48d5e5
cmp dword [ebp - 0x474], 0
jbe 0x48d5e5
mov esi, dword [ebp - 0x470]
mov eax, dword [ebp - 0x474]
add esi, 4
mov dword [ebp - 0x478], eax
push dword [esi]
lea eax, [ebp - 0x46c]
push eax
call fcn.004054bc
push dword [ebp - 0x468]
lea eax, [ebp - 0x46c]
push eax
call fcn.0043b5ea
test eax, eax
jne 0x48d5cf
mov byte [ebp - 0x461], 1
lea ecx, [ebp - 0x46c]
call fcn.004029ae
add esi, 8
dec dword [ebp - 0x478]
jne 0x48d5a4
cmp byte [ebp - 0x461], 0
je 0x48d5fa
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x468]
call fcn.004029ae
jmp 0x48d70e
test byte [ebp - 0x460], 0x10
jne 0x48d70e
push ebx
lea eax, [ebp - 0x468]
push eax
call int.0041808f
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x468]
xor ecx, ecx
push eax
inc ecx
call fcn.0043b3dd
push edi
push eax
call fcn.0043b5ea
test eax, eax
lea ecx, [ebp - 0x478]
setne bl
call fcn.004029ae
test bl, bl
je 0x48d662
push edi
lea eax, [ebp - 0x468]
push eax
call fcn.00446716
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00446716
cmp byte [ebp - 0x462], 0
sete byte [ebp - 0x461]
cmp byte [ebp - 0x462], 0
je 0x48d6e8
xor ebx, ebx
cmp dword [ebp - 0x474], ebx
jbe 0x48d6e8
mov esi, dword [ebp - 0x470]
add esi, 4
push dword [esi]
lea eax, [ebp - 0x46c]
push eax
call fcn.004054bc
push dword [ebp - 0x468]
lea eax, [ebp - 0x46c]
push eax
call fcn.0043b5ea
lea ecx, [ebp - 0x46c]
test eax, eax
je 0x48d6dc
call fcn.004029ae
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x474]
jb 0x48d69f
jmp 0x48d6e8
mov byte [ebp - 0x461], 1
call fcn.004029ae
cmp byte [ebp - 0x461], 0
je 0x48d6fd
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x468]
call fcn.004029ae
mov ebx, dword [ebp - 0x484]
lea eax, [ebp - 0x460]
push eax
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x48d60a
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x47c]
call fcn.004029ae
lea eax, [ebp - 0x474]
push eax
call fcn.0046826e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b1fae
leave
ret