Function at 0x4129aa
Capabilities:
Copy file
Get common file path

Disassembly:
push 0x108
mov eax, 0x4703c8
call fcn.0045d4e7
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x54], eax
lea eax, [edi + 0xc4]
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x48], edi
call fcn.00405a5a
and dword [ebp - 4], 0
lea eax, [ebp - 0x4c]
push str.InstStub.exe
push eax
call fcn.0042e4ce
pop ecx
pop ecx
test al, al
je 0x412ee7
push 0x497a28
lea ecx, [ebp - 0x44]
call fcn.004037fc
lea ecx, [ebp - 0x78]
call fcn.0042a635
mov esi, 0x104
push esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00403a70
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push eax
push esi
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x3c], eax
call fcn.0040a796
cmp dword [ebp - 0x3c], esi
jbe 0x412a52
inc dword [ebp - 0x3c]
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x44]
call fcn.00403a70
push eax
push dword [ebp - 0x3c]
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x44]
call fcn.0040a796
jmp 0x412a6b
cmp dword [ebp - 0x3c], 0
jne 0x412a6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CInstallManager::SetupAndLaunchRemovalProcess_2806__:_GetTempPath_failed___lu_
call fcn.00416f04
pop ecx
pop ecx
mov dword [ebp - 4], 2
jmp 0x412b5f
lea ecx, [ebp - 0x78]
call fcn.0042a5f3
test al, al
jne 0x412ed4
push 0
call fcn.0045bb03
pop ecx
push eax
call fcn.0045c176
pop ecx
call fcn.0045c188
mov ebx, 0x497a28
push ebx
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.004037fc
mov eax, dword [edi + 0xd0]
mov ecx, dword [edi + 0xd8]
push esi
push eax
push ecx
push str._s__s__d.exe
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
call fcn.0042e630
add esp, 0x18
test al, al
jne 0x412bec
xor bl, bl
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.00403af7
lea ecx, [ebp - 0x78]
call fcn.0042a615
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00403af7
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.00403af7
mov al, bl
jmp 0x412ef4
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x412c92
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push dword [ebp - 0x40]
push dword [ebp - 0x4c]
push str.CInstallManager::SetupAndLaunchRemovalProcess_2832__:_CopyFile_failed___s_____s_:__lu
call fcn.00416f04
add esp, 0x10
cmp dword [edi + 0x1c0], 0x47c01
jne 0x412c38
cmp esi, 2
je 0x412c34
cmp esi, 0x20
jne 0x412c38
mov bl, 1
jmp 0x412bbc
push ebx
lea ecx, [ebp - 0x3c]
call fcn.004037fc
push dword [edi + 0xd8]
lea eax, [ebp - 0x3c]
push str._s_CleanUp
push eax
call fcn.0042dc91
add esp, 0xc
test al, al
jne 0x412c69
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00403af7
jmp 0x412c34
lea eax, [ebp - 0x3c]
push eax
add edi, 0xc0
push edi
mov esi, 0x498ad4
call fcn.004068ec
test eax, eax
je 0x412c5c
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00403af7
jmp 0x412bba
lea esi, [ebp - 0xcc]
call fcn.00403b29
push 1
push dword [ebp - 0x40]
mov eax, esi
call fcn.00403bf8
test al, al
jne 0x412cc8
push str.CInstallManager::SetupAndLaunchRemovalProcess_2862__:_failed_to_initialize_data_extender
call fcn.00416f04
pop ecx
lea ecx, [ebp - 0xcc]
call fcn.00403b7f
jmp 0x412bba
call fcn.0042edd6
test eax, eax
je 0x412cd6
lea esi, [eax + 8]
jmp 0x412cd8
xor esi, esi
test esi, esi
jne 0x412ce3
push str.CInstallManager::SetupAndLaunchRemovalProcess_2871__:_out_of_memory
jmp 0x412cb2
lea eax, [edi + 0xe0]
push eax
mov ecx, esi
call fcn.00404441
test al, al
je 0x412d10
push esi
lea eax, [ebp - 0xcc]
call fcn.00404311
test al, al
jne 0x412d10
push str.CInstallManager::SetupAndLaunchRemovalProcess_2879__:_collection_import_failed
call fcn.00416f04
pop ecx
push 1
push 0x5014
lea eax, [ebp - 0xcc]
call fcn.00404360
push dword [ebp - 0x54]
push str.set_DeleteMode_for:__s
call fcn.00416edc
pop ecx
pop ecx
push dword [ebp - 0x54]
lea eax, [ebp - 0xcc]
push 0x5015
call fcn.0040439e
push ebx
lea ecx, [ebp - 0x48]
call fcn.004037fc
lea ecx, [ebp - 0x48]
call fcn.0040f920
test al, al
je 0x412d7d
push dword [ebp - 0x48]
push str.set_deletemode_for_empty_folders:__s
call fcn.00416edc
lea eax, [ebp - 0x48]
push eax
push 0x5024
push dword [ebp - 0xa8]
call fcn.0043020c
add esp, 0x14
lea ecx, [ebp - 0xcc]
call fcn.00403def
test al, al
jne 0x412dae
push str.CInstallManager::SetupAndLaunchRemovalProcess_2898__:_failed_to_save_data_extender
call fcn.00416f04
pop ecx
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.00403af7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
jmp 0x412cb8
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.00403af7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
lea ecx, [ebp - 0xcc]
call fcn.00403b7f
lea esi, [ebp - 0x114]
call fcn.00403b29
push 0
push dword [ebp - 0x40]
mov eax, esi
call fcn.00403bf8
test al, al
jne 0x412df8
push str.CInstallManager::SetupAndLaunchRemovalProcess_2908__:_failed_to_initialize_data_extender__validation_
call fcn.00416f04
pop ecx
mov ecx, esi
jmp 0x412cbe
push 0x5014
lea eax, [ebp - 0x114]
call fcn.00404425
test al, al
je 0x412eb3
push 0x5015
lea eax, [ebp - 0x114]
call fcn.00404425
test al, al
je 0x412eb3
lea ecx, [ebp - 0x114]
call fcn.00403b7f
push ebx
lea ecx, [ebp - 0x50]
call fcn.004037fc
push dword [edi + 0xc8]
lea eax, [ebp - 0x50]
push str.LOGDIR
push str.DELETEMODE
push str.__s___s___s_
push eax
call fcn.0042dc91
add esp, 0x14
test al, al
jne 0x412e69
mov ecx, dword [ebp - 0x50]
jmp 0x412c85
push dword [ebp - 0x50]
mov edx, dword [ebp - 0x40]
xor ecx, ecx
call fcn.004073ea
pop ecx
test eax, eax
jl 0x412e61
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
call fcn.00403af7
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.00403af7
lea ecx, [ebp - 0x78]
call fcn.0042a615
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00403af7
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.00403af7
mov al, 1
jmp 0x412ef4
push str.CInstallManager::SetupAndLaunchRemovalProcess_2915__:_failed_to_find_data__validation_
call fcn.00416f04
pop ecx
lea ecx, [ebp - 0x114]
call fcn.00403b7f
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.00403af7
lea ecx, [ebp - 0x78]
call fcn.0042a615
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00403af7
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.00403af7
xor al, al
call fcn.0045d543
ret 4