Function at 0x140042bf0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r15
mov rbp, rsp
sub rsp, 0x30
mov r15, rcx
mov qword [rsp + 0x60], r14
mov r14, rdx
mov rdx, qword [str.display_lk]
mov rcx, r14
call fcn.1400b6780
mov rdi, rax
test rax, rax
je 0x140042cb4
mov r8, qword [r15 + 0xc90]
mov rbx, r8
mov rdx, qword [r8 + 8]
cmp byte [rdx + 0x19], 0
jne 0x140042c5b
nop dword [rax]
cmp dword [rdx + 0x1c], 0x191
jae 0x140042c4f
mov rdx, qword [rdx + 0x10]
jmp 0x140042c55
mov rbx, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], 0
je 0x140042c40
cmp rbx, r8
je 0x140042c69
cmp dword [rbx + 0x1c], 0x191
jbe 0x140042ca1
lea rdx, [rbp + 0x40]
lea rcx, [r15 + 0xc90]
mov qword [rbp + 0x40], 0x191
call fcn.14003adc0
lea rdx, [rbp + 0x40]
lea rcx, [r15 + 0xc90]
lea r9, [rax + 0x1c]
mov r8, rbx
mov qword [rsp + 0x20], rax
call fcn.14003b700
mov rbx, qword [rbp + 0x40]
lea r8, [rbx + 0x20]
lea rdx, str.ALLOWED
mov rcx, rdi
call fcn.1400b4210
mov rdx, qword [str.transfer_lk_toclient]
mov rcx, r14
call fcn.1400b6780
mov rdi, rax
test rax, rax
je 0x140042d57
mov rdx, qword [r15 + 0xc90]
mov rbx, rdx
mov rcx, qword [rdx + 8]
cmp byte [rcx + 0x19], 0
jne 0x140042cfe
cmp dword [rcx + 0x1c], 0x192
jae 0x140042cf2
mov rcx, qword [rcx + 0x10]
jmp 0x140042cf8
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140042ce3
cmp rbx, rdx
je 0x140042d0c
cmp dword [rbx + 0x1c], 0x192
jbe 0x140042d44
lea rdx, [rbp + 0x40]
lea rcx, [r15 + 0xc90]
mov qword [rbp + 0x40], 0x192
call fcn.14003adc0
lea rdx, [rbp + 0x40]
lea rcx, [r15 + 0xc90]
lea r9, [rax + 0x1c]
mov r8, rbx
mov qword [rsp + 0x20], rax
call fcn.14003b700
mov rbx, qword [rbp + 0x40]
lea r8, [rbx + 0x20]
lea rdx, str.ALLOWED
mov rcx, rdi
call fcn.1400b4210
mov rdx, qword [str.transfer_lk_fromclient]
mov rcx, r14
call fcn.1400b6780
mov rdi, rax
test rax, rax
je 0x140042dfa
mov rdx, qword [r15 + 0xc90]
mov rbx, rdx
mov rcx, qword [rdx + 8]
cmp byte [rcx + 0x19], 0
jne 0x140042da1
cmp dword [rcx + 0x1c], 0x193
jae 0x140042d95
mov rcx, qword [rcx + 0x10]
jmp 0x140042d9b
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140042d86
cmp rbx, rdx
je 0x140042daf
cmp dword [rbx + 0x1c], 0x193
jbe 0x140042de7
lea rdx, [rbp + 0x40]
lea rcx, [r15 + 0xc90]
mov qword [rbp + 0x40], 0x193
call fcn.14003adc0
lea rdx, [rbp + 0x40]
lea rcx, [r15 + 0xc90]
lea r9, [rax + 0x1c]
mov r8, rbx
mov qword [rsp + 0x20], rax
call fcn.14003b700
mov rbx, qword [rbp + 0x40]
lea r8, [rbx + 0x20]
lea rdx, str.ALLOWED
mov rcx, rdi
call fcn.1400b4210
mov rdx, qword [str.delete_lk]
mov rcx, r14
call fcn.1400b6780
mov rdi, rax
test rax, rax
je 0x140042ea4
mov rdx, qword [r15 + 0xc90]
mov rbx, rdx
mov rcx, qword [rdx + 8]
cmp byte [rcx + 0x19], 0
jne 0x140042e4b
nop dword [rax]
cmp dword [rcx + 0x1c], 0x194
jae 0x140042e3f
mov rcx, qword [rcx + 0x10]
jmp 0x140042e45
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140042e30
cmp rbx, rdx
je 0x140042e59
cmp dword [rbx + 0x1c], 0x194
jbe 0x140042e91
lea rdx, [rbp + 0x40]
lea rcx, [r15 + 0xc90]
mov qword [rbp + 0x40], SafeArrayCopyData
call fcn.14003adc0
lea rdx, [rbp + 0x40]
lea rcx, [r15 + 0xc90]
lea r9, [rax + 0x1c]
mov r8, rbx
mov qword [rsp + 0x20], rax
call fcn.14003b700
mov rbx, qword [rbp + 0x40]
lea r8, [rbx + 0x20]
lea rdx, str.ALLOWED
mov rcx, rdi
call fcn.1400b4210
mov rdx, qword [str.check_lk]
mov rcx, r14
call fcn.1400b6780
mov rdi, rax
test rax, rax
je 0x140042f47
mov rdx, qword [r15 + 0xc90]
mov rbx, rdx
mov rcx, qword [rdx + 8]
cmp byte [rcx + 0x19], 0
jne 0x140042eee
cmp dword [rcx + 0x1c], 0x195
jae 0x140042ee2
mov rcx, qword [rcx + 0x10]
jmp 0x140042ee8
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140042ed3
cmp rbx, rdx
je 0x140042efc
cmp dword [rbx + 0x1c], 0x195
jbe 0x140042f34
lea rdx, [rbp + 0x40]
lea rcx, [r15 + 0xc90]
mov qword [rbp + 0x40], SafeArrayCopyData
call fcn.14003adc0
lea rdx, [rbp + 0x40]
lea rcx, [r15 + 0xc90]
lea r9, [rax + 0x1c]
mov r8, rbx
mov qword [rsp + 0x20], rax
call fcn.14003b700
mov rbx, qword [rbp + 0x40]
lea r8, [rbx + 0x20]
lea rdx, str.ALLOWED
mov rcx, rdi
call fcn.1400b4210
mov rdx, qword [str.grant_lk]
mov rcx, r14
call fcn.1400b6780
mov rdi, rax
test rax, rax
je 0x140042fea
mov rdx, qword [r15 + 0xc90]
mov rbx, rdx
mov rcx, qword [rdx + 8]
cmp byte [rcx + 0x19], 0
jne 0x140042f91
cmp dword [rcx + 0x1c], 0x196
jae 0x140042f85
mov rcx, qword [rcx + 0x10]
jmp 0x140042f8b
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140042f76
cmp rbx, rdx
je 0x140042f9f
cmp dword [rbx + 0x1c], 0x196
jbe 0x140042fd7
lea rdx, [rbp + 0x40]
lea rcx, [r15 + 0xc90]
mov qword [rbp + 0x40], SafeArrayCopyData
call fcn.14003adc0
lea rdx, [rbp + 0x40]
lea rcx, [r15 + 0xc90]
lea r9, [rax + 0x1c]
mov r8, rbx
mov qword [rsp + 0x20], rax
call fcn.14003b700
mov rbx, qword [rbp + 0x40]
lea r8, [rbx + 0x20]
lea rdx, str.ALLOWED
mov rcx, rdi
call fcn.1400b4210
mov rdx, qword [str.repair_lk]
mov rcx, r14
call fcn.1400b6780
mov rdi, rax
test rax, rax
je 0x140043094
mov rdx, qword [r15 + 0xc90]
mov rbx, rdx
mov rcx, qword [rdx + 8]
cmp byte [rcx + 0x19], 0
jne 0x14004303b
nop dword [rax]
cmp dword [rcx + 0x1c], 0x197
jae 0x14004302f
mov rcx, qword [rcx + 0x10]
jmp 0x140043035
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140043020
cmp rbx, rdx
je 0x140043049
cmp dword [rbx + 0x1c], 0x197
jbe 0x140043081
lea rdx, [rbp + 0x40]
lea rcx, [r15 + 0xc90]
mov qword [rbp + 0x40], SafeArrayCopyData
call fcn.14003adc0
lea rdx, [rbp + 0x40]
lea rcx, [r15 + 0xc90]
lea r9, [rax + 0x1c]
mov r8, rbx
mov qword [rsp + 0x20], rax
call fcn.14003b700
mov rbx, qword [rbp + 0x40]
lea r8, [rbx + 0x20]
lea rdx, str.ALLOWED
mov rcx, rdi
call fcn.1400b4210
mov rdx, qword [str.read_logblook]
mov rcx, r14
call fcn.1400b6780
mov rdi, rax
test rax, rax
je 0x140043137
mov rdx, qword [r15 + 0xc90]
mov rbx, rdx
mov rcx, qword [rdx + 8]
cmp byte [rcx + 0x19], 0
jne 0x1400430de
cmp dword [rcx + 0x1c], 0x199
jae 0x1400430d2
mov rcx, qword [rcx + 0x10]
jmp 0x1400430d8
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x1400430c3
cmp rbx, rdx
je 0x1400430ec
cmp dword [rbx + 0x1c], 0x199
jbe 0x140043124
lea rdx, [rbp + 0x40]
lea rcx, [r15 + 0xc90]
mov qword [rbp + 0x40], SafeArrayCopyData
call fcn.14003adc0
lea rdx, [rbp + 0x40]
lea rcx, [r15 + 0xc90]
lea r9, [rax + 0x1c]
mov r8, rbx
mov qword [rsp + 0x20], rax
call fcn.14003b700
mov rbx, qword [rbp + 0x40]
lea r8, [rbx + 0x20]
lea rdx, str.ALLOWED
mov rcx, rdi
call fcn.1400b4210
mov rdx, qword [str.delete_logbook]
mov rcx, r14
call fcn.1400b6780
mov r14, qword [rsp + 0x60]
mov rdi, rax
test rax, rax
je 0x1400431e4
mov rdx, qword [r15 + 0xc90]
mov rbx, rdx
mov rcx, qword [rdx + 8]
cmp byte [rcx + 0x19], 0
jne 0x14004318b
nop dword [rax + rax]
cmp dword [rcx + 0x1c], 0x19a
jae 0x14004317f
mov rcx, qword [rcx + 0x10]
jmp 0x140043185
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140043170
cmp rbx, rdx
je 0x140043199
cmp dword [rbx + 0x1c], 0x19a
jbe 0x1400431d1
lea rdx, [rbp + 0x40]
lea rcx, [r15 + 0xc90]
mov qword [rbp + 0x40], SafeArrayCopyData
call fcn.14003adc0
lea rdx, [rbp + 0x40]
lea rcx, [r15 + 0xc90]
lea r9, [rax + 0x1c]
mov r8, rbx
mov qword [rsp + 0x20], rax
call fcn.14003b700
mov rbx, qword [rbp + 0x40]
lea r8, [rbx + 0x20]
lea rdx, str.ALLOWED
mov rcx, rdi
call fcn.1400b4210
mov rcx, r15
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.140043fd0