Function at 0x1400d1fc0
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x5c8
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
mov byte [rsp + 0x60], 0
mov rax, qword [rsp + 0x5d0]
mov qword [rsp + 0xa0], rax
movzx edx, byte [rsp + 0x5d8]
mov rcx, qword [rsp + 0xa0]
call fcn.14008fc60
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x5d0]
mov rax, qword [rax + 0x110]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x5d0]
mov qword [rsp + 0xa8], rax
movzx r9d, byte [rsp + 0x5d8]
mov r8d, dword [rsp + 0x68]
lea rdx, [rsp + 0x318]
mov rcx, qword [rsp + 0xa8]
call fcn.140189070
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x1f8]
call fcn.14001e490
lea rax, [0x140902650]
mov qword [rsp + 0x50], rax
lea rax, [0x140902650]
mov qword [rsp + 0x48], rax
lea rax, [0x140902650]
mov qword [rsp + 0x40], rax
lea rax, [0x140902650]
mov qword [rsp + 0x38], rax
lea rax, [0x140902650]
mov qword [rsp + 0x30], rax
lea rax, [0x140902650]
mov qword [rsp + 0x28], rax
lea rax, [0x140902650]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1f8]
lea r8, str.Installing__S...
mov edx, reloc.msi.dll_MsiEnumClientsA
mov rcx, qword [rsp + 0xc0]
call fcn.1400a8650
nop
lea rcx, [rsp + 0x318]
call fcn.14000a800
mov dword [rsp + 0x70], 0
movzx eax, byte [rsp + 0x5d8]
test eax, eax
je 0x1400d2137
lea rax, [0x1403051b4]
mov qword [rsp + 0x90], rax
jmp 0x1400d2146
lea rax, [0x1403051bc]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x5d0]
add rax, 0x118
lea r8, str.vcredist
mov rdx, rax
lea rcx, [rsp + 0x358]
call fcn.14001b840
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x338]
call fcn.140024fb0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
lea r8, [0x1403051a8]
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x2b8]
call fcn.140024fb0
nop
lea rcx, [rsp + 0x338]
call fcn.14000a800
nop
lea rcx, [rsp + 0x358]
call fcn.14000a800
movzx eax, byte [rsp + 0x5d8]
test eax, eax
je 0x1400d220a
mov qword [rsp + 0x98], 0xcb
jmp 0x1400d2216
mov qword [rsp + 0x98], 0xc8
lea r8, str.EXEFILE
mov rdx, qword [rsp + 0x98]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x1400d2c42
mov rdx, qword [rsp + 0x88]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0x88]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x84], eax
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0x2b8]
call fcn.14000c690
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], MsiSetFeatureStateW
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x1400d2b59
cmp qword [rsp + 0x78], 0xffffffffffffffff
je 0x1400d2b59
mov dword [rsp + 0x80], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov r8d, dword [rsp + 0x84]
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x70], eax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x70], 1
jne 0x1400d2a70
lea rcx, [rsp + 0x2f8]
call fcn.14000a280
nop
lea rcx, [rsp + 0x298]
call fcn.14000a280
nop
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x6c], 0
mov rax, qword [rsp + 0x5d0]
mov rcx, qword [rax + 0x110]
call fcn.1400d3af0
movzx eax, al
test eax, eax
je 0x1400d238e
lea rdx, [0x1403051f0]
lea rcx, [rsp + 0x298]
call fcn.140015550
jmp 0x1400d23a2
lea rdx, str._passive
lea rcx, [rsp + 0x298]
call fcn.140015550
lea rdx, str.__norestart
lea rcx, [rsp + 0x298]
call fcn.14001efd0
lea rcx, [rsp + 0x298]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x208]
call fcn.14001e490
lea rcx, [rsp + 0x2b8]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x218]
call fcn.14001e490
lea r9, [rsp + 0x208]
lea r8, [rsp + 0x218]
lea rdx, str.__S___S
lea rcx, [rsp + 0x2f8]
call fcn.14001d950
lea rcx, [rsp + 0x2d8]
call fcn.14000a280
nop
lea rcx, [rsp + 0x1e0]
call fcn.14000df30
nop
lea r8, [rsp + 0x1e0]
lea rdx, [rsp + 0x2d8]
lea rcx, [rsp + 0x2f8]
call fcn.140149c20
lea r8, [rsp + 0x1e0]
lea rdx, [rsp + 0x2d8]
lea rcx, [rsp + 0x460]
call fcn.14002ba40
nop
mov byte [rsp + 0x4d8], 1
lea rcx, [rsp + 0x460]
call fcn.1401468e0
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x530]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x6c], 0
jne 0x1400d28de
cmp dword [rsp + 0x64], 0
jne 0x1400d25ee
mov rax, qword [rsp + 0x5d0]
mov rcx, rax
call fcn.140187e50
mov rax, qword [rsp + 0x5d0]
mov qword [rsp + 0xf8], rax
movzx r8d, byte [rsp + 0x5d8]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0xf8]
call fcn.140188f80
movzx eax, al
test eax, eax
je 0x1400d25e9
mov byte [rsp + 0x60], 1
mov rax, qword [rsp + 0x5d0]
mov rax, qword [rax + 0x110]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x5d0]
mov qword [rsp + 0x100], rax
movzx r9d, byte [rsp + 0x5d8]
mov r8d, dword [rsp + 0x68]
lea rdx, [rsp + 0x378]
mov rcx, qword [rsp + 0x100]
call fcn.140189070
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x228]
call fcn.140015290
lea rax, [0x140902650]
mov qword [rsp + 0x50], rax
lea rax, [0x140902650]
mov qword [rsp + 0x48], rax
lea rax, [0x140902650]
mov qword [rsp + 0x40], rax
lea rax, [0x140902650]
mov qword [rsp + 0x38], rax
lea rax, [0x140902650]
mov qword [rsp + 0x30], rax
lea rax, [0x140902650]
mov qword [rsp + 0x28], rax
lea rax, [0x140902650]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x228]
lea r8, str._S_has_been_installed
mov edx, reloc.msi.dll_MsiEnumClientsA
mov rcx, qword [rsp + 0x118]
call fcn.1400a8650
nop
lea rcx, [rsp + 0x378]
call fcn.14000a800
jmp 0x1400d28d9
cmp dword [rsp + 0x64], 0xbc2
je 0x1400d2606
cmp dword [rsp + 0x64], 0xbc3
jne 0x1400d2756
mov cl, 1
call fcn.14000bbf0
mov rax, qword [rsp + 0x5d0]
mov rcx, rax
call fcn.140187e50
mov rax, qword [rsp + 0x5d0]
mov qword [rsp + 0x120], rax
movzx r8d, byte [rsp + 0x5d8]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x120]
call fcn.140188f80
movzx eax, al
test eax, eax
je 0x1400d2751
mov byte [rsp + 0x60], 1
mov rax, qword [rsp + 0x5d0]
mov rax, qword [rax + 0x110]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x5d0]
mov qword [rsp + 0x128], rax
movzx r9d, byte [rsp + 0x5d8]
mov r8d, dword [rsp + 0x68]
lea rdx, [rsp + 0x398]
mov rcx, qword [rsp + 0x128]
call fcn.140189070
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x238]
call fcn.140015290
lea rax, [0x140902650]
mov qword [rsp + 0x50], rax
lea rax, [0x140902650]
mov qword [rsp + 0x48], rax
lea rax, [0x140902650]
mov qword [rsp + 0x40], rax
lea rax, [0x140902650]
mov qword [rsp + 0x38], rax
lea rax, [0x140902650]
mov qword [rsp + 0x30], rax
lea rax, [0x140902650]
mov qword [rsp + 0x28], rax
lea rax, [0x140902650]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x238]
lea r8, str._S_has_been_installed
mov edx, reloc.msi.dll_MsiEnumClientsA
mov rcx, qword [rsp + 0x140]
call fcn.1400a8650
nop
lea rcx, [rsp + 0x398]
call fcn.14000a800
jmp 0x1400d28d9
cmp dword [rsp + 0x64], 0x666
jne 0x1400d27f9
mov byte [rsp + 0x60], 1
mov rax, qword [rsp + 0x5d0]
mov rax, qword [rax + 0x110]
mov qword [rsp + 0x148], rax
lea rax, [0x140902650]
mov qword [rsp + 0x50], rax
lea rax, [0x140902650]
mov qword [rsp + 0x48], rax
lea rax, [0x140902650]
mov qword [rsp + 0x40], rax
lea rax, [0x140902650]
mov qword [rsp + 0x38], rax
lea rax, [0x140902650]
mov qword [rsp + 0x30], rax
lea rax, [0x140902650]
mov qword [rsp + 0x28], rax
lea rax, [0x140902650]
mov qword [rsp + 0x20], rax
lea r9, [0x140902650]
lea r8, str.Newer_version_already_installed.
mov edx, reloc.msi.dll_MsiEnumClientsA
mov rcx, qword [rsp + 0x148]
call fcn.1400a8650
jmp 0x1400d28d9
mov rax, qword [rsp + 0x5d0]
mov rax, qword [rax + 0x110]
mov qword [rsp + 0x160], rax
mov edx, dword [rsp + 0x64]
lea rcx, [rsp + 0x3b8]
call fcn.1400f1950
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x158], rax
mov rcx, qword [rsp + 0x158]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x248]
call fcn.14001e490
lea rax, [0x140902650]
mov qword [rsp + 0x50], rax
lea rax, [0x140902650]
mov qword [rsp + 0x48], rax
lea rax, [0x140902650]
mov qword [rsp + 0x40], rax
lea rax, [0x140902650]
mov qword [rsp + 0x38], rax
lea rax, [0x140902650]
mov qword [rsp + 0x30], rax
lea rax, [0x140902650]
mov qword [rsp + 0x28], rax
lea rax, [0x140902650]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x248]
lea r8, str.Redistributable_installation_failed:__S
mov edx, 4
mov rcx, qword [rsp + 0x160]
call fcn.1400a8650
nop
lea rcx, [rsp + 0x3b8]
call fcn.14000a800
jmp 0x1400d2a0f
cmp dword [rsp + 0x6c], 0xfffffffe
jne 0x1400d2979
mov rax, qword [rsp + 0x5d0]
mov rax, qword [rax + 0x110]
mov qword [rsp + 0x168], rax
lea rax, [0x140902650]
mov qword [rsp + 0x50], rax
lea rax, [0x140902650]
mov qword [rsp + 0x48], rax
lea rax, [0x140902650]
mov qword [rsp + 0x40], rax
lea rax, [0x140902650]
mov qword [rsp + 0x38], rax
lea rax, [0x140902650]
mov qword [rsp + 0x30], rax
lea rax, [0x140902650]
mov qword [rsp + 0x28], rax
lea rax, [0x140902650]
mov qword [rsp + 0x20], rax
lea r9, [0x140902650]
lea r8, str.Redistributable_installation_timed_out
mov edx, 4
mov rcx, qword [rsp + 0x168]
call fcn.1400a8650
jmp 0x1400d2a0f
cmp dword [rsp + 0x6c], 0xffffffff
jne 0x1400d2a0f
mov rax, qword [rsp + 0x5d0]
mov rax, qword [rax + 0x110]
mov qword [rsp + 0x170], rax
lea rax, [0x140902650]
mov qword [rsp + 0x50], rax
lea rax, [0x140902650]
mov qword [rsp + 0x48], rax
lea rax, [0x140902650]
mov qword [rsp + 0x40], rax
lea rax, [0x140902650]
mov qword [rsp + 0x38], rax
lea rax, [0x140902650]
mov qword [rsp + 0x30], rax
lea rax, [0x140902650]
mov qword [rsp + 0x28], rax
lea rax, [0x140902650]
mov qword [rsp + 0x20], rax
lea r9, [0x140902650]
lea r8, str.Redistributable_installation_error
mov edx, 4
mov rcx, qword [rsp + 0x170]
call fcn.1400a8650
lea rcx, [rsp + 0x2b8]
call fcn.14000c690
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x460]
call fcn.14002c950
nop
lea rcx, [rsp + 0x1e0]
call fcn.1400183c0
nop
lea rcx, [rsp + 0x2d8]
call fcn.14000a800
nop
lea rcx, [rsp + 0x298]
call fcn.14000a800
nop
lea rcx, [rsp + 0x2f8]
call fcn.14000a800
jmp 0x1400d2b54
mov rax, qword [rsp + 0x5d0]
mov rax, qword [rax + 0x110]
mov qword [rsp + 0x188], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x3d8]
call fcn.1400f1950
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x180], rax
mov rcx, qword [rsp + 0x180]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x258]
call fcn.14001e490
lea rax, [0x140902650]
mov qword [rsp + 0x50], rax
lea rax, [0x140902650]
mov qword [rsp + 0x48], rax
lea rax, [0x140902650]
mov qword [rsp + 0x40], rax
lea rax, [0x140902650]
mov qword [rsp + 0x38], rax
lea rax, [0x140902650]
mov qword [rsp + 0x30], rax
lea rax, [0x140902650]
mov qword [rsp + 0x28], rax
lea rax, [0x140902650]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x258]
lea r8, str.Failed_to_write_redistributable_installer_file:__S
mov edx, 4
mov rcx, qword [rsp + 0x188]
call fcn.1400a8650
nop
lea rcx, [rsp + 0x3d8]
call fcn.14000a800
jmp 0x1400d2c3d
mov rax, qword [rsp + 0x5d0]
mov rax, qword [rax + 0x110]
mov qword [rsp + 0x1a0], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x3f8]
call fcn.1400f1950
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x198], rax
mov rcx, qword [rsp + 0x198]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x268]
call fcn.14001e490
lea rax, [0x140902650]
mov qword [rsp + 0x50], rax
lea rax, [0x140902650]
mov qword [rsp + 0x48], rax
lea rax, [0x140902650]
mov qword [rsp + 0x40], rax
lea rax, [0x140902650]
mov qword [rsp + 0x38], rax
lea rax, [0x140902650]
mov qword [rsp + 0x30], rax
lea rax, [0x140902650]
mov qword [rsp + 0x28], rax
lea rax, [0x140902650]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x268]
lea r8, str.Failed_to_create_redistributable_installer_file:__S
mov edx, 4
mov rcx, qword [rsp + 0x1a0]
call fcn.1400a8650
nop
lea rcx, [rsp + 0x3f8]
call fcn.14000a800
jmp 0x1400d2d26
mov rax, qword [rsp + 0x5d0]
mov rax, qword [rax + 0x110]
mov qword [rsp + 0x1b8], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x418]
call fcn.1400f1950
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x1b0], rax
mov rcx, qword [rsp + 0x1b0]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x278]
call fcn.14001e490
lea rax, [0x140902650]
mov qword [rsp + 0x50], rax
lea rax, [0x140902650]
mov qword [rsp + 0x48], rax
lea rax, [0x140902650]
mov qword [rsp + 0x40], rax
lea rax, [0x140902650]
mov qword [rsp + 0x38], rax
lea rax, [0x140902650]
mov qword [rsp + 0x30], rax
lea rax, [0x140902650]
mov qword [rsp + 0x28], rax
lea rax, [0x140902650]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x278]
lea r8, str.Failed_to_extract_redistributable_installer_file:__S
mov edx, 4
mov rcx, qword [rsp + 0x1b8]
call fcn.1400a8650
nop
lea rcx, [rsp + 0x418]
call fcn.14000a800
movzx eax, byte [rsp + 0x60]
test eax, eax
jne 0x1400d2e35
mov rax, qword [rsp + 0x5d0]
mov rax, qword [rax + 0x110]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x5d0]
mov qword [rsp + 0x1c0], rax
movzx r9d, byte [rsp + 0x5d8]
mov r8d, dword [rsp + 0x68]
lea rdx, [rsp + 0x438]
mov rcx, qword [rsp + 0x1c0]
call fcn.140189070
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x1d0], rax
mov rcx, qword [rsp + 0x1d0]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x288]
call fcn.14001e490
lea rax, [0x140902650]
mov qword [rsp + 0x50], rax
lea rax, [0x140902650]
mov qword [rsp + 0x48], rax
lea rax, [0x140902650]
mov qword [rsp + 0x40], rax
lea rax, [0x140902650]
mov qword [rsp + 0x38], rax
lea rax, [0x140902650]
mov qword [rsp + 0x30], rax
lea rax, [0x140902650]
mov qword [rsp + 0x28], rax
lea rax, [0x140902650]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x288]
lea r8, str.Please_download_the__S_installation_package_from_Microsofts_website_and_install_it_manually_before_attempting_to_install_this_product_again.
mov edx, 4
mov rcx, qword [rsp + 0x1d8]
call fcn.1400a8650
nop
lea rcx, [rsp + 0x438]
call fcn.14000a800
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x61], al
lea rcx, [rsp + 0x2b8]
call fcn.14000a800
movzx eax, byte [rsp + 0x61]
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x5c8
ret