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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7dce
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x100f93e0]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.10003bfa
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10003bcb
movzx eax, al
test eax, eax
je 0x100ba3f0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10014be9
jmp 0x100ba600
push 1
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x14]
call fcn.10014e0f
mov dword [ebp - 0x294], eax
push 0x100df5e0
push dword [ebp - 0x294]
call fcn.10028acf
pop ecx
pop ecx
mov byte [ebp - 0x281], al
lea ecx, [ebp - 0x288]
call fcn.10014be9
movzx eax, byte [ebp - 0x281]
test eax, eax
je 0x100ba442
push 0x100df5e4
lea ecx, [ebp - 0x14]
call fcn.1000e4d2
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.10003be1
mov byte [ebp - 4], 1
push 0x100df5e8
lea ecx, [ebp - 0x14]
call fcn.1000e4d2
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10005b69
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x100ba4a4
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10014be9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10014be9
jmp 0x100ba600
mov dword [ebp - 0x20], 1
and dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
je 0x100ba5db
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x280]
call fcn.10003be1
mov byte [ebp - 4], 2
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x280]
call fcn.1000e4d2
push 0x100df5ec
lea eax, [ebp - 0x250]
push eax
call fcn.1007b1ef
pop ecx
pop ecx
test eax, eax
je 0x100ba513
push 0x100df5f0
lea eax, [ebp - 0x250]
push eax
call fcn.1007b1ef
pop ecx
pop ecx
test eax, eax
jne 0x100ba53a
lea eax, [ebp - 0x27c]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call fcn.10014be9
jmp 0x100ba4b6
mov eax, dword [ebp - 0x27c]
and eax, 0x10
je 0x100ba55d
push dword [ebp + 0xc]
lea ecx, [ebp - 0x280]
call fcn.10005b69
push eax
call fcn.100ba396
pop ecx
pop ecx
jmp 0x100ba5b4
push 4
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x280]
call fcn.10014e0f
mov dword [ebp - 0x298], eax
push 0x100df5f8
push dword [ebp - 0x298]
call fcn.10014f25
pop ecx
pop ecx
mov byte [ebp - 0x289], al
lea ecx, [ebp - 0x290]
call fcn.10014be9
movzx eax, byte [ebp - 0x289]
test eax, eax
je 0x100ba5b4
lea eax, [ebp - 0x280]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10028ba3
lea eax, [ebp - 0x27c]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call fcn.10014be9
jmp 0x100ba4b6
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
and dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10014be9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10014be9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.100771ba
leave
ret