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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dbce6
mov eax, dword fs:[0]
push eax
sub esp, 0xa8c
mov eax, dword [0x1025e344]
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
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa90], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.101a08b0
add esp, 0xc
call fcn.100049d0
mov ecx, eax
test ecx, ecx
je 0x10008250
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa84], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa84]
push 0x101fe8a0
call fcn.10004060
test al, al
jne 0x10007e0b
push 0
push 0x101fe8a0
lea ecx, [ebp - 0xa84]
call fcn.10006ab0
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x1c]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [eax - 0xc], 0
je 0x10007e28
push eax
lea eax, [ebp - 0x218]
push eax
call ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
sub eax, ecx
mov edi, dword [ebp + 0x18]
mov esi, edi
sar eax, 2
cmp edi, eax
jae 0x10007ea6
nop dword [eax]
lea eax, [ecx + esi*4]
mov dword [ebp - 0xa8c], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jl 0x10007e75
push 0x10200564
push eax
call fcn.1019f712
add esp, 8
test eax, eax
je 0x10007e72
mov ecx, dword [ebp - 0xa8c]
sub eax, dword [ecx]
sar eax, 1
cmp eax, 0xffffffff
jne 0x10007e94
mov ecx, dword [ebp + 8]
push dword [ecx + esi*4]
lea eax, [ebp - 0x218]
inc edi
push eax
call ebx
mov eax, dword [ebp + 0xc]
inc esi
mov ecx, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x10007e40
jmp 0x10007ea6
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xa84]
lea eax, [eax + esi*4]
push eax
call fcn.100079d0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or esi, 0xffffffff
test eax, eax
je 0x10007fa8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10007f3e
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.101a08b0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call ebx
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
je 0x10007f3e
nop word [eax + eax]
test eax, 0x400
jne 0x10007fa8
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x10007f3e
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10007f10
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
cmp edi, eax
jne 0x10008010
mov eax, dword [ebp - 0xa84]
cmp dword [eax - 0xc], 0
jne 0x10008010
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xa88]
call fcn.10003660
mov byte [ebp - 4], 4
lea eax, [ebp - 0xa88]
mov ecx, dword [ebp - 0xa90]
push eax
call fcn.1000aef0
mov byte [ebp - 4], 3
mov eax, esi
mov edx, dword [ebp - 0xa88]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10007fa8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0xa84]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10007fc9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.1000aca0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10007ff4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.100d02f2
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.101a08b0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call ebx
push 0x10200568
lea eax, [ebp - 0x830]
push eax
call ebx
lea eax, [ebp - 0xa80]
push eax
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 0x208
mov dword [ebp - 0xa88], eax
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.101a08b0
add esp, 0xc
test dword [ebp - 0xa80], 0x400
jne 0x10007fa8
mov eax, dword [ebp - 0xa88]
or esi, 0xffffffff
cmp eax, esi
je 0x1000824b
lea ecx, [ebp - 0xa80]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1000823f
nop dword [eax + eax]
mov eax, dword [ebp - 0xa80]
test eax, 0x400
jne 0x10008224
test al, 0x10
je 0x10008194
cmp word [ebp - 0xa54], 0x2e
jne 0x100080f7
mov ax, word [ebp - 0xa52]
test ax, ax
je 0x10008224
cmp ax, 0x2e
jne 0x100080f7
cmp word [ebp - 0xa50], 0
je 0x10008224
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.101a08b0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call ebx
push dword [ebp - 0xa84]
lea eax, [ebp - 0xa54]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x10008224
lea eax, [ebp - 0xa54]
push eax
lea eax, [ebp - 0x420]
push eax
call ebx
push ecx
lea eax, [ebp - 0x420]
mov dword [ebp - 0xa94], esp
mov ecx, esp
push eax
call fcn.10003660
mov byte [ebp - 4], 7
lea eax, [edi + 1]
push eax
push dword [ebp - 0xa90]
lea eax, [ebp + 8]
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0xa98], esp
push eax
call fcn.10007800
mov byte [ebp - 4], 8
mov byte [ebp - 4], 3
call fcn.10007d70
add esp, 0x18
jmp 0x10008224
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
cmp edi, eax
jb 0x10008224
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.101a08b0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call ebx
lea eax, [ebp - 0xa54]
push eax
lea eax, [ebp - 0x420]
push eax
call ebx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xa8c]
call fcn.10003660
mov byte [ebp - 4], 9
lea eax, [ebp - 0xa8c]
mov ecx, dword [ebp - 0xa90]
push eax
call fcn.1000aef0
mov byte [ebp - 4], 3
mov eax, esi
mov edx, dword [ebp - 0xa8c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10008224
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0xa80]
push eax
push dword [ebp - 0xa88]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100080b0
push dword [ebp - 0xa88]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x10007fa8
push 0x80004005
call fcn.10004040
int3