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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531331
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5867ec]
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.0040d1a0
mov ecx, eax
test ecx, ecx
je 0x452c87
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], 0x450b50
mov dword [ebp - 0x21c], ebx
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 1
push eax
call fcn.0045bd10
add esp, 4
mov byte [ebp - 4], 0
call fcn.00449140
mov esi, eax
call fcn.00449150
mov ecx, eax
call fcn.00449250
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.0044a960
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], 0x450b60
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 2
push eax
call fcn.0045bd10
add esp, 0x10
mov byte [ebp - 4], 0
lea edi, [ebx + 4]
push edi
call fcn.00449150
mov ecx, eax
call fcn.00449260
push eax
call fcn.00463a10
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], 0x450b60
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 2
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 3
push eax
call fcn.0045bd10
mov esi, dword [edi]
lea ecx, [ebp - 0x228]
add esp, 0xc
mov byte [ebp - 4], 0
call fcn.0045c230
push esi
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 4
call fcn.0045c810
lea ecx, [ebp - 0x228]
call fcn.0045cb20
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0
call fcn.0045c340
push str.remove_all_pending_files
call fcn.0044a960
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], 0x450b60
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 3
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 5
push eax
call fcn.0045bd10
push str..tmp
push dword [edi]
mov byte [ebp - 4], 0
call fcn.0040d500
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], 0x450b60
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 4
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 6
push eax
call fcn.0045bd10
push dword [edi]
mov byte [ebp - 4], 0
push str.remove_all_.tmp_files_in__s
call fcn.0044a960
push str.update
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.00447c10
push dword [eax]
mov byte [ebp - 4], 7
call fcn.0040cdd0
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 0x452585
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.00447c10
push dword [eax]
mov byte [ebp - 4], 8
push str.Delete_directory_recursively:__s
call fcn.0044a960
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 0x4525cb
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], 0x450b60
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 5
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 9
push eax
call fcn.0045bd10
add esp, 4
mov byte [ebp - 4], 0
cmp dword [0x58a44c], 0
je 0x452680
call fcn.0042fc30
mov ecx, eax
call fcn.004256f0
test eax, eax
jne 0x452680
call fcn.0042fc30
mov ecx, eax
call fcn.00423c30
push ecx
mov esi, esp
mov dword [ebp - 0x21c], esi
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.0040c760
add esp, 4
lea ecx, [ebx + 0x9c]
add eax, 0x10
mov dword [esi], eax
call fcn.00462510
push ecx
mov esi, esp
mov dword [ebp - 0x21c], esi
mov eax, dword [ebx + 4]
sub eax, 0x10
push eax
call fcn.0040c760
add esp, 4
lea ecx, [ebx + 0x9c]
add eax, 0x10
mov dword [esi], eax
call fcn.00462070
lea edi, [ebx + 4]
or esi, 0xffffffff
mov ecx, ebx
call fcn.0044f9b0
test al, 1
jne 0x45269d
push 0xf
push str.copy_file_fail
lea ecx, [ebp - 0x23c]
call fcn.0044f7a0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x234], 0
push 0
push eax
call fcn.004b8590
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 0x452735
lea eax, [ebp - 0x218]
push eax
call fcn.00470210
add esp, 4
test eax, eax
je 0x452735
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x452735
push 0x54b334
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x452735
push str.3.3497.1845.325
call eax
push eax
push str.install_cef_nRet_d
mov dword [ebp - 0x234], 1
call fcn.0044a960
add esp, 8
cmp dword [ebp - 0x234], 0
jne 0x45274b
push str.install_cef_fail
call fcn.0044a960
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], 0x450b60
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 0x5d
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0xa
push eax
call fcn.0045bd10
push str.start_call_program
mov byte [ebp - 4], 0
call fcn.0044a960
mov eax, dword [edi]
add esp, 8
push dword [eax - 0xc]
push eax
call fcn.00449150
mov ecx, eax
call fcn.00449260
mov ecx, eax
call fcn.004542b0
cmp dword [0x58a44c], 0
jne 0x4527cb
mov eax, dword [edi]
push dword [eax - 0xc]
push eax
call fcn.00449150
mov ecx, eax
call fcn.00449260
mov ecx, eax
call fcn.00454ae0
push dword [edi]
call fcn.00464eb0
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], 0x450b60
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 0x60
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0xb
push eax
call fcn.0045bd10
add esp, 8
mov byte [ebp - 4], 0
cmp dword [ebx + 0x7c], 0
je 0x452915
call fcn.0040d1a0
mov ecx, eax
test ecx, ecx
je 0x452c91
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.0040c630
test al, al
jne 0x45285e
push 0xd
push str.birdwallpaper
lea ecx, [ebp - 0x238]
call fcn.0040bf90
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 0x54b220
call fcn.0044f500
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x4528f7
call fcn.0040d1a0
mov ecx, eax
test ecx, ecx
je 0x452c9b
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.0040a910
mov esi, dword [ebp - 0x21c]
push esi
call fcn.0044a960
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 0x4528f7
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 0x452912
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea edi, [ebx + 4]
mov ecx, ebx
call fcn.00452ea0
test eax, eax
jne 0x452936
push 0x14
push str.write_path_reg_fail
lea ecx, [ebp - 0x23c]
xor esi, esi
call fcn.0044f7a0
jmp 0x45293c
mov esi, dword [ebp - 0x234]
mov ecx, ebx
call fcn.00450c00
mov ecx, ebx
call fcn.0044fd10
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], 0x450b60
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 0x62
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0xf
push eax
call fcn.0045bd10
add esp, 4
mov byte [ebp - 4], 0
cmp dword [0x58a44c], 0
jne 0x4529e8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b8590
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.0044a960
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], 0x450b30
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.0045bd10
add esp, 8
mov byte [ebp - 4], 0
call fcn.0042fdb0
cmp dword [eax + 0x44], 0
je 0x452a47
mov ecx, ebx
call fcn.00451570
call fcn.0042fc30
mov ecx, eax
call fcn.00425490
test eax, eax
je 0x452b6c
call fcn.0042fc30
mov ecx, eax
call fcn.00423d70
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.0040c760
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 0x452ca5
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x452abc
push edx
lea ecx, [ebp - 0x21c]
call fcn.0040bcf0
mov esi, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x234]
lea eax, [edx + 1]
push eax
push esi
call fcn.004e57ef
mov eax, dword [ebp - 0x234]
add esp, 8
cmp eax, dword [esi - 8]
jg 0x452ca5
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
jl 0x452b0a
push str.zhushou
push esi
call fcn.004b89e3
add esp, 8
test eax, eax
je 0x452b0a
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x452b0a
call fcn.0041fb20
test eax, eax
je 0x452b50
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b8590
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 0x542db4
lea eax, [ebp - 0x218]
push 0x54b28c
push eax
call fcn.0041ea30
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 0x452b6c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0042fdb0
cmp dword [eax + 0x48], 0
je 0x452bdd
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b8590
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 0x452bdd
lea eax, [ebp - 0x218]
push eax
push 0x543d7c
lea ecx, [ebp - 0x22d]
call fcn.0044ee00
push eax
lea ecx, [ebp - 0x22d]
call fcn.0044f5e0
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, ebx
call fcn.004500a0
push dword [ebx + 4]
lea ecx, [ebx + 0x80]
call fcn.00460110
lea ecx, [ebx + 0x80]
call fcn.00460420
push str.real_install_end.
call fcn.0044a960
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 0x452c29
mov eax, dword [esi]
push esi
call dword [eax]
mov ecx, dword [ebx + 0x68]
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x452c3a
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
mov byte [ebp - 4], 0x13
test esi, esi
je 0x452c48
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 0x452c67
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.004994d8
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.0040a780
push 0x80004005
call fcn.0040a780
push 0x80004005
call fcn.0040a780
push 0x80070057
call fcn.0040a780
int3