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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f50b2
mov eax, dword fs:[0]
push eax
sub esp, 0x69c
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 - 0x680], edi
test edi, edi
je 0x100a49f9
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a49f9
mov ecx, ebx
call fcn.10048df0
test eax, eax
jne 0x100a49f9
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.101a08b0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.101a08b0
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
add esp, 0x18
push edi
push eax
call esi
push 0x10200568
lea eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
test dword [ebp - 0x670], 0x400
mov dword [ebp - 0x67c], eax
jne 0x100a49f9
cmp eax, 0xffffffff
je 0x100a49f9
lea ecx, [ebp - 0x670]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x100a49ed
nop
mov eax, dword [ebx + 0xc8]
cmp eax, dword [ebx + 8]
jg 0x100a49ed
mov eax, dword [ebp - 0x670]
test eax, 0x400
jne 0x100a49d2
test al, 0x10
je 0x100a47fb
cmp dword [ebx + 0x38], 0
je 0x100a49d2
lea eax, [ebp - 0x644]
push eax
lea ecx, [ebp - 0x674]
call fcn.10003660
mov dword [ebp - 4], 0
cmp word [ebp - 0x644], 0x2e
jne 0x100a4759
mov ax, word [ebp - 0x642]
test ax, ax
je 0x100a47e4
cmp ax, 0x2e
jne 0x100a4759
cmp word [ebp - 0x640], 0
je 0x100a47e4
mov eax, dword [ebp - 0x674]
cmp dword [eax - 0xc], 0
je 0x100a47e4
push str.....
push eax
call fcn.101a8c54
add esp, 8
test eax, eax
je 0x100a47e4
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.101a08b0
add esp, 0xc
lea eax, [ebp - 0x218]
push edi
push eax
call esi
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x218]
push eax
call esi
mov esi, dword [ebp + 0xc]
mov ecx, ebx
inc esi
push esi
call fcn.100a55d0
test eax, eax
je 0x100a47cd
push dword [ebp + 0x10]
lea eax, [ebp - 0x218]
mov ecx, ebx
push esi
push eax
call fcn.100a45f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x674]
call fcn.10003950
jmp 0x100a49cc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x674]
call fcn.10003950
jmp 0x100a49d2
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.101a08b0
add esp, 0xc
lea eax, [ebp - 0x218]
push edi
push eax
call esi
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x218]
push eax
call esi
mov ecx, ebx
call fcn.10048df0
test eax, eax
jne 0x100a49f9
lea ecx, [ebp - 0x6a8]
call fcn.1002a0a0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 4]
mov dword [ebp - 0x6a0], 4
mov dword [ebp - 0x69c], 2
mov dword [ebp - 0x694], 2
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
add eax, 0x11c
cmp dword [eax + 0x14], 8
jb 0x100a487f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x68c]
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 0x100a48a0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x688]
call fcn.10007a40
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100a48b5
sub eax, edx
lea ecx, [ebp - 0x698]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10006ab0
sub esp, 0x28
lea eax, [ebp - 0x6a8]
mov ecx, esp
mov dword [ebp - 0x678], esp
push eax
call fcn.1002b530
mov byte [ebp - 4], 2
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov byte [ebp - 4], 1
call dword [eax]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6a8]
call fcn.1002a250
push ecx
lea eax, [ebp - 0x644]
mov dword [ebp - 0x678], esp
mov ecx, esp
push eax
call fcn.10003660
mov dword [ebp - 4], 3
mov dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.100a54d0
test eax, eax
je 0x100a49d2
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.100a55d0
test eax, eax
je 0x100a49d2
push ecx
lea eax, [ebp - 0x644]
mov dword [ebp - 0x678], esp
mov ecx, esp
push eax
call fcn.10003660
mov dword [ebp - 4], 4
mov dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.100a5630
test eax, eax
jne 0x100a49d2
push dword [ebp + 0x10]
mov ecx, 0x94
lea esi, [ebp - 0x670]
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 - 0x678], esp
push eax
call fcn.10003660
mov dword [ebp - 4], 5
mov dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.100a3700
mov edi, dword [ebp - 0x680]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x670]
push eax
push dword [ebp - 0x67c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100a46e0
push dword [ebp - 0x67c]
call dword [sym.imp.KERNEL32.dll_FindClose]
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