Function at 0x1000a4b0
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005bf6e
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x10097048]
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 - 0x2b8], esi
push 1
push 0x1006ae78
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
call fcn.10008770
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2a4]
lea eax, [esi + 0x18]
push ecx
push eax
mov dword [ebp - 0x2b4], eax
lea eax, [ebp - 0x330]
push eax
call fcn.1000c030
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x1000a548
mov eax, dword [eax]
lea ecx, [ebp - 0x284]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x2a8], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x330]
call fcn.100015ef
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.100015ef
cmp esi, 0xffffffff
je 0x1000aa21
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push 0x10069f50
lea ecx, [ebp - 0x2e8]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 0
call fcn.10008770
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2d0]
push 2
push 0x1006ae70
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0
call fcn.10008770
mov dword [ebp - 4], 3
lea edi, [ebp - 0x2e8]
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x1c], 0
sub ecx, edi
mov dword [ebp - 0x18], 0
mov eax, 0x2aaaaaab
mov dword [ebp - 0x14], 0
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000a721
cmp eax, 0xaaaaaaa
ja 0x1000aa48
lea esi, [eax + eax*2]
shl esi, 3
cmp esi, 0x1000
jb 0x1000a681
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x1000aa4d
push eax
call fcn.1003957e
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1000aa52
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x1000a692
test esi, esi
je 0x1000a690
push esi
call fcn.1003957e
add esp, 4
jmp 0x1000a692
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
add eax, esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28c], eax
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov esi, dword [ebp - 0x1c]
movq qword [ebp - 0x298], xmm0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x298], esi
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2b8]
cmp edi, eax
je 0x1000a700
push edi
mov ecx, esi
call fcn.100031ab
add esi, 0x18
lea eax, [ebp - 0x2b8]
add edi, 0x18
mov dword [ebp - 0x294], esi
cmp edi, eax
jne 0x1000a6e2
mov dword [ebp - 0x298], esi
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28c], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x2a8]
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2e8]
push 0x1000158e
push 2
push 0x18
push eax
call fcn.10039469
test byte [ebp - 0x284], 0x10
mov ecx, 0xa
je 0x1000a9f5
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x2b0], eax
cmp edi, eax
je 0x1000a8d0
cmp dword [edi + 0x14], 8
mov eax, edi
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], edx
mov dword [ebp - 0x2ac], edi
jb 0x1000a79d
mov eax, dword [edi]
mov dword [ebp - 0x2ac], eax
cmp edx, 0x7ffffffe
ja 0x1000aa43
cmp edx, 8
jae 0x1000a7cb
mov esi, 7
mov dword [ebp - 0x294], edx
mov dword [ebp - 0x290], esi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2a4], xmm0
jmp 0x1000a83e
mov esi, edx
mov dword [ebp - 0x290], 7
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x1000a7e9
mov esi, 0x7ffffffe
jmp 0x1000a7ef
cmp esi, 0xa
cmovb esi, ecx
xor ecx, ecx
mov eax, esi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
lea ecx, [ebp - 0x2a4]
call fcn.100017b0
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 0x28c]
mov dword [ebp - 0x294], ecx
mov dword [ebp - 0x290], esi
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x2ac]
push eax
call fcn.1003a930
mov edx, dword [ebp - 0x28c]
add esp, 0xc
mov byte [ebp - 4], 8
lea eax, [ebp - 0x258]
lea ecx, [eax + 2]
mov dword [ebp - 0x28c], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000a851
sub eax, dword [ebp - 0x28c]
sar eax, 1
cmp esi, 8
setae cl
test cl, cl
lea ecx, [ebp - 0x2a4]
cmovne ecx, dword [ebp - 0x2a4]
cmp edx, eax
jne 0x1000a899
push edx
lea eax, [ebp - 0x258]
push eax
push ecx
call fcn.1000d8f0
add esp, 0xc
mov byte [ebp - 0x285], 1
test eax, eax
je 0x1000a8a0
mov byte [ebp - 0x285], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2a4]
call fcn.100015ef
cmp byte [ebp - 0x285], 0
jne 0x1000aa3c
add edi, 0x18
mov ecx, 0xa
cmp edi, dword [ebp - 0x2b0]
jne 0x1000a760
xor al, al
test al, al
jne 0x1000a9ef
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2f0], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x2ec], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a901
sub ecx, edx
lea eax, [ebp - 0x258]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x300]
call fcn.10008770
mov byte [ebp - 4], 9
lea eax, [ebp - 0x300]
push eax
push dword [ebp - 0x2b4]
lea eax, [ebp - 0x34]
push eax
call fcn.1000c030
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x300]
call fcn.100015ef
push 0xe
push str.pending_delete
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 0
call fcn.10008770
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x348]
push eax
call fcn.1000c030
add esp, 0xc
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
jb 0x1000a9a9
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x348]
call fcn.100015ef
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x318]
call fcn.100015ef
test esi, esi
je 0x1000a9e3
mov ecx, dword [ebp - 0x2b8]
lea eax, [ebp - 0x34]
push eax
call fcn.1000a250
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.100015ef
mov esi, dword [ebp - 0x2a8]
lea eax, [ebp - 0x284]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000a73a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10003517
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.100398db
mov esp, ebp
pop ebp
ret
mov al, 1
jmp 0x1000a8d2
call fcn.10001340
call fcn.10003ee0
call fcn.100012e0
call fcn.1003e01f
int3