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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x129c
call fcn.010597f0
mov eax, dword [0x1077400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x1298], eax
mov eax, dword [0x1077004]
mov esi, 0x1077004
cmp eax, esi
je 0x101f166
test byte [eax + 0x1c], 2
je 0x101f166
cmp byte [eax + 0x19], 5
jb 0x101f166
mov ebx, 0x10055cc
push ebx
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01015bb9
jmp 0x101f16b
mov ebx, 0x10055cc
xor edi, edi
cmp dword [ebp - 0x1298], edi
jne 0x101f1d7
lea eax, [ebp - 0xa2c]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x101f1cb
mov eax, dword [0x1077004]
cmp eax, esi
je 0x101f3d1
test byte [eax + 0x1c], 2
je 0x101f3d1
cmp byte [eax + 0x19], 2
jb 0x101f3d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x1077004]
push ebx
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101e0d7
jmp 0x101f3d1
lea eax, [ebp - 0xa2c]
mov dword [ebp - 0x1298], eax
push 0x5c
push dword [ebp - 0x1298]
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
cmp eax, edi
je 0x101f1fe
cmp word [eax + 2], di
jne 0x101f1fe
push 1
push edi
push eax
call dword [sym.imp.msvcrt.dll__wcsnset]
add esp, 0xc
cmp dword [ebp + 0xc], edi
mov edi, 0x100564c
jne 0x101f20d
mov edi, 0x1005618
push 0x1005610
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push edi
push dword [ebp - 0x1298]
mov edi, 0x30c
push 0x10055f4
lea eax, [ebp - 0x1044]
push edi
push eax
call fcn.010166de
add esp, 0x1c
test eax, eax
jge 0x101f272
mov ecx, dword [0x1077004]
cmp ecx, esi
je 0x101f3d1
test byte [ecx + 0x1c], 2
je 0x101f3d1
cmp byte [ecx + 0x19], 2
jb 0x101f3d1
movzx eax, ax
push eax
push ebx
push 0xc
push dword [ecx + 0x14]
push dword [ecx + 0x10]
jmp 0x101f1c1
lea eax, [ebp - 0x1294]
push eax
lea eax, [ebp - 0x1044]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x129c], eax
cmp eax, 0xffffffff
jne 0x101f2d1
mov eax, dword [0x1077004]
cmp eax, esi
je 0x101f3d1
test byte [eax + 0x1c], 2
je 0x101f3d1
cmp byte [eax + 0x19], 2
jb 0x101f3d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x1077004]
push ebx
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101e0d7
jmp 0x101f3d1
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x1268]
push eax
push dword [ebp - 0x1298]
lea eax, [ebp - 0x61c]
push 0x10055e8
push edi
push eax
call fcn.010166de
add esp, 0x14
test eax, eax
jl 0x101f374
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x101f346
mov eax, dword [0x1077004]
cmp eax, esi
je 0x101f374
test byte [eax + 0x1c], 2
je 0x101f374
cmp byte [eax + 0x19], 2
jb 0x101f374
call ebx
push eax
lea eax, [ebp - 0x61c]
push eax
mov eax, dword [0x1077004]
push 0x10055cc
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101ea0b
jmp 0x101f374
mov eax, dword [0x1077004]
cmp eax, esi
je 0x101f374
test byte [eax + 0x1c], 2
je 0x101f374
cmp byte [eax + 0x19], 5
jb 0x101f374
lea ecx, [ebp - 0x61c]
push ecx
push 0x10055cc
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101e103
lea eax, [ebp - 0x1294]
push eax
push dword [ebp - 0x129c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x101f2d7
call ebx
cmp eax, 0x12
je 0x101f3c5
mov eax, dword [0x1077004]
cmp eax, esi
je 0x101f3c5
test byte [eax + 0x1c], 2
je 0x101f3c5
cmp byte [eax + 0x19], 2
jb 0x101f3c5
call ebx
push eax
mov eax, dword [0x1077004]
push 0x10055cc
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101e0d7
push dword [ebp - 0x129c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0101d9bb
leave
ret 8