Function at 0x43ac70
Capabilities:
Check if file exists
Get common file path
Link many functions at runtime
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50dca6
mov eax, dword fs:[0]
push eax
sub esp, 0xa88
mov eax, dword [0x55758c]
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.00415720
mov ecx, eax
test ecx, ecx
je 0x43bab4
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0xa70], edi
push 0x208
lea eax, [ebp - 0x630]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00492e60
add esp, 0xc
lea eax, [ebp - 0x630]
push 0x104
push eax
push dword [0x55ede4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x51edec
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.00415690
mov esi, eax
cmp dword [esi], 0
jne 0x43ad90
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x43af09
push 0x51b174
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x51b180
push dword [esi]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x51b18c
push dword [esi]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x51b19c
push dword [esi]
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x51b1ac
push dword [esi]
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x43ad90
call eax
mov dword [esi + 0xc], eax
cmp dword [esi + 8], 0
je 0x43af09
cmp dword [esi + 4], 0
je 0x43af09
cmp dword [esi + 0xc], 0
je 0x43af09
push 0x208
lea eax, [ebp - 0x838]
push 0
push eax
call fcn.00492e60
add esp, 0xc
lea eax, [ebp - 0x838]
push 0x104
push eax
push dword [0x55ede4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.00415720
mov ecx, eax
test ecx, ecx
je 0x43babe
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa48], eax
mov byte [ebp - 4], 1
call fcn.00415720
mov ecx, eax
test ecx, ecx
je 0x43bac8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa44], eax
lea eax, [ebp - 0x838]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xa44]
call fcn.00404360
test al, al
jne 0x43ae62
lea ecx, [ebp - 0x838]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ae40
sub ecx, edx
lea eax, [ebp - 0x838]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa44]
call fcn.00405750
lea eax, [ebp - 0xa48]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xa44]
push eax
call fcn.004146e0
mov edx, dword [ebp - 0xa44]
add esp, 8
mov byte [ebp - 4], 1
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ae9e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov esi, esp
mov dword [ebp - 0xa44], esp
call fcn.00415930
push eax
mov ecx, esi
call fcn.00404030
push ecx
mov esi, esp
mov byte [ebp - 4], 4
mov dword [ebp - 0xa60], esi
mov eax, dword [ebp - 0xa48]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0xa60], eax
call fcn.004044a0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.004e7170
mov edx, dword [ebp - 0xa60]
add esp, 8
mov byte [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43af09
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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 - 0xa64], 0x43a130
mov dword [ebp - 0xa60], ebx
lea eax, [ebp - 0xa68]
mov byte [ebp - 4], 5
push eax
call fcn.00431240
add esp, 4
mov byte [ebp - 4], 0
call fcn.00432440
mov esi, eax
call fcn.004324c0
mov ecx, eax
call fcn.00432630
mov ecx, dword [esi]
push dword [eax]
push esi
call dword [ecx + 0x24]
push eax
push str.install_type:_d__install_version:_s
call fcn.004369b0
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 - 0xa68], 0x43a140
mov dword [ebp - 0xa64], ebx
mov dword [ebp - 0xa60], 0
lea eax, [ebp - 0xa6c]
mov byte [ebp - 4], 6
push eax
call fcn.00431240
add esp, 0x10
mov byte [ebp - 4], 0
lea esi, [ebx + 4]
push esi
call fcn.004324c0
mov ecx, eax
call fcn.00432640
push eax
call fcn.00447dd0
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 - 0xa68], 0x43a140
mov dword [ebp - 0xa64], ebx
mov dword [ebp - 0xa60], 2
lea eax, [ebp - 0xa6c]
mov byte [ebp - 4], 7
push eax
call fcn.00431240
mov esi, dword [esi]
lea ecx, [ebp - 0xa58]
add esp, 0xc
mov byte [ebp - 4], 0
call fcn.00448470
push esi
lea ecx, [ebp - 0xa58]
mov byte [ebp - 4], 8
call fcn.00448a50
lea ecx, [ebp - 0xa58]
call fcn.00448d60
lea ecx, [ebp - 0xa58]
mov byte [ebp - 4], 0
call fcn.00448580
push str.remove_all_pending_files
call fcn.004369b0
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 - 0xa68], 0x43a140
mov dword [ebp - 0xa64], ebx
mov dword [ebp - 0xa60], 3
lea eax, [ebp - 0xa6c]
mov byte [ebp - 4], 9
push eax
call fcn.00431240
push str..tmp
push dword [ebx + 4]
lea esi, [ebx + 4]
mov byte [ebp - 4], 0
call fcn.00405460
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 - 0xa68], 0x43a140
mov dword [ebp - 0xa64], ebx
mov dword [ebp - 0xa60], 4
lea eax, [ebp - 0xa6c]
mov byte [ebp - 4], 0xa
push eax
call fcn.00431240
push dword [esi]
mov byte [ebp - 4], 0
push str.remove_all_.tmp_files_in__s
call fcn.004369b0
push str.update
lea eax, [ebp - 0xa60]
push esi
push eax
call fcn.0041fb50
push dword [eax]
mov byte [ebp - 4], 0xb
call fcn.00404b10
mov edx, dword [ebp - 0xa60]
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 0x43b0fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.update
lea eax, [ebx + 4]
push eax
lea eax, [ebp - 0xa60]
push eax
call fcn.0041fb50
push dword [eax]
mov byte [ebp - 4], 0xc
push str.Delete_directory_recursively:__s
call fcn.004369b0
mov edx, dword [ebp - 0xa60]
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 0x43b146
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 - 0xa68], 0x43a140
mov dword [ebp - 0xa64], ebx
mov dword [ebp - 0xa60], 5
lea eax, [ebp - 0xa6c]
mov byte [ebp - 4], 0xd
push eax
call fcn.00431240
add esp, 4
mov byte [ebp - 4], 0
mov ecx, ebx
call fcn.00438bd0
and eax, 1
mov dword [ebp - 0xa60], eax
jne 0x43b1ab
push 0xf
push str.copy_file_fail
lea ecx, [ebp - 0xa70]
call fcn.00413550
mov edi, dword [ebp - 0xa70]
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 - 0xa54], 0x43a140
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa4c], 0x37
lea eax, [ebp - 0xa58]
mov byte [ebp - 4], 0xe
push eax
call fcn.00431240
add esp, 4
mov byte [ebp - 4], 0
mov ecx, ebx
call fcn.00438f40
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 - 0xa54], 0x43a140
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa4c], 0x4b
lea eax, [ebp - 0xa58]
mov byte [ebp - 4], 0xf
push eax
call fcn.00431240
push dword [ebx + 4]
mov byte [ebp - 4], 0
call fcn.0044a3f0
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 - 0xa54], 0x43a140
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa4c], 0x56
lea eax, [ebp - 0xa58]
mov byte [ebp - 4], 0x10
push eax
call fcn.00431240
add esp, 0xc
mov byte [ebp - 4], 0
call fcn.0041b1b0
mov ecx, eax
call fcn.004180c0
test eax, eax
je 0x43b292
call fcn.00432440
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x64]
mov dword [ebp - 0xa44], 1
test al, 1
jne 0x43b29c
mov dword [ebp - 0xa44], 0
call fcn.0041b1b0
mov ecx, eax
call fcn.00418290
test eax, eax
je 0x43b2c6
call fcn.00432440
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x64]
mov dword [ebp - 0xa48], 1
test al, 2
jne 0x43b2d0
mov dword [ebp - 0xa48], 0
call fcn.0041b1b0
mov ecx, eax
call fcn.00418380
mov esi, eax
call fcn.0041b1b0
mov ecx, eax
call fcn.00418480
push 0
push eax
push esi
push dword [ebp - 0xa48]
push dword [ebp - 0xa44]
push ecx
mov esi, esp
mov dword [ebp - 0xa48], esi
mov eax, dword [ebx + 4]
sub eax, 0x10
push eax
call fcn.004044a0
add esp, 4
lea ecx, [ebp - 0xa8c]
add eax, 0x10
mov dword [esi], eax
call fcn.00433aa0
lea ecx, [ebp - 0xa8c]
mov byte [ebp - 4], 0x11
call fcn.00434540
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 - 0xa54], 0x43a140
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa4c], 0x5a
lea eax, [ebp - 0xa58]
mov byte [ebp - 4], 0x12
push eax
call fcn.00431240
add esp, 4
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xa8c]
call fcn.00433ef0
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 - 0xa54], 0x43a140
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa4c], 0x5c
lea eax, [ebp - 0xa58]
mov byte [ebp - 4], 0x13
push eax
call fcn.00431240
push 0x208
lea eax, [ebp - 0xa40]
mov byte [ebp - 4], 0x11
push 0
push eax
call fcn.00492e60
add esp, 0x10
lea eax, [ebp - 0xa40]
push str.SmartChat.exe
push dword [ebx + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xa44]
mov dword [ebp - 0xa48], eax
call fcn.00415720
mov ecx, eax
test ecx, ecx
je 0x43bad2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa44], eax
lea eax, [ebp - 0xa40]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0xa44]
call fcn.00404360
test al, al
jne 0x43b448
lea ecx, [ebp - 0xa40]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b426
sub ecx, edx
lea eax, [ebp - 0xa40]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa44]
call fcn.00405750
mov byte [ebp - 4], 0x15
call fcn.00415720
mov ecx, eax
test ecx, ecx
je 0x43badc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa48], eax
push 0x51c748
lea ecx, [ebp - 0xa48]
mov byte [ebp - 4], 0x16
call fcn.00404360
test al, al
jne 0x43b493
push 9
push 0x51c748
lea ecx, [ebp - 0xa48]
call fcn.00405750
mov esi, dword [ebp - 0xa48]
lea ecx, [ebp - 0xa71]
push esi
push dword [ebp - 0xa44]
mov byte [ebp - 4], 0x17
call fcn.00439700
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0x15
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43b4cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa44]
mov eax, esi
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43b4ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, ebx
call fcn.0043bd00
test eax, eax
jne 0x43b517
push 0x14
push str.write_path_reg_fail
lea ecx, [ebp - 0xa70]
mov dword [ebp - 0xa60], eax
call fcn.00413550
mov edi, dword [ebp - 0xa70]
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 - 0xa54], 0x43a140
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa4c], 0x5e
lea eax, [ebp - 0xa58]
mov byte [ebp - 4], 0x18
push eax
call fcn.00431240
add esp, 4
mov byte [ebp - 4], 0x11
mov ecx, ebx
call fcn.0043c170
push 4
lea eax, [ebp - 0xa48]
mov dword [ebp - 0xa48], 0
push eax
push 4
push str.CertificateRevocation
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x43b58e
push str.Ban_Check_Certificate_suc
jmp 0x43b593
push str.Ban_Check_Certificate_fail
call fcn.004369b0
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 - 0xa54], 0x43a140
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa4c], 0x60
lea eax, [ebp - 0xa58]
mov byte [ebp - 4], 0x19
push eax
call fcn.00431240
mov byte [ebp - 4], 0x11
call fcn.0041b1b0
mov eax, dword [eax + 0x40]
sub eax, 0x10
push eax
call fcn.004044a0
add esp, 8
add eax, 0x10
mov dword [ebp - 0xa44], eax
mov ecx, str.__fromnewinstall
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43b623
test dx, dx
je 0x43b617
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43b623
add eax, 4
add ecx, 4
test dx, dx
jne 0x43b5f5
mov dword [ebp - 0xa48], 0
jmp 0x43b62e
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0xa48], ecx
mov edx, dword [ebp - 0xa44]
mov eax, esi
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43b64f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0xa48], 0
jne 0x43b732
call fcn.0041b1b0
mov ecx, eax
call fcn.00418fc0
test al, al
je 0x43b732
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.00492e60
add esp, 0xc
lea eax, [ebp - 0x428]
push str.UtilsAIAssistant.exe
push dword [ebx + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.run_helper
call fcn.004369b0
add esp, 4
lea eax, [ebp - 0x428]
push 0xffffffffffffffff
push 0
push 0
push 1
push 1
push 0x51b740
push eax
call fcn.004451f0
test eax, eax
je 0x43b732
push str.config.ini
lea eax, [ebx + 4]
push eax
lea eax, [ebp - 0xa48]
push eax
call fcn.0041fb50
add esp, 0xc
push dword [ebp - 0xa48]
mov byte [ebp - 4], 0x1b
push 0x51f548
push 0x51a374
push str.auto_run
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 0xa48]
push str.write_config:__s_auto_run_open_1
call fcn.004369b0
mov edx, dword [ebp - 0xa48]
add esp, 8
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43b732
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 - 0xa54], 0x43a140
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa4c], 0x62
lea eax, [ebp - 0xa58]
mov byte [ebp - 4], 0x1c
push eax
call fcn.00431240
push str.Create_Drivers
mov byte [ebp - 4], 0x11
call fcn.004369b0
push 0x210
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00492e60
add esp, 0x14
call fcn.00415720
mov ecx, eax
test ecx, ecx
je 0x43bae6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa44], eax
mov byte [ebp - 4], 0x1d
call fcn.00439b10
test al, al
lea eax, [ebp - 0x220]
je 0x43b7d2
push str.UtilsSChatSDrv_x64.sys
push dword [ebx + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 8
push str.Pdrv_x64
jmp 0x43b7e8
push str.UtilsSChatSDrv.sys
push dword [ebx + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 8
push str.Pdrv_x86
lea ecx, [ebp - 0xa44]
call fcn.00405750
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43b821
push 1
lea eax, [ebp - 0x220]
push eax
push str.SChatSDrvs
call fcn.004467f0
push str.SChatSDrvs
call fcn.00446890
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 - 0xa54], 0x43a140
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa4c], 0x63
lea eax, [ebp - 0xa58]
mov byte [ebp - 4], 0x1e
push eax
call fcn.00431240
add esp, 4
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x428]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.ldsComputerZ.set
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov esi, dword [ebp - 0xa44]
cmp dword [esi - 4], 1
jle 0x43b8a1
push dword [esi - 0xc]
lea ecx, [ebp - 0xa44]
call fcn.00404ee0
mov esi, dword [ebp - 0xa44]
lea eax, [ebp - 0x428]
push eax
push str.SChatSDrvs
push str.SChat
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0x11
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43b8d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0041b1b0
mov eax, dword [eax + 0x40]
sub eax, 0x10
push eax
call fcn.004044a0
add esp, 4
add eax, 0x10
mov dword [ebp - 0xa44], eax
mov ecx, str.__fromnewinstall
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43b92e
test dx, dx
je 0x43b922
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43b92e
add eax, 4
add ecx, 4
test dx, dx
jne 0x43b900
mov dword [ebp - 0xa48], 0
jmp 0x43b939
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0xa48], ecx
mov edx, dword [ebp - 0xa44]
mov eax, esi
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43b95a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0xa48], 0
jne 0x43b9bf
push str.Call_SetArParm
call fcn.004369b0
push 0x210
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00492e60
add esp, 0x10
lea eax, [ebp - 0x220]
push str..UtilsArCtrl.dll
push dword [ebx + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x43b9bf
push str.SetArParm
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43b9bf
push 0
push 1
call eax
push str.install_end.
call fcn.004369b0
mov eax, dword [ebp - 0xa60]
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 - 0xa58], 0x43a110
mov dword [ebp - 0xa54], ebx
mov dword [ebp - 0xa50], eax
mov dword [ebp - 0xa4c], edi
lea eax, [ebp - 0xa5c]
mov byte [ebp - 4], 0x20
push eax
call fcn.00431240
push str.real_install_end.
mov byte [ebp - 4], 0x11
call fcn.004369b0
lea esi, [ebx + 0x78]
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
add esp, 0xc
mov dword [ebp - 0xa60], esi
test esi, esi
je 0x43ba32
mov eax, dword [esi]
push esi
call dword [eax]
mov ecx, dword [ebx + 0x68]
mov byte [ebp - 4], 0x21
test ecx, ecx
je 0x43ba43
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
push str.set_install_finish_event
call fcn.004369b0
add esp, 4
push dword [ebx + 0x94]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov byte [ebp - 4], 0x22
test esi, esi
je 0x43ba6a
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea ecx, [ebp - 0xa8c]
call fcn.00433c30
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43ba94
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.00464278
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00404340
push 0x80004005
call fcn.00404340
push 0x80004005
call fcn.00404340
push 0x80004005
call fcn.00404340
push 0x80004005
call fcn.00404340
push 0x80004005
call fcn.00404340
int3