Function at 0x10a1915
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x684
mov eax, dword [0x111027c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
or dword [ebp - 0x684], 0xffffffff
or dword [ebp - 0x680], 0xffffffff
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x67c], edi
mov dword [ebp - 0x678], eax
mov eax, dword [0x111024c]
mov esi, 0x111024c
cmp eax, esi
je 0x10a19b0
test byte [eax + 0x1c], 4
je 0x10a1981
cmp byte [eax + 0x19], 4
jb 0x10a1981
push 0x100ab50
push 0x6a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov eax, dword [0x111024c]
cmp eax, esi
je 0x10a19b0
test byte [eax + 0x1c], 4
je 0x10a19b0
cmp byte [eax + 0x19], 4
jb 0x10a19b0
push edi
call dword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
push eax
mov eax, dword [0x111024c]
push 0x100ab50
push 0x6b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
mov esi, ebx
lea ecx, [esi + 2]
mov ax, word [esi]
inc esi
inc esi
test ax, ax
jne 0x10a19b5
sub esi, ecx
sar esi, 1
lea ecx, [esi + 0x43]
mov eax, 0x104
cmp ecx, eax
ja 0x10a1c1e
lea ecx, [esi + 0x1c]
cmp ecx, eax
ja 0x10a1c1e
lea edi, [esi + esi]
push edi
lea eax, [ebp - 0x414]
push ebx
push eax
call sub.msvcrt.dll_memcpy
push 0x84
lea eax, [ebp + edi - 0x414]
push 0x100aec0
push eax
call sub.msvcrt.dll_memcpy
xor eax, eax
push edi
mov word [ebp + esi*2 - 0x390], ax
lea eax, [ebp - 0x20c]
push ebx
push eax
call sub.msvcrt.dll_memcpy
push 0x36
lea eax, [ebp + edi - 0x20c]
push 0x100ae88
push eax
call sub.msvcrt.dll_memcpy
xor eax, eax
mov word [ebp + esi*2 - 0x1d6], ax
add esp, 0x30
lea eax, [ebp - 0x674]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10a1a61
xor eax, eax
jmp 0x10a1c2d
cmp byte [ebp + 0x10], 0
jne 0x10a1b4d
lea eax, [ebp - 0x648]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10a1a74
sub eax, edx
sar eax, 1
cmp eax, 0x4a
jbe 0x10a1b1c
push dword [ebp - 0x678]
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x648]
push eax
call fcn.010a144d
test eax, eax
je 0x10a1ae7
mov ecx, dword [0x111024c]
mov esi, 0x111024c
cmp ecx, esi
je 0x10a1b8c
test byte [ecx + 0x1c], 4
je 0x10a1b8c
cmp byte [ecx + 0x19], 4
jb 0x10a1b8c
push eax
push 0x100ab50
push 0x6c
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01019fa8
jmp 0x10a1b8c
push dword [ebp - 0x678]
lea eax, [ebp - 0x684]
push eax
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x424]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.010a15a6
mov esi, eax
test esi, esi
je 0x10a1b4d
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
jmp 0x10a1c2d
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10a1b4d
test byte [eax + 0x1c], 4
je 0x10a1b4d
cmp byte [eax + 0x19], 4
jb 0x10a1b4d
lea ecx, [ebp - 0x648]
push ecx
push 0x100ab50
push 0x6d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019633
push dword [ebp - 0x678]
lea eax, [ebp - 0x648]
push dword [ebp - 0x680]
push dword [ebp - 0x684]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x67c]
call fcn.0109c91c
mov esi, eax
test esi, esi
jne 0x10a1b0e
mov esi, 0x111024c
lea eax, [ebp - 0x674]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10a1a61
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [0x111024c]
cmp eax, esi
je 0x10a1a5a
test byte [eax + 0x1c], 4
je 0x10a1beb
cmp byte [eax + 0x19], 4
jb 0x10a1beb
push dword [ebp - 0x67c]
call dword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
push eax
mov eax, dword [0x111024c]
push 0x100ab50
push 0x6e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
mov eax, dword [0x111024c]
cmp eax, esi
je 0x10a1a5a
test byte [eax + 0x1c], 4
je 0x10a1a5a
cmp byte [eax + 0x19], 4
jb 0x10a1a5a
push 0x100ab50
push 0x6f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
jmp 0x10a1a5a
mov eax, dword [ebp - 0x678]
push 2
mov dword [eax], 0x57
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0106f798
leave
ret 0x18