Function at 0x10a2e38
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x898
mov eax, dword [0x10d0640]
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 0x10a2f08
lea ecx, [ebp - 0x878]
push ecx
add eax, 2
push eax
call fcn.0108d084
mov dword [ebp - 0x870], eax
cmp eax, esi
je 0x10a2ee1
push eax
push 0x5000197
jmp 0x10a324a
lea eax, [ebp - 0x874]
push eax
push dword [ebp - 0x878]
call fcn.0109099d
mov dword [ebp - 0x870], eax
cmp eax, esi
je 0x10a2f08
push eax
push 0x5030197
jmp 0x10a324a
mov eax, dword [ebp - 0x87c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x10a2f11
sub eax, edx
sar eax, 1
add eax, 4
mov esi, 0x208
cmp eax, esi
jb 0x10a2f47
mov eax, 0x8007006f
push eax
push 0x5090197
push dword [ebp - 0x87c]
mov dword [ebp - 0x870], eax
jmp 0x10a326e
push dword [ebp - 0x87c]
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.0102dff2
push 0x101ebd4
push esi
lea eax, [ebp - 0x61c]
push eax
call fcn.0102e02c
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 0x10a2fa1
mov eax, 0x80070002
push eax
mov dword [ebp - 0x870], eax
push 0x5120197
jmp 0x10a324a
mov esi, 0x8007010b
mov dword [ebp - 0x870], esi
test byte [ebp - 0x86c], 0x10
jne 0x10a316c
lea eax, [ebp - 0x840]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10a2fc2
sub eax, edx
sar eax, 1
mov ecx, 0x104
cmp eax, ecx
jae 0x10a319a
lea eax, [ebp - 0x840]
push eax
push ecx
lea eax, [ebp - 0x20c]
push eax
call fcn.0102dff2
lea eax, [ebp - 0x20c]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x10a31aa
xor ecx, ecx
mov word [eax], cx
add eax, 2
push 0x101ec26
push eax
mov dword [ebp - 0x894], eax
call fcn.0108f914
test eax, eax
jne 0x10a30c4
push 3
lea eax, [ebp - 0x20c]
push 0x101ec1c
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x10a31b5
lea esi, [ebp - 0x206]
cmp ax, word [ebp - 0x206]
je 0x10a3075
movzx eax, word [esi]
push eax
call dword [sym.imp.msvcrt.dll_iswxdigit]
pop ecx
test eax, eax
je 0x10a31c0
inc esi
inc esi
xor eax, eax
cmp ax, word [esi]
jne 0x10a3059
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 0x10a308f
mov dword [edi], eax
mov ecx, dword [ebp - 0x890]
cmp eax, dword [ecx]
jae 0x10a309b
mov dword [ecx], eax
push dword [ebp - 0x84c]
push dword [ebp - 0x850]
call fcn.010a035b
mov ecx, dword [ebp - 0x898]
add dword [ecx], eax
inc dword [ebp - 0x880]
mov esi, 0x8007010b
jmp 0x10a316c
push 0x1013fa6
push dword [ebp - 0x894]
call fcn.0108f914
test eax, eax
jne 0x10a3125
cmp dword [ebp - 0x884], eax
jne 0x10a31cf
cmp dword [ebp - 0x874], eax
je 0x10a3106
push dword [ebp - 0x874]
lea eax, [ebp - 0x20c]
push eax
call fcn.0108f8de
test eax, eax
jne 0x10a31d7
push dword [ebp - 0x84c]
push dword [ebp - 0x850]
call fcn.010a035b
add dword [ebx], eax
mov dword [ebp - 0x884], 1
jmp 0x10a316c
push 0x101ec12
push dword [ebp - 0x894]
call fcn.0108f914
test eax, eax
jne 0x10a3261
cmp dword [ebp - 0x88c], eax
jne 0x10a31f0
push 0x101ebe0
lea eax, [ebp - 0x840]
push eax
call fcn.0108f914
test eax, eax
jne 0x10a31f8
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 0x10a2fac
cmp dword [ebp - 0x880], eax
jne 0x10a3200
push esi
push 0x5710197
jmp 0x10a324a
mov eax, 0x8007006f
push eax
push 0x5230197
jmp 0x10a2f36
push esi
push 0x52a0197
jmp 0x10a324a
push esi
push 0x5330197
jmp 0x10a3267
push 0x8007010b
push 0x5390197
jmp 0x10a3267
push esi
push 0x54f0197
jmp 0x10a324a
push esi
push 0x5540197
push dword [ebp - 0x874]
call fcn.0108c53e
push esi
push 0x5550197
jmp 0x10a3267
push esi
push 0x55f0197
jmp 0x10a324a
push esi
push 0x5630197
jmp 0x10a3267
test dword [ebp + 0xc], 1
jne 0x10a3221
cmp dword [ebp - 0x884], eax
je 0x10a3219
cmp dword [ebp - 0x88c], eax
jne 0x10a3231
push esi
push 0x5770197
jmp 0x10a324a
cmp dword [ebp - 0x884], eax
jne 0x10a3259
cmp dword [ebp - 0x88c], eax
jne 0x10a3259
mov ecx, dword [edi]
mov edx, dword [ebp - 0x890]
sub ecx, dword [edx]
inc ecx
cmp ecx, dword [ebp - 0x880]
je 0x10a3251
push esi
push 0x5840197
call fcn.0108c503
jmp 0x10a3273
mov dword [ebp - 0x870], eax
jmp 0x10a3273
push esi
push 0x57e0197
jmp 0x10a324a
push esi
push 0x5690197
lea eax, [ebp - 0x840]
push eax
call fcn.0108c53e
cmp dword [ebp - 0x878], 0
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
je 0x10a328a
push dword [ebp - 0x878]
call esi
cmp dword [ebp - 0x874], 0
je 0x10a329b
push dword [ebp - 0x874]
call esi
cmp dword [ebp - 0x888], 0xffffffff
pop edi
pop esi
pop ebx
je 0x10a32b3
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.01077d0b
leave
ret 0x1c