Function at 0x140048660
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf68]
mov eax, 0x1068
call fcn.14000c990
sub rsp, rax
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rbp + 0xf50], rax
xor r12d, r12d
mov r15, rcx
mov r14, r8
mov r13, rdx
lea rcx, [rbp + 0x351]
mov esi, r12d
mov r8d, 0x3ff
xor edx, edx
mov qword [rsp + 0x48], r12
mov byte [rbp + 0x350], sil
call fcn.14000cbf0
lea rcx, [rbp + 0x751]
xor edx, edx
mov r8d, 0x3ff
mov dword [rsp + 0x40], 0x400
mov byte [rbp + 0x750], sil
call fcn.14000cbf0
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x50], sil
call fcn.14000cbf0
lea rcx, [rbp + 0xb51]
xor edx, edx
mov r8d, 0x3ff
mov byte [rbp + 0xb50], sil
call fcn.14000cbf0
mov r8d, dword [r13 + 0x60]
lea rdx, str.borrow__x
lea rcx, [rbp + 0x750]
call fcn.14000ca3c
lea r8, [r13 + 8]
lea rcx, [rsp + 0x50]
test r14, r14
je 0x14004874b
lea rdx, str._s__s
mov r9, r14
call fcn.14000ca3c
jmp 0x140048757
lea rdx, [0x1400fde30]
call fcn.14000ca3c
lea rax, [rsp + 0x48]
lea rdx, str.SoftwareFLEXlm_License_ManagerBorrow
mov r9d, 0x20007
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1400487e8
mov rcx, qword [0x14013ec30]
lea rdx, str.Error:_unable_to_delete_local_borrow_info._n
call fcn.140008700
mov rax, qword [0x14013ec38]
test rax, rax
je 0x1400487dd
xor r9d, r9d
mov dword [rax + 0x88], 0xffffff86
mov rcx, qword [0x14013ec38]
mov qword [rsp + 0x30], r12
lea edx, [r9 - 0x7a]
mov r8d, 0x24f
mov dword [rsp + 0x28], 0xff
mov qword [rsp + 0x20], r12
call fcn.14006b500
mov rax, qword [0x14013ec38]
mov eax, dword [rax + 0x88]
jmp 0x140048999
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x350]
xor edx, edx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x14004898c
mov qword [rsp + 0x10a0], rbx
mov qword [rsp + 0x1060], rdi
nop dword [rax]
inc esi
lea rbx, [rbp + 0x350]
mov edi, r12d
nop dword [rax]
cmp edi, 2
jge 0x140048866
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 0x2d]
call fcn.14002a710
mov rbx, rax
test rax, rax
je 0x14004885f
inc rbx
inc edi
test rbx, rbx
jne 0x140048840
lea rdx, [rbp + 0x350]
lea rcx, [rbp + 0xb50]
xor r8d, r8d
call fcn.14002a840
test rbx, rbx
je 0x140048911
test r14, r14
jne 0x1400488d2
xor edx, edx
mov rcx, rbx
call fcn.14002a9d0
lea rcx, [rsp + 0x50]
xor edx, edx
mov rdi, rax
call fcn.14002a9d0
cmp rdi, rax
je 0x1400488d2
mov rax, qword [r15 + 0xf8]
test dword [rax + 0x1144], 0x100
je 0x1400488d2
lea edx, [r14 + 0x2d]
xor r8d, r8d
mov rcx, rbx
call fcn.14002ae00
test rax, rax
je 0x1400488d2
mov byte [rax], r12b
lea rcx, [rbp + 0x750]
xor edx, edx
call fcn.14002a9d0
lea rdx, [rbp + 0x750]
lea rcx, [rbp + 0xb50]
mov r8, rax
xor r9d, r9d
call fcn.14002abb0
test eax, eax
jne 0x140048911
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, rbx
call fcn.14002a750
test eax, eax
je 0x140048950
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x350]
mov edx, esi
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x40], 0x400
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x140048830
jmp 0x14004897c
mov rcx, qword [rsp + 0x48]
lea rdx, [rbp + 0xb50]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x48]
lea rdx, str.LM_BORROW
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, r13
call fcn.1400489c0
mov rbx, qword [rsp + 0x10a0]
mov rdi, qword [rsp + 0x1060]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0xf50]
xor rcx, rsp
call fcn.14000c9f0
add rsp, 0x1068
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret