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

Disassembly:
push 0xffffffffffffffff
push 0x10097fcc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x47c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x498]
mov dword [esp + 0x1c], ecx
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x284]
push esi
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + esi - 1], 0x5c
je 0x10009823
mov edi, 0x100fa614
mov dword [esp + 0x24], edi
jmp 0x1000982f
mov dword [esp + 0x24], 0x1012b074
mov edi, dword [esp + 0x24]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
mov al, 0x2a
mov byte [esp + 0x1c], al
mov byte [esp + 0x1e], al
push edi
lea eax, [esp + 0x1c]
push esi
lea ecx, [esp + 0x28c]
xor ebx, ebx
push eax
push ecx
mov byte [esp + 0x28], 0x25
mov byte [esp + 0x29], 0x73
mov byte [esp + 0x2a], 0x25
mov byte [esp + 0x2b], 0x73
mov byte [esp + 0x2d], 0x2e
mov byte [esp + 0x2f], bl
call ebp
add esp, 0x10
lea edx, [esp + 0x40]
lea eax, [esp + 0x284]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x3c], eax
jne 0x10009895
xor al, al
jmp 0x10009a3e
mov byte [esp + 0x10], 0x25
mov byte [esp + 0x11], 0x73
mov byte [esp + 0x12], 0x25
mov byte [esp + 0x13], 0x73
mov byte [esp + 0x14], 0x25
mov byte [esp + 0x15], 0x73
mov byte [esp + 0x16], bl
cmp byte [esp + 0x6c], 0x2e
je 0x10009a19
test byte [esp + 0x40], 0x10
je 0x100098f8
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x10]
push ecx
push edi
push esi
lea eax, [esp + 0x394]
push edx
push eax
call ebp
add esp, 0x14
lea ecx, [esp + 0x388]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.100097d0
jmp 0x10009a19
lea edx, [esp + 0x6c]
lea eax, [esp + 0x10]
push edx
push edi
push esi
lea ecx, [esp + 0x18c]
push eax
push ecx
call ebp
lea edi, [esp + 0x194]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
mov dl, byte [esp + 0x2b]
push 1
not ecx
dec ecx
mov byte [esp + 0x30], dl
mov ebp, ecx
lea ecx, [esp + 0x30]
push ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x1000996f
mov edi, dword [esp + 0x30]
mov ecx, ebp
mov eax, ecx
lea esi, [esp + 0x180]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], ebp
mov byte [ecx + ebp], bl
mov edx, dword [esp + 0x20]
push 0x18
mov dword [esp + 0x498], ebx
mov esi, dword [edx + 0x118]
mov edi, dword [esi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
cmp esi, ebx
mov ecx, esi
jne 0x10009995
mov ecx, eax
mov dword [eax], ecx
cmp edi, ebx
mov ecx, edi
jne 0x1000999f
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
lea ecx, [esp + 0x2c]
add eax, 8
push ecx
push eax
call fcn.1000a3b0
mov eax, dword [esp + 0x28]
add esp, 8
mov dword [esp + 0x494], 0xffffffff
mov edx, dword [eax + 0x11c]
inc edx
mov dword [eax + 0x11c], edx
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x100099fc
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x100099f3
cmp al, 0xff
je 0x100099f3
dec al
mov byte [ecx], al
jmp 0x100099fc
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x49c]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100098b7
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [esp + 0x48c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x488
ret 4