Function at 0x48d0ec
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 0x48d406
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 0x48d406
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x48d162
mov eax, dword [ebx]
call fcn.0045e3e0
test eax, eax
je 0x48d406
lea eax, [ebp - 0x474]
push eax
mov eax, dword [esi]
push 0x3b
mov dword [ebp - 0x474], edi
mov dword [ebp - 0x470], edi
call fcn.00467f68
cmp dword [ebp - 0x474], edi
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x47c]
push eax
seta byte [ebp - 0x462]
call fcn.0041804a
push 0x4f73fc
lea eax, [ebp - 0x47c]
push eax
call fcn.00446281
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 0x48d3e7
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x48d3e7
test byte [ebp - 0x460], 0x10
mov edi, 0x4f65ec
jne 0x48d3c0
push ebx
lea eax, [ebp - 0x468]
push eax
call fcn.0041804a
push edi
lea eax, [ebp - 0x468]
push eax
call fcn.00446281
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00446281
cmp byte [ebp - 0x462], 0
sete byte [ebp - 0x461]
cmp byte [ebp - 0x462], 0
je 0x48d297
cmp dword [ebp - 0x474], 0
jbe 0x48d297
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.004054af
push dword [ebp - 0x468]
lea eax, [ebp - 0x46c]
push eax
call fcn.0043b02c
test eax, eax
jne 0x48d281
mov byte [ebp - 0x461], 1
lea ecx, [ebp - 0x46c]
call fcn.00402964
add esi, 8
dec dword [ebp - 0x478]
jne 0x48d256
cmp byte [ebp - 0x461], 0
je 0x48d2ac
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x468]
call fcn.00402964
jmp 0x48d3c0
test byte [ebp - 0x460], 0x10
jne 0x48d3c0
push ebx
lea eax, [ebp - 0x468]
push eax
call fcn.0041804a
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x468]
xor ecx, ecx
push eax
inc ecx
call fcn.0043ae96
push edi
push eax
call fcn.0043b02c
test eax, eax
lea ecx, [ebp - 0x478]
setne bl
call fcn.00402964
test bl, bl
je 0x48d314
push edi
lea eax, [ebp - 0x468]
push eax
call fcn.00446281
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00446281
cmp byte [ebp - 0x462], 0
sete byte [ebp - 0x461]
cmp byte [ebp - 0x462], 0
je 0x48d39a
xor ebx, ebx
cmp dword [ebp - 0x474], ebx
jbe 0x48d39a
mov esi, dword [ebp - 0x470]
add esi, 4
push dword [esi]
lea eax, [ebp - 0x46c]
push eax
call fcn.004054af
push dword [ebp - 0x468]
lea eax, [ebp - 0x46c]
push eax
call fcn.0043b02c
lea ecx, [ebp - 0x46c]
test eax, eax
je 0x48d38e
call fcn.00402964
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x474]
jb 0x48d351
jmp 0x48d39a
mov byte [ebp - 0x461], 1
call fcn.00402964
cmp byte [ebp - 0x461], 0
je 0x48d3af
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x468]
call fcn.00402964
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 0x48d2bc
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.00402964
lea eax, [ebp - 0x474]
push eax
call fcn.00467f2e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b196e
leave
ret