Function at 0x1003a100
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 0x1010cf46
mov eax, dword fs:[0]
push eax
sub esp, 0xa88
mov eax, dword [0x101555ac]
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.10015110
mov ecx, eax
test ecx, ecx
je 0x1003af44
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.10092350
add esp, 0xc
lea eax, [ebp - 0x630]
push 0x104
push eax
push dword [0x1015ce04]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x1011dc4c
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.10015080
mov esi, eax
cmp dword [esi], 0
jne 0x1003a220
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x1003a399
push 0x1011a034
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1011a040
push dword [esi]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1011a04c
push dword [esi]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1011a05c
push dword [esi]
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1011a06c
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 0x1003a220
call eax
mov dword [esi + 0xc], eax
cmp dword [esi + 8], 0
je 0x1003a399
cmp dword [esi + 4], 0
je 0x1003a399
cmp dword [esi + 0xc], 0
je 0x1003a399
push 0x208
lea eax, [ebp - 0x838]
push 0
push eax
call fcn.10092350
add esp, 0xc
lea eax, [ebp - 0x838]
push 0x104
push eax
push dword [0x1015ce04]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.10015110
mov ecx, eax
test ecx, ecx
je 0x1003af4e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa48], eax
mov byte [ebp - 4], 1
call fcn.10015110
mov ecx, eax
test ecx, ecx
je 0x1003af58
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.10004300
test al, al
jne 0x1003a2f2
lea ecx, [ebp - 0x838]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003a2d0
sub ecx, edx
lea eax, [ebp - 0x838]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa44]
call fcn.100056f0
lea eax, [ebp - 0xa48]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xa44]
push eax
call fcn.100140d0
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 0x1003a32e
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.10015320
push eax
mov ecx, esi
call fcn.10003fd0
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.10004440
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.100e6500
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 0x1003a399
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], 0x100395c0
mov dword [ebp - 0xa60], ebx
lea eax, [ebp - 0xa68]
mov byte [ebp - 4], 5
push eax
call fcn.100306e0
add esp, 4
mov byte [ebp - 4], 0
call fcn.100318e0
mov esi, eax
call fcn.10031960
mov ecx, eax
call fcn.10031ad0
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.10035e50
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], 0x100395d0
mov dword [ebp - 0xa64], ebx
mov dword [ebp - 0xa60], 0
lea eax, [ebp - 0xa6c]
mov byte [ebp - 4], 6
push eax
call fcn.100306e0
add esp, 0x10
mov byte [ebp - 4], 0
lea esi, [ebx + 4]
push esi
call fcn.10031960
mov ecx, eax
call fcn.10031ae0
push eax
call fcn.10047270
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], 0x100395d0
mov dword [ebp - 0xa64], ebx
mov dword [ebp - 0xa60], 2
lea eax, [ebp - 0xa6c]
mov byte [ebp - 4], 7
push eax
call fcn.100306e0
mov esi, dword [esi]
lea ecx, [ebp - 0xa58]
add esp, 0xc
mov byte [ebp - 4], 0
call fcn.10047910
push esi
lea ecx, [ebp - 0xa58]
mov byte [ebp - 4], 8
call fcn.10047ef0
lea ecx, [ebp - 0xa58]
call fcn.10048200
lea ecx, [ebp - 0xa58]
mov byte [ebp - 4], 0
call fcn.10047a20
push str.remove_all_pending_files
call fcn.10035e50
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], 0x100395d0
mov dword [ebp - 0xa64], ebx
mov dword [ebp - 0xa60], 3
lea eax, [ebp - 0xa6c]
mov byte [ebp - 4], 9
push eax
call fcn.100306e0
push str..tmp
push dword [ebx + 4]
lea esi, [ebx + 4]
mov byte [ebp - 4], 0
call fcn.10005400
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], 0x100395d0
mov dword [ebp - 0xa64], ebx
mov dword [ebp - 0xa60], 4
lea eax, [ebp - 0xa6c]
mov byte [ebp - 4], 0xa
push eax
call fcn.100306e0
push dword [esi]
mov byte [ebp - 4], 0
push str.remove_all_.tmp_files_in__s
call fcn.10035e50
push str.update
lea eax, [ebp - 0xa60]
push esi
push eax
call fcn.1001f740
push dword [eax]
mov byte [ebp - 4], 0xb
call fcn.10004ab0
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 0x1003a58d
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.1001f740
push dword [eax]
mov byte [ebp - 4], 0xc
push str.Delete_directory_recursively:__s
call fcn.10035e50
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 0x1003a5d6
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], 0x100395d0
mov dword [ebp - 0xa64], ebx
mov dword [ebp - 0xa60], 5
lea eax, [ebp - 0xa6c]
mov byte [ebp - 4], 0xd
push eax
call fcn.100306e0
add esp, 4
mov byte [ebp - 4], 0
mov ecx, ebx
call fcn.10038070
and eax, 1
mov dword [ebp - 0xa60], eax
jne 0x1003a63b
push 0xf
push str.copy_file_fail
lea ecx, [ebp - 0xa70]
call fcn.10012f40
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], 0x100395d0
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa4c], 0x37
lea eax, [ebp - 0xa58]
mov byte [ebp - 4], 0xe
push eax
call fcn.100306e0
add esp, 4
mov byte [ebp - 4], 0
mov ecx, ebx
call fcn.100383d0
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], 0x100395d0
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa4c], 0x4b
lea eax, [ebp - 0xa58]
mov byte [ebp - 4], 0xf
push eax
call fcn.100306e0
push dword [ebx + 4]
mov byte [ebp - 4], 0
call fcn.10049890
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], 0x100395d0
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa4c], 0x56
lea eax, [ebp - 0xa58]
mov byte [ebp - 4], 0x10
push eax
call fcn.100306e0
add esp, 0xc
mov byte [ebp - 4], 0
call fcn.1001ad60
mov ecx, eax
call fcn.10017b90
test eax, eax
je 0x1003a722
call fcn.100318e0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x64]
mov dword [ebp - 0xa44], 1
test al, 1
jne 0x1003a72c
mov dword [ebp - 0xa44], 0
call fcn.1001ad60
mov ecx, eax
call fcn.10017d60
test eax, eax
je 0x1003a756
call fcn.100318e0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x64]
mov dword [ebp - 0xa48], 1
test al, 2
jne 0x1003a760
mov dword [ebp - 0xa48], 0
call fcn.1001ad60
mov ecx, eax
call fcn.10017e50
mov esi, eax
call fcn.1001ad60
mov ecx, eax
call fcn.10017f50
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.10004440
add esp, 4
lea ecx, [ebp - 0xa8c]
add eax, 0x10
mov dword [esi], eax
call fcn.10032f40
lea ecx, [ebp - 0xa8c]
mov byte [ebp - 4], 0x11
call fcn.100339e0
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], 0x100395d0
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa4c], 0x5a
lea eax, [ebp - 0xa58]
mov byte [ebp - 4], 0x12
push eax
call fcn.100306e0
add esp, 4
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xa8c]
call fcn.10033390
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], 0x100395d0
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa4c], 0x5c
lea eax, [ebp - 0xa58]
mov byte [ebp - 4], 0x13
push eax
call fcn.100306e0
push 0x208
lea eax, [ebp - 0xa40]
mov byte [ebp - 4], 0x11
push 0
push eax
call fcn.10092350
add esp, 0x10
lea eax, [ebp - 0xa40]
push str.SmartWriter.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.10015110
mov ecx, eax
test ecx, ecx
je 0x1003af62
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.10004300
test al, al
jne 0x1003a8d8
lea ecx, [ebp - 0xa40]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003a8b6
sub ecx, edx
lea eax, [ebp - 0xa40]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa44]
call fcn.100056f0
mov byte [ebp - 4], 0x15
call fcn.10015110
mov ecx, eax
test ecx, ecx
je 0x1003af6c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa48], eax
push 0x1011b5e8
lea ecx, [ebp - 0xa48]
mov byte [ebp - 4], 0x16
call fcn.10004300
test al, al
jne 0x1003a923
push 0xb
push 0x1011b5e8
lea ecx, [ebp - 0xa48]
call fcn.100056f0
mov esi, dword [ebp - 0xa48]
lea ecx, [ebp - 0xa71]
push esi
push dword [ebp - 0xa44]
mov byte [ebp - 4], 0x17
call fcn.10038b90
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 0x1003a95d
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 0x1003a97e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, ebx
call fcn.1003b190
test eax, eax
jne 0x1003a9a7
push 0x14
push str.write_path_reg_fail
lea ecx, [ebp - 0xa70]
mov dword [ebp - 0xa60], eax
call fcn.10012f40
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], 0x100395d0
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa4c], 0x5e
lea eax, [ebp - 0xa58]
mov byte [ebp - 4], 0x18
push eax
call fcn.100306e0
add esp, 4
mov byte [ebp - 4], 0x11
mov ecx, ebx
call fcn.1003b600
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 0x1003aa1e
push str.Ban_Check_Certificate_suc
jmp 0x1003aa23
push str.Ban_Check_Certificate_fail
call fcn.10035e50
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], 0x100395d0
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa4c], 0x60
lea eax, [ebp - 0xa58]
mov byte [ebp - 4], 0x19
push eax
call fcn.100306e0
mov byte [ebp - 4], 0x11
call fcn.1001ad60
mov eax, dword [eax + 0x40]
sub eax, 0x10
push eax
call fcn.10004440
add esp, 8
add eax, 0x10
mov dword [ebp - 0xa44], eax
mov ecx, str.__fromnewinstall
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1003aab3
test dx, dx
je 0x1003aaa7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1003aab3
add eax, 4
add ecx, 4
test dx, dx
jne 0x1003aa85
mov dword [ebp - 0xa48], 0
jmp 0x1003aabe
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 0x1003aadf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0xa48], 0
jne 0x1003abc2
call fcn.1001ad60
mov ecx, eax
call fcn.10018b80
test al, al
je 0x1003abc2
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.10092350
add esp, 0xc
lea eax, [ebp - 0x428]
push str.UtilsWriterAssistant.exe
push dword [ebx + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.run_helper
call fcn.10035e50
add esp, 4
lea eax, [ebp - 0x428]
push 0xffffffffffffffff
push 0
push 0
push 1
push 1
push 0x1011a620
push eax
call fcn.10044680
test eax, eax
je 0x1003abc2
push str.config.ini
lea eax, [ebx + 4]
push eax
lea eax, [ebp - 0xa48]
push eax
call fcn.1001f740
add esp, 0xc
push dword [ebp - 0xa48]
mov byte [ebp - 4], 0x1b
push 0x1011e3a8
push 0x10119374
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.10035e50
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 0x1003abc2
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], 0x100395d0
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa4c], 0x62
lea eax, [ebp - 0xa58]
mov byte [ebp - 4], 0x1c
push eax
call fcn.100306e0
push str.Create_Drivers
mov byte [ebp - 4], 0x11
call fcn.10035e50
push 0x210
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10092350
add esp, 0x14
call fcn.10015110
mov ecx, eax
test ecx, ecx
je 0x1003af76
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa44], eax
mov byte [ebp - 4], 0x1d
call fcn.10038fa0
test al, al
lea eax, [ebp - 0x220]
je 0x1003ac62
push str.UtilsSWriterSDrv_x64.sys
push dword [ebx + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 8
push str.Pdrv_x64
jmp 0x1003ac78
push str.UtilsSWriterSDrv.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.100056f0
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003acb1
push 1
lea eax, [ebp - 0x220]
push eax
push str.SWriteSDrvs
call fcn.10045c80
push str.SWriterSDrvs
call fcn.10045d20
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], 0x100395d0
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa4c], 0x63
lea eax, [ebp - 0xa58]
mov byte [ebp - 4], 0x1e
push eax
call fcn.100306e0
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 0x1003ad31
push dword [esi - 0xc]
lea ecx, [ebp - 0xa44]
call fcn.10004e80
mov esi, dword [ebp - 0xa44]
lea eax, [ebp - 0x428]
push eax
push str.SWriterSDrvs
push str.SWriter
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 0x1003ad67
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.1001ad60
mov eax, dword [eax + 0x40]
sub eax, 0x10
push eax
call fcn.10004440
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 0x1003adbe
test dx, dx
je 0x1003adb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1003adbe
add eax, 4
add ecx, 4
test dx, dx
jne 0x1003ad90
mov dword [ebp - 0xa48], 0
jmp 0x1003adc9
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 0x1003adea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0xa48], 0
jne 0x1003ae4f
push str.Call_SetArParm
call fcn.10035e50
push 0x210
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10092350
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 0x1003ae4f
push str.SetArParm
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1003ae4f
push 0
push 1
call eax
push str.install_end.
call fcn.10035e50
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], 0x100395a0
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.100306e0
push str.real_install_end.
mov byte [ebp - 4], 0x11
call fcn.10035e50
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 0x1003aec2
mov eax, dword [esi]
push esi
call dword [eax]
mov ecx, dword [ebx + 0x68]
mov byte [ebp - 4], 0x21
test ecx, ecx
je 0x1003aed3
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
push str.set_install_finish_event
call fcn.10035e50
add esp, 4
push dword [ebx + 0x94]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov byte [ebp - 4], 0x22
test esi, esi
je 0x1003aefa
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea ecx, [ebp - 0xa8c]
call fcn.100330d0
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1003af24
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.10063718
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.100042e0
push 0x80004005
call fcn.100042e0
push 0x80004005
call fcn.100042e0
push 0x80004005
call fcn.100042e0
push 0x80004005
call fcn.100042e0
push 0x80004005
call fcn.100042e0
int3