Function at 0x1000a2c0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002f536
mov eax, dword fs:[0]
push eax
sub esp, 0x6a0
mov eax, dword [0x10038654]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0x250
mov dword [ebp - 0x6a0], ecx
lea ecx, [ebp - 0x69c]
push 0
push ecx
mov dword [ebp - 0x6a8], esi
mov dword [ebp - 0x6a4], eax
call fcn.1001caf0
add esp, 0xc
push 0x100
lea edx, [ebp - 0x414]
push 0
push edx
call fcn.1001caf0
add esp, 0xc
push 0x100
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.1001caf0
add esp, 0xc
push esi
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x416], 0x5c
je 0x1000a383
push 0x10033c94
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x10033cc0
lea ecx, [ebp - 0x414]
push ecx
call edi
lea edx, [ebp - 0x69c]
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x6ac], eax
jmp 0x1000a3bf
mov esi, dword [ebp - 0x6a8]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x216], 0x5c
je 0x1000a3f3
push 0x10033c94
lea eax, [ebp - 0x214]
push eax
call edi
lea ecx, [ebp - 0x670]
push ecx
lea edx, [ebp - 0x214]
push edx
call edi
test byte [ebp - 0x69c], 0x10
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
je 0x1000a583
push 0x10033ca4
lea eax, [ebp - 0x670]
push eax
call esi
test eax, eax
je 0x1000a583
push 0x10033ca8
lea ecx, [ebp - 0x670]
push ecx
call esi
test eax, eax
je 0x1000a583
push 0x410
call fcn.1001721c
xor edi, edi
add esp, 4
xor edx, edx
mov esi, eax
lea eax, [ebp - 0x214]
mov word [ebp - 0x44c], dx
mov dword [ebp - 0x438], 7
mov dword [ebp - 0x43c], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000a475
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x214]
lea ecx, [ebp - 0x44c]
call fcn.1000c790
push 1
mov dword [ebp - 4], edi
push 0x10033c94
lea edi, [ebp - 0x44c]
call fcn.1000c4c0
cmp eax, 0xffffffff
jne 0x1000a4d4
mov dword [ebp - 4], eax
cmp dword [ebp - 0x438], 8
jb 0x1000a6d2
mov eax, dword [ebp - 0x44c]
push eax
call fcn.100180f0
add esp, 4
jmp 0x1000a6d2
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x6a4]
lea edx, [eax + eax + 2]
sub edx, edi
push edx
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 - 0x214]
push eax
push esi
call fcn.1001add0
add esp, 0xc
test ebx, ebx
jne 0x1000a516
mov dword [0x1003aec0], 0x10000
jmp 0x1000a53a
cmp dword [ebx], 2
je 0x1000a527
mov dword [0x1003aec0], 0x80000
jmp 0x1000a53a
mov eax, dword [ebx + 4]
push 4
push esi
push eax
xor ecx, ecx
call fcn.10010cd0
mov dword [0x1003aec0], eax
push edi
push ebx
lea ecx, [ebp - 0x214]
push ecx
mov ecx, dword [ebp - 0x6a0]
call fcn.1000a2c0
test esi, esi
je 0x1000a55b
push esi
call fcn.10018bf7
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x438], 8
jb 0x1000a6d2
mov edx, dword [ebp - 0x44c]
push edx
call fcn.100180f0
add esp, 4
jmp 0x1000a6d2
push 0x10033ca4
lea eax, [ebp - 0x670]
push eax
call esi
test eax, eax
je 0x1000a6d2
push 0x10033ca8
lea ecx, [ebp - 0x670]
push ecx
call esi
test eax, eax
je 0x1000a6d2
push 0x410
call fcn.1001721c
add esp, 4
xor edx, edx
mov esi, eax
lea eax, [ebp - 0x214]
mov word [ebp - 0x430], dx
mov dword [ebp - 0x41c], 7
mov dword [ebp - 0x420], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000a5e4
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x214]
lea ecx, [ebp - 0x430]
call fcn.1000c790
push 1
push 0x10033c94
lea edi, [ebp - 0x430]
mov dword [ebp - 4], 1
call fcn.1000c4c0
or edi, 0xffffffff
cmp eax, edi
je 0x1000a69e
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
mov eax, dword [ebp - 0x6a4]
sub ecx, eax
cdq
sub eax, edx
sar eax, 1
push ecx
lea edx, [ebp + eax*2 - 0x214]
push edx
push esi
call fcn.1001add0
add esp, 0xc
test ebx, ebx
jne 0x1000a669
mov dword [0x1003aec0], 0x10000
jmp 0x1000a691
cmp dword [ebx], 2
je 0x1000a67a
mov dword [0x1003aec0], 0x80000
jmp 0x1000a691
mov eax, dword [ebx + 4]
push 2
push esi
push eax
lea ecx, [ebp - 0x214]
call fcn.10010cd0
mov dword [0x1003aec0], eax
test esi, esi
je 0x1000a69e
push esi
call fcn.10018bf7
add esp, 4
mov dword [ebp - 4], edi
cmp dword [ebp - 0x41c], 8
jb 0x1000a6b9
mov eax, dword [ebp - 0x430]
push eax
call fcn.100180f0
add esp, 4
xor ecx, ecx
mov word [ebp - 0x430], cx
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x41c], 7
mov esi, dword [ebp - 0x6ac]
lea edx, [ebp - 0x69c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1000a6fd
mov eax, dword [ebp - 0x6a0]
cmp dword [eax + 0x880], 0
je 0x1000a3b3
push esi
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 - 0x14]
xor ecx, ebp
call fcn.100180fb
mov esp, ebp
pop ebp
ret 0xc