Function at 0x14000254c
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x10d0]
mov eax, 0x11d0
call fcn.140037ab0
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rdi, rcx
xor ebx, ebx
cmp dword [0x140058268], ebx
je 0x140002584
xor eax, eax
jmp 0x14000297b
mov rdx, qword [0x140058258]
lea rcx, [rbp - 0x70]
call fcn.140019c20
nop
mov rcx, rdi
call fcn.1400023e4
lea rcx, [0x140058230]
call fcn.140013a24
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.140013a90
lea rcx, [0x140058238]
call fcn.140013a24
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140013a90
lea rcx, [rbp + 0x50]
call fcn.14000fdf8
lea rcx, [rbp + 0x50]
call fcn.14000f670
lea rdx, str.InstallFramework
lea rcx, [rbp + 0x50]
call fcn.1400266d8
lea rdx, str..exe
lea rcx, [rbp + 0x50]
call fcn.1400266d8
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.140013a90
mov r14d, 0x104
mov dword [rsp + 0x20], r14d
lea r9, [rbp + 0x680]
lea r8, str.framework.pcsoft.fr
lea rdx, str.Serveur
lea rsi, str.Framework_PC_SOFT
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProfileStringW]
mov dword [rsp + 0x20], r14d
lea r9, [rbp + 0x470]
lea r8, str._DLL_25.0
lea rdx, [0x140044570]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProfileStringW]
mov dword [rsp + 0x20], r14d
lea r9, [rbp + 0x260]
lea r8, str.InstallFramework
lea rdx, str.NomInstall
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProfileStringW]
mov dword [rsp + 0x20], r14d
lea r9, [rbp + 0x890]
lea r8, [0x140055db8]
lea rdx, str.User
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProfileStringW]
mov dword [rsp + 0x20], r14d
lea r9, [rbp + 0xaa0]
lea r8, str.framework
lea rdx, str.Password
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProfileStringW]
mov rdx, qword [0x140058260]
add rdx, 0x87c
lea rcx, [rsp + 0x50]
call fcn.1400266bc
lea rcx, [rsp + 0x50]
call fcn.140012950
cmp word [rsp + 0x50], bx
je 0x140002700
lea rdx, [rsp + 0x56]
lea rcx, [rsp + 0x50]
call fcn.1400266bc
mov esi, 1
cmp dword [0x1400582ec], ebx
jne 0x140002757
mov r8d, esi
lea rdx, str.xxxxxxxxxx
lea rcx, [rsp + 0x50]
call fcn.140026970
test eax, eax
je 0x140002757
lea rdx, [0x1400445b4]
lea rcx, [rbp + 0x260]
call fcn.1400266d8
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x260]
call fcn.1400266d8
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x18]
call fcn.140013a90
lea rdx, [0x1400445b8]
lea rcx, [rbp + 0x260]
call fcn.1400266d8
lea rdx, str..exe
lea rcx, [rbp + 0x260]
call fcn.1400266d8
mov rax, qword [0x140058260]
cmp dword [rax + 0x874], 9
jne 0x1400027a0
lea rdx, [0x140055db0]
lea rcx, [rbp + 0x470]
call fcn.1400266d8
lea rdx, [rbp + 0x680]
lea rcx, [rbp - 0x18]
call fcn.140013a90
lea rdx, [rbp + 0x470]
lea rcx, [rbp - 0x10]
call fcn.140013a90
lea rdx, [rbp + 0x260]
lea rcx, [rbp - 8]
call fcn.140013a90
lea rdx, [rbp + 0x890]
lea rcx, [rbp]
call fcn.140013a90
lea rdx, [rbp + 0xaa0]
lea rcx, [rbp + 8]
call fcn.140013a90
mov r8d, r14d
lea rdx, [rbp + 0xcb0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor r9d, r9d
lea r8, [rbp + 0xec0]
xor edx, edx
lea rcx, [rbp + 0xcb0]
call fcn.1400035d0
lea r9, [rbp + 0xec0]
lea r8, str.SOFTWAREPC_SOFTWINDEV25.0APPLI
lea rdx, [0x1400440d8]
lea rcx, [rbp + 0x1118]
call fcn.1400031c4
nop
lea rcx, [rbp + 0x1118]
call fcn.140013a24
lea rcx, [rbp + 0x1108]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x1110]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
js 0x1400028d1
lea rcx, [rsp + 0x50]
call fcn.140026704
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
lea rdx, str.LAST_FRAMEWORK
mov rcx, qword [rbp + 0x1110]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x1110]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x70]
call fcn.14001a6b4
test eax, eax
js 0x140002912
lea rcx, [rbp + 0x50]
call fcn.14000f414
test eax, eax
je 0x140002904
lea rcx, [rbp + 0x50]
call fcn.14000f6e4
test rax, rax
jne 0x140002904
lea rcx, [rbp + 0x50]
call fcn.14000f0d4
jmp 0x140002912
mov rdx, rdi
lea rcx, [rbp + 0x50]
call fcn.1400029fc
mov ebx, eax
lea rcx, [rbp + 0x1118]
call fcn.140013988
nop
lea rcx, [rbp + 0x18]
call fcn.140013988
lea rcx, [rbp + 0x10]
call fcn.140013988
lea rcx, [rbp + 8]
call fcn.140013988
lea rcx, [rbp]
call fcn.140013988
lea rcx, [rbp - 8]
call fcn.140013988
lea rcx, [rbp - 0x10]
call fcn.140013988
lea rcx, [rbp - 0x18]
call fcn.140013988
lea rcx, [rbp - 0x28]
call fcn.140013988
lea rcx, [rbp - 0x30]
call fcn.140013988
lea rcx, [rbp - 0x38]
call fcn.140013988
mov eax, ebx
add rsp, 0x11d0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret