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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1000fb06
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x1001601c]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push esi
push edi
mov eax, dword [0x1001601c]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
mov ebx, ecx
push eax
mov dword [esp + 0x20], ebx
call fcn.1000c260
mov eax, 0x10011788
mov dword [esp + 0x180], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100085b3
sub eax, ecx
push eax
push 0x10011788
lea ecx, [esp + 0x1c]
push ecx
call fcn.1000d550
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edx, dword [0x1001659c]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0xc]
mov edi, ecx
mov ecx, 0x1001659c
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
test edi, edi
mov byte [esp + 0x180], 1
jne 0x10008686
add esi, 0xfffffff0
mov byte [esp + 0x180], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10008633
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [esp + 0x180], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000865e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.1000e1de
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jne 0x1000868e
xor eax, eax
jmp 0x1000869e
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10008693
sub eax, edx
mov edi, eax
push ebx
lea eax, [esp + 0x14]
call fcn.1000d5e0
lea eax, [esp + 0x58]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100086b1
mov esi, dword [esp + 0x10]
mov edi, dword [esi - 0xc]
sub eax, edx
mov edx, eax
mov eax, dword [esi - 8]
lea ecx, [esp + 0x58]
mov ebx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edi
add edi, edx
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
sub ebx, esi
or eax, ecx
mov dword [esp + 0x28], edx
jge 0x100086ff
mov ecx, edi
lea eax, [esp + 0x10]
call fcn.1000d670
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
cmp ebx, eax
ja 0x1000870d
add ebx, esi
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x18]
push edx
push ecx
push edx
add eax, esi
push eax
call dword [sym.imp.MSVCR80.dll_memcpy_s]
add esp, 0x10
test edi, edi
jl 0x100087e7
cmp edi, dword [esi - 8]
jg 0x100087e7
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
cmp dword [esi - 4], 1
jle 0x10008750
mov edx, dword [esi - 0xc]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.1000cb30
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test esi, esi
jne 0x1000875f
xor eax, eax
jmp 0x10008771
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10008764
sub eax, edx
js 0x100087e7
cmp eax, dword [esi - 8]
jg 0x100087e7
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
cmp dword [esi - 0xc], 0
mov edi, dword [esi - 0x10]
lea eax, [esi - 0x10]
je 0x100087ca
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x100087a4
cmp dword [esi - 8], 0
jl 0x100087e7
mov dword [esi - 0xc], 0
mov byte [esi], 0
jmp 0x100087ca
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100087ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10008682
jmp 0x1000860f
push 0x80070057
call fcn.10002bb0
int3