Function at 0x415ec0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x43c9d4
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x4c3740]
xor eax, esp
mov dword [esp + 0x1d0], eax
push ebp
push esi
push edi
mov eax, dword [0x4c3740]
xor eax, esp
push eax
lea eax, [esp + 0x1e4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x210]
mov dword [esp + 0x2c], ebp
xor eax, eax
mov dword [esp + 0x1ec], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x1ec], 1
mov esi, dword [ebp + 8]
cmp dword [ebp + 4], esi
jbe 0x415f30
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [ebp + 4]
cmp edi, dword [ebp + 8]
jbe 0x415f3e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
push ebp
push edi
push ebp
lea eax, [esp + 0x34]
push eax
push ebp
call fcn.00413f70
mov esi, dword [ebx + 8]
cmp dword [ebx + 4], esi
jbe 0x415f5b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x415f69
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
push ebx
push edi
push ebx
lea ecx, [esp + 0x34]
push ecx
push ebx
call fcn.00413f70
mov edx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [edx]
mov esi, dword [esp + 0x208]
push eax
push 0x4b3df8
lea ecx, [esp + 0x1fc]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_last_of_char_const___unsigned_int_const]
add esi, 0xffffffff
cmp eax, esi
je 0x415fb3
push 0x4b3df8
lea ecx, [esp + 0x1f8]
call dword [0x43e254]
lea ecx, [esp + 0x1f4]
push ecx
lea esi, [esp + 0x18]
call fcn.00413c60
xor ebp, ebp
mov dword [esp + 0x10], ebp
lea ebx, [ebx]
mov esi, dword [esp + 0x18]
test esi, esi
mov edi, dword [esp + 0x1c]
je 0x416303
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jae 0x416303
push 0x13c
lea edx, [esp + 0xa8]
push 0
push edx
mov dword [esp + 0xac], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x84]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x68]
mov byte [esp + 0x1ec], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0x1ec], 3
mov esi, dword [esp + 0x18]
test esi, esi
je 0x416071
mov ecx, dword [esp + 0x1c]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jb 0x41607b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x18]
lea eax, [esi + ebp]
push eax
lea ecx, [esp + 0x88]
call dword [0x43e210]
push 0x4b3ebc
lea ecx, [esp + 0x88]
call dword [0x43e254]
cmp dword [esp + 0x9c], 0x10
mov eax, dword [esp + 0x88]
jae 0x4160b6
lea eax, [esp + 0x88]
lea ecx, [esp + 0xa0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, eax
cmp ecx, 0xffffffff
mov dword [esp + 0x24], ecx
mov eax, 1
je 0x4162c8
lea esp, [esp]
test eax, eax
je 0x4162c4
mov edi, 0x4b3ec0
lea esi, [esp + 0xcc]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4162ac
mov edi, 0x4b3ec4
lea esi, [esp + 0xcc]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4162ac
lea ecx, [esp + 0x68]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
test byte [esp + 0xa0], 0x10
mov esi, dword [esp + 0x18]
je 0x4161e4
test esi, esi
je 0x41615d
mov ecx, dword [esp + 0x1c]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jb 0x416167
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x18]
lea ecx, [esi + ebp]
push ecx
lea ecx, [esp + 0x6c]
call dword [0x43e210]
lea edx, [esp + 0xcc]
push edx
lea ecx, [esp + 0x6c]
call dword [0x43e254]
push 0x4b3df8
lea ecx, [esp + 0x6c]
call dword [0x43e254]
lea eax, [esp + 0x68]
push eax
lea esi, [esp + 0x18]
call fcn.00413c60
mov eax, dword [esp + 0x208]
mov ecx, dword [esp + 0x7c]
sub ecx, eax
add ecx, 1
push ecx
add eax, 0xffffffff
push eax
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x74]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1f0], 4
call dword [0x43e210]
lea ecx, [esp + 0x4c]
jmp 0x41627a
test esi, esi
je 0x416207
mov ecx, dword [esp + 0x1c]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jb 0x416211
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x18]
lea ecx, [esi + ebp]
push ecx
lea ecx, [esp + 0x6c]
call dword [0x43e210]
lea edx, [esp + 0xcc]
push edx
lea ecx, [esp + 0x6c]
call dword [0x43e254]
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x68]
push eax
call fcn.00413c60
mov eax, dword [esp + 0x208]
mov ecx, dword [esp + 0x7c]
sub ecx, eax
add ecx, 1
push ecx
add eax, 0xffffffff
push eax
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x74]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1f0], 5
call dword [0x43e210]
lea ecx, [esp + 0x30]
mov byte [esp + 0x1ec], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [esp + 0x68]
push eax
mov esi, ebx
call fcn.00413c60
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xa0]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x4160e0
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xa0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x4160e0
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x68]
mov byte [esp + 0x1ec], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x84]
mov byte [esp + 0x1ec], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add dword [esp + 0x10], 1
add ebp, 0x1c
jmp 0x415fd0
test esi, esi
mov byte [esp + 0x1ec], 0
je 0x41632f
cmp esi, edi
je 0x416326
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x416313
mov esi, dword [esp + 0x18]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
lea ecx, [esp + 0x1f4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1ec], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x1e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1d0]
xor ecx, esp
call fcn.00437634
add esp, 0x1e0
ret