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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102a0307
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x10373f78]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x364], edi
mov dword [ebp - 0x384], eax
mov al, byte [ebp + 0x14]
mov dword [ebp - 0x374], edi
mov dword [ebp - 0x370], esi
mov byte [ebp - 0x35d], al
mov byte [ebp - 0x364], al
mov dword [ebp - 0x35c], 0
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x354], 0
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ecx], 0
push 1
push 0x10335314
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov byte [ebp - 4], 0
call fcn.1004f0f0
mov edx, esi
lea ecx, [ebp - 0x60]
call fcn.10098560
add esp, 0x18
cmp dword [ebp - 0x4c], 8
lea ecx, [ebp - 0x348]
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xcc], esi
test ecx, ecx
je 0x1009a31f
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x38]
mov edx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_int____stdcall___void____bool__void__.0
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xcc], eax
test ecx, ecx
je 0x1009a31f
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x1009a978
cmp eax, 0xffffffff
je 0x1009a978
xor edi, edi
mov dword [ebp - 0x380], 0
xor eax, eax
mov dword [ebp - 0x37c], edi
mov dword [ebp - 0x36c], eax
mov dword [ebp - 0x378], eax
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x48], xmm0
movq qword [ebp - 0x38], xmm0
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 8
test byte [ebp - 0x348], 0x10
mov ecx, dword [ebp - 0x340]
movq qword [ebp - 0x18], xmm0
seta byte [ebp - 0x18]
or eax, dword [ebp - 0x344]
mov dword [ebp - 0x48], eax
xor eax, eax
or eax, dword [ebp - 0x334]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x330]
mov dword [ebp - 0x40], eax
xor eax, eax
or eax, dword [ebp - 0x328]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x32c]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x31c]
mov dword [ebp - 0x38], eax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009a3e0
sub ecx, edx
lea eax, [ebp - 0x31c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.1004f0f0
cmp dword [0x10375914], 8
lea edx, [ebp - 0x30]
mov edi, dword [ebp - 0x30]
mov eax, 0x10375900
cmovae eax, dword [0x10375900]
cmp dword [ebp - 0x1c], 8
mov esi, dword [ebp - 0x20]
cmovae edx, edi
mov dword [ebp - 0x368], edi
setae byte [ebp - 0x349]
mov dword [ebp - 0x350], edx
cmp esi, dword [0x10375910]
jne 0x1009a47c
mov ecx, esi
test ecx, ecx
je 0x1009a63d
movzx edx, word [edx]
movzx edi, word [eax]
cmp dx, di
jb 0x1009a47c
sub dword [ebp - 0x350], eax
cmp dx, di
ja 0x1009a47c
cmp ecx, 1
je 0x1009a637
mov edx, dword [ebp - 0x350]
add eax, 2
dec ecx
movzx edx, word [eax + edx]
movzx edi, word [eax]
cmp dx, di
jae 0x1009a45b
cmp dword [0x1037592c], 8
lea edi, [ebp - 0x30]
mov eax, 0x10375918
cmovae eax, dword [0x10375918]
cmp byte [ebp - 0x349], 0
cmovne edi, dword [ebp - 0x368]
cmp esi, dword [0x10375928]
jne 0x1009a4dc
test esi, esi
je 0x1009a637
movzx ecx, word [edi]
movzx edx, word [eax]
cmp cx, dx
jb 0x1009a4dc
sub edi, eax
cmp cx, dx
ja 0x1009a4dc
cmp esi, 1
je 0x1009a637
movzx ecx, word [eax + edi + 2]
add eax, 2
dec esi
movzx edx, word [eax]
cmp cx, dx
jae 0x1009a4c0
mov esi, dword [ebp - 0x384]
cmp dword [esi + 0x24], 0
je 0x1009a576
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0x98]
push eax
call fcn.1004dac0
mov al, byte [ebp - 0x18]
mov byte [ebp - 0x80], al
mov byte [ebp - 4], 9
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x1009abf4
mov eax, dword [ecx]
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [eax + 8]
call eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 0x349], al
mov byte [ebp - 4], 8
call fcn.1004ef60
cmp byte [ebp - 0x349], 0
je 0x1009a6c6
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.1004dac0
mov edx, dword [ebp - 0x370]
lea ecx, [ebp - 0x78]
call fcn.10098560
add esp, 0x18
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xb8], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0x98]
push eax
call fcn.1004dac0
mov al, byte [ebp - 0x18]
mov byte [ebp - 0x80], al
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xc8]
mov eax, dword [ebp - 0x358]
push ecx
cmp eax, dword [ebp - 0x354]
je 0x1009a685
mov ecx, eax
call fcn.1009d310
add dword [ebp - 0x358], 0x50
jmp 0x1009a691
mov edi, dword [ebp - 0x368]
cmp byte [ebp - 0x349], 0
mov byte [ebp - 4], 6
je 0x1009a82b
mov ecx, dword [ebp - 0x1c]
mov eax, edi
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1009a676
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009abf9
push ecx
push edi
call fcn.1026505f
add esp, 8
jmp 0x1009a82b
push eax
lea ecx, [ebp - 0x35c]
call fcn.1009ce90
lea ecx, [ebp - 0x98]
call fcn.1004ef60
mov eax, dword [ebp - 0xb4]
cmp eax, 8
jb 0x1009a6ba
inc eax
lea ecx, [ebp - 0xc8]
push eax
push dword [ebp - 0xc8]
call fcn.1004f350
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 8
call fcn.1004ef60
cmp byte [ebp - 0x35d], 0
mov edi, dword [ebp - 0x30]
je 0x1009a814
cmp dword [0x10375914], 8
lea esi, [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov eax, 0x10375900
cmovae eax, dword [0x10375900]
cmp dword [ebp - 0x1c], 8
setae dl
cmovae esi, edi
mov byte [ebp - 0x349], dl
mov dword [ebp - 0x350], esi
cmp ecx, dword [0x10375910]
jne 0x1009a752
mov edx, ecx
test edx, edx
je 0x1009a814
movzx esi, word [esi]
movzx edi, word [eax]
cmp si, di
jb 0x1009a74c
sub dword [ebp - 0x350], eax
cmp si, di
ja 0x1009a74c
cmp edx, 1
je 0x1009a811
mov esi, dword [ebp - 0x350]
add eax, 2
dec edx
movzx esi, word [eax + esi]
movzx edi, word [eax]
cmp si, di
jae 0x1009a72b
mov dl, byte [ebp - 0x349]
cmp dword [0x1037592c], 8
lea edi, [ebp - 0x30]
mov eax, 0x10375918
cmovae eax, dword [0x10375918]
test dl, dl
cmovne edi, dword [ebp - 0x30]
cmp ecx, dword [0x10375928]
jne 0x1009a7a6
test ecx, ecx
je 0x1009a811
movzx edx, word [edi]
movzx esi, word [eax]
cmp dx, si
jb 0x1009a7a6
sub edi, eax
cmp dx, si
ja 0x1009a7a6
cmp ecx, 1
je 0x1009a811
movzx edx, word [eax + edi + 2]
add eax, 2
dec ecx
movzx esi, word [eax]
cmp dx, si
jae 0x1009a78e
cmp byte [ebp - 0x18], 0
je 0x1009a811
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.1004dac0
mov edx, dword [ebp - 0x370]
lea ecx, [ebp - 0x78]
call fcn.10098560
add esp, 0x18
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x37c]
push eax
cmp edx, dword [ebp - 0x36c]
je 0x1009a7f1
call fcn.10057400
add esp, 4
add edx, 0x18
mov dword [ebp - 0x37c], edx
jmp 0x1009a809
push edx
lea ecx, [ebp - 0x380]
call fcn.10057470
mov eax, dword [ebp - 0x378]
mov dword [ebp - 0x36c], eax
lea ecx, [ebp - 0x78]
call fcn.1004ef60
mov edi, dword [ebp - 0x30]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x1009a82b
inc eax
lea ecx, [ebp - 0x30]
push eax
push edi
call fcn.1004f350
lea eax, [ebp - 0x348]
push eax
push dword [ebp - 0xf8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1009a360
mov esi, dword [ebp - 0x380]
mov edi, dword [ebp - 0x37c]
cmp esi, edi
je 0x1009a8ad
nop word [eax + eax]
push dword [ebp - 0x364]
lea eax, [ebp - 0x6c]
push dword [ebp - 0x384]
push esi
push eax
call fcn.1009a1f0
add esp, 0x10
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x35c]
push dword [ebp - 0x364]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push dword [ebp - 0x358]
call fcn.1009d8d0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 6
call fcn.1009c630
add esi, 0x18
cmp esi, edi
jne 0x1009a860
mov esi, dword [ebp - 0x374]
mov ecx, dword [ebp - 0x358]
mov edx, dword [ebp - 0x354]
mov eax, dword [ebp - 0x35c]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x380]
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x35c], 0
mov dword [esi], eax
mov dword [esi + 8], edx
test ecx, ecx
je 0x1009a932
mov esi, ecx
cmp esi, edi
je 0x1009a914
nop dword [eax + eax]
mov ecx, esi
call fcn.1004ef60
add esi, 0x18
cmp esi, edi
jne 0x1009a900
mov ecx, dword [ebp - 0x380]
mov eax, dword [ebp - 0x36c]
sub eax, ecx
sar eax, 3
imul eax, eax, 0xaaaaaaab
push eax
push ecx
call fcn.10050c20
mov esi, dword [ebp - 0x374]
lea ecx, [ebp - 0xf8]
call fcn.100871d0
mov eax, dword [ebp - 0x4c]
cmp eax, 8
jb 0x1009a952
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.1004f350
xor eax, eax
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x35c]
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
call fcn.1009c630
mov eax, esi
jmp 0x1009abd9
call fcn.10048fd0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.100882e0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x370]
mov ecx, esi
push str.Files_lookup:_Cannot_iterate_files_in_dir__0_._Error:__1
push 2
call fcn.10051390
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x1009a9e9
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009a9df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009abf9
push edx
push ecx
call fcn.1026505f
add esp, 8
mov edx, dword [ebp - 0x354]
xor esi, esi
mov ecx, dword [ebp - 0x358]
mov eax, dword [ebp - 0x35c]
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x35c], esi
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x1009aa54
cmp eax, 0xffffffff
je 0x1009aa54
mov ecx, dword [ebp - 0xcc]
test ecx, ecx
je 0x1009aa82
mov dword [ebp - 0x364], eax
lea edx, [ebp - 0x364]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov esi, dword [ebp - 0x35c]
mov ecx, dword [ebp - 0xcc]
test ecx, ecx
je 0x1009aa82
mov edx, dword [ecx]
lea eax, [ebp - 0xf0]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [ebp - 0x35c]
mov dword [ebp - 0xcc], 0
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x1009aac2
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009aab2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009abf9
push edx
push ecx
call fcn.1026505f
mov esi, dword [ebp - 0x35c]
add esp, 8
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
test esi, esi
je 0x1009abd7
mov edi, dword [ebp - 0x358]
cmp esi, edi
je 0x1009ab96
add esi, 0x44
nop
mov ecx, dword [esi]
cmp ecx, 8
jb 0x1009ab29
mov eax, dword [esi - 0x14]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1009ab1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009abf9
mov eax, edx
push ecx
push eax
call fcn.1026505f
add esp, 8
xor eax, eax
mov word [esi - 0x14], ax
mov dword [esi - 4], eax
mov dword [esi], 7
mov ecx, dword [esi - 0x30]
cmp ecx, 8
jb 0x1009ab72
mov eax, dword [esi - 0x44]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1009ab68
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009abf9
mov eax, edx
push ecx
push eax
call fcn.1026505f
add esp, 8
xor eax, eax
mov word [esi - 0x44], ax
mov dword [esi - 0x34], eax
mov dword [esi - 0x30], 7
add esi, 0x50
lea eax, [esi - 0x44]
cmp eax, edi
jne 0x1009aaf0
mov esi, dword [ebp - 0x35c]
mov eax, dword [ebp - 0x354]
sub eax, esi
sar eax, 4
imul eax, eax, 0xcccccccd
lea ecx, [eax + eax*4]
mov eax, esi
shl ecx, 4
cmp ecx, 0x1000
jb 0x1009abc7
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009abf9
push ecx
push esi
call fcn.1026505f
mov edi, dword [ebp - 0x374]
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102649e4
mov esp, ebp
pop ebp
ret
call fcn.1024e938
call fcn.10275373
int3