Function at 0x105e7a5
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x894
mov eax, dword [0x1079e94]
mov edx, dword [ebp + 0x14]
or dword [edx], 0xffffffff
mov ecx, dword [ebp + 0x20]
or dword [ebp - 0x878], 0xffffffff
and dword [ebp - 0x87c], 0
and dword [ebp - 0x884], 0
and dword [ebp - 0x888], 0
and dword [ebp - 0x880], 0
and dword [ebp - 0x874], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x88c], edx
xor edx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], edx
push 0x5c
mov dword [edi], edx
push eax
mov dword [ebp - 0x890], ebx
mov dword [ebp - 0x894], ecx
mov dword [ecx], edx
mov word [ebp - 0x61c], dx
call dword [sym.imp.msvcrt.dll_wcschr]
test eax, eax
pop ecx
pop ecx
je 0x105e878
lea ecx, [ebp - 0x880]
push ecx
add eax, 2
push eax
call fcn.01053ee6
test eax, eax
mov dword [ebp - 0x870], eax
je 0x105e854
push eax
push 0x3e90197
call fcn.01053610
jmp 0x105ebf6
lea eax, [ebp - 0x874]
push eax
push dword [ebp - 0x880]
call fcn.01053e0b
test eax, eax
mov dword [ebp - 0x870], eax
je 0x105e878
push eax
push 0x3ec0197
jmp 0x105e84a
push ebx
call dword [sym.imp.msvcrt.dll_wcslen]
add eax, 4
cmp eax, 0x208
pop ecx
jb 0x105e89a
mov eax, 0x8007006f
push eax
push 0x3f20197
jmp 0x105eacf
lea eax, [ebp - 0x61c]
push ebx
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
lea eax, [ebp - 0x61c]
push 0x10113d4
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
add esp, 0x10
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x878], eax
jne 0x105e8f2
mov eax, 0x80070002
push eax
mov dword [ebp - 0x870], eax
push 0x3fb0197
jmp 0x105e84a
mov dword [ebp - 0x870], 0x8007010b
test byte [ebp - 0x86c], 0x10
jne 0x105ea9e
lea eax, [ebp - 0x840]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
cmp eax, 0x104
pop ecx
jae 0x105eac4
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
lea eax, [ebp - 0x20c]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x105eadb
and word [ebx], 0
inc ebx
push 0x1011426
inc ebx
push ebx
call fcn.010559eb
test eax, eax
jne 0x105ea00
push 3
lea eax, [ebp - 0x20c]
push 0x101141c
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x105eaea
cmp word [ebp - 0x206], ax
lea ebx, [ebp - 0x206]
je 0x105e9b6
xor eax, eax
mov ax, word [ebx]
push eax
call dword [sym.imp.ntdll.dll_iswxdigit]
test eax, eax
pop ecx
je 0x105eaf9
inc ebx
inc ebx
cmp word [ebx], 0
jne 0x105e999
push 0x10
lea eax, [ebp - 0x206]
push 0
push eax
call dword [sym.imp.ntdll.dll_wcstoul]
add esp, 0xc
cmp eax, dword [esi]
jbe 0x105e9d0
mov dword [esi], eax
mov ecx, dword [ebp - 0x88c]
cmp eax, dword [ecx]
jae 0x105e9dc
mov dword [ecx], eax
push dword [ebp - 0x84c]
push dword [ebp - 0x850]
call fcn.0105dceb
mov ecx, dword [ebp - 0x894]
add dword [ecx], eax
inc dword [ebp - 0x888]
jmp 0x105ea9e
push 0x100d796
push ebx
call fcn.010559eb
test eax, eax
jne 0x105ea5c
cmp dword [ebp - 0x87c], eax
jne 0x105eb08
cmp dword [ebp - 0x874], eax
je 0x105ea3d
push dword [ebp - 0x874]
lea eax, [ebp - 0x20c]
push eax
call fcn.010559b5
test eax, eax
jne 0x105eb17
push dword [ebp - 0x84c]
push dword [ebp - 0x850]
call fcn.0105dceb
add dword [edi], eax
mov dword [ebp - 0x87c], 1
jmp 0x105ea9e
push 0x1011412
push ebx
call fcn.010559eb
test eax, eax
jne 0x105ebe0
cmp dword [ebp - 0x884], eax
jne 0x105eb38
push 0x10113e0
lea eax, [ebp - 0x840]
push eax
call fcn.010559eb
test eax, eax
jne 0x105eb47
mov dword [ebp - 0x884], 1
lea eax, [ebp - 0x86c]
push eax
push dword [ebp - 0x878]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x105eb56
mov ebx, dword [ebp - 0x890]
jmp 0x105e8fc
mov eax, 0x8007006f
push eax
push 0x4090197
mov dword [ebp - 0x870], eax
push ebx
jmp 0x105ebf1
push 0x8007010b
push 0x4100197
jmp 0x105e84a
push 0x8007010b
push 0x4180197
jmp 0x105ebea
push 0x8007010b
push 0x41e0197
jmp 0x105ebea
push 0x8007010b
push 0x4340197
jmp 0x105e84a
mov esi, 0x8007010b
push esi
push 0x4390197
push dword [ebp - 0x874]
call fcn.0105364b
push esi
push 0x43a0197
jmp 0x105ebea
push 0x8007010b
push 0x4440197
jmp 0x105e84a
push 0x8007010b
push 0x4480197
jmp 0x105ebea
xor eax, eax
cmp dword [ebp - 0x888], eax
jne 0x105eb6f
push 0x8007010b
push 0x4560197
jmp 0x105e84a
test dword [ebp + 0xc], 1
jne 0x105eb97
cmp dword [ebp - 0x87c], eax
je 0x105eb88
cmp dword [ebp - 0x884], eax
jne 0x105eba7
push 0x8007010b
push 0x45c0197
jmp 0x105e84a
cmp dword [ebp - 0x87c], eax
jne 0x105ebd1
cmp dword [ebp - 0x884], eax
jne 0x105ebd1
mov ecx, dword [esi]
mov edx, dword [ebp - 0x88c]
sub ecx, dword [edx]
inc ecx
cmp ecx, dword [ebp - 0x888]
je 0x105ebc9
push 0x8007010b
push 0x4690197
jmp 0x105e84a
mov dword [ebp - 0x870], eax
jmp 0x105ebf6
push 0x8007010b
push 0x4630197
jmp 0x105e84a
push 0x8007010b
push 0x44e0197
lea eax, [ebp - 0x840]
push eax
call fcn.0105364b
cmp dword [ebp - 0x880], 0
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
je 0x105ec0d
push dword [ebp - 0x880]
call esi
cmp dword [ebp - 0x874], 0
je 0x105ec1e
push dword [ebp - 0x874]
call esi
cmp dword [ebp - 0x878], 0xffffffff
pop edi
pop esi
pop ebx
je 0x105ec36
push dword [ebp - 0x878]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x870]
call fcn.0104b509
leave
ret 0x1c