Function at 0x41815b
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 [0x481290]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0x481774
mov ecx, esi
call fcn.0041cf5a
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.0041e69f
push 1
push ebx
push 0x42eb7c
lea ecx, [ebp - 0x1c]
call fcn.0041f045
cmp eax, 0xffffffff
je 0x4181e1
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
dec ecx
inc eax
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041ec13
push 0x44
lea eax, [ebp - 0x94]
pop esi
push esi
push ebx
push eax
call fcn.004274e0
push 0x10
lea eax, [ebp - 0x50]
push ebx
push eax
mov dword [ebp - 0x94], esi
call fcn.004274e0
add esp, 0x18
lea ecx, [ebp - 0x10]
call fcn.0041e62f
mov ecx, 0x481774
call fcn.0041f593
push eax
lea eax, [ebp - 0x10]
push 0x42f068
push eax
call fcn.0041ecd1
add esp, 0xc
cmp byte [0x4823f4], bl
je 0x418241
push ebx
push str.__silent
lea ecx, [ebp - 0x10]
call fcn.0041e8b1
cmp byte [0x48244d], bl
je 0x418257
push ebx
push str.__revert
lea ecx, [ebp - 0x10]
call fcn.0041e8b1
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0041f593
push eax
push ebx
push 0x4000000
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041f593
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4182aa
cmp byte [0x4823f4], bl
jne 0x4183af
push ebx
push str.Failed_to_launch_installer.__CreateProcess_failed_
push ebx
mov ecx, 0x4810c0
call fcn.0041da57
jmp 0x4183af
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 [0x481798], ebx
jle 0x4182e9
push esi
mov ecx, 0x48178c
call fcn.0042168b
mov ecx, eax
call fcn.0041f593
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc esi
cmp esi, dword [0x481798]
jl 0x4182c7
mov edi, 0x481780
lea ecx, [ebp - 0x40]
push edi
call fcn.0041e703
push ebx
push str.installer
lea ecx, [ebp - 0x40]
call fcn.0041e8b1
lea ecx, [ebp - 0x40]
call fcn.0041f593
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push eax
call esi
push edi
lea ecx, [ebp - 0x28]
call fcn.0041e703
push ebx
push str._slideshow
lea ecx, [ebp - 0x28]
call fcn.0041e8b1
lea ecx, [ebp - 0x28]
call fcn.0041f593
push eax
call esi
push edi
lea ecx, [ebp - 0x34]
call fcn.0041e703
push ebx
push str.3rd_party
lea ecx, [ebp - 0x34]
call fcn.0041e8b1
lea ecx, [ebp - 0x34]
call fcn.0041f593
push eax
call esi
mov ecx, 0x481780
call fcn.0041f593
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 [0x48244d], bl
je 0x418395
cmp al, bl
sete bl
jmp 0x418397
mov bl, al
lea ecx, [ebp - 0x34]
call fcn.0041e765
lea ecx, [ebp - 0x28]
call fcn.0041e765
lea ecx, [ebp - 0x40]
call fcn.0041e765
lea ecx, [ebp - 0x10]
call fcn.0041e765
lea ecx, [ebp - 0x1c]
call fcn.0041e765
pop edi
mov al, bl
pop esi
pop ebx
leave
ret