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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x890
mov eax, dword [0x4b16c628]
push ebx
push edi
mov edx, 0x82
mov dword [ebp - 4], eax
xor eax, eax
and dword [ebp - 0x880], eax
and dword [ebp - 0x87c], eax
mov ecx, edx
lea edi, [ebp - 0x20c]
rep stosd dword es:[edi], eax
mov ecx, edx
lea edi, [ebp - 0x414]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x890]
push eax
mov byte [ebp - 0x86d], 0
or ebx, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x878]
push eax
lea eax, [ebp - 0x890]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
jne 0x4b15dbe1
mov eax, dword [0x4b16c0b8]
cmp byte [eax + 0x19], 2
jb 0x4b15ddd2
push 0x4b1528f0
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.4b157041
jmp 0x4b15ddd2
mov eax, dword [ebp - 0x878]
push esi
mov esi, dword [ebp - 0x874]
xor edi, edi
or edi, eax
mov eax, dword [ebp + 8]
push 8
cdq
push 0x61c46800
push edx
xor ecx, ecx
push eax
or esi, ecx
call fcn.4b167a70
sub edi, eax
sbb esi, edx
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x874], esi
push eax
mov esi, 0x104
push esi
mov dword [ebp - 0x878], edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4b15dda8
cmp eax, esi
jae 0x4b15dda8
push 0x4b152910
push 0x4b152908
lea eax, [ebp - 0x20c]
push eax
push 0x4b152918
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.4b15763b
add esp, 0x18
test eax, eax
jge 0x4b15dc8d
mov ecx, dword [0x4b16c0b8]
cmp byte [ecx + 0x19], 2
jb 0x4b15ddd1
push eax
push 0x4b1528f0
push 0x26
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.4b156ac1
jmp 0x4b15ddd1
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4b15dce5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x4b15dcd9
mov eax, dword [0x4b16c0b8]
cmp byte [eax + 0x19], 2
jb 0x4b15ddd1
push 0x4b1528f0
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.4b157041
jmp 0x4b15ddd1
mov byte [ebp - 0x86d], 1
jmp 0x4b15ddd1
mov edi, dword [sym.imp.KERNEL32.dll_CompareFileTime]
lea eax, [ebp - 0x880]
push eax
lea eax, [ebp - 0x858]
push eax
call edi
test eax, eax
lea eax, [ebp - 0x878]
push eax
lea eax, [ebp - 0x858]
jne 0x4b15dd12
lea eax, [ebp - 0x860]
push eax
call edi
test eax, eax
jge 0x4b15dd4d
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x4b15232c
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.4b15763b
add esp, 0x14
test eax, eax
jl 0x4b15dd7e
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x86c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4b15dceb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x4b15dd9f
mov eax, dword [0x4b16c0b8]
cmp byte [eax + 0x19], 2
jb 0x4b15ddc5
push 0x4b1528f0
push 0x29
jmp 0x4b15ddba
mov ecx, dword [0x4b16c0b8]
cmp byte [ecx + 0x19], 2
jb 0x4b15ddc5
push eax
push 0x4b1528f0
push 0x28
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.4b156ac1
jmp 0x4b15ddc5
mov byte [ebp - 0x86d], 1
jmp 0x4b15ddc5
mov eax, dword [0x4b16c0b8]
cmp byte [eax + 0x19], 2
jb 0x4b15ddd1
push 0x4b1528f0
push 0x25
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.4b157041
cmp ebx, 0xffffffff
je 0x4b15ddd1
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x86d]
pop edi
pop ebx
call fcn.4b163f8b
leave
ret 4