Function at 0x452050
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b611
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5898bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
call fcn.0040bb50
mov ecx, eax
test ecx, ecx
je 0x452997
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x23c], eax
mov dword [ebp - 4], 0
mov dword [ebp - method.mf_bind_t_class_CInstaller__class_CInstaller___void_.virtual_0], vtable.mf_bind_t_class_CInstaller__class_CInstaller___void_.0
mov dword [ebp - 0x220], 0x450790
mov dword [ebp - 0x21c], ebx
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 1
push eax
call fcn.0045b9f0
add esp, 4
mov byte [ebp - 4], 0
call fcn.00448f40
mov esi, eax
call fcn.00448f50
mov ecx, eax
call fcn.00449050
mov ecx, dword [esi]
push dword [eax]
push esi
call dword [ecx + 0x2c]
push eax
push str.install_type:_d__install_version:_s
call fcn.0044a720
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x224], 0x4507a0
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 2
push eax
call fcn.0045b9f0
add esp, 0x10
mov byte [ebp - 4], 0
lea edi, [ebx + 4]
push edi
call fcn.00448f50
mov ecx, eax
call fcn.00449060
push eax
call fcn.00463560
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x224], 0x4507a0
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 2
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 3
push eax
call fcn.0045b9f0
mov esi, dword [edi]
lea ecx, [ebp - 0x228]
add esp, 0xc
mov byte [ebp - 4], 0
call fcn.0045bf10
push esi
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 4
call fcn.0045c4f0
lea ecx, [ebp - 0x228]
call fcn.0045c800
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0
call fcn.0045c020
push str.remove_all_pending_files
call fcn.0044a720
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x224], 0x4507a0
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 3
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 5
push eax
call fcn.0045b9f0
push str..tmp
push dword [edi]
mov byte [ebp - 4], 0
call fcn.0040beb0
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x224], 0x4507a0
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 4
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 6
push eax
call fcn.0045b9f0
push dword [edi]
mov byte [ebp - 4], 0
push str.remove_all_.tmp_files_in__s
call fcn.0044a720
push str.update
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.00447a10
push dword [eax]
mov byte [ebp - 4], 7
call fcn.0040b780
mov edx, dword [ebp - 0x21c]
or esi, 0xffffffff
add esp, 0x2c
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x452295
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.update
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.00447a10
push dword [eax]
mov byte [ebp - 4], 8
push str.Delete_directory_recursively:__s
call fcn.0044a720
mov edx, dword [ebp - 0x21c]
add esp, 0x14
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4522db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x224], 0x4507a0
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 5
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 9
push eax
call fcn.0045b9f0
add esp, 4
mov byte [ebp - 4], 0
cmp dword [0x58d56c], 0
je 0x452390
call fcn.0042e030
mov ecx, eax
call fcn.00423f20
test eax, eax
jne 0x452390
call fcn.0042e030
mov ecx, eax
call fcn.00422550
push ecx
mov esi, esp
mov dword [ebp - 0x21c], esi
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.0040b110
add esp, 4
lea ecx, [ebx + 0x9c]
add eax, 0x10
mov dword [esi], eax
call fcn.00462200
push ecx
mov esi, esp
mov dword [ebp - 0x21c], esi
mov eax, dword [ebx + 4]
sub eax, 0x10
push eax
call fcn.0040b110
add esp, 4
lea ecx, [ebx + 0x9c]
add eax, 0x10
mov dword [esi], eax
call fcn.00461d60
lea edi, [ebx + 4]
or esi, 0xffffffff
mov ecx, ebx
call fcn.0044f530
test al, 1
jne 0x4523ad
push 0xf
push str.copy_file_fail
lea ecx, [ebp - 0x23c]
call fcn.0044f320
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x234], 0
push 0
push eax
call fcn.004b2720
add esp, 0xc
lea eax, [ebp - 0x218]
push str.UtilsCefHelper.dll
push dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x452445
lea eax, [ebp - 0x218]
push eax
call fcn.0046ef00
add esp, 4
test eax, eax
je 0x452445
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x452445
push 0x546d34
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x452445
push str.3.3497.1845.325
call eax
push eax
push str.install_cef_nRet_d
mov dword [ebp - 0x234], 1
call fcn.0044a720
add esp, 8
cmp dword [ebp - 0x234], 0
jne 0x45245b
push str.install_cef_fail
call fcn.0044a720
add esp, 4
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x224], 0x4507a0
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 0x5d
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0xa
push eax
call fcn.0045b9f0
push str.start_call_program
mov byte [ebp - 4], 0
call fcn.0044a720
mov eax, dword [edi]
add esp, 8
push dword [eax - 0xc]
push eax
call fcn.00448f50
mov ecx, eax
call fcn.00449060
mov ecx, eax
call fcn.00453f90
cmp dword [0x58d56c], 0
jne 0x4524db
mov eax, dword [edi]
push dword [eax - 0xc]
push eax
call fcn.00448f50
mov ecx, eax
call fcn.00449060
mov ecx, eax
call fcn.004547c0
push dword [edi]
call fcn.004649b0
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x224], 0x4507a0
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 0x60
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0xb
push eax
call fcn.0045b9f0
add esp, 8
mov byte [ebp - 4], 0
cmp dword [ebx + 0x7c], 0
je 0x452625
call fcn.0040bb50
mov ecx, eax
test ecx, ecx
je 0x4529a1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x238], eax
push str.birdwallpaper
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0xc
call fcn.0040afe0
test al, al
jne 0x45256e
push 0xd
push str.birdwallpaper
lea ecx, [ebp - 0x238]
call fcn.0040a830
mov edi, dword [ebp - 0x238]
lea ecx, [ebp - 0x22d]
mov byte [ebp - 4], 0xd
mov eax, dword [edi - 0xc]
add eax, eax
push eax
push edi
push 1
push 0x546c20
call fcn.0044f080
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x452607
call fcn.0040bb50
mov ecx, eax
test ecx, ecx
je 0x4529ab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0xe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x21c]
push str.write_ProductName_fail_:_d
push eax
call fcn.00409150
mov esi, dword [ebp - 0x21c]
push esi
call fcn.0044a720
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0xd
or esi, 0xffffffff
add esp, 0x10
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x452607
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x452622
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea edi, [ebx + 4]
mov ecx, ebx
call fcn.00452b80
test eax, eax
jne 0x452646
push 0x14
push str.write_path_reg_fail
lea ecx, [ebp - 0x23c]
xor esi, esi
call fcn.0044f320
jmp 0x45264c
mov esi, dword [ebp - 0x234]
mov ecx, ebx
call fcn.00450840
mov ecx, ebx
call fcn.0044f890
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x224], 0x4507a0
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 0x62
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0xf
push eax
call fcn.0045b9f0
add esp, 4
mov byte [ebp - 4], 0
cmp dword [0x58d56c], 0
jne 0x4526f8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b2720
add esp, 0xc
lea eax, [ebp - 0x218]
push str.ComputerZ.set
push dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
push 0
push str.hide
push str.installbridge
call edi
lea eax, [ebp - 0x218]
push eax
push 0
push str.source
push str.installbridge
call edi
push str.install_end.
call fcn.0044a720
mov edi, dword [ebp - 0x23c]
mov dword [ebp - method.mf_bind_t_2_class_CInstaller__class_CInstaller___void__int__wchar_t_const__.virtual_0], vtable.mf_bind_t_2_class_CInstaller__class_CInstaller___void__int__wchar_t_const__.0
mov dword [ebp - 0x228], 0x450770
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], edi
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x10
push eax
call fcn.0045b9f0
add esp, 8
mov byte [ebp - 4], 0
call fcn.0042e250
cmp dword [eax + 0x44], 0
je 0x452757
mov ecx, ebx
call fcn.004511b0
call fcn.0042e030
mov ecx, eax
call fcn.00423cc0
test eax, eax
je 0x45287c
call fcn.0042e030
mov ecx, eax
call fcn.00422730
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.0040b110
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
mov edx, dword [esi - 0xc]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x234], edx
test edx, edx
js 0x4529b5
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4527cc
push edx
lea ecx, [ebp - 0x21c]
call fcn.0040a590
mov esi, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x234]
lea eax, [edx + 1]
push eax
push esi
call fcn.004dfa9f
mov eax, dword [ebp - 0x234]
add esp, 8
cmp eax, dword [esi - 8]
jg 0x4529b5
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
jl 0x45281a
push str.zhushou
push esi
call fcn.004b2b73
add esp, 8
test eax, eax
je 0x45281a
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x45281a
call fcn.0041e440
test eax, eax
je 0x452860
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b2720
add esp, 0xc
lea eax, [ebp - 0x218]
push str.lpiWpSvc.dll
push dword [ebx + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0
push 0x53e704
lea eax, [ebp - 0x218]
push 0x546c8c
push eax
call fcn.0041d300
add esp, 0x10
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45287c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0042e250
cmp dword [eax + 0x48], 0
je 0x4528ed
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b2720
add esp, 0xc
lea eax, [ebp - 0x218]
push str.ComputerZ.set
push dword [ebx + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4528ed
lea eax, [ebp - 0x218]
push eax
push 0x53f6d0
lea ecx, [ebp - 0x22d]
call fcn.0044ea60
push eax
lea ecx, [ebp - 0x22d]
call fcn.0044f160
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, ebx
call fcn.0044fc20
push dword [ebx + 4]
lea ecx, [ebx + 0x80]
call fcn.0045fdf0
lea ecx, [ebx + 0x80]
call fcn.00460110
push str.real_install_end.
call fcn.0044a720
lea esi, [ebx + 0xf4]
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
add esp, 4
mov dword [ebp - 0x21c], esi
test esi, esi
je 0x452939
mov eax, dword [esi]
push esi
call dword [eax]
mov ecx, dword [ebx + 0x68]
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x45294a
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
mov byte [ebp - 4], 0x13
test esi, esi
je 0x452958
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x452977
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00498678
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00408fc0
push 0x80004005
call fcn.00408fc0
push 0x80004005
call fcn.00408fc0
push 0x80070057
call fcn.00408fc0
int3