Function at 0x1006a1a0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x888
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x624]
push edi
push 0x104
push eax
xor edi, edi
mov dword [ebp - 0x87c], esi
push esi
mov ebx, ecx
mov dword [ebp - 0x884], edi
call sym.HncFoundation.dll_HncPathToAbsolute
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x41c]
push str._s.
push eax
call fcn.10028380
add esp, 0xc
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x880], eax
cmp eax, 0xffffffff
jne 0x1006a22a
or eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x874]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1006a3db
cmp word [ebp - 0x848], 0x2e
jne 0x1006a26e
mov ax, word [ebp - 0x846]
test ax, ax
je 0x1006a3c0
cmp ax, 0x2e
jne 0x1006a26e
cmp word [ebp - 0x844], 0
je 0x1006a3c0
lea eax, [ebp - 0x848]
push eax
push esi
lea eax, [ebp - 0x214]
push str._s_s
push eax
call fcn.10028380
push 0x28
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 0x14
test edi, edi
je 0x1006a2ae
xor eax, eax
mov dword [edi + 0x24], 7
mov dword [edi + 0x20], 0
mov word [edi + 0x10], ax
jmp 0x1006a2b0
xor edi, edi
test byte [ebp - 0x874], 0x10
mov dword [ebp - 0x878], edi
je 0x1006a2de
push 0x100c0618
lea eax, [ebp - 0x214]
mov byte [edi], 3
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll_wcscat_s]
add esp, 0xc
jmp 0x1006a2e1
mov byte [edi], 0xff
mov dword [edi + 4], 0
cmp word [ebp - 0x214], 0
jne 0x1006a2f6
xor eax, eax
jmp 0x1006a30f
lea eax, [ebp - 0x214]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1006a300
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x214]
push eax
lea ecx, [edi + 0x10]
call fcn.1002a950
mov esi, dword [ebx + 0x2c]
lea ecx, [ebp - 0x878]
mov eax, dword [esi + 4]
cmp ecx, eax
jae 0x1006a35f
mov ecx, dword [esi]
lea edx, [ebp - 0x878]
cmp ecx, edx
ja 0x1006a35f
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x1006a34f
push ecx
mov ecx, esi
call fcn.1002ee90
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1006a375
mov eax, dword [esi]
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x1006a375
cmp eax, dword [esi + 8]
jne 0x1006a36c
push ecx
mov ecx, esi
call fcn.1002ee90
mov eax, dword [esi + 4]
test eax, eax
je 0x1006a375
mov dword [eax], edi
add dword [esi + 4], 4
mov eax, dword [ebx + 0x2c]
mov edi, dword [ebp - 0x884]
inc edi
mov dword [ebp - 0x884], edi
mov esi, dword [eax + 4]
sub esi, dword [eax]
sar esi, 2
dec esi
test byte [ebp - 0x874], 0x10
je 0x1006a3ba
lea eax, [ebp - 0x214]
mov ecx, ebx
push eax
call sym.HncFoundation.dll_private:_long_int___thiscall_CHncZIP::_FindAllFile_unsigned_short_int_const__
test eax, eax
jns 0x1006a3ba
push esi
push 0x2001
mov ecx, ebx
call sym.HncFoundation.dll_private:_void___thiscall_CHncZIP::_AddError_int__int_
mov esi, dword [ebp - 0x87c]
lea eax, [ebp - 0x874]
push eax
push dword [ebp - 0x880]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1006a240
push dword [ebp - 0x880]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100944ae
mov esp, ebp
pop ebp
ret 4