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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10002868
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x190], esi
push 0x1000315c
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.100016d0
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x180]
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
push ecx
cmova eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0x184], edi
cmp edi, 0xffffffff
je 0x10001362
nop dword [eax + eax]
push 0x10003160
mov edx, esi
lea ecx, [ebp - 0x1a8]
call fcn.100016d0
mov ecx, eax
add esp, 4
mov dword [ebp - 0x188], ecx
lea esi, [ebp - 0x154]
mov byte [ebp - 4], 1
lea edx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10001220
mov edi, dword [ecx + 0x14]
sub esi, edx
mov edx, dword [ecx + 0x10]
mov eax, edi
sub eax, edx
cmp esi, eax
ja 0x10001266
lea eax, [edx + esi]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp edi, 0xf
jbe 0x10001246
mov eax, dword [ecx]
lea edi, [eax + edx]
push esi
lea eax, [ebp - 0x154]
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x188]
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x10001281
push esi
lea eax, [ebp - 0x154]
mov byte [ebp - 0x18c], 0
push eax
push dword [ebp - 0x18c]
push esi
call fcn.100017f0
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x194]
cmp ecx, 0xf
jbe 0x100012f6
mov edx, dword [ebp - 0x1a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100012ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001388
push ecx
push edx
call fcn.10001957
add esp, 8
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10001338
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000132e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001388
push ecx
push edx
call fcn.10001957
add esp, 8
mov edi, dword [ebp - 0x184]
lea eax, [ebp - 0x180]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1000135b
mov esi, dword [ebp - 0x190]
jmp 0x100011f0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x10001398
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000138e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000138e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10001957
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10001949
mov esp, ebp
pop ebp
ret