Function at 0x417d52
Capabilities:
Create process on windows
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
push ebx
push esi
push edi
mov esi, ecx
push dword [0x481240]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0x481720
mov ecx, esi
call fcn.0041cafa
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x197]
mov byte [ebp - 0x198], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x198]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x198]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0041e237
push 1
push ebx
push 0x42eb7c
lea ecx, [ebp - 0x1c]
call fcn.0041ebdd
cmp eax, 0xffffffff
je 0x417dd8
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
dec ecx
inc eax
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041e7ab
push 0x44
lea eax, [ebp - 0x94]
pop esi
push esi
push ebx
push eax
call fcn.00426f90
push 0x10
lea eax, [ebp - 0x50]
push ebx
push eax
mov dword [ebp - 0x94], esi
call fcn.00426f90
add esp, 0x18
lea ecx, [ebp - 0x10]
call fcn.0041e1c7
mov ecx, 0x481720
call fcn.0041f120
push eax
lea eax, [ebp - 0x10]
push 0x42f060
push eax
call fcn.0041e869
add esp, 0xc
cmp byte [0x48239c], bl
je 0x417e38
push ebx
push str.__silent
lea ecx, [ebp - 0x10]
call fcn.0041e449
cmp byte [0x4823ed], bl
je 0x417e4e
push ebx
push str.__revert
lea ecx, [ebp - 0x10]
call fcn.0041e449
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0041f120
push eax
push ebx
push 0x4000000
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041f120
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x417ea1
cmp byte [0x48239c], bl
jne 0x417fa6
push ebx
push str.Failed_to_launch_installer.__CreateProcess_failed_
push ebx
mov ecx, 0x481080
call fcn.0041d5f5
jmp 0x417fa6
push 0xffffffffffffffff
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
cmp dword [0x481744], ebx
jle 0x417ee0
push esi
mov ecx, 0x481738
call fcn.004211d1
mov ecx, eax
call fcn.0041f120
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc esi
cmp esi, dword [0x481744]
jl 0x417ebe
mov edi, 0x48172c
lea ecx, [ebp - 0x40]
push edi
call fcn.0041e29b
push ebx
push str.installer
lea ecx, [ebp - 0x40]
call fcn.0041e449
lea ecx, [ebp - 0x40]
call fcn.0041f120
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push eax
call esi
push edi
lea ecx, [ebp - 0x28]
call fcn.0041e29b
push ebx
push str._slideshow
lea ecx, [ebp - 0x28]
call fcn.0041e449
lea ecx, [ebp - 0x28]
call fcn.0041f120
push eax
call esi
push edi
lea ecx, [ebp - 0x34]
call fcn.0041e29b
push ebx
push str.3rd_party
lea ecx, [ebp - 0x34]
call fcn.0041e449
lea ecx, [ebp - 0x34]
call fcn.0041f120
push eax
call esi
mov ecx, 0x48172c
call fcn.0041f120
push eax
call esi
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], ebx
setne al
cmp byte [0x4823ed], bl
je 0x417f8c
cmp al, bl
sete bl
jmp 0x417f8e
mov bl, al
lea ecx, [ebp - 0x34]
call fcn.0041e2fd
lea ecx, [ebp - 0x28]
call fcn.0041e2fd
lea ecx, [ebp - 0x40]
call fcn.0041e2fd
lea ecx, [ebp - 0x10]
call fcn.0041e2fd
lea ecx, [ebp - 0x1c]
call fcn.0041e2fd
pop edi
mov al, bl
pop esi
pop ebx
leave
ret