Function at 0x2001dab
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov al, byte [ebp + 0xf]
push ebx
push esi
mov dword [ebp - 0x18], ecx
push edi
push 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x14], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
mov ebx, str.______________________Maxthon_Information___________________________r_n
push ebx
call esi
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
mov eax, dword [ebp + 0xc]
mov ebx, 0x2012548
mov eax, dword [eax + 4]
mov edi, dword [eax]
cmp edi, eax
je 0x2001ef3
mov eax, edi
mov edi, dword [edi]
add eax, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x2001e10
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x2001ee7
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
test eax, eax
jne 0x2001e2e
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.02004df4
mov eax, dword [eax]
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov al, byte [ebp + 0xf]
push 0
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push dword [ebp - 0x20]
call esi
pop ecx
push eax
lea ecx, [ebp - 0x34]
push dword [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
lea ecx, [ebp - 0x24]
call fcn.02002a96
cmp dword [ebp - 0x2c], 0
je 0x2001edc
push dword [ebp - 0x1c]
lea eax, [ebp - 0x44]
push eax
call fcn.020052fc
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
pop ecx
pop ecx
push dword [eax]
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x14]
push 0
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push 0x2012544
call esi
pop ecx
push eax
push 0x2012544
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea ecx, [ebp - 0x14]
push dword [eax]
lea eax, [ebp - 0x34]
push 0
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push ebx
call esi
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
push 1
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [ebp + 0xc]
cmp edi, dword [eax + 4]
jne 0x2001dfa
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov eax, dword [ecx + 0x24]
cmp eax, edx
je 0x2001fe9
push edx
push edx
push edx
push ecx
call eax
mov edi, eax
inc edi
cmp edi, 1
jle 0x2001fe9
lea eax, [edi + edi]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push edi
push 0
push eax
mov dword [ebp + 0xc], eax
call sub.MSVCRT.dll_memset
and word [ebp - 0x1d4], 0
add esp, 0x10
xor eax, eax
lea edi, [ebp - 0x1d2]
push 0x31
and word [ebp - 0x10c], 0
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x31
xor eax, eax
pop ecx
lea edi, [ebp - 0x10a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x10c]
mov edi, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x1d4]
push eax
push dword [ebp + 0xc]
push edi
call dword [edi + 0x24]
test eax, eax
jne 0x2001fe0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x44]
push dword [ebp + 0xc]
push eax
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_unsigned_short_int_const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
add esp, 0xc
push dword [ecx]
lea ecx, [ebp - 0x14]
push 0
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea eax, [ebp - 0x1d4]
mov ecx, edi
push eax
call fcn.0200212e
lea eax, [ebp - 0x10c]
add edi, 0x34
test eax, eax
je 0x2001fd1
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x10c]
push ecx
push eax
mov ecx, edi
call fcn.02002b03
push dword [ebp + 0xc]
call fcn.0200d548
pop ecx
mov edi, str._r_n______________________System_Information_______________________r_nOS
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
lea eax, [ebp + 0xc]
push eax
call fcn.02004eb5
mov edi, dword [eax]
push edi
call esi
pop ecx
pop ecx
push eax
push edi
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
lea ecx, [ebp + 0xc]
call fcn.02002a96
push ebx
call esi
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 0x54]
cmp dword [edi - 8], 0
je 0x2002059
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
push ebx
call esi
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
mov edi, 0x201243c
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
or dword [ebp - 4], 0xffffffff
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
mov ecx, 0x8a
xor eax, eax
lea edi, [ebp - 0x3fc]
mov dword [ebp - 0x400], 0x22c
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x400]
lea ecx, [ebp - 4]
push eax
call fcn.02002154
test eax, eax
je 0x20020e4
lea eax, [ebp - 0x3dc]
push eax
call esi
pop ecx
push eax
lea eax, [ebp - 0x3dc]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
push ebx
call esi
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
lea eax, [ebp - 0x400]
lea ecx, [ebp - 4]
push eax
call fcn.0200217b
jmp 0x20020a5
mov esi, dword [ebp + 8]
mov al, byte [ebp - 0x14]
push 0
mov ecx, esi
mov byte [esi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov ecx, esi
push dword [eax]
lea eax, [ebp - 0x14]
push 0
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
cmp dword [ebp - 4], 0xffffffff
je 0x200211a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8