Function at 0x1400038a8
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 0x140003977
cmp eax, 5
jne 0x14000395b
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 0x140003c9a
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, [0x1400368a0]
lea rdx, str._s_s_wininst.log
lea rcx, [rsp + 0x70]
mov r9, r14
mov r8, rbx
call fcn.14000c5f0
lea rdx, [0x140028108]
lea rcx, [rsp + 0x70]
call fcn.14000c580
lea rcx, [rsp + 0x68]
mov qword [0x140037d30], rax
call fcn.140009454
lea rcx, [rsp + 0x68]
call fcn.140009408
lea rcx, [rsp + 0x68]
call fcn.140009408
lea r8, str._Installation_started__Y__m__d__H:_M__n
lea rcx, [rsp + 0x70]
mov r9, rax
mov edx, 0x105
call fcn.14000c40c
mov rcx, qword [0x140037d30]
lea rdx, [rsp + 0x70]
call fcn.14000a190
mov rcx, qword [0x140037d30]
lea r8, [0x140036900]
lea rdx, str.Source:__s_n
call fcn.14000a190
mov rcx, qword [0x140037d30]
lea rdx, str.999_Root_Key:__s_n
mov r8, rdi
call fcn.14000a190
mov edx, dword [0x140037b98]
mov r9d, dword [0x140037b6c]
mov dword [rsp + 0x20], edx
lea rcx, [rsp + 0x180]
lea rdx, str._s_py_d._d
mov r8, r14
call fcn.14000c5f0
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 0x140003ab2
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 0x140003ae6
mov rcx, qword [0x140037d30]
lea r9, [rsp + 0x180]
lea rdx, str.020_Reg_DB_Key:___s__s_n
mov r8, r12
call fcn.14000a190
mov r9d, dword [0x140037b98]
mov r8d, dword [0x140037b6c]
lea rax, [0x140036720]
lea rdx, str.Python__d._d__s
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.14000c5f0
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 0x140003b71
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 [0x140037d30]
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.14000a190
lea rdx, str._sRemove_s.exe
lea rcx, [rsp + 0x70]
mov r9, r14
mov r8, rbx
call fcn.14000c5f0
lea rdx, [0x140028004]
lea rcx, [rsp + 0x70]
call fcn.14000c580
movsxd rdx, dword [0x140036778]
mov rcx, qword [0x140037bf8]
mov r9, rax
mov r8, rsi
mov rdi, rax
call fcn.14000ad34
mov rcx, rdi
call fcn.14000ab20
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.14000c5f0
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 0x140003c6b
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 [0x140037d30]
mov r8, r12
mov qword [rsp + 0x20], rdi
call fcn.14000a190
mov eax, esi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140009080
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rdi
ret