Function at 0x4167a7
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 [0x47f1e8]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0x47f68c
mov ecx, esi
call fcn.0041b21e
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.0041c81b
push 1
push ebx
push 0x42cc6c
lea ecx, [ebp - 0x1c]
call fcn.0041d1c1
cmp eax, 0xffffffff
je 0x41682d
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
dec ecx
inc eax
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041cd8f
push 0x44
lea eax, [ebp - 0x94]
pop esi
push esi
push ebx
push eax
call fcn.00425010
push 0x10
lea eax, [ebp - 0x50]
push ebx
push eax
mov dword [ebp - 0x94], esi
call fcn.00425010
add esp, 0x18
lea ecx, [ebp - 0x10]
call fcn.0041c7ab
mov ecx, 0x47f68c
call fcn.0041d704
push eax
lea eax, [ebp - 0x10]
push 0x42d1f0
push eax
call fcn.0041ce4d
add esp, 0xc
cmp byte [0x4802ec], bl
je 0x41688d
push ebx
push str.__silent
lea ecx, [ebp - 0x10]
call fcn.0041ca2d
cmp byte [0x480335], bl
je 0x4168a3
push ebx
push str.__revert
lea ecx, [ebp - 0x10]
call fcn.0041ca2d
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0041d704
push eax
push ebx
push 0x4000000
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041d704
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4168f6
cmp byte [0x4802ec], bl
jne 0x4169fb
push ebx
push str.Failed_to_launch_installer.__CreateProcess_failed_
push ebx
mov ecx, 0x47f028
call fcn.0041bc87
jmp 0x4169fb
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 [0x47f6b0], ebx
jle 0x416935
push esi
mov ecx, 0x47f6a4
call fcn.0041f2e9
mov ecx, eax
call fcn.0041d704
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc esi
cmp esi, dword [0x47f6b0]
jl 0x416913
mov edi, 0x47f698
lea ecx, [ebp - 0x40]
push edi
call fcn.0041c87f
push ebx
push str.installer
lea ecx, [ebp - 0x40]
call fcn.0041ca2d
lea ecx, [ebp - 0x40]
call fcn.0041d704
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push eax
call esi
push edi
lea ecx, [ebp - 0x28]
call fcn.0041c87f
push ebx
push str._slideshow
lea ecx, [ebp - 0x28]
call fcn.0041ca2d
lea ecx, [ebp - 0x28]
call fcn.0041d704
push eax
call esi
push edi
lea ecx, [ebp - 0x34]
call fcn.0041c87f
push ebx
push str.3rd_party
lea ecx, [ebp - 0x34]
call fcn.0041ca2d
lea ecx, [ebp - 0x34]
call fcn.0041d704
push eax
call esi
mov ecx, 0x47f698
call fcn.0041d704
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 [0x480335], bl
je 0x4169e1
cmp al, bl
sete bl
jmp 0x4169e3
mov bl, al
lea ecx, [ebp - 0x34]
call fcn.0041c8e1
lea ecx, [ebp - 0x28]
call fcn.0041c8e1
lea ecx, [ebp - 0x40]
call fcn.0041c8e1
lea ecx, [ebp - 0x10]
call fcn.0041c8e1
lea ecx, [ebp - 0x1c]
call fcn.0041c8e1
pop edi
mov al, bl
pop esi
pop ebx
leave
ret