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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c057
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x10070660]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
test byte [0x100742a4], 1
jne 0x10008b89
or dword [0x100742a4], 1
push 0x1005d290
mov dword [0x1007429c], ebx
mov byte [0x100742a0], bl
call fcn.10036a73
add esp, 4
cmp byte [0x1007429f], bl
jne 0x10008ef5
mov edi, dword [0x100742e4]
lea eax, [ebp - 0x268]
push eax
call fcn.10015930
add esp, 4
push 0x24c
lea ecx, [ebp - 0x25c]
push ebx
mov dword [ebp - 4], ebx
push ecx
mov dword [ebp - 0x260], ebx
call fcn.1003bac0
add esp, 0xc
push 0x100630bc
lea edx, [ebp - 0x268]
push edx
lea eax, [ebp - 0x270]
push eax
call fcn.10001510
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
mov dword [ebp - 0x274], esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10008c1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
je 0x10008ecc
lea esi, [ebp - 0x234]
shr esi, 0x10
mov dword [ebp - 0x27c], esi
jmp 0x10008c46
mov esi, dword [ebp - 0x27c]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x26c], edi
mov byte [ebp - 4], 1
cmp esi, ebx
jne 0x10008c8f
lea ecx, [ebp - 0x234]
movzx esi, cx
push esi
call fcn.100016e0
mov ecx, eax
add esp, 4
cmp ecx, ebx
je 0x10008cc9
lea edx, [ebp - 0x26c]
push edx
mov eax, esi
call fcn.100018a0
jmp 0x10008cc3
lea eax, [ebp - 0x234]
lea edx, [eax + 2]
jmp 0x10008ca0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10008ca0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x26c]
push ecx
call fcn.10001ac0
mov edi, dword [ebp - 0x26c]
mov byte [ebp - 4], 2
mov ecx, 0x100630c4
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10008cfa
cmp dx, bx
je 0x10008cf6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10008cfa
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x10008cd4
xor eax, eax
jmp 0x10008cff
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
cmp al, bl
jne 0x10008e91
mov ecx, 0x100630c8
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10008d39
cmp dx, bx
je 0x10008d35
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10008d39
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x10008d13
xor eax, eax
jmp 0x10008d3e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
cmp al, bl
jne 0x10008e91
cmp dword [edi - 0xc], ebx
jl 0x10008e91
push str..dll
push edi
call fcn.10037531
add esp, 8
cmp eax, ebx
je 0x10008d6f
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jne 0x10008d9b
cmp dword [edi - 0xc], ebx
jl 0x10008e91
push str..exe
push edi
call fcn.10037531
add esp, 8
cmp eax, ebx
je 0x10008e91
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x10008e91
push 0x10061e48
lea edx, [ebp - 0x268]
push edx
lea eax, [ebp - 0x278]
push eax
call fcn.10001510
add esp, 0xc
lea ecx, [ebp - 0x234]
push ecx
push eax
lea edx, [ebp - 0x264]
push edx
mov byte [ebp - 4], 3
call fcn.10001510
add esp, 0xc
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x278]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10008df7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x264]
call fcn.10021e20
cmp eax, 1
je 0x10008e6b
mov ecx, dword [ebp - 0x264]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, str.SUCCESS
cmp eax, ebx
jne 0x10008e22
mov esi, str.FAIL
test byte [0x100742b0], 1
jne 0x10008e51
or dword [0x100742b0], 1
push 0x1005d2e0
mov dword [0x100742b4], ebx
mov dword [0x100742b8], ebx
mov dword [0x100742bc], ebx
call fcn.10036a73
add esp, 4
mov edx, dword [ebp - 0x264]
push edx
push esi
push str._clearInvalidFile__WHEN_STARTUP_APTNAIL___s_TO_DELETE__s
mov esi, 0x100742b4
call fcn.10021480
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10008e91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10008eb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x274]
lea ecx, [ebp - 0x260]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10008c40
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10008ef5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100368bb
mov esp, ebp
pop ebp
ret