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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
lea rbp, [rax - 0x5a8]
sub rsp, 0x690
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x580], rax
mov rcx, qword [0x140088c48]
lea rax, str.HKEY_LOCAL_MACHINE
cmp rcx, 0xffffffff80000002
lea rbx, str.HKEY_CURRENT_USER
lea r15, [0x140088c10]
cmove rbx, rax
mov rdx, r15
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
xor r9d, r9d
and qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], 4
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140004019
cmp eax, 5
jne 0x140003ffd
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
xor r8d, r8d
mov rcx, rax
lea r9d, [r8 + 0x10]
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x14000437d
call qword [sym.imp.USER32.dll_GetFocus]
xor r9d, r9d
lea r8, str.Could_not_open_key
mov rcx, rax
mov rdx, r15
call qword [sym.imp.USER32.dll_MessageBoxA]
lea r12, [0x14008b840]
lea r13, [0x14008b8e0]
mov r9, r12
mov r8, r13
lea rdx, str._s_s_wininst.log
lea rcx, [rsp + 0x70]
call fcn.1400018fc
lea rdx, [0x14007b5dc]
lea rcx, [rsp + 0x70]
call fcn.1400131f8
mov qword [0x14008b8c0], rax
test rax, rax
jne 0x140004094
call fcn.14002d340
mov ecx, dword [rax]
call fcn.14004287c
mov r9, rax
lea r8, [rsp + 0x70]
lea rdx, str.Cant_create___s____s_._n_nTry_to_execute_the_installer_as_administrator.
lea rcx, [rbp + 0x180]
call fcn.1400018fc
call qword [sym.imp.USER32.dll_GetFocus]
lea rdx, [rbp + 0x180]
jmp 0x140003fe6
lea rcx, [rsp + 0x58]
call fcn.14002fa08
lea rcx, [rsp + 0x58]
call fcn.140030178
lea rcx, [rsp + 0x58]
call fcn.140030178
mov r9, rax
lea r8, str._Installation_started__Y__m__d__H:_M__n
mov edx, 0x105
lea rcx, [rsp + 0x70]
call fcn.1400145d8
mov rcx, qword [0x14008b8c0]
lea rdx, [rsp + 0x70]
call fcn.1400017a0
mov rcx, qword [0x14008b8c0]
lea r8, [0x14008ba00]
lea rdx, str.Source:__s_n
call fcn.1400017a0
mov rcx, qword [0x14008b8c0]
lea rdx, str.999_Root_Key:__s_n
mov r8, rbx
call fcn.1400017a0
mov eax, dword [0x14008b8a0]
lea rdx, str._s_py_d._d
mov r9d, dword [0x14008b7b8]
lea rcx, [rbp + 0x80]
mov r8, r12
mov dword [rsp + 0x20], eax
call fcn.1400018fc
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, [rbp + 0x80]
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140004196
call qword [sym.imp.USER32.dll_GetFocus]
xor r9d, r9d
lea r8, str.Could_not_create_key
mov rcx, rax
lea rdx, [rbp + 0x80]
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14d, 1
cmp dword [rsp + 0x50], r14d
jne 0x1400041cb
mov rcx, qword [0x14008b8c0]
lea r9, [rbp + 0x80]
mov r8, r15
lea rdx, str.020_Reg_DB_Key:___s__s_n
call fcn.1400017a0
mov r9d, dword [0x14008b8a0]
lea rax, [0x14008b7e0]
mov r8d, dword [0x14008b7b8]
lea rdx, str.Python__d._d__s
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.1400018fc
or rdi, 0xffffffffffffffff
lea rcx, [rsp + 0x70]
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x140004202
mov rcx, qword [rsp + 0x68]
lea rbx, str.DisplayName
add eax, r14d
mov r9d, r14d
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x140004259
call qword [sym.imp.USER32.dll_GetFocus]
xor r9d, r9d
lea r8, str.Could_not_set_key_value
mov rcx, rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [0x14008b8c0]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x80]
mov r8, r15
mov qword [rsp + 0x20], rbx
lea rdx, str.040_Reg_DB_Value:___s_s__s_s_n
call fcn.1400017a0
mov r9, r12
lea rdx, str._sRemove_s.exe
mov r8, r13
lea rcx, [rsp + 0x70]
call fcn.1400018fc
lea rdx, [0x14007b728]
lea rcx, [rsp + 0x70]
call fcn.1400131f8
movsxd rdx, dword [0x14008b584]
mov r9, rax
mov rcx, qword [0x14008b838]
mov r8, r14
mov rbx, rax
call fcn.14002d204
mov rcx, rbx
call fcn.14001355c
mov r9, r12
mov qword [rsp + 0x28], r12
mov r8, r13
mov qword [rsp + 0x20], r13
lea rdx, str.__sRemove_s.exe___u___s_s_wininst.log_
lea rcx, [rsp + 0x70]
call fcn.1400018fc
lea rax, [rsp + 0x70]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400042f7
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
add edi, r14d
lea rbx, str.UninstallString
mov dword [rsp + 0x28], edi
mov rdx, rbx
mov r9d, r14d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14000434e
call qword [sym.imp.USER32.dll_GetFocus]
xor r9d, r9d
lea r8, str.Could_not_set_key_value
mov rcx, rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x70]
mov r8, r15
mov qword [rsp + 0x28], rcx
lea r9, [rbp + 0x80]
mov rcx, qword [0x14008b8c0]
lea rdx, str.040_Reg_DB_Value:___s_s__s_s_n
mov qword [rsp + 0x20], rbx
call fcn.1400017a0
mov eax, r14d
mov rcx, qword [rbp + 0x580]
xor rcx, rsp
call fcn.140009140
lea r11, [rsp + 0x690]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov r12, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret