Function at 0x100950d0
Capabilities:
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1013d9df
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
push esi
push edi
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x2e8]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x2f4], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0x2f0], 1
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov ecx, dword [eax]
mov esi, dword [esp + 0x84]
push ecx
push 0x1014bdb4
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_last_of_wchar_t_const___unsigned_int_const]
add esi, 0xffffffff
cmp eax, esi
je 0x1009517d
push 0x1014bdb4
lea ecx, [esp + 0x74]
call dword [0x101464cc]
push 0x24c
lea edx, [esp + 0x94]
push edi
push edx
mov dword [esp + 0x98], edi
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esp + 0x54]
mov byte [esp + 0x2f0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2f4], 3
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push 0x1014cde4
lea ecx, [esp + 0x3c]
call dword [0x101464cc]
cmp dword [esp + 0x50], 8
mov eax, dword [esp + 0x3c]
jae 0x100951eb
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x8c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
mov eax, 1
je 0x100952fd
lea ebx, [ebx]
cmp eax, edi
je 0x100952fd
mov ecx, 0x1014bda8
lea eax, [esp + 0xb8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1009524a
cmp dx, di
je 0x10095246
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1009524a
add eax, 4
add ecx, 4
cmp dx, di
jne 0x10095224
xor eax, eax
jmp 0x1009524f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x100952e9
mov ecx, 0x1014bdac
lea eax, [esp + 0xb8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10095289
cmp dx, di
je 0x10095285
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10095289
add eax, 4
add ecx, 4
cmp dx, di
jne 0x10095263
xor eax, eax
jmp 0x1009528e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x100952e9
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::clear_void_]
test byte [esp + 0x8c], 0x10
je 0x100952d5
push 0x1014bdb4
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x58]
call dword [0x101464cc]
lea eax, [esp + 0x54]
push eax
lea esi, [esp + 0x24]
call fcn.10003480
lea ecx, [esp + 0x8c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x10095210
lea edx, [esp + 0x8c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x10095210
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x28]
xor ebx, ebx
test esi, esi
je 0x10095373
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 ebx, eax
jae 0x10095355
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + esi + 0x14]
mov edx, dword [esp + 0x1c]
add ebx, 1
lea ecx, [edx + ecx*2 + 2]
add eax, 0x1c
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
jmp 0x10095316
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
je 0x10095373
add dword [esp + 0x1c], 2
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov edx, dword [esp + 0x1c]
cmp eax, edx
jae 0x100953f7
mov dword [ecx], edx
lea ecx, [esp + 0x54]
mov byte [esp + 0x2f0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x38]
mov byte [esp + 0x2f0], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x70]
mov byte [esp + 0x2f0], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov dword [esp + 0x2f0], 0xffffffff
mov esi, dword [esp + 0x24]
test esi, esi
je 0x100953f0
mov edi, dword [esp + 0x28]
cmp esi, edi
je 0x100953e7
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x100953d4
mov esi, dword [esp + 0x24]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x1009556e
mov ebx, dword [esp + 0x14]
push eax
push 0
push ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [esp + 0x18], ebx
xor ebx, ebx
mov dword [esp + 0x14], ebx
test esi, esi
je 0x100954ef
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 ebx, eax
jae 0x100954ef
test esi, esi
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + esi + 0x14]
mov dword [esp + 0x30], edx
je 0x10095461
sub edi, esi
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1009546f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + esi + 0x18], 8
jb 0x1009547c
mov esi, dword [ecx + esi + 4]
jmp 0x10095480
lea esi, [ecx + esi + 4]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax + 2]
push ecx
push esi
push edx
call sub.MSVCR80.dll_memcpy
mov esi, dword [esp + 0x30]
add esp, 0xc
test esi, esi
je 0x100954be
mov edi, dword [esp + 0x28]
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 ebx, eax
jb 0x100954cc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + esi + 0x14]
mov edx, dword [esp + 0x18]
add ebx, 1
lea ecx, [edx + ecx*2 + 2]
add eax, 0x1c
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
jmp 0x10095411
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x54]
mov dword [eax], edx
mov byte [esp + 0x2f0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x38]
mov byte [esp + 0x2f0], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x70]
mov byte [esp + 0x2f0], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov dword [esp + 0x2f0], 0xffffffff
mov esi, dword [esp + 0x24]
test esi, esi
je 0x1009556c
mov edi, dword [esp + 0x28]
cmp esi, edi
je 0x10095563
lea ebx, [ebx]
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x10095550
mov esi, dword [esp + 0x24]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x2e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d0]
xor ecx, esp
call fcn.1012d370
mov esp, ebp
pop ebp
ret 0xc