Function at 0x1001f9f0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7ce6
mov eax, dword fs:[0]
push eax
sub esp, 0x8d0
mov eax, dword [0x100f51d4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x8b4], ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x8b8], edi
mov dword [ebp - 0x8b0], 0
mov dword [ebp - 0x8ac], 0
mov dword [ebp - 0x8a8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x8a4]
push 0x250
push 0
push eax
call fcn.10097030
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x208
push 0
push eax
call fcn.10097030
add esp, 0xc
lea eax, [ebx + 0x208]
push eax
push ebx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp word [ebx + 0x24a], 0
lea esi, [ebx + 0x24a]
lea ecx, [ebp - 0x21c]
je 0x1001fac7
push 0x100e43a8
call fcn.100216f0
push esi
lea ecx, [ebp - 0x21c]
call fcn.100216f0
lea ecx, [ebp - 0x21c]
push 0x100e43ac
call fcn.100216f0
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x8a4]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x8c8], eax
cmp eax, 0xffffffff
jne 0x1001fb20
mov eax, dword [edi]
mov dword [ebx + 0x2a4], eax
mov eax, dword [edi + 4]
mov dword [ebx + 0x2a8], eax
mov eax, dword [edi + 8]
mov dword [ebx + 0x2ac], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0x2b0], eax
jmp 0x1001fede
push 0x208
lea eax, [ebp - 0x62c]
push 0
push eax
call fcn.10097030
add esp, 0xc
lea eax, [ebp - 0x878]
push eax
push ebx
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x2e
push 0
lea eax, [ebp - 0x878]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov esi, eax
test esi, esi
je 0x1001fe39
push 0x2e
lea ecx, [esi - 2]
push ecx
lea eax, [ebp - 0x878]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov ebx, eax
test ebx, ebx
je 0x1001fe33
lea edi, [ebx + 2]
cmp edi, esi
je 0x1001fe2d
push 0x208
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.10097030
sub esi, ebx
add esp, 0xc
sar esi, 1
dec esi
cmp esi, 0x7ffffffe
ja 0x1001fbef
lea eax, [ebp - 0x424]
add esi, 0xfffffefc
mov ecx, eax
mov edx, 0x104
sub edi, ecx
lea ecx, [esi + edx]
test ecx, ecx
je 0x1001fbe3
movzx ecx, word [edi + eax]
test cx, cx
je 0x1001fbe3
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1001fbc6
jmp 0x1001fbe7
test edx, edx
jne 0x1001fbea
sub eax, 2
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x8c4]
mov dword [ebp - 0x8bc], 0
push eax
lea eax, [ebp - 0x8c0]
mov dword [ebp - 0x8c0], 0
push eax
lea eax, [ebp - 0x8bc]
mov dword [ebp - 0x8c4], 0
push eax
lea eax, [ebp - 0x424]
push str._d__d__d
push eax
call fcn.100216d0
mov edi, dword [ebp - 0x8b8]
add esp, 0x14
cmp eax, 3
jne 0x1001fe33
mov ebx, dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
xor eax, eax
mov dword [ebp - 0x654], eax
mov dword [ebp - 0x650], eax
mov dword [ebp - 0x64c], eax
mov dword [ebp - 0x648], eax
movzx eax, word [ebp - 0x8bc]
mov word [ebp - 0x654], ax
movzx eax, word [ebp - 0x8c0]
mov word [ebp - 0x652], ax
movzx eax, word [ebp - 0x8c4]
mov word [ebp - 0x64e], ax
lea eax, [ebp - 0x8d0]
push eax
push edi
call ebx
lea eax, [ebp - 0x8d8]
push eax
lea eax, [ebp - 0x654]
push eax
call ebx
mov ecx, dword [ebp - 0x8d0]
sub ecx, dword [ebp - 0x8d8]
mov eax, dword [ebp - 0x8cc]
sbb eax, dword [ebp - 0x8d4]
push 0xc9
push 0x2a69c000
push eax
push ecx
call fcn.100b57c0
mov ebx, dword [ebp - 0x8b4]
cmp eax, dword [ebx + 0x2a0]
jl 0x1001fe39
xor eax, eax
mov dword [ebp - 0x634], 0
lea ecx, [ebp - 0x62c]
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x634], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x630], 7
mov word [ebp - 0x644], ax
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001fd20
sub ecx, edx
lea eax, [ebp - 0x62c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x644]
call fcn.10020890
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x8ac]
cmp dword [ebp - 0x8a8], ecx
je 0x1001fdb7
mov eax, dword [ebp - 0x644]
mov dword [ecx + 0x10], 0
mov dword [ecx], eax
mov eax, dword [ebp - 0x640]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x63c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x638]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x634]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x630]
mov dword [ecx + 0x14], eax
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x630], eax
add dword [ebp - 0x8ac], 0x18
mov dword [ebp - 0x634], 0
mov word [ebp - 0x644], cx
jmp 0x1001fdd0
lea eax, [ebp - 0x644]
push eax
push ecx
lea ecx, [ebp - 0x8b0]
call fcn.10020cd0
mov eax, dword [ebp - 0x630]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x1001fe0e
mov ecx, dword [ebp - 0x644]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001fe04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001ff87
push edx
push ecx
call fcn.100716aa
add esp, 8
xor eax, eax
mov dword [ebp - 0x634], 0
mov dword [ebp - 0x630], 7
mov word [ebp - 0x644], ax
jmp 0x1001fe39
mov edi, dword [ebp - 0x8b8]
mov ebx, dword [ebp - 0x8b4]
mov esi, dword [ebp - 0x8c8]
lea eax, [ebp - 0x8a4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001fb20
mov eax, dword [edi]
mov dword [ebx + 0x2a4], eax
mov eax, dword [edi + 4]
mov dword [ebx + 0x2a8], eax
mov eax, dword [edi + 8]
mov dword [ebx + 0x2ac], eax
mov eax, dword [edi + 0xc]
push esi
mov dword [ebx + 0x2b0], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x8ac]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x8b0]
xor ebx, ebx
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1001fede
xor esi, esi
cmp dword [edi + esi + 0x14], 8
lea eax, [edi + esi]
jb 0x1001feb0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x8ac]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x8b0]
inc ebx
sub ecx, edi
add esi, 0x18
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1001fea4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x8b0]
test ecx, ecx
je 0x1001ff69
mov edx, dword [ebp - 0x8ac]
push ecx
call fcn.10020ef0
mov ecx, dword [ebp - 0x8a8]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x8b0]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x1001ff41
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001ff87
push ecx
push esi
call fcn.100716aa
add esp, 8
mov dword [ebp - 0x8b0], 0
mov dword [ebp - 0x8ac], 0
mov dword [ebp - 0x8a8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10071699
mov esp, ebp
pop ebp
ret 4
call fcn.1009a1bd
int3