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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f51ab
mov eax, dword fs:[0]
push eax
sub esp, 0xaf8
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 ebx, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0xadc], edi
mov dword [ebp - 4], 0
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 0x100a52a8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xacc], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xacc]
push 0x101fe8a0
call fcn.10004060
test al, al
jne 0x100a4abd
push 0
push 0x101fe8a0
lea ecx, [ebp - 0xacc]
call fcn.10006ab0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [eax - 0xc], 0
je 0x100a4ada
push eax
lea eax, [ebp - 0x218]
push eax
call esi
mov eax, dword [ebx + 0xc0]
mov edx, dword [ebx + 0xbc]
sub eax, edx
sar eax, 2
cmp eax, 2
jb 0x100a5246
mov ecx, edi
mov dword [ebp - 0xad4], ecx
cmp edi, eax
jae 0x100a4c35
nop dword [eax]
nop dword [eax + eax]
lea esi, [ecx*4]
mov dword [ebp - 0xad8], esi
add esi, edx
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x100a4b42
push 0x10200564
push eax
call fcn.1019f712
add esp, 8
test eax, eax
je 0x100a4b42
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
jne 0x100a4bbe
mov esi, dword [ebx + 0xbc]
add esi, dword [ebp - 0xad8]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x100a4b71
push 0x10200500
push eax
call fcn.1019f712
add esp, 8
test eax, eax
je 0x100a4b71
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
jne 0x100a4bbe
mov eax, dword [ebx + 0xbc]
inc edi
mov ecx, dword [ebp - 0xad8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [ebp - 0xadc], edi
push dword [ecx + eax]
lea eax, [ebp - 0x218]
push eax
call esi
mov eax, dword [ebx + 0xc0]
mov ecx, dword [ebp - 0xad4]
mov edx, dword [ebx + 0xbc]
inc ecx
sub eax, edx
mov dword [ebp - 0xad4], ecx
sar eax, 2
cmp ecx, eax
jb 0x100a4b10
jmp 0x100a4c35
mov eax, dword [ebx + 0xbc]
mov ecx, dword [ebp - 0xad4]
mov esi, dword [ebp - 0xacc]
add esi, 0xfffffff0
mov ecx, dword [eax + ecx*4]
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x100a4c2f
cmp dword [esi + 0xc], 0
jl 0x100a4c20
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x100a4c20
push edx
call fcn.100041a0
add esp, 4
mov dword [ebp - 0xad8], eax
or ecx, 0xffffffff
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100a4c15
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0xad8]
add eax, 0x10
mov dword [ebp - 0xacc], eax
jmp 0x100a4c2f
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0xacc]
call fcn.10006ab0
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a5246
lea eax, [ebp - 0x218]
push eax
call fcn.10009280
add esp, 4
test eax, eax
jne 0x100a5246
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x100a507d
cmp eax, 0xffffffff
je 0x100a507d
mov eax, dword [ebx + 0xc0]
sub eax, dword [ebx + 0xbc]
sar eax, 2
cmp edi, eax
jne 0x100a4caf
cmp dword [ebx + 0x38], 0
je 0x100a4caf
push dword [ebp + 0x10]
lea eax, [ebp - 0x218]
mov ecx, ebx
push edi
push eax
call fcn.100a45f0
jmp 0x100a5246
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 esi
push 0x10200568
lea eax, [ebp - 0x628]
push eax
call esi
lea eax, [ebp - 0x878]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 0x208
mov dword [ebp - 0xad4], eax
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.101a08b0
add esp, 0xc
test dword [ebp - 0x878], 0x400
jne 0x100a5246
mov eax, dword [ebp - 0xad4]
cmp eax, 0xffffffff
je 0x100a5069
lea ecx, [ebp - 0x878]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x100a505d
nop dword [eax + eax]
mov eax, dword [ebp - 0x878]
test eax, 0x400
jne 0x100a5042
test al, 0x10
je 0x100a4e6c
cmp dword [ebx + 0x38], 0
jne 0x100a4d7f
mov eax, dword [ebp - 0xacc]
cmp dword [eax - 0xc], 0
je 0x100a5042
cmp word [ebp - 0x84c], 0x2e
jne 0x100a4dad
mov ax, word [ebp - 0x84a]
test ax, ax
je 0x100a5042
cmp ax, 0x2e
jne 0x100a4dad
cmp word [ebp - 0x848], 0
je 0x100a5042
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 esi
push ecx
lea eax, [ebp - 0xacc]
mov dword [ebp - 0xad8], esp
mov ecx, esp
push eax
call fcn.10003600
mov byte [ebp - 4], 9
lea eax, [ebp - 0x84c]
push ecx
mov ecx, esp
mov dword [ebp - 0xad0], esp
push eax
call fcn.10003660
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.100a52d0
test eax, eax
je 0x100a5042
lea esi, [edi + 1]
mov ecx, ebx
push esi
call fcn.100a55d0
test eax, eax
je 0x100a503c
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [ebp + 0x10]
lea eax, [ebp - 0x420]
push ecx
mov ecx, esp
mov dword [ebp - 0xad0], esp
push eax
call fcn.10003660
mov byte [ebp - 4], 0xb
push esi
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.100a4a20
jmp 0x100a503c
mov eax, dword [ebx + 0xc0]
sub eax, dword [ebx + 0xbc]
sar eax, 2
cmp edi, eax
jb 0x100a5042
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 esi
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x420]
push eax
call esi
mov ecx, ebx
call fcn.10048df0
test eax, eax
jne 0x100a5246
lea ecx, [ebp - 0xb04]
call fcn.1002a0a0
mov byte [ebp - 4], 0xc
mov eax, dword [ebx + 4]
mov dword [ebp - 0xafc], 4
mov dword [ebp - 0xaf8], 2
mov dword [ebp - 0xaf0], 2
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
add eax, 0x11c
cmp dword [eax + 0x14], 8
jb 0x100a4f0a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xae8]
call fcn.10007a40
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
add eax, 0xdc
cmp dword [eax + 0x14], 8
jb 0x100a4f2b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xae4]
call fcn.10007a40
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a4f40
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xaf4]
call fcn.10006ab0
sub esp, 0x28
lea eax, [ebp - 0xb04]
mov ecx, esp
mov dword [ebp - 0xad0], esp
push eax
call fcn.1002b530
mov byte [ebp - 4], 0xd
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov byte [ebp - 4], 0xc
call dword [eax]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb04]
call fcn.1002a250
push ecx
lea eax, [ebp - 0x84c]
mov dword [ebp - 0xad0], esp
mov ecx, esp
push eax
call fcn.10003660
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.100a54d0
test eax, eax
je 0x100a5042
push edi
mov ecx, ebx
call fcn.100a55d0
test eax, eax
je 0x100a5042
push ecx
lea eax, [ebp - 0x84c]
mov dword [ebp - 0xad0], esp
mov ecx, esp
push eax
call fcn.10003660
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.100a5630
test eax, eax
jne 0x100a5042
push dword [ebp + 0x10]
mov ecx, 0x94
lea esi, [ebp - 0x878]
sub esp, 0x250
lea eax, [ebp - 0x420]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push ecx
mov ecx, esp
mov dword [ebp - 0xad0], esp
push eax
call fcn.10003660
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.100a3700
mov edi, dword [ebp - 0xadc]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x878]
push eax
push dword [ebp - 0xad4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100a4d50
push dword [ebp - 0xad4]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xacc]
call fcn.10003950
jmp 0x100a5268
mov eax, dword [ebx + 0xc0]
mov ecx, dword [ebx + 0xbc]
sub eax, ecx
sar eax, 2
cmp edi, eax
jne 0x100a5246
push ecx
mov esi, esp
mov dword [ebp - 0xad0], esp
mov dword [ebp - 0xadc], esi
mov eax, dword [ecx + edi*4 - 4]
sub eax, 0x10
push eax
call fcn.100041a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.100a54d0
test eax, eax
je 0x100a5246
push edi
mov ecx, ebx
call fcn.100a55d0
test eax, eax
je 0x100a5246
mov eax, dword [ebx + 0xbc]
push ecx
mov ecx, esp
mov dword [ebp - 0xad0], esp
lea eax, [eax + edi*4]
add eax, 0xfffffffc
push eax
call fcn.10003600
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.100a5630
test eax, eax
jne 0x100a5246
lea eax, [ebp - 0xac8]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, ebx
call fcn.10048df0
test eax, eax
jne 0x100a5246
lea ecx, [ebp - 0xb04]
call fcn.1002a0a0
mov byte [ebp - 4], 6
mov eax, dword [ebx + 4]
mov dword [ebp - 0xafc], 4
mov dword [ebp - 0xaf8], 2
mov dword [ebp - 0xaf0], 2
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
add eax, 0x11c
cmp dword [eax + 0x14], 8
jb 0x100a5178
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xae8]
call fcn.10007a40
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
add eax, 0xdc
cmp dword [eax + 0x14], 8
jb 0x100a5199
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xae4]
call fcn.10007a40
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a51b0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xaf4]
call fcn.10006ab0
sub esp, 0x28
lea eax, [ebp - 0xb04]
mov ecx, esp
mov dword [ebp - 0xad0], esp
push eax
call fcn.1002b530
mov byte [ebp - 4], 7
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov byte [ebp - 4], 6
call dword [eax]
push dword [ebp + 0x10]
mov ecx, 0x94
lea esi, [ebp - 0xac8]
sub esp, 0x250
lea eax, [ebp - 0x218]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push ecx
mov ecx, esp
mov dword [ebp - 0xad0], esp
push eax
call fcn.10003660
mov byte [ebp - 4], 8
mov byte [ebp - 4], 6
mov ecx, ebx
call fcn.100a3700
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb04]
call fcn.1002a250
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0xacc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100a5268
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100a528a
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 0xc
push 0x80004005
call fcn.10004040
int3