Function at 0x413caa
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x12c4
call fcn.00420e10
push ebx
push esi
mov dword [ebp - 4], ecx
mov ebx, 0x81
push edi
xor esi, esi
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x12c2]
mov word [ebp - 0x12c4], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x12c4]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x414146
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x48a]
mov word [ebp - 0x48c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x413d5e
and word [ebp - 0x7c], 0
push 0x18
pop ecx
xor eax, eax
lea edi, [ebp - 0x7a]
push 0x32
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x12c4]
push eax
lea eax, [ebp - 0x48c]
push eax
call esi
jmp 0x413d7e
lea eax, [ebp - 0x48c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x12c4]
push str.JuziBrowser
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edx, dword [ebp - 4]
xor eax, eax
mov dword [ebp - 8], eax
cmp dword [edx + 0x24], eax
je 0x413e29
cmp dword [edx + 0x34], eax
je 0x413e29
mov edx, dword [edx + 0x6c]
mov ecx, ebx
lea edi, [ebp - 0x692]
mov word [ebp - 0x694], ax
rep stosd dword es:[edi], eax
test edx, edx
stosw word es:[edi], ax
jne 0x413db8
mov edx, 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 str.Installer_setup_haolink.exe
lea eax, [ebp - 0x694]
push edx
push eax
call esi
lea eax, [ebp - 0x694]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413e26
and word [ebp - 0x89c], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x89a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x48c]
push str.Installer_setup_haolink.exe
push eax
lea eax, [ebp - 0x89c]
push eax
call esi
lea eax, [ebp - 0x89c]
push 0
push eax
lea eax, [ebp - 0x694]
push eax
call fcn.004016c4
add esp, 0xc
test eax, eax
je 0x413e26
mov dword [ebp - 8], 1
mov edx, dword [ebp - 4]
and word [ebp - 0x10bc], 0
mov edx, dword [edx + 0x6c]
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x10ba]
rep stosd dword es:[edi], eax
test edx, edx
stosw word es:[edi], ax
jne 0x413e4c
mov edx, 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 str.Installer_npJuziPlugin.dll
lea eax, [ebp - 0x10bc]
push edx
push eax
call esi
lea eax, [ebp - 0x10bc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413f62
and word [ebp - 0x89c], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x89a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x48c]
push str.Installer_npJuziPlugin.dll
push eax
lea eax, [ebp - 0x89c]
push eax
call esi
lea eax, [ebp - 0x89c]
push 0
push eax
lea eax, [ebp - 0x10bc]
push eax
call fcn.004016c4
add esp, 0xc
test eax, eax
je 0x413f62
mov dword [ebp - 8], 1
call fcn.00404305
test eax, eax
je 0x413f62
and word [ebp - 0x694], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x692]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
test eax, eax
jne 0x413ef4
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 str.Installer_npJuziPlugin_x64.dll
push eax
lea eax, [ebp - 0x694]
push eax
call esi
lea eax, [ebp - 0x694]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413f62
and word [ebp - 0x284], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x282]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x48c]
push str.Installer_npJuziPlugin_x64.dll
push eax
lea eax, [ebp - 0x284]
push eax
call esi
lea eax, [ebp - 0x284]
push 0
push eax
lea eax, [ebp - 0x694]
push eax
call fcn.004016c4
add esp, 0xc
test eax, eax
je 0x413f62
mov dword [ebp - 8], 1
and word [ebp - 0xeb4], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0xeb2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
test eax, eax
jne 0x413f87
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 str.Installerkoolivemod.dll
push eax
lea eax, [ebp - 0xeb4]
push eax
call esi
lea eax, [ebp - 0xeb4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413ff5
and word [ebp - 0x284], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x282]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x48c]
push str.Installerkoolivemod.dll
push eax
lea eax, [ebp - 0x284]
push eax
call esi
lea eax, [ebp - 0x284]
push 0
push eax
lea eax, [ebp - 0xeb4]
push eax
call fcn.004016c4
add esp, 0xc
test eax, eax
je 0x413ff5
mov dword [ebp - 8], 1
and word [ebp - 0xaa4], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0xaa2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
test eax, eax
jne 0x41401a
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 str.InstallerwCNTVLive212.dll
push eax
lea eax, [ebp - 0xaa4]
push eax
call esi
lea eax, [ebp - 0xaa4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414088
and word [ebp - 0x284], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x282]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x48c]
push str.InstallerwCNTVLive212.dll
push eax
lea eax, [ebp - 0x284]
push eax
call esi
lea eax, [ebp - 0x284]
push 0
push eax
lea eax, [ebp - 0xaa4]
push eax
call fcn.004016c4
add esp, 0xc
test eax, eax
je 0x414088
mov dword [ebp - 8], 1
and word [ebp - 0xcac], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0xcaa]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
test eax, eax
jne 0x4140ad
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 str.Installerhao123VOLService.exe
push eax
lea eax, [ebp - 0xcac]
push eax
call esi
lea eax, [ebp - 0xcac]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41411b
and word [ebp - 0x284], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x282]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x48c]
push str.Installerhao123VOLService.exe
push eax
lea eax, [ebp - 0x284]
push eax
call esi
lea eax, [ebp - 0x284]
push 0
push eax
lea eax, [ebp - 0xcac]
push eax
call fcn.004016c4
add esp, 0xc
test eax, eax
je 0x41411b
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
je 0x414146
lea eax, [ebp - 0x48c]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x48c]
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x178]
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_]
pop edi
pop esi
pop ebx
leave
ret