Function at 0x1400012c0
Capabilities:
Create process on windows
Delete file

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x188
mov edx, dword [rsp + 0x198]
mov ecx, dword [rsp + 0x190]
call fcn.140001e80
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
jne 0x140001306
lea rcx, str.ERROR:_No_download_data_found__n
call fcn.140003770
jmp 0x1400018ba
mov edx, dword [rsp + 0x198]
mov ecx, dword [rsp + 0x190]
call fcn.140001e00
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
jne 0x14000133d
lea rcx, str.ERROR:_No_file_name_info_found__n
call fcn.140003770
jmp 0x1400018ba
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 8]
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
jne 0x14000136d
lea rcx, str.ERROR:_No_download_URL_found__n
call fcn.140003770
jmp 0x1400018ba
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 8]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
jne 0x14000139d
lea rcx, str.ERROR:_No_local_file_name_found__n
call fcn.140003770
jmp 0x1400018ba
mov rcx, qword [rsp + 0xd0]
call fcn.1400037d0
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0xa0]
call fcn.1400037d0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x68], 0
je 0x1400013d1
cmp qword [rsp + 0x58], 0
jne 0x140001410
lea rcx, str.ERROR:_Failed_to_allocate_w_char_buffer__n
call fcn.140003770
cmp qword [rsp + 0x68], 0
je 0x1400013f4
mov rcx, qword [rsp + 0x68]
call fcn.1400035e0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x58], 0
je 0x14000140b
mov rcx, qword [rsp + 0x58]
call fcn.1400035e0
mov qword [rsp + 0x58], rax
jmp 0x1400018ba
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x58]
call fcn.140003a10
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000143e
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jne 0x14000144f
lea rcx, str.ERROR:_Failed_to_prepend_current_directory__n
call fcn.140003770
jmp 0x1400018ba
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rsp + 0xe8]
call fcn.1400018d0
mov edx, 0x4e
lea rcx, [rsp + 0xe0]
call fcn.140003c70
lea rax, [rsp + 0xe0]
mov qword [0x140007030], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [0x140007028]
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [rsp + 0xf0]
mov dword [rsp + 0x60], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x90], eax
movsd xmm1, qword [0x140005ff0]
mov rcx, qword [0x140007030]
call fcn.140003ce0
mov rcx, qword [rsp + 0x58]
call fcn.1400035e0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400035e0
mov qword [rsp + 0x68], rax
cmp dword [rsp + 0x60], 0
je 0x1400015b4
mov rcx, qword [rsp + 0x50]
call fcn.1400035e0
mov qword [rsp + 0x50], rax
mov ecx, 0x100
call fcn.1400035b0
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x90]
call fcn.140003610
cmp dword [rsp + 0x60], 0x8007000e
jne 0x14000155d
lea rcx, str.ERROR:_E_OUTOFMEMORY__
call fcn.140003770
jmp 0x140001581
cmp dword [rsp + 0x60], 0x800c0008
jne 0x140001575
lea rcx, str.ERROR:_INET_E_DOWNLOAD_FAILURE__
call fcn.140003770
jmp 0x140001581
lea rcx, str.ERROR:_UNKNOWN_ERROR__
call fcn.140003770
mov rcx, qword [rsp + 0x80]
call fcn.140003770
lea rcx, [0x1400043e4]
call fcn.140003770
mov rcx, qword [rsp + 0x80]
call fcn.1400035e0
mov qword [rsp + 0x80], rax
jmp 0x1400018ba
lea rcx, str._nInstalling..._n
call fcn.140003770
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x110]
call fcn.140003b50
mov dword [rsp + 0x110], 0x68
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0xa8]
call fcn.140003b50
mov rcx, qword [rsp + 0xa0]
call fcn.1400037d0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14000163a
lea rcx, str.ERROR:_Failed_to_allocate_WLocalFileName__n
call fcn.140003770
mov rcx, qword [rsp + 0x50]
call fcn.1400035e0
mov qword [rsp + 0x50], rax
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400018ba
lea rax, str.__Q__norestart
mov qword [rsp + 0xd8], rax
cmp dword [rsp + 0x190], 0
je 0x14000165d
cmp dword [rsp + 0x190], 8
jne 0x14000166c
lea rax, [0x140004708]
mov qword [rsp + 0xd8], rax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x50]
call fcn.140003850
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400035e0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x70], 0
jne 0x1400016c5
lea rcx, str.ERROR:_Failed_to_append_start_parameters__n
call fcn.140003770
mov rcx, qword [rsp + 0x70]
call fcn.1400035e0
mov qword [rsp + 0x70], rax
jmp 0x1400018ba
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x90
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x94], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x98], eax
mov rcx, qword [rsp + 0x70]
call fcn.1400035e0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xa8]
mov qword [0x140007020], rax
cmp dword [rsp + 0x94], 1
je 0x1400017ba
lea rcx, str.CreateProcessW_failed__
call fcn.140003770
mov ecx, 0x100
call fcn.1400035b0
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x98]
call fcn.140003610
mov rcx, qword [rsp + 0x88]
call fcn.140003770
mov rcx, qword [rsp + 0x88]
call fcn.1400035e0
mov qword [rsp + 0x88], rax
lea rcx, [0x140004474]
call fcn.140003770
jmp 0x1400017cd
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rsp + 0x78], 0
jne 0x140001826
lea rcx, str.Successfully_installed._n
call fcn.140003770
cmp qword [rsp + 0x50], 0
je 0x140001824
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140001818
lea rcx, str.file_deleted._n
call fcn.140003770
jmp 0x140001824
lea rcx, str.Failed_to_delete_the_file._n
call fcn.140003770
jmp 0x14000185c
mov edx, dword [rsp + 0x78]
lea rcx, [rsp + 0xf8]
call fcn.140001150
lea rcx, str.Installation_failed_with_exit_code
call fcn.140003770
lea rcx, [rsp + 0xf8]
call fcn.140003770
lea rcx, [0x140004504]
call fcn.140003770
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rsp + 0xa8], 0
je 0x14000188b
cmp qword [rsp + 0xa8], 0xffffffffffffffff
je 0x14000188b
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0xb0], 0
je 0x1400018af
cmp qword [rsp + 0xb0], 0xffffffffffffffff
je 0x1400018af
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140007020], 0xffffffffffffffff
add rsp, 0x188
ret