Function at 0x1000eb70
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c38b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x344
mov eax, ecx
mov dword [ebp - 0x58], edx
push esi
push 0x1004d50c
mov edx, eax
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0xb0]
call fcn.10016dd0
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x350]
cmp dword [ebp - 0x9c], 8
lea eax, [ebp - 0xb0]
push ecx
cmovae eax, dword [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x70], esi
cmp esi, 0xffffffff
je 0x1000f1e7
push edi
nop dword [eax]
nop dword [eax + eax]
xor eax, eax
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x324]
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000ec10
sub ecx, edx
lea eax, [ebp - 0x324]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.10015ab0
mov byte [ebp - 4], 1
lea edi, [ebp - 0x54]
cmp dword [ebp - 0x40], 8
mov eax, dword [ebp - 0x54]
cmovae edi, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x44]
cmp eax, 1
jne 0x1000ec82
movzx ecx, word [edi]
mov edx, 0x2e
mov esi, eax
mov eax, 0x1004d514
cmp ecx, edx
jb 0x1000ec7f
sub edi, eax
cmp cx, dx
ja 0x1000ec7f
cmp esi, 1
je 0x1000ed2d
movzx ecx, word [eax + edi + 2]
add eax, 2
dec esi
movzx edx, word [eax]
cmp cx, dx
jae 0x1000ec63
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x40], 8
lea edi, [ebp - 0x54]
cmovae edi, dword [ebp - 0x10]
cmp eax, 2
jne 0x1000ecc2
movzx ecx, word [edi]
mov edx, 0x2e
mov esi, eax
mov eax, 0x1004d518
cmp ecx, edx
jb 0x1000ecc2
sub edi, eax
cmp cx, dx
ja 0x1000ecc2
cmp esi, 1
je 0x1000ed2d
movzx ecx, word [eax + edi + 2]
add eax, 2
dec esi
movzx edx, word [eax]
cmp cx, dx
jae 0x1000ecaa
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x98]
push 0x1004d4b0
call fcn.10016dd0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x54]
cmp dword [ebp - 0x40], 8
mov edi, dword [esi + 0x10]
cmovae edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0x44]
sub eax, edi
mov dword [ebp - 0x20], edi
cmp ecx, eax
ja 0x1000ed36
cmp dword [esi + 0x14], 8
lea eax, [ecx + edi]
mov dword [ebp - 0x18], eax
mov edi, esi
mov dword [esi + 0x10], eax
jb 0x1000ed0e
mov edi, dword [esi]
lea eax, [ecx + ecx]
push eax
mov eax, dword [ebp - 0x20]
push edx
lea eax, [edi + eax*2]
push eax
call fcn.1001d750
mov eax, dword [ebp - 0x18]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x1000ed4f
mov byte [ebp - 4], 0
jmp 0x1000f190
push ecx
push edx
mov byte [ebp - 0x60], 0
push dword [ebp - 0x60]
push ecx
mov ecx, esi
call fcn.10019d50
mov esi, eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x24], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x28], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x1000edc5
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000edbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f232
push edx
push ecx
call fcn.1001a1f6
add esp, 8
mov edi, dword [ebp - 0x38]
xor eax, eax
mov word [ebp - 0x98], ax
mov eax, dword [0x1005437c]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
cmp eax, dword [0x10054380]
je 0x1000eef0
nop dword [eax]
cmp dword [eax + 0x14], 8
mov ecx, eax
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
jb 0x1000ee13
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x24], 8
lea esi, [ebp - 0x38]
cmovae esi, edi
mov dword [ebp - 0x6c], esi
cmp edx, dword [ebp - 0x28]
ja 0x1000eede
test edx, edx
je 0x1000ef31
mov eax, dword [ebp - 0x28]
sub eax, edx
inc eax
lea edx, [esi + eax*2]
mov eax, esi
movzx esi, word [ecx]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x20], esi
sub edx, eax
movzx esi, si
sar edx, 1
mov edi, 0
je 0x1000ee77
movzx ecx, word [eax]
cmp cx, si
je 0x1000ee72
nop dword [eax + eax]
cmp edx, 1
je 0x1000ee74
movzx ecx, word [eax + 2]
add eax, 2
dec edx
cmp cx, si
jne 0x1000ee60
mov edi, eax
mov ecx, dword [ebp - 0x14]
mov eax, edi
mov dword [ebp - 0x64], eax
test eax, eax
je 0x1000eed8
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
movzx esi, si
mov edi, dword [edx + 0x10]
movzx edx, word [eax]
cmp dx, si
jb 0x1000eebd
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x14]
sub dword [ebp - 0x3c], eax
cmp dx, si
mov eax, dword [ebp - 0x64]
ja 0x1000eebd
cmp edi, 1
je 0x1000eece
mov edx, dword [ebp - 0x3c]
add ecx, 2
dec edi
movzx edx, word [ecx + edx]
movzx esi, word [ecx]
cmp dx, si
jae 0x1000eea3
mov ecx, dword [ebp - 0x14]
add eax, 2
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x68]
jmp 0x1000ee45
sub eax, dword [ebp - 0x6c]
sar eax, 1
cmp eax, 0xffffffff
jne 0x1000ef2e
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, 0x18
mov dword [ebp - 0x1c], eax
cmp eax, dword [0x10054380]
jne 0x1000ee00
test byte [ebp - 0x350], 0x10
je 0x1000ef6d
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000f13f
shr eax, 4
and al, 1
je 0x1000f13f
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x38]
call fcn.1000eb70
jmp 0x1000f13f
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x1000f17d
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x1000ef66
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f232
push ecx
push edi
jmp 0x1000f175
mov edi, dword [ebp - 0x330]
lea eax, [ebp - 0x80]
mov esi, dword [ebp - 0x334]
push eax
lea eax, [ebp - 0x33c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
cmp dword [ebp - 0x24], 8
lea edx, [ebp - 0x38]
push dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x58]
call fcn.10019730
add esp, 4
mov edx, 0x1004d52c
mov ecx, eax
call fcn.10016f00
push esi
push edi
mov ecx, eax
call fcn.10013ff0
mov edx, 0x1004d52c
mov ecx, eax
call fcn.10016f00
push dword [ebp - 0x80]
mov ecx, eax
call fcn.100141b0
mov edx, 0x1004d528
mov ecx, eax
call fcn.10016f00
push 0
mov esi, eax
lea eax, [ebp - 0xc0]
push 2
push eax
call fcn.1001ba7b
push dword [eax + 0xc]
mov ecx, dword [eax]
push dword [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
push eax
call ecx
mov eax, dword [esi]
add esp, 0x18
mov edi, 0x30
mov ecx, esi
mov eax, dword [eax + 4]
mov word [eax + esi + 0x40], di
push dword [ebp - 0x7e]
call fcn.100141b0
mov edx, 0x1004d528
mov ecx, eax
call fcn.10016f00
push 0
mov esi, eax
lea eax, [ebp - 0xd0]
push 2
push eax
call fcn.1001ba7b
push dword [eax + 0xc]
mov ecx, dword [eax]
push dword [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
push eax
call ecx
mov eax, dword [esi]
add esp, 0x18
mov ecx, esi
mov eax, dword [eax + 4]
mov word [eax + esi + 0x40], di
push dword [ebp - 0x7a]
call fcn.100141b0
mov edx, 0x1004d524
mov ecx, eax
call fcn.10016f00
mov esi, eax
push 0
lea eax, [ebp - 0xe0]
push 2
push eax
call fcn.1001ba7b
push dword [eax + 0xc]
mov ecx, dword [eax]
push dword [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
push eax
call ecx
mov eax, dword [esi]
add esp, 0x18
mov ecx, esi
mov eax, dword [eax + 4]
mov word [eax + esi + 0x40], di
push dword [ebp - 0x78]
call fcn.100141b0
mov edx, 0x1004d520
mov ecx, eax
call fcn.10016f00
push 0
mov esi, eax
lea eax, [ebp - 0xf0]
push 2
push eax
call fcn.1001ba7b
push dword [eax + 0xc]
mov ecx, dword [eax]
push dword [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
push eax
call ecx
mov eax, dword [esi]
add esp, 0x18
mov ecx, esi
mov eax, dword [eax + 4]
mov word [eax + esi + 0x40], di
push dword [ebp - 0x76]
call fcn.100141b0
mov edx, 0x1004d520
mov ecx, eax
call fcn.10016f00
push 0
mov esi, eax
lea eax, [ebp - 0x100]
push 2
push eax
call fcn.1001ba7b
push dword [eax + 0xc]
mov ecx, dword [eax]
push dword [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
push eax
call ecx
mov eax, dword [esi]
add esp, 0x18
mov ecx, esi
mov eax, dword [eax + 4]
mov word [eax + esi + 0x40], di
push dword [ebp - 0x74]
call fcn.100141b0
push eax
call fcn.100171c0
add esp, 4
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x1000f17d
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000f173
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f232
push edx
push ecx
call fcn.1001a1f6
add esp, 8
xor eax, eax
mov byte [ebp - 4], al
mov word [ebp - 0x38], ax
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x1000f1c6
mov edx, dword [ebp - 0x10]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000f1bc
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f232
push ecx
push edx
call fcn.1001a1f6
add esp, 8
mov esi, dword [ebp - 0x70]
lea eax, [ebp - 0x350]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000ebf0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov edx, dword [ebp - 0x9c]
pop esi
cmp edx, 8
jb 0x1000f224
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000f21a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f232
push edx
push ecx
call fcn.1001a1f6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.10020517
int3