Function at 0x1400039b4
Capabilities:
Set registry value
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r14
sub rsp, 0x290
mov rax, qword [0x1400342a0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, rcx
mov rcx, qword [section..data]
lea rax, str.HKEY_LOCAL_MACHINE
cmp rcx, 0xffffffff80000002
lea rdi, str.HKEY_CURRENT_USER
lea r12, str.SoftwareMicrosoftWindowsCurrentVersionUninstall
cmove rdi, rax
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov dword [rsp + 0x28], 4
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140003a83
cmp eax, 5
jne 0x140003a67
call qword [sym.imp.USER32.dll_GetFocus]
lea rdx, str.You_do_not_seem_to_have_sufficient_access_rights_non_this_machine_to_install_this_software
mov r9d, 0x10
mov rcx, rax
xor r8d, r8d
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x140003da6
call qword [sym.imp.USER32.dll_GetFocus]
lea r8, str.Could_not_open_key
xor r9d, r9d
mov rcx, rax
mov rdx, r12
call qword [sym.imp.USER32.dll_MessageBoxA]
lea r14, [0x1400370a0]
lea rdx, str._s_s_wininst.log
lea rcx, [rsp + 0x70]
mov r9, r14
mov r8, rbx
call fcn.14000c710
lea rdx, [0x140028108]
lea rcx, [rsp + 0x70]
call fcn.14000c6a0
lea rcx, [rsp + 0x68]
mov qword [0x140038750], rax
call fcn.140009574
lea rcx, [rsp + 0x68]
call fcn.140009528
lea rcx, [rsp + 0x68]
call fcn.140009528
lea r8, str._Installation_started__Y__m__d__H:_M__n
lea rcx, [rsp + 0x70]
mov r9, rax
mov edx, 0x105
call fcn.14000c52c
mov rcx, qword [0x140038750]
lea rdx, [rsp + 0x70]
call fcn.14000a2b0
mov rcx, qword [0x140038750]
lea r8, [0x140037100]
lea rdx, str.Source:__s_n
call fcn.14000a2b0
mov rcx, qword [0x140038750]
lea rdx, str.999_Root_Key:__s_n
mov r8, rdi
call fcn.14000a2b0
mov edx, dword [0x1400385a8]
mov r9d, dword [0x14003836c]
mov dword [rsp + 0x20], edx
lea rcx, [rsp + 0x180]
lea rdx, str._s_py_d._d
mov r8, r14
call fcn.14000c710
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x40], rdx
lea rax, [rsp + 0x60]
lea rdx, [rsp + 0x180]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140003bbe
call qword [sym.imp.USER32.dll_GetFocus]
lea r8, str.Could_not_create_key
lea rdx, [rsp + 0x180]
mov rcx, rax
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
cmp dword [rsp + 0x50], esi
jne 0x140003bf2
mov rcx, qword [0x140038750]
lea r9, [rsp + 0x180]
lea rdx, str.020_Reg_DB_Key:___s__s_n
mov r8, r12
call fcn.14000a2b0
mov r9d, dword [0x1400385a8]
mov r8d, dword [0x14003836c]
lea rax, [0x140036f20]
lea rdx, str.Python__d._d__s
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.14000c710
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x70]
mov r9d, esi
xor r8d, r8d
repne scasb al, byte [rdi]
lea rax, [rsp + 0x70]
lea rdi, str.DisplayName
not rcx
mov rdx, rdi
sub rcx, rsi
add ecx, esi
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x140003c7d
call qword [sym.imp.USER32.dll_GetFocus]
lea r8, str.Could_not_set_key_value
lea rdx, [rsp + 0x70]
mov rcx, rax
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [0x140038750]
lea rax, [rsp + 0x70]
lea r9, [rsp + 0x180]
mov qword [rsp + 0x28], rax
lea rdx, str.040_Reg_DB_Value:___s_s__s_s_n
mov r8, r12
mov qword [rsp + 0x20], rdi
call fcn.14000a2b0
lea rdx, str._sRemove_s.exe
lea rcx, [rsp + 0x70]
mov r9, r14
mov r8, rbx
call fcn.14000c710
lea rdx, [0x140028004]
lea rcx, [rsp + 0x70]
call fcn.14000c6a0
movsxd rdx, dword [0x140036f78]
mov rcx, qword [0x140038618]
mov r9, rax
mov r8, rsi
mov rdi, rax
call fcn.14000ae54
mov rcx, rdi
call fcn.14000ac40
lea rdx, str.__sRemove_s.exe___u___s_s_wininst.log_
lea rcx, [rsp + 0x70]
mov r9, r14
mov r8, rbx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
call fcn.14000c710
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x70]
mov r9d, esi
repne scasb al, byte [rdi]
lea rax, [rsp + 0x70]
lea rdi, str.UninstallString
not rcx
xor r8d, r8d
mov rdx, rdi
sub rcx, rsi
add ecx, esi
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x140003d77
call qword [sym.imp.USER32.dll_GetFocus]
lea r8, str.Could_not_set_key_value
lea rdx, [rsp + 0x70]
mov rcx, rax
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x70]
lea r9, [rsp + 0x180]
lea rdx, str.040_Reg_DB_Value:___s_s__s_s_n
mov qword [rsp + 0x28], rcx
mov rcx, qword [0x140038750]
mov r8, r12
mov qword [rsp + 0x20], rdi
call fcn.14000a2b0
mov eax, esi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400091a0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rdi
ret