Function at 0x40f1f0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fec9
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1760
call fcn.0042b5a0
mov eax, dword [0x46b054]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x176c], esi
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x1768]
mov dword [ebp - 0x1768], eax
push str.Preparing_to_execute_installer_from_temp_folder
mov dword [ebp - 0x1758], eax
mov dword [ebp - 0x1754], 0xf
mov byte [ebp - 0x1768], al
call fcn.00401ac1
lea eax, [ebp - 0x1768]
mov byte [ebp - 4], 1
push eax
push 2
mov ecx, esi
call fcn.004082f3
lea ecx, [ebp - 0x1768]
call fcn.00401a9b
push 0
lea ecx, [ebp - 0x1738]
call fcn.00403a2d
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1738]
mov byte [ebp - 0x1738], 0
call fcn.00403bdc
push 0x104
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 3
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x264]
call fcn.0040d199
lea eax, [ebp - 0x1750]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x264]
call fcn.00401f3e
push eax
lea edx, [ebp - 0x24c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x234]
call fcn.004034ae
pop ecx
lea ecx, [ebp - 0x1750]
mov byte [ebp - 4], 7
call fcn.004023b6
push 0x98
lea eax, [ebp - 0x394]
push 0
push eax
call fcn.0042c200
pop ecx
pop ecx
lea ecx, [ebp - 0x394]
call fcn.004095eb
mov edx, str.Copying_uninstaller_from
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x394]
call fcn.004128a0
lea edx, [ebp - 0x264]
mov ecx, eax
call fcn.00412adf
mov edx, str._to_temp_folder...
mov ecx, eax
call fcn.004128a0
lea edx, [ebp - 0x234]
mov ecx, eax
call fcn.00412adf
lea eax, [ebp - 0x1750]
push eax
lea ecx, [ebp - 0x390]
call fcn.00405424
lea eax, [ebp - 0x1750]
mov byte [ebp - 4], 9
push eax
push 2
mov ecx, esi
call fcn.0040836a
lea ecx, [ebp - 0x1750]
mov byte [ebp - 4], 8
call fcn.004023b6
push 2
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x264]
call fcn.0040e5f0
xor eax, eax
mov dword [ebp - 0x1754], 0xf
pop ecx
mov dword [ebp - 0x1768], eax
lea ecx, [ebp - 0x1768]
push str.Marking_temp_folder_to_be_deleted_after_reboot
mov dword [ebp - 0x1758], eax
mov byte [ebp - 0x1768], al
call fcn.00401ac1
lea eax, [ebp - 0x1768]
mov byte [ebp - 4], 0xa
push eax
push 2
mov ecx, esi
call fcn.004082f3
lea ecx, [ebp - 0x1768]
mov byte [ebp - 4], 8
call fcn.00401a9b
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push 4
cmovae eax, dword [ebp - 0x234]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
push 4
cmovae eax, dword [ebp - 0x24c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0x98
lea eax, [ebp - 0x2fc]
push 0
push eax
call fcn.0042c200
pop ecx
pop ecx
lea ecx, [ebp - 0x2fc]
call fcn.004095eb
mov edx, str.Starting_Bootstrapper_from_temp_folder:
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2fc]
call fcn.00406430
lea edx, [ebp - 0x234]
mov ecx, eax
call fcn.00412adf
mov edx, str._with_parameters:
mov ecx, eax
call fcn.00406430
push dword [edi + 4]
mov edx, dword [edi]
mov ecx, eax
call fcn.0040bfa0
pop ecx
lea eax, [ebp - 0x1750]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00405424
lea eax, [ebp - 0x1750]
mov byte [ebp - 4], 0xc
push eax
push 2
mov ecx, esi
call fcn.0040836a
lea ecx, [ebp - 0x1750]
mov byte [ebp - 4], 0xb
call fcn.004023b6
push dword [edi + 4]
lea ecx, [ebp - 0x234]
push dword [edi]
call fcn.0040c193
pop ecx
pop ecx
lea ecx, [ebp - 0x2fc]
call fcn.00407d10
lea ecx, [ebp - 0x394]
call fcn.00407d10
lea ecx, [ebp - 0x234]
call fcn.004023b6
lea ecx, [ebp - 0x264]
call fcn.004023b6
lea ecx, [ebp - 0x24c]
call fcn.004023b6
lea ecx, [ebp - 0x1738]
call fcn.00403b53
xor eax, eax
jmp 0x40f588
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042a3dc
leave
ret