Function at 0x416380
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x43c704
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x4c3740]
xor eax, esp
mov dword [esp + 0x2dc], eax
push ebp
push esi
push edi
mov eax, dword [0x4c3740]
xor eax, esp
push eax
lea eax, [esp + 0x2f0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x31c]
mov dword [esp + 0x28], ebp
xor eax, eax
mov dword [esp + 0x2f8], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0x2f8], 1
mov esi, dword [ebp + 8]
cmp dword [ebp + 4], esi
jbe 0x4163f0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [ebp + 4]
cmp edi, dword [ebp + 8]
jbe 0x4163fe
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
push ebp
push edi
push ebp
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.00414170
mov esi, dword [ebx + 8]
cmp dword [ebx + 4], esi
jbe 0x41641b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x416429
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
push ebx
push edi
push ebx
lea ecx, [esp + 0x30]
push ecx
push ebx
call fcn.00414170
mov edx, 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 eax, dword [edx]
mov esi, dword [esp + 0x314]
push eax
push 0x4b37ec
lea ecx, [esp + 0x308]
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 0x416473
push 0x4b37ec
lea ecx, [esp + 0x304]
call dword [0x43e29c]
lea ecx, [esp + 0x300]
push ecx
lea esi, [esp + 0x14]
call fcn.00413d50
xor ebp, ebp
mov dword [esp + 0x20], ebp
lea ebx, [ebx]
mov esi, dword [esp + 0x14]
test esi, esi
mov edi, dword [esp + 0x18]
je 0x416805
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 + 0x20], eax
jae 0x416805
push 0x24c
lea edx, [esp + 0xa4]
push 0
push edx
mov dword [esp + 0xa8], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x80]
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 + 0x64]
mov byte [esp + 0x2f8], 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_]
mov byte [esp + 0x2f8], 3
mov esi, dword [esp + 0x14]
test esi, esi
mov edi, dword [esp + 0x20]
je 0x416533
mov ecx, dword [esp + 0x18]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x41653d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x14]
lea eax, [esi + ebp]
push eax
lea ecx, [esp + 0x84]
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 0x4b3ec8
lea ecx, [esp + 0x84]
call dword [0x43e29c]
cmp dword [esp + 0x98], 8
mov eax, dword [esp + 0x84]
jae 0x416578
lea eax, [esp + 0x84]
lea ecx, [esp + 0x9c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x20], esi
mov eax, 1
je 0x4167c8
jmp 0x4165a0
test eax, eax
je 0x4167c8
mov ecx, 0x4b3ecc
lea eax, [esp + 0xc8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4165da
test dx, dx
je 0x4165d6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4165da
add eax, 4
add ecx, 4
test dx, dx
jne 0x4165b4
xor eax, eax
jmp 0x4165df
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4167b4
mov ecx, 0x4b3ed0
lea eax, [esp + 0xc8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x416619
test dx, dx
je 0x416615
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x416619
add eax, 4
add ecx, 4
test dx, dx
jne 0x4165f3
xor eax, eax
jmp 0x41661e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4167b4
lea ecx, [esp + 0x64]
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 + 0x9c], 0x10
mov esi, dword [esp + 0x14]
je 0x4166ea
test esi, esi
je 0x416663
mov ecx, dword [esp + 0x18]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x41666d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x14]
lea edx, [esi + ebp]
push edx
lea ecx, [esp + 0x68]
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__]
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x68]
call dword [0x43e29c]
push 0x4b37ec
lea ecx, [esp + 0x68]
call dword [0x43e29c]
lea ecx, [esp + 0x64]
push ecx
lea esi, [esp + 0x14]
call fcn.00413d50
mov eax, dword [esp + 0x314]
mov edx, dword [esp + 0x78]
sub edx, eax
add edx, 1
push edx
add eax, 0xffffffff
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x70]
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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x2fc], 4
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__]
lea ecx, [esp + 0x48]
jmp 0x41677e
test esi, esi
je 0x41670b
mov ecx, dword [esp + 0x18]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x416715
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x14]
lea edx, [esi + ebp]
push edx
lea ecx, [esp + 0x68]
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__]
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x68]
call dword [0x43e29c]
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x64]
push ecx
call fcn.00413d50
mov eax, dword [esp + 0x314]
mov edx, dword [esp + 0x78]
sub edx, eax
add edx, 1
push edx
add eax, 0xffffffff
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x70]
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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x2fc], 5
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__]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2f8], 3
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 + 0x64]
push ecx
mov esi, ebx
call fcn.00413d50
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x9c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, dword [esp + 0x20]
jmp 0x4165a0
lea ecx, [esp + 0x9c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x4165a0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x64]
mov byte [esp + 0x2f8], 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 + 0x80]
mov byte [esp + 0x2f8], 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_]
add edi, 1
mov dword [esp + 0x20], edi
add ebp, 0x1c
jmp 0x416490
test esi, esi
mov byte [esp + 0x2f8], 0
je 0x416831
cmp esi, edi
je 0x416828
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 0x416815
mov esi, dword [esp + 0x14]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
lea ecx, [esp + 0x300]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2f8], 0xffffffff
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 al, 1
mov ecx, dword [esp + 0x2f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x2dc]
xor ecx, esp
call fcn.00437634
add esp, 0x2ec
ret