Function at 0x108db90
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x894
mov eax, dword [0x10b5894]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
or dword [ecx], 0xffffffff
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x20]
or dword [ebp - 0x878], 0xffffffff
and dword [ebp - 0x884], 0
and dword [ebp - 0x888], 0
and dword [ebp - 0x880], 0
and dword [ebp - 0x87c], 0
and dword [ebp - 0x874], 0
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x890], ecx
xor ecx, ecx
mov dword [edi], ecx
push 0x5c
mov dword [ebx], ecx
push eax
mov dword [ebp - 0x88c], esi
mov dword [ebp - 0x894], edx
mov dword [edx], ecx
mov word [ebp - 0x61c], cx
call dword [sym.imp.msvcrt.dll_wcschr]
test eax, eax
pop ecx
pop ecx
je 0x108dc63
lea ecx, [ebp - 0x87c]
push ecx
add eax, 2
push eax
call fcn.0107b500
test eax, eax
mov dword [ebp - 0x870], eax
je 0x108dc3c
push eax
push 0x4fb0197
jmp 0x108dfae
lea eax, [ebp - 0x874]
push eax
push dword [ebp - 0x87c]
call fcn.0107e4f0
test eax, eax
mov dword [ebp - 0x870], eax
je 0x108dc63
push eax
push 0x4fe0197
jmp 0x108dfae
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x108dc68
sub eax, edx
sar eax, 1
add eax, 4
mov esi, 0x208
cmp eax, esi
jb 0x108dc9e
mov eax, 0x8007006f
push eax
push 0x5040197
push dword [ebp - 0x88c]
mov dword [ebp - 0x870], eax
jmp 0x108dfd6
push dword [ebp - 0x88c]
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.01028f74
push 0x101b834
push esi
lea eax, [ebp - 0x61c]
push eax
call fcn.0102920e
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 0x108dcf8
mov eax, 0x80070002
push eax
mov dword [ebp - 0x870], eax
push 0x50d0197
jmp 0x108dfae
mov esi, 0x8007010b
mov dword [ebp - 0x870], esi
test byte [ebp - 0x86c], 0x10
jne 0x108deb1
lea eax, [ebp - 0x840]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x108dd19
sub eax, edx
sar eax, 1
mov ecx, 0x104
cmp eax, ecx
jae 0x108dee3
lea eax, [ebp - 0x840]
push eax
push ecx
lea eax, [ebp - 0x20c]
push eax
call fcn.01028f74
lea eax, [ebp - 0x20c]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
test eax, eax
pop ecx
pop ecx
je 0x108def3
and word [eax], 0
lea esi, [eax + 2]
push 0x101b82a
push esi
call fcn.0107d8c6
test eax, eax
jne 0x108de0e
push 3
lea eax, [ebp - 0x20c]
push 0x101b820
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x108defe
cmp word [ebp - 0x206], ax
lea esi, [ebp - 0x206]
je 0x108ddc4
movzx eax, word [esi]
push eax
call dword [sym.imp.msvcrt.dll_iswxdigit]
test eax, eax
pop ecx
je 0x108df0d
inc esi
inc esi
cmp word [esi], 0
jne 0x108dda9
push 0x10
lea eax, [ebp - 0x206]
push 0
push eax
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
cmp eax, dword [edi]
jbe 0x108ddde
mov dword [edi], eax
mov ecx, dword [ebp - 0x890]
cmp eax, dword [ecx]
jae 0x108ddea
mov dword [ecx], eax
push dword [ebp - 0x84c]
push dword [ebp - 0x850]
call fcn.0108c73d
mov ecx, dword [ebp - 0x894]
add dword [ecx], eax
inc dword [ebp - 0x880]
jmp 0x108deac
push 0x1011346
push esi
call fcn.0107d8c6
test eax, eax
jne 0x108de6a
cmp dword [ebp - 0x884], eax
jne 0x108df1c
cmp dword [ebp - 0x874], eax
je 0x108de4b
push dword [ebp - 0x874]
lea eax, [ebp - 0x20c]
push eax
call fcn.0107d890
test eax, eax
jne 0x108df2b
push dword [ebp - 0x84c]
push dword [ebp - 0x850]
call fcn.0108c73d
add dword [ebx], eax
mov dword [ebp - 0x884], 1
jmp 0x108deac
push 0x101b816
push esi
call fcn.0107d8c6
test eax, eax
jne 0x108dfc5
cmp dword [ebp - 0x888], eax
jne 0x108df4c
push 0x101b7f8
lea eax, [ebp - 0x840]
push eax
call fcn.0107d8c6
test eax, eax
jne 0x108df58
mov dword [ebp - 0x888], 1
mov esi, 0x8007010b
lea eax, [ebp - 0x86c]
push eax
push dword [ebp - 0x878]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x108dd03
cmp dword [ebp - 0x880], eax
jne 0x108df64
push esi
push 0x56c0197
jmp 0x108dfae
mov eax, 0x8007006f
push eax
push 0x51e0197
jmp 0x108dc8d
push esi
push 0x5250197
jmp 0x108dfae
push 0x8007010b
push 0x52e0197
jmp 0x108dfcf
push 0x8007010b
push 0x5340197
jmp 0x108dfcf
push 0x8007010b
push 0x54a0197
jmp 0x108dfae
mov esi, 0x8007010b
push esi
push 0x54f0197
push dword [ebp - 0x874]
call fcn.0107ae7f
push esi
push 0x5500197
jmp 0x108dfcf
push 0x8007010b
push 0x55a0197
jmp 0x108dfae
push 0x8007010b
push 0x55e0197
jmp 0x108dfcf
test dword [ebp + 0xc], 1
jne 0x108df85
cmp dword [ebp - 0x884], eax
je 0x108df7d
cmp dword [ebp - 0x888], eax
jne 0x108df95
push esi
push 0x5720197
jmp 0x108dfae
cmp dword [ebp - 0x884], eax
jne 0x108dfbd
cmp dword [ebp - 0x888], eax
jne 0x108dfbd
mov ecx, dword [edi]
mov edx, dword [ebp - 0x890]
sub ecx, dword [edx]
inc ecx
cmp ecx, dword [ebp - 0x880]
je 0x108dfb5
push esi
push 0x57f0197
call fcn.0107ae44
jmp 0x108dfdb
mov dword [ebp - 0x870], eax
jmp 0x108dfdb
push esi
push 0x5790197
jmp 0x108dfae
push 0x8007010b
push 0x5640197
lea eax, [ebp - 0x840]
push eax
call fcn.0107ae7f
cmp dword [ebp - 0x87c], 0
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
je 0x108dff2
push dword [ebp - 0x87c]
call esi
cmp dword [ebp - 0x874], 0
je 0x108e003
push dword [ebp - 0x874]
call esi
cmp dword [ebp - 0x878], 0xffffffff
pop edi
pop esi
pop ebx
je 0x108e01b
push dword [ebp - 0x878]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x870]
xor ecx, ebp
call fcn.01068363
leave
ret 0x1c