Function at 0x140048c80
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push r12
push r14
push r15
lea rbp, [rsp - 0xf78]
mov eax, 0x1078
call fcn.14000c990
sub rsp, rax
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rbp + 0xf60], rax
xor esi, esi
mov r15, rcx
mov r12, r8
mov rbx, rdx
lea rcx, [rsp + 0x61]
mov r8d, 0x3ff
xor edx, edx
mov qword [rsp + 0x48], rsi
mov r14d, esi
mov byte [rsp + 0x60], sil
call fcn.14000cbf0
lea rcx, [rbp + 0xb61]
xor edx, edx
mov r8d, 0x3ff
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x44], 0x400
mov dword [rsp + 0x40], esi
mov byte [rbp + 0xb60], sil
call fcn.14000cbf0
lea rcx, [rbp + 0x361]
xor edx, edx
mov r8d, 0x3ff
mov byte [rbp + 0x360], sil
call fcn.14000cbf0
lea rcx, [rbp + 0x761]
xor edx, edx
mov r8d, 0x3ff
mov byte [rbp + 0x760], sil
call fcn.14000cbf0
mov r8d, dword [rbx + 0x60]
lea rdx, str.borrow__x
lea rcx, [rbp + 0xb60]
call fcn.14000ca3c
lea r8, [rbx + 8]
lea rcx, [rbp + 0x360]
test r12, r12
je 0x140048d74
lea rdx, str._s__s
mov r9, r12
call fcn.14000ca3c
jmp 0x140048d80
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 0x140048e11
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 0x140048e06
xor r9d, r9d
mov dword [rax + 0x88], 0xffffff86
mov rcx, qword [0x14013ec38]
mov qword [rsp + 0x30], rsi
lea edx, [r9 - 0x7a]
mov r8d, 0x24f
mov dword [rsp + 0x28], 0xff
mov qword [rsp + 0x20], rsi
call fcn.14006b500
mov rax, qword [0x14013ec38]
mov eax, dword [rax + 0x88]
jmp 0x140048f95
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x1070], rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x140048f80
nop dword [rax]
movsxd rax, dword [rsp + 0x44]
inc r14d
cmp rax, 0x400
jae 0x140049028
mov byte [rsp + rax + 0x60], sil
lea rbx, [rsp + 0x60]
mov edi, esi
cmp edi, 2
jge 0x140048e96
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 0x2d]
call fcn.14002a710
mov rbx, rax
test rax, rax
je 0x140048e8f
inc rbx
inc edi
test rbx, rbx
jne 0x140048e70
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x760]
xor r8d, r8d
call fcn.14002a840
test rbx, rbx
je 0x140048f44
test r12, r12
jne 0x140048f03
xor edx, edx
mov rcx, rbx
call fcn.14002a9d0
lea rcx, [rbp + 0x360]
xor edx, edx
mov rdi, rax
call fcn.14002a9d0
cmp rdi, rax
je 0x140048f03
mov rax, qword [r15 + 0xf8]
test dword [rax + 0x1144], 0x100
je 0x140048f03
lea edx, [r12 + 0x2d]
xor r8d, r8d
mov rcx, rbx
call fcn.14002ae00
test rax, rax
je 0x140048f03
mov byte [rax], sil
lea rcx, [rbp + 0xb60]
xor edx, edx
call fcn.14002a9d0
lea rdx, [rbp + 0xb60]
lea rcx, [rbp + 0x760]
mov r8, rax
xor r9d, r9d
call fcn.14002abb0
test eax, eax
jne 0x140048f44
lea rdx, [rbp + 0x360]
xor r8d, r8d
mov rcx, rbx
call fcn.14002a750
test eax, eax
je 0x140048fb5
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x60]
mov edx, r14d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x44], 0x400
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x140048e50
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x1070]
xor eax, eax
mov rcx, qword [rbp + 0xf60]
xor rcx, rsp
call fcn.14000c9f0
add rsp, 0x1078
pop r15
pop r14
pop r12
pop rsi
pop rbx
pop rbp
ret
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x760]
mov rcx, r15
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x20], 1
call fcn.14005e860
mov r9d, dword [rsp + 0x40]
test r9d, r9d
je 0x140048f80
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rsp + 0x50]
mov edx, esi
add esi, 2
not byte [rdx + rax]
mov r9d, dword [rsp + 0x40]
cmp esi, r9d
jb 0x140048ff0
mov r8, qword [rsp + 0x50]
lea rdx, [rbp + 0x760]
mov rcx, r15
mov dword [rsp + 0x20], 1
call fcn.14005edf0
jmp 0x140048f80
call fcn.14000d948
int3