Function at 0x14002f130
Capabilities:
Get session user name
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x21b0]
mov eax, 0x22b0
call fcn.14003f630
sub rsp, rax
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rbp + 0x21a0], rax
mov edi, r9d
mov rsi, qword [rbp + 0x21f0]
mov qword [rsp + 0x60], rsi
mov rax, qword [rsi]
mov rbx, 0xffffffffffffffff
cmp dword [rax - 0x10], 0
jne 0x14002f1c9
xor edx, edx
mov r8d, 0x202
lea rcx, [rbp - 0x70]
call fcn.14005fd20
mov dword [rsp + 0x6c], 0x101
lea rdx, [rsp + 0x6c]
lea rcx, [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rax, [rbp - 0x70]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x14002f1b2
lea rdx, [rbp - 0x70]
mov rcx, rsi
call fcn.140002da0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r8d, 0x7fe
lea rdx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor r14d, r14d
test eax, eax
je 0x14002f235
lea rcx, [rbp + 0x1a0]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14002f200
dec eax
movsxd rcx, eax
test eax, eax
jle 0x14002f235
cmp word [rbp + rcx*2 + 0x1a0], 0x5c
je 0x14002f22a
dec eax
dec rcx
test rcx, rcx
jg 0x14002f213
jmp 0x14002f235
cdqe
mov word [rbp + rax*2 + 0x1a0], r14w
mov r9, rbx
lea r8, [0x14006dba4]
mov edx, 0x800
lea rcx, [rbp + 0x1a0]
call fcn.14004cedc
mov r9, rbx
lea r8, [rbp + 0x1a0]
mov edx, 0x800
lea rcx, [rbp + 0x11a0]
call fcn.14004badc
mov r9, rbx
lea r8, str.processlasso.exe
mov edx, 0x800
lea rcx, [rbp + 0x11a0]
call fcn.14004cedc
test edi, edi
jne 0x14002f31a
mov dword [rsp + 0x70], r14d
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareProcessLasso
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002f30c
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 4]
xor r8d, r8d
lea rdx, str.GUIStart
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.Process_Lasso_Management_Console__GUI_
call fcn.1400365e0
jmp 0x14002f322
cmp edi, ebx
je 0x14002f46d
mov dword [rsp + 0x78], edi
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareProcessLasso
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002f3a1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.GUIStart
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub edi, 1
je 0x14002f404
cmp edi, 1
jne 0x14002f46d
cmp byte [0x140085acc], r14b
jne 0x14002f3d4
xor edx, edx
call fcn.140011dd0
mov byte [0x140085acb], al
lea edx, [rdi + 1]
call fcn.140011dd0
mov byte [0x140085acc], dil
cmp byte [0x140085acb], r14b
je 0x14002f3ff
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea r8, [rbp + 0x11a0]
lea rdx, str.Process_Lasso_Management_Console__GUI_
lea rcx, [rsp + 0x68]
call fcn.140035370
jmp 0x14002f46d
mov r9b, 1
jmp 0x14002f459
cmp byte [0x140085acc], r14b
jne 0x14002f42b
xor edx, edx
call fcn.140011dd0
mov byte [0x140085acb], al
mov edx, 2
call fcn.140011dd0
mov byte [0x140085acc], 1
cmp byte [0x140085acb], r14b
je 0x14002f456
mov byte [rsp + 0x20], 1
mov r9, qword [rsi]
lea r8, [rbp + 0x11a0]
lea rdx, str.Process_Lasso_Management_Console__GUI_
lea rcx, [rsp + 0x68]
call fcn.140035370
jmp 0x14002f46d
xor r9d, r9d
lea rdx, [rbp + 0x11a0]
lea rcx, str.ProcessLassoManagementConsole
call fcn.140012690
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14002f487
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov al, 1
mov rcx, qword [rbp + 0x21a0]
xor rcx, rsp
call fcn.14003f1d0
lea r11, [rsp + 0x22b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret