Function at 0x10143d18
Capabilities:
Enumerate files on windows

Disassembly:
push 0x628
mov eax, 0x1032820d
call fcn.1027911b
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push esi
mov dword [ebp - 0x634], eax
call fcn.100f415c
test al, al
jne 0x10143d64
push esi
push str.GetDirectories:_search_path__s_does_not_exist
push 0x22
lea ecx, [ebp - 0x630]
call fcn.10117005
push 0x1060513c
lea eax, [ebp - 0x630]
push eax
call fcn.1027a8f4
push dword [ebp - 0x634]
push edi
push dword [edi + 4]
push dword [edi]
call fcn.1000a531
mov eax, dword [edi]
xor ecx, ecx
mov dword [edi + 4], eax
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ecx
cmp eax, esi
je 0x10143da1
push 0xffffffffffffffff
push ecx
push esi
mov ecx, eax
call fcn.10007eb1
push 0x103334e8
lea ecx, [ebp - 0x40]
call fcn.10006939
push 1
push eax
push esi
mov byte [ebp - 4], 1
call fcn.10007329
mov bl, al
mov byte [ebp - 4], 0
push 0
neg bl
lea ecx, [ebp - 0x40]
push 1
sbb bl, bl
call fcn.10007cb3
add bl, 1
je 0x10143e04
push 0x103334e8
lea ecx, [ebp - 0x40]
call fcn.10006939
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.10007d05
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.10007cb3
push 0xffffffffffffffff
push 0
push dword [ebp - 0x634]
lea ecx, [ebp - 0x28]
call fcn.10007d05
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x634], ebx
cmp ebx, 0xffffffff
jne 0x10143e6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x10143f7b
cmp eax, 2
je 0x10143f7b
push str.directory_search_failed
push eax
push 0xf
lea ecx, [ebp - 0x630]
call fcn.10013c8c
jmp 0x10143d53
push 0x10339e28
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10143f5e
push 0x10393dcc
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10143f5e
test byte [ebp - 0x2a8], 0x10
je 0x10143f5e
push esi
lea ecx, [ebp - 0x40]
call fcn.100068e6
push 0x103334e8
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.10006939
push 1
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call fcn.10007329
mov bl, al
mov byte [ebp - 4], 3
push 0
neg bl
lea ecx, [ebp - 0x58]
push 1
sbb bl, bl
call fcn.10007cb3
add bl, 1
je 0x10143f20
push 0x103334e8
lea ecx, [ebp - 0x58]
call fcn.10006939
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.10007d05
push 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.10007cb3
lea eax, [ebp - 0x27c]
push eax
call fcn.100082d6
pop ecx
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x40]
call fcn.10007e0e
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.1000f54f
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.10007cb3
mov ebx, dword [ebp - 0x634]
lea eax, [ebp - 0x2a8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10143e6c
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10007cb3
call fcn.102790cd
ret 0xc