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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r13
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x290
mov rax, qword [0x1400342a0]
xor rax, rsp
mov qword [rbp + 0x180], 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 r13, 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, r13
mov dword [rsp + 0x28], 4
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x1400039fe
cmp eax, 5
jne 0x1400039e2
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 0x140003d1b
call qword [sym.imp.USER32.dll_GetFocus]
lea r8, str.Could_not_open_key
xor r9d, r9d
mov rcx, rax
mov rdx, r13
call qword [sym.imp.USER32.dll_MessageBoxA]
lea r15, [0x140037340]
lea rdx, str._s_s_wininst.log
lea rcx, [rsp + 0x70]
mov r9, r15
mov r8, rbx
call fcn.14000c714
lea rdx, [0x1400270e8]
lea rcx, [rsp + 0x70]
call fcn.14000c6b4
lea rcx, [rsp + 0x68]
mov qword [0x1400389f0], rax
call fcn.140009768
lea rcx, [rsp + 0x68]
call fcn.140009720
lea rcx, [rsp + 0x68]
call fcn.140009720
lea r8, str._Installation_started__Y__m__d__H:_M__n
lea rcx, [rsp + 0x70]
mov r9, rax
mov edx, 0x105
call fcn.14000c5a0
mov rcx, qword [0x1400389f0]
lea rdx, [rsp + 0x70]
call fcn.14000a3c8
mov rcx, qword [0x1400389f0]
lea r8, [0x1400373a0]
lea rdx, str.Source:__s_n
call fcn.14000a3c8
mov rcx, qword [0x1400389f0]
lea rdx, str.999_Root_Key:__s_n
mov r8, rdi
call fcn.14000a3c8
mov edx, dword [0x140038848]
mov r9d, dword [0x14003860c]
mov dword [rsp + 0x20], edx
lea rcx, [rbp + 0x80]
lea rdx, str._s_py_d._d
mov r8, r15
call fcn.14000c714
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x40], rdx
lea rax, [rsp + 0x60]
lea rdx, [rbp + 0x80]
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 0x140003b36
call qword [sym.imp.USER32.dll_GetFocus]
lea r8, str.Could_not_create_key
lea rdx, [rbp + 0x80]
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 0x140003b69
mov rcx, qword [0x1400389f0]
lea r9, [rbp + 0x80]
lea rdx, str.020_Reg_DB_Key:___s__s_n
mov r8, r13
call fcn.14000a3c8
mov r9d, dword [0x140038848]
mov r8d, dword [0x14003860c]
lea rax, [0x1400371c0]
lea rdx, str.Python__d._d__s
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.14000c714
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 0x140003bf4
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 [0x1400389f0]
lea rax, [rsp + 0x70]
lea r9, [rbp + 0x80]
mov qword [rsp + 0x28], rax
lea rdx, str.040_Reg_DB_Value:___s_s__s_s_n
mov r8, r13
mov qword [rsp + 0x20], rdi
call fcn.14000a3c8
lea rdx, str._sRemove_s.exe
lea rcx, [rsp + 0x70]
mov r9, r15
mov r8, rbx
call fcn.14000c714
lea rdx, [0x140026fe4]
lea rcx, [rsp + 0x70]
call fcn.14000c6b4
movsxd rdx, dword [0x140037218]
mov rcx, qword [0x1400388b8]
mov r9, rax
mov r8, rsi
mov rdi, rax
call fcn.14000af70
mov rcx, rdi
call fcn.14000ad7c
lea rdx, str.__sRemove_s.exe___u___s_s_wininst.log_
lea rcx, [rsp + 0x70]
mov r9, r15
mov r8, rbx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rbx
call fcn.14000c714
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 0x140003ced
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, [rbp + 0x80]
lea rdx, str.040_Reg_DB_Value:___s_s__s_s_n
mov qword [rsp + 0x28], rcx
mov rcx, qword [0x1400389f0]
mov r8, r13
mov qword [rsp + 0x20], rdi
call fcn.14000a3c8
mov eax, esi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400093b0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop rbp
ret