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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dffc2
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x520404]
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 esi, dword [ebp + 8]
test esi, esi
jne 0x48ebec
xor eax, eax
jmp 0x48effa
call fcn.004782d0
mov ecx, eax
test ecx, ecx
je 0x48f020
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x268], eax
mov ecx, esi
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48ec15
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x268]
call fcn.00478540
lea ecx, [ebp - 0x268]
call fcn.004808f0
lea ecx, [ebp - 0x268]
call fcn.00483d50
mov edi, dword [ebp - 0x268]
or ebx, 0xffffffff
cmp dword [edi - 0xc], 0
jne 0x48ec5d
xor ebx, ebx
jmp 0x48efd9
call fcn.004782d0
mov ecx, eax
test ecx, ecx
je 0x48f02a
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x26c], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov byte [ebp - 4], 1
jge 0x48eca8
push 0x104
lea ecx, [ebp - 0x26c]
call fcn.00478400
mov esi, dword [ebp - 0x26c]
push 0
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [esi - 8]
push esi
call fcn.004b4b67
add esp, 8
test eax, eax
js 0x48f016
cmp eax, dword [esi - 8]
jg 0x48f016
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0x250
mov word [esi + eax*2], cx
lea eax, [ebp - 0x260]
push ecx
push eax
call fcn.004ac800
push str..lnk
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.0047f280
add esp, 0x18
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x280]
mov ecx, ebx
mov dword [ebp - 0x274], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x48ed3a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x274], 0xffffffff
jne 0x48ed4a
xor ebx, ebx
jmp 0x48efbd
mov esi, dword [ebp - 0x274]
test byte [ebp - 0x260], 0x10
jne 0x48ef8f
push 0x4f8b54
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.0047f280
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.0047f280
add esp, 0x18
mov edx, dword [ebp - 0x284]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48edb1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004782d0
mov ecx, eax
test ecx, ecx
je 0x48f020
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 5
call fcn.004782d0
mov ecx, eax
test ecx, ecx
je 0x48f020
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x278], edi
mov byte [ebp - 4], 6
call fcn.004782d0
mov ecx, eax
test ecx, ecx
je 0x48f020
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x27c], esi
cmp byte [ebp + 0xc], 0
mov byte [ebp - 4], 7
je 0x48ee31
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x270]
call fcn.0048e800
add esp, 8
jmp 0x48ee61
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.0048e9a0
mov edi, dword [ebp - 0x278]
add esp, 0x10
mov esi, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x264]
mov ebx, dword [eax - 0xc]
test ebx, ebx
js 0x48f016
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, ebx
or ecx, edx
jge 0x48ee95
push ebx
lea ecx, [ebp - 0x264]
call fcn.00478400
mov eax, dword [ebp - 0x264]
lea ecx, [ebx + 1]
push ecx
push eax
call fcn.004b4e90
mov eax, dword [ebp - 0x264]
add esp, 8
cmp ebx, dword [eax - 8]
jg 0x48f016
mov dword [eax - 0xc], ebx
xor ecx, ecx
mov eax, dword [ebp - 0x264]
mov word [eax + ebx*2], cx
lea ecx, [ebp - 0x264]
call fcn.004808f0
mov ecx, dword [ebp - 0x268]
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48eef9
test dx, dx
je 0x48eef5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48eef9
add eax, 4
add ecx, 4
test dx, dx
jne 0x48eed3
xor eax, eax
jmp 0x48eefe
sbb eax, eax
or eax, 1
test eax, eax
jne 0x48ef0e
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or ebx, 0xffffffff
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48ef2c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x48ef47
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x264]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48ef68
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x270]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48ef89
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x274]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x48ed50
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x26c]
mov ebx, 1
mov edi, dword [ebp - 0x268]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48efd9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x48eff8
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.004a7f4e
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00477ec0
push 0x80004005
call fcn.00477ec0
push 0x80004005
call fcn.00477ec0
int3