Function at 0x449250
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ad02b
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x4dffd0]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd8]
mov esi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
or ebx, 0xffffffff
mov al, byte [esi]
test al, al
jne 0x44946c
cmp dword [esi + 0x2a8], 0
je 0x4495f3
test al, al
jne 0x44946c
mov eax, dword [esi + 0x2a4]
mov edi, dword [esi + 0x2a8]
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add edi, eax
cmp eax, edi
jbe 0x4492dc
call ebp
mov eax, dword [esi + 0x2a4]
mov ecx, dword [esi + 0x2a8]
add edi, 0xffffffff
add ecx, eax
cmp edi, ecx
ja 0x4492f5
cmp edi, eax
jae 0x4492f7
call ebp
mov edx, dword [esi + 0x2a4]
add edx, dword [esi + 0x2a8]
cmp edi, edx
jb 0x449309
call ebp
mov eax, dword [esi + 0x2a0]
cmp eax, edi
ja 0x449315
sub edi, eax
mov eax, dword [esi + 0x29c]
mov ecx, dword [eax + edi*4]
lea ebp, [esi + 0x258]
push ecx
mov ecx, ebp
call fcn.00449790
mov eax, dword [esi + 0x2a8]
xor edi, edi
cmp eax, edi
je 0x44936a
mov edx, dword [esi + 0x2a4]
mov ecx, dword [esi + 0x2a0]
lea eax, [eax + edx - 1]
cmp ecx, eax
ja 0x44934e
sub eax, ecx
mov ecx, dword [esi + 0x29c]
mov ecx, dword [ecx + eax*4]
call sub.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_
add dword [esi + 0x2a8], ebx
jne 0x44936a
mov dword [esi + 0x2a4], edi
push ebp
lea ecx, [esp + 0xac]
call fcn.004496f0
cmp dword [esi + 0x290], edi
mov dword [esp + 0xd0], edi
jne 0x4493ed
push 0x4bb3d4
lea ecx, [esp + 0x20]
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__]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xb0]
mov byte [esp + 0xd8], 1
call fcn.00449b50
push eax
lea ecx, [esp + 0xac]
mov byte [esp + 0xd4], 2
call fcn.00449790
lea ecx, [esp + 0x38]
mov byte [esp + 0xd0], 1
call sub.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 + 0x1c]
mov byte [esp + 0xd0], 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_]
jmp 0x44942b
lea ecx, [esi + 0x27c]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0xb0]
call fcn.00449b50
push eax
lea ecx, [esp + 0xac]
mov byte [esp + 0xd4], 3
call fcn.00449790
lea ecx, [esp + 0x38]
mov byte [esp + 0xd0], 0
call sub.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_
cmp dword [esp + 0xc0], 8
mov eax, dword [esp + 0xac]
jae 0x449443
lea eax, [esp + 0xac]
lea edi, [esi + 4]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [esp + 0xa8]
mov dword [esi + 0x254], eax
mov byte [esi], 1
mov dword [esp + 0xd0], ebx
call sub.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_
jmp 0x449494
mov eax, dword [esi + 0x254]
lea edi, [esi + 4]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x449494
mov ecx, dword [esi + 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esi + 0x254], ebx
cmp dword [esi + 0x254], ebx
jne 0x4494d7
lea ecx, [esp + 0x38]
mov byte [esi], 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__::constructor_void_]
push eax
lea ecx, [esi + 0x27c]
mov dword [esp + 0xd4], 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 + 0x38]
mov dword [esp + 0xd0], ebx
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_]
jmp 0x4492a3
lea ebp, [esi + 0x30]
push ebp
lea ecx, [esp + 0x20]
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__]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x90]
mov dword [esp + 0xd4], 5
call fcn.00449710
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd0], 7
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 eax, [esp + 0x8c]
push eax
mov ecx, esi
call fcn.00448cc0
test al, al
je 0x44953e
lea ecx, [esp + 0x8c]
mov dword [esp + 0xd0], ebx
call sub.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_
jmp 0x4492a3
push ebp
lea ecx, [esp + 0x58]
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__]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x74]
push edx
lea ecx, [esi + 0x258]
mov byte [esp + 0xd8], 8
call fcn.00449b50
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0xd4], 9
call fcn.00449790
lea ecx, [esp + 0x70]
mov byte [esp + 0xd0], 8
call sub.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 + 0x54]
mov byte [esp + 0xd0], 7
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_]
test byte [edi], 0x10
je 0x4495d2
cmp byte [esi + 0x274], 0
je 0x4495bf
lea eax, [esp + 0x8c]
push eax
lea ecx, [esi + 0x298]
call fcn.00449130
test byte [esi + 0x278], 2
je 0x4495db
lea ecx, [esp + 0x8c]
push ecx
jmp 0x449608
test byte [esi + 0x278], 1
jne 0x449600
lea ecx, [esp + 0x8c]
mov dword [esp + 0xd0], ebx
call sub.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_
jmp 0x4492a3
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.004496e0
jmp 0x449626
lea edx, [esp + 0x8c]
push edx
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.004496f0
lea ecx, [esp + 0x8c]
mov dword [esp + 0xd0], ebx
call sub.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_
mov eax, esi
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0048e5b2
add esp, 0xc0
ret 4