Function at 0x10a2e46
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x898
mov eax, dword [0x10d0620]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x20]
or dword [ebp - 0x888], 0xffffffff
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
xor esi, esi
mov dword [ebp - 0x87c], ecx
mov ecx, dword [ebp + 0x14]
or dword [ecx], 0xffffffff
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x890], ecx
mov dword [edi], esi
xor ecx, ecx
push 0x5c
mov dword [ebx], esi
push eax
mov dword [ebp - 0x898], edx
mov dword [ebp - 0x884], esi
mov dword [ebp - 0x88c], esi
mov dword [ebp - 0x880], esi
mov dword [ebp - 0x878], esi
mov dword [ebp - 0x874], esi
mov dword [edx], esi
mov word [ebp - 0x61c], cx
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
cmp eax, esi
je 0x10a2f16
lea ecx, [ebp - 0x878]
push ecx
add eax, 2
push eax
call fcn.0108d0a9
mov dword [ebp - 0x870], eax
cmp eax, esi
je 0x10a2eef
push eax
push 0x5000197
jmp 0x10a3258
lea eax, [ebp - 0x874]
push eax
push dword [ebp - 0x878]
call fcn.010909c2
mov dword [ebp - 0x870], eax
cmp eax, esi
je 0x10a2f16
push eax
push 0x5030197
jmp 0x10a3258
mov eax, dword [ebp - 0x87c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x10a2f1f
sub eax, edx
sar eax, 1
add eax, 4
mov esi, 0x208
cmp eax, esi
jb 0x10a2f55
mov eax, 0x8007006f
push eax
push 0x5090197
push dword [ebp - 0x87c]
mov dword [ebp - 0x870], eax
jmp 0x10a327c
push dword [ebp - 0x87c]
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.0102e082
push 0x101ec64
push esi
lea eax, [ebp - 0x61c]
push eax
call fcn.0102e0bc
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x888], eax
cmp eax, 0xffffffff
jne 0x10a2faf
mov eax, 0x80070002
push eax
mov dword [ebp - 0x870], eax
push 0x5120197
jmp 0x10a3258
mov esi, 0x8007010b
mov dword [ebp - 0x870], esi
test byte [ebp - 0x86c], 0x10
jne 0x10a317a
lea eax, [ebp - 0x840]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10a2fd0
sub eax, edx
sar eax, 1
mov ecx, 0x104
cmp eax, ecx
jae 0x10a31a8
lea eax, [ebp - 0x840]
push eax
push ecx
lea eax, [ebp - 0x20c]
push eax
call fcn.0102e082
lea eax, [ebp - 0x20c]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x10a31b8
xor ecx, ecx
mov word [eax], cx
add eax, 2
push 0x101ecb6
push eax
mov dword [ebp - 0x894], eax
call fcn.0108f939
test eax, eax
jne 0x10a30d2
push 3
lea eax, [ebp - 0x20c]
push 0x101ecac
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x10a31c3
lea esi, [ebp - 0x206]
cmp ax, word [ebp - 0x206]
je 0x10a3083
movzx eax, word [esi]
push eax
call dword [sym.imp.msvcrt.dll_iswxdigit]
pop ecx
test eax, eax
je 0x10a31ce
inc esi
inc esi
xor eax, eax
cmp ax, word [esi]
jne 0x10a3067
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 0x10a309d
mov dword [edi], eax
mov ecx, dword [ebp - 0x890]
cmp eax, dword [ecx]
jae 0x10a30a9
mov dword [ecx], eax
push dword [ebp - 0x84c]
push dword [ebp - 0x850]
call fcn.010a0369
mov ecx, dword [ebp - 0x898]
add dword [ecx], eax
inc dword [ebp - 0x880]
mov esi, 0x8007010b
jmp 0x10a317a
push 0x1013f96
push dword [ebp - 0x894]
call fcn.0108f939
test eax, eax
jne 0x10a3133
cmp dword [ebp - 0x884], eax
jne 0x10a31dd
cmp dword [ebp - 0x874], eax
je 0x10a3114
push dword [ebp - 0x874]
lea eax, [ebp - 0x20c]
push eax
call fcn.0108f903
test eax, eax
jne 0x10a31e5
push dword [ebp - 0x84c]
push dword [ebp - 0x850]
call fcn.010a0369
add dword [ebx], eax
mov dword [ebp - 0x884], 1
jmp 0x10a317a
push 0x101eca2
push dword [ebp - 0x894]
call fcn.0108f939
test eax, eax
jne 0x10a326f
cmp dword [ebp - 0x88c], eax
jne 0x10a31fe
push 0x101ec70
lea eax, [ebp - 0x840]
push eax
call fcn.0108f939
test eax, eax
jne 0x10a3206
mov dword [ebp - 0x88c], 1
lea eax, [ebp - 0x86c]
push eax
push dword [ebp - 0x888]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10a2fba
cmp dword [ebp - 0x880], eax
jne 0x10a320e
push esi
push 0x5710197
jmp 0x10a3258
mov eax, 0x8007006f
push eax
push 0x5230197
jmp 0x10a2f44
push esi
push 0x52a0197
jmp 0x10a3258
push esi
push 0x5330197
jmp 0x10a3275
push 0x8007010b
push 0x5390197
jmp 0x10a3275
push esi
push 0x54f0197
jmp 0x10a3258
push esi
push 0x5540197
push dword [ebp - 0x874]
call fcn.0108c595
push esi
push 0x5550197
jmp 0x10a3275
push esi
push 0x55f0197
jmp 0x10a3258
push esi
push 0x5630197
jmp 0x10a3275
test dword [ebp + 0xc], 1
jne 0x10a322f
cmp dword [ebp - 0x884], eax
je 0x10a3227
cmp dword [ebp - 0x88c], eax
jne 0x10a323f
push esi
push 0x5770197
jmp 0x10a3258
cmp dword [ebp - 0x884], eax
jne 0x10a3267
cmp dword [ebp - 0x88c], eax
jne 0x10a3267
mov ecx, dword [edi]
mov edx, dword [ebp - 0x890]
sub ecx, dword [edx]
inc ecx
cmp ecx, dword [ebp - 0x880]
je 0x10a325f
push esi
push 0x5840197
call fcn.0108c55a
jmp 0x10a3281
mov dword [ebp - 0x870], eax
jmp 0x10a3281
push esi
push 0x57e0197
jmp 0x10a3258
push esi
push 0x5690197
lea eax, [ebp - 0x840]
push eax
call fcn.0108c595
cmp dword [ebp - 0x878], 0
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
je 0x10a3298
push dword [ebp - 0x878]
call esi
cmp dword [ebp - 0x874], 0
je 0x10a32a9
push dword [ebp - 0x874]
call esi
cmp dword [ebp - 0x888], 0xffffffff
pop edi
pop esi
pop ebx
je 0x10a32c1
push dword [ebp - 0x888]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x870]
xor ecx, ebp
call fcn.01077dc7
leave
ret 0x1c