Function at 0x10041910
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010fbea
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x1015a4dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x488], esi
call fcn.100103c0
mov ecx, eax
test ecx, ecx
je 0x100424f8
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x484], edi
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 - 0x450], 0x1003fbc0
mov dword [ebp - 0x44c], esi
lea eax, [ebp - 0x454]
mov byte [ebp - 4], 1
push eax
call fcn.100332c0
add esp, 4
mov byte [ebp - 4], 0
call fcn.10037460
mov esi, eax
call fcn.100375b0
mov ecx, eax
call fcn.10037800
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.10039ea0
mov esi, dword [ebp - 0x488]
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 - 0x454], 0x1003fbd0
mov dword [ebp - 0x450], esi
mov dword [ebp - 0x44c], 0
lea eax, [ebp - 0x458]
mov byte [ebp - 4], 2
push eax
call fcn.100332c0
add esp, 0x10
mov byte [ebp - 4], 0
lea eax, [esi + 4]
mov dword [ebp - 0x448], eax
push eax
call fcn.100375b0
mov ecx, eax
call fcn.10037810
push eax
call fcn.1004c520
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 - 0x454], 0x1003fbd0
mov dword [ebp - 0x450], esi
mov dword [ebp - 0x44c], 2
lea eax, [ebp - 0x458]
mov byte [ebp - 4], 3
push eax
call fcn.100332c0
mov esi, dword [esi + 4]
lea ecx, [ebp - 0x46c]
add esp, 0xc
mov byte [ebp - 4], 0
call fcn.1004cc30
push esi
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 4
call fcn.1004d210
lea ecx, [ebp - 0x46c]
call fcn.1004d520
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 0
call fcn.1004cd40
push str.remove_all_pending_files
call fcn.10039ea0
mov esi, dword [ebp - 0x488]
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 - 0x454], 0x1003fbd0
mov dword [ebp - 0x450], esi
mov dword [ebp - 0x44c], 3
lea eax, [ebp - 0x458]
mov byte [ebp - 4], 5
push eax
call fcn.100332c0
push str..tmp
push dword [esi + 4]
mov byte [ebp - 4], 0
call fcn.10005520
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 - 0x454], 0x1003fbd0
mov dword [ebp - 0x450], esi
mov dword [ebp - 0x44c], 4
lea eax, [ebp - 0x458]
mov byte [ebp - 4], 6
push eax
call fcn.100332c0
push dword [esi + 4]
mov byte [ebp - 4], 0
push str.remove_all_.tmp_files_in__s
call fcn.10039ea0
push str.update
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.10022aa0
push dword [eax]
mov byte [ebp - 4], 7
call fcn.10004bf0
mov edx, dword [ebp - 0x44c]
add esp, 0x2c
mov byte [ebp - 4], 0
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10041b72
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.update
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.10022aa0
push dword [eax]
mov byte [ebp - 4], 8
push str.Delete_directory_recursively:__s
call fcn.10039ea0
mov edx, dword [ebp - 0x44c]
add esp, 0x14
mov byte [ebp - 4], 0
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10041bbc
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 - 0x454], 0x1003fbd0
mov dword [ebp - 0x450], esi
mov dword [ebp - 0x44c], 5
lea eax, [ebp - 0x458]
mov byte [ebp - 4], 9
push eax
call fcn.100332c0
push str.enter_CopyAllFiles
mov byte [ebp - 4], 0
call fcn.10039ea0
add esp, 8
mov ecx, esi
call fcn.1003d320
and eax, 1
mov dword [ebp - 0x44c], eax
jne 0x10041c2b
push 0xf
push str.copy_file_fail
lea ecx, [ebp - 0x484]
call fcn.1000e9b0
mov edi, dword [ebp - 0x484]
push str.exit_CopyAllFiles
call fcn.10039ea0
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 - 0x468], 0x1003fbd0
mov dword [ebp - 0x464], esi
mov dword [ebp - 0x460], 0x5b
lea eax, [ebp - 0x46c]
mov byte [ebp - 4], 0xa
push eax
call fcn.100332c0
push str.start_call_program
mov byte [ebp - 4], 0
call fcn.10039ea0
mov eax, dword [esi + 4]
add esp, 0xc
push dword [eax - 0xc]
push eax
call fcn.100375b0
mov ecx, eax
call fcn.10037810
mov ecx, eax
call fcn.10043ad0
mov eax, dword [esi + 4]
push dword [eax - 0xc]
push eax
call fcn.100375b0
mov ecx, eax
call fcn.10037810
mov ecx, eax
call fcn.100444e0
push dword [esi + 4]
call fcn.1004e560
add esp, 4
mov ecx, esi
call fcn.100426f0
test eax, eax
jne 0x10041ce2
push 0x14
push str.write_path_reg_fail
lea ecx, [ebp - 0x484]
mov dword [ebp - 0x44c], eax
call fcn.1000e9b0
mov edi, dword [ebp - 0x484]
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 - 0x468], 0x1003fbd0
mov dword [ebp - 0x464], esi
mov dword [ebp - 0x460], 0x5d
lea eax, [ebp - 0x46c]
mov byte [ebp - 4], 0xb
push eax
call fcn.100332c0
add esp, 4
mov byte [ebp - 4], 0
call fcn.10037460
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x70]
call eax
test al, 1
je 0x10041d49
call fcn.10023f20
mov ecx, eax
call fcn.1001baf0
mov dword [ebp - 0x444], 1
test eax, eax
je 0x10041d53
mov dword [ebp - 0x444], 0
call fcn.10037460
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x70]
call eax
test al, 2
je 0x10041d7a
call fcn.10023f20
mov ecx, eax
call fcn.1001bc00
test eax, eax
jne 0x10041d7a
lea esi, [eax + 1]
jmp 0x10041d7c
xor esi, esi
call fcn.10023f20
mov ecx, eax
call fcn.1001bd00
neg eax
push 0
sbb eax, eax
inc eax
push eax
push esi
push dword [ebp - 0x444]
push ecx
mov esi, esp
mov dword [ebp - 0x45c], esi
mov eax, dword [ebp - 0x448]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10004580
add esp, 4
lea ecx, [ebp - 0x440]
add eax, 0x10
mov dword [esi], eax
call fcn.1004e940
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0xc
call fcn.1004ebc0
lea ecx, [ebp - 0x440]
call fcn.1004f690
mov esi, dword [ebp - 0x488]
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 - 0x468], 0x1003fbd0
mov dword [ebp - 0x464], esi
mov dword [ebp - 0x460], 0x5f
lea eax, [ebp - 0x46c]
mov byte [ebp - 4], 0xd
push eax
call fcn.100332c0
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x480]
add esp, 4
mov dword [ebp - 0x448], eax
xorps xmm0, xmm0
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x480], 0
push ecx
push 0
lea ecx, [ebp - 0x48c]
push ecx
push 0
push 0
push 4
push 1
push eax
movups xmmword [ebp - 0x47c], xmm0
movups xmmword [ebp - 0x46c], xmm0
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
lea eax, [ebp - 0x444]
mov dword [ebp - 0x478], 2
push eax
push dword [ebp - 0x48c]
lea eax, [ebp - 0x47c]
mov dword [ebp - 0x474], 3
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x468], 1
push 1
movlpd qword [ebp - 0x470], xmm0
mov dword [ebp - 0x464], 5
mov dword [ebp - 0x460], str.Users
mov dword [ebp - 0x47c], 0x10000000
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov edx, eax
mov dword [ebp - 0x45c], edx
test edx, edx
jne 0x10041f00
push eax
push dword [ebp - 0x444]
push eax
push eax
push 4
push 1
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov dword [ebp - 0x45c], eax
mov ecx, dword [ebp - 0x480]
mov eax, dword [sym.imp.KERNEL32.dll_LocalFree]
test ecx, ecx
je 0x10041f17
push ecx
call eax
mov eax, dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x444]
test ecx, ecx
je 0x10041f24
push ecx
call eax
cmp dword [ebp - 0x45c], 0
je 0x10041ffd
push 0x44
push 0
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x48c], 0x44
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x480], eax
test eax, eax
je 0x10041ffd
lea ecx, [ebp - 0x48c]
push ecx
push eax
push 0
push 0x54
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x10041ff1
mov eax, dword [ebp - 0x480]
xorps xmm0, xmm0
mov dword [ebp - 0x460], eax
lea eax, [ebp - 0x45c]
push eax
push 0
lea eax, [ebp - 0x47c]
movlpd qword [ebp - 0x470], xmm0
push eax
push 1
mov dword [ebp - 0x47c], 0x10000000
mov dword [ebp - 0x478], 2
mov dword [ebp - 0x474], 3
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 5
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x10041ff1
push eax
push dword [ebp - 0x45c]
push eax
push eax
push 4
push 1
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_LocalFree]
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 - 0x468], 0x1003fbd0
mov dword [ebp - 0x464], esi
mov dword [ebp - 0x460], 0x61
lea eax, [ebp - 0x46c]
mov byte [ebp - 4], 0xe
push eax
call fcn.100332c0
push str.Create_Drivers
mov byte [ebp - 4], 0xc
call fcn.10039ea0
push 0x210
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10094be0
add esp, 0x14
call fcn.100103c0
mov ecx, eax
test ecx, ecx
je 0x10042502
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x444], eax
mov byte [ebp - 4], 0xf
call fcn.1003f370
test al, al
lea eax, [ebp - 0x220]
je 0x1004209f
push str.UtilsStoreDrv_x64.sys
push dword [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 8
push str.Pdrv_x64
jmp 0x100420b5
push str.UtilsStoreDrv.sys
push dword [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 8
push str.Pdrv_x86
lea ecx, [ebp - 0x444]
call fcn.100059b0
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100420ee
push 1
lea eax, [ebp - 0x220]
push eax
push str.StoreDrvsfert
call fcn.1004af30
push str.StoreDrvsfert
call fcn.1004afd0
mov edx, dword [ebp - 0x444]
or eax, 0xffffffff
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10042110
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esi + 0x94]
push eax
lea ecx, [ebp - 0x448]
call fcn.10004110
mov byte [ebp - 4], 0x10
call fcn.100103c0
mov ecx, eax
test ecx, ecx
je 0x1004250c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x444], eax
push 0x1011d798
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x11
call fcn.10004440
test al, al
jne 0x1004216f
push 5
push 0x1011d798
lea ecx, [ebp - 0x444]
call fcn.100059b0
mov esi, dword [ebp - 0x444]
lea ecx, [ebp - 0x48d]
push esi
push dword [ebp - 0x448]
mov byte [ebp - 4], 0x12
call fcn.1003ef60
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0x10
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100421a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x448]
mov eax, esi
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100421ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x488]
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 - 0x468], 0x1003fbd0
mov dword [ebp - 0x464], esi
mov dword [ebp - 0x460], 0x63
lea eax, [ebp - 0x46c]
mov byte [ebp - 4], 0x13
push eax
call fcn.100332c0
add esp, 4
mov byte [ebp - 4], 0xc
call fcn.10023f20
mov ecx, eax
call fcn.100198d0
test eax, eax
je 0x1004226e
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10094be0
add esp, 0xc
lea eax, [ebp - 0x218]
push str.UtilsStoreHelper.exe
push dword [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.run_helper
call fcn.10039ea0
add esp, 4
lea eax, [ebp - 0x218]
push 0xffffffffffffffff
push 0
push 0
push 1
push 1
push 0x1011b2a4
push eax
call fcn.10034700
call fcn.10023f20
mov ecx, eax
call fcn.1001bae0
test eax, eax
jne 0x100422c2
push str.remove_unist
call fcn.10039ea0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10094be0
add esp, 0x10
lea eax, [ebp - 0x218]
push str.uninst.exe
push dword [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call fcn.10005ae0
add esp, 4
push str.install_end.
call fcn.10039ea0
mov eax, dword [ebp - 0x44c]
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 - 0x46c], 0x1003fba0
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], edi
lea eax, [ebp - 0x470]
mov byte [ebp - 4], 0x14
push eax
call fcn.100332c0
push str.real_install_end.
mov byte [ebp - 4], 0xc
call fcn.10039ea0
lea ecx, [esi + 0x78]
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
add esp, 0xc
mov dword [ebp - 0x44c], ecx
test ecx, ecx
je 0x10042335
mov eax, dword [ecx]
push ecx
call dword [eax]
mov ecx, dword [esi + 0x68]
mov byte [ebp - 4], 0x15
test ecx, ecx
je 0x10042346
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
push str.set_install_finish_event
call fcn.10039ea0
add esp, 4
push dword [esi + 0x2a0]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 0x16
test ecx, ecx
je 0x10042370
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov byte [ebp - 4], 0xc
call fcn.100103c0
mov ecx, eax
test ecx, ecx
je 0x10042516
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x44c], esi
mov byte [ebp - 4], 0x17
call fcn.10023f20
mov ecx, eax
call fcn.10019b90
push eax
push 0x1011ccc8
call fcn.10022930
add esp, 8
test al, al
je 0x10042407
call fcn.10023f20
mov ecx, eax
call fcn.100198c0
mov dword [ebp - 0x448], eax
call fcn.10023f20
mov ecx, eax
call fcn.100198b0
mov esi, eax
call fcn.10023f20
mov ecx, eax
call fcn.10019b90
mov ecx, dword [ebp - 0x448]
push dword [ecx]
push dword [esi]
push dword [eax]
lea eax, [ebp - 0x44c]
push str.ex1_sex2_sval1_s
push eax
call fcn.1000f890
mov esi, dword [ebp - 0x44c]
add esp, 0x14
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x448], esp
mov dword [eax + 0x24], 0
mov ecx, dword [0x10161a04]
mov byte [ebp - 4], 0x18
test ecx, ecx
jne 0x10042483
push 0x101580ec
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10161a04], 0
jne 0x10042472
push 0x20
call fcn.10032d00
add esp, 4
mov dword [ebp - 0x45c], eax
mov byte [ebp - 4], 0x19
test eax, eax
je 0x1004245c
mov ecx, eax
call fcn.10009b00
jmp 0x1004245e
xor eax, eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x448]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x10161a04], eax
push 0x101580ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10161a04]
push 1
push esi
push str.succ
mov byte [ebp - 4], 0x17
call fcn.1000a980
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0xc
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100424b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x440]
call fcn.1004eac0
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x100424d9
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067b98
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10004420
push 0x80004005
call fcn.10004420
push 0x80004005
call fcn.10004420
push 0x80004005
call fcn.10004420
int3