Function at 0x40da50
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d309
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1760
call fcn.0042a040
mov eax, dword [0x467054]
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.00402cc4
lea eax, [ebp - 0x1768]
mov byte [ebp - 4], 1
push eax
push 2
mov ecx, esi
call fcn.00409407
lea ecx, [ebp - 0x1768]
call fcn.00402c63
push 0
lea ecx, [ebp - 0x1738]
call fcn.004043b9
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1738]
mov byte [ebp - 0x1738], 0
call fcn.00404568
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.00402ec9
lea eax, [ebp - 0x1750]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x264]
call fcn.004013ae
push eax
lea edx, [ebp - 0x24c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x234]
call fcn.00402467
pop ecx
lea ecx, [ebp - 0x1750]
mov byte [ebp - 4], 7
call fcn.00401826
push 0x98
lea eax, [ebp - 0x394]
push 0
push eax
call fcn.0042aca0
pop ecx
pop ecx
lea ecx, [ebp - 0x394]
call fcn.00408115
mov edx, str.Copying_uninstaller_from
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x394]
call fcn.0040c640
lea edx, [ebp - 0x264]
mov ecx, eax
call fcn.00410bec
mov edx, str._to_temp_folder...
mov ecx, eax
call fcn.0040c640
lea edx, [ebp - 0x234]
mov ecx, eax
call fcn.00410bec
lea eax, [ebp - 0x1750]
push eax
lea ecx, [ebp - 0x390]
call fcn.00405d54
lea eax, [ebp - 0x1750]
mov byte [ebp - 4], 9
push eax
push 2
mov ecx, esi
call fcn.0040947e
lea ecx, [ebp - 0x1750]
mov byte [ebp - 4], 8
call fcn.00401826
push 2
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x264]
call fcn.0040d9e9
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.00402cc4
lea eax, [ebp - 0x1768]
mov byte [ebp - 4], 0xa
push eax
push 2
mov ecx, esi
call fcn.00409407
lea ecx, [ebp - 0x1768]
mov byte [ebp - 4], 8
call fcn.00402c63
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.0042aca0
pop ecx
pop ecx
lea ecx, [ebp - 0x2fc]
call fcn.00408115
mov edx, str.Starting_Bootstrapper_from_temp_folder:
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2fc]
call fcn.00406c80
lea edx, [ebp - 0x234]
mov ecx, eax
call fcn.00410bec
mov edx, str._with_parameters:
mov ecx, eax
call fcn.00406c80
push dword [edi + 4]
mov edx, dword [edi]
mov ecx, eax
call fcn.004083f0
pop ecx
lea eax, [ebp - 0x1750]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00405d54
lea eax, [ebp - 0x1750]
mov byte [ebp - 4], 0xc
push eax
push 2
mov ecx, esi
call fcn.0040947e
lea ecx, [ebp - 0x1750]
mov byte [ebp - 4], 0xb
call fcn.00401826
push dword [edi + 4]
lea ecx, [ebp - 0x234]
push dword [edi]
call fcn.004116e5
pop ecx
pop ecx
lea ecx, [ebp - 0x2fc]
call fcn.00408081
lea ecx, [ebp - 0x394]
call fcn.00408081
lea ecx, [ebp - 0x234]
call fcn.00401826
lea ecx, [ebp - 0x264]
call fcn.00401826
lea ecx, [ebp - 0x24c]
call fcn.00401826
lea ecx, [ebp - 0x1738]
call fcn.004044df
xor eax, eax
jmp 0x40dde8
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.00428e7c
leave
ret