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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10143a7f
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x10177024]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
push esi
push edi
mov eax, dword [0x10177024]
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 0x101520e4
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 0x100954dd
push 0x101520e4
lea ecx, [esp + 0x74]
call dword [0x1014c4e8]
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 0x10153114
lea ecx, [esp + 0x3c]
call dword [0x1014c4e8]
cmp dword [esp + 0x50], 8
mov eax, dword [esp + 0x3c]
jae 0x1009554b
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 0x1009565d
lea ebx, [ebx]
cmp eax, edi
je 0x1009565d
mov ecx, 0x101520d8
lea eax, [esp + 0xb8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100955aa
cmp dx, di
je 0x100955a6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100955aa
add eax, 4
add ecx, 4
cmp dx, di
jne 0x10095584
xor eax, eax
jmp 0x100955af
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x10095649
mov ecx, 0x101520dc
lea eax, [esp + 0xb8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100955e9
cmp dx, di
je 0x100955e5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100955e9
add eax, 4
add ecx, 4
cmp dx, di
jne 0x100955c3
xor eax, eax
jmp 0x100955ee
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x10095649
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 0x10095635
push 0x101520e4
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 [0x1014c4e8]
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 0x10095570
lea edx, [esp + 0x8c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x10095570
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 0x100956d3
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 0x100956b5
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 0x10095676
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 0x100956d3
add dword [esp + 0x1c], 2
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov edx, dword [esp + 0x1c]
cmp eax, edx
jae 0x10095757
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 0x10095750
mov edi, dword [esp + 0x28]
cmp esi, edi
je 0x10095747
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 0x10095734
mov esi, dword [esp + 0x24]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x100958ce
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 0x1009584f
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 0x1009584f
test esi, esi
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + esi + 0x14]
mov dword [esp + 0x30], edx
je 0x100957c1
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 0x100957cf
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 0x100957dc
mov esi, dword [ecx + esi + 4]
jmp 0x100957e0
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 0x1009581e
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 0x1009582c
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 0x10095771
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 0x100958cc
mov edi, dword [esp + 0x28]
cmp esi, edi
je 0x100958c3
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 0x100958b0
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.10130e50
mov esp, ebp
pop ebp
ret 0xc