Function at 0x437f70
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43c0e8
push eax
mov dword fs:[0], esp
sub esp, 0x178
push ebx
mov ebx, dword [esp + 0x18c]
push esi
xor esi, esi
cmp ebx, esi
push edi
je 0x4381a1
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4381a1
mov al, byte [esp + 0xf]
push ebp
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], esi
mov byte [esp + 0x2c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
mov dword [esp + 0x194], esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edx, [esp + 0x28]
mov byte [esp + 0x190], 1
push edx
push esi
call fcn.004375f0
mov ebp, dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esp, 8
test eax, eax
je 0x43809b
lea eax, [esp + 0x28]
push 0x44a9b0
lea ecx, [esp + 0x3c]
push eax
push ecx
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
mov eax, dword [eax + 4]
add esp, 0xc
cmp eax, esi
jne 0x438030
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea edx, [esp + 0x48]
push edx
push eax
call edi
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x43805f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x438056
cmp al, 0xff
je 0x438056
dec al
mov byte [ecx], al
jmp 0x43805f
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
cmp esi, 0xffffffff
je 0x43809b
lea eax, [esp + 0x74]
push ebx
push eax
call ebp
test eax, eax
jne 0x43808c
lea ecx, [esp + 0x48]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x438094
lea edx, [esp + 0x74]
push ebx
push edx
call ebp
test eax, eax
je 0x438070
mov dword [esp + 0x14], 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x18]
push eax
push 0x19
call fcn.004375f0
add esp, 8
test eax, eax
je 0x438140
lea ecx, [esp + 0x18]
push 0x44a9b0
lea edx, [esp + 0x3c]
push ecx
push edx
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
mov eax, dword [eax + 4]
add esp, 0xc
test eax, eax
jne 0x4380d5
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [esp + 0x48]
push ecx
push eax
call edi
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x438104
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4380fb
cmp al, 0xff
je 0x4380fb
dec al
mov byte [ecx], al
jmp 0x438104
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
cmp esi, 0xffffffff
je 0x438140
lea edx, [esp + 0x74]
push ebx
push edx
call ebp
test eax, eax
jne 0x438131
lea eax, [esp + 0x48]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x438139
lea ecx, [esp + 0x74]
push ebx
push ecx
call ebp
test eax, eax
je 0x438115
mov dword [esp + 0x14], 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x1c]
xor esi, esi
cmp ecx, esi
pop ebp
je 0x438167
mov al, byte [ecx - 1]
test al, al
je 0x43815d
cmp al, 0xff
je 0x43815d
dec al
mov byte [ecx - 1], al
jmp 0x438167
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], esi
cmp ecx, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x43819b
mov al, byte [ecx - 1]
test al, al
je 0x438191
cmp al, 0xff
je 0x438191
dec al
mov byte [ecx - 1], al
mov eax, dword [esp + 0x10]
jmp 0x4381a3
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x10]
jmp 0x4381a3
xor eax, eax
mov ecx, dword [esp + 0x184]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x184
ret