Function at 0x4cadf0
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fb33f
push eax
mov dword fs:[0], esp
sub esp, 0x294
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2b0]
push edi
xor edi, edi
cmp esi, edi
je 0x4cb08a
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
push esi
call ebp
add esp, 4
test eax, eax
je 0x4cb08a
mov al, byte [esp + 0x13]
push edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push esi
call ebp
add esp, 4
lea ecx, [esp + 0x14]
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
lea ecx, [esp + 0x14]
mov dword [esp + 0x2ac], edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Freeze_void_]
mov eax, dword [esp + 0x18]
cmp eax, edi
jne 0x4cae76
xor eax, eax
jmp 0x4cae7d
mov ecx, dword [esp + 0x1c]
lea eax, [eax + ecx*2]
cmp word [eax - 2], 0x5c
je 0x4cae9e
push 0x530b8c
call ebp
add esp, 4
lea ecx, [esp + 0x14]
push eax
push 0x530b8c
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
mov dl, byte [esp + 0x14]
push edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x38], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push ecx
push edi
push edx
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push 0x53b048
mov byte [esp + 0x2b0], 1
call ebp
add esp, 4
lea ecx, [esp + 0x34]
push eax
push 0x53b048
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
mov al, byte [esp + 0x13]
mov dword [esp + 0x48], edi
mov byte [esp + 0x44], al
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov eax, dword [esp + 0x38]
mov byte [esp + 0x2ac], 2
cmp eax, edi
jne 0x4caf14
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea ecx, [esp + 0x54]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4caf5c
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x2ac], 0
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x2b0], ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x4cb08a
mov edi, dword [esp + 0x2b8]
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea edx, [esp + 0x80]
push 0x53b044
push edx
call esi
add esp, 8
test eax, eax
je 0x4cb02b
lea eax, [esp + 0x80]
push 0x53b03c
push eax
call esi
add esp, 8
test eax, eax
je 0x4cb02b
test byte [esp + 0x54], 0x10
jne 0x4cb02b
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea edx, [esp + 0x80]
push edx
call ebp
add esp, 4
mov esi, eax
lea ecx, [esp + 0x24]
push 1
push esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x4caffd
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x80]
push esi
push eax
push ecx
call fcn.00423e80
add esp, 0xc
lea ecx, [esp + 0x24]
push esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Eos_unsigned_int_]
mov eax, dword [edi + 8]
lea edx, [esp + 0x24]
push edx
push 1
push eax
mov ecx, edi
mov byte [esp + 0x2b8], 3
call fcn.00424340
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x2b0], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea eax, [esp + 0x54]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4caf63
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x2ac], 0
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4cb08a
mov al, byte [ecx - 1]
test al, al
je 0x4cb07e
cmp al, 0xff
je 0x4cb07e
dec al
mov byte [ecx - 1], al
jmp 0x4cb08a
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x2a4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2a0
ret 8