Function at 0x14000b410
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x140013008]
xor rax, rsp
mov qword [rbp + 0x140], rax
or ecx, 2
lea rax, [rsp + 0x38]
mov r9d, ecx
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000000
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
xor r12d, r12d
test eax, eax
je 0x14000b480
mov dword [0x1400539a0], 0x2c0
jmp 0x14000b69d
lea rcx, [rsp + 0x30]
call fcn.14000adbc
test eax, eax
je 0x14000b67b
dec dword [0x140053768]
mov edi, 0x20
lea esi, [rdi + 0x3c]
movzx ecx, si
call fcn.14000b6d8
test eax, eax
lea rbx, str..classes
cmove rbx, qword [str.HKEY_CLASSES_ROOT]
jmp 0x14000b4cf
movzx ecx, ax
call fcn.14000b6d8
lea rbx, [rbx + 2]
test eax, eax
je 0x14000b630
movzx eax, word [rbx]
test ax, ax
jne 0x14000b4bb
mov ecx, esi
call fcn.14000b6d8
test eax, eax
je 0x14000b630
mov ebx, r12d
jmp 0x14000b51a
movzx ecx, word [rsp + 0x30]
cmp cx, di
ja 0x14000b505
movabs rdx, 0x100002400
bt rdx, rcx
jb 0x14000b528
cmp ebx, 0xff
jae 0x14000b630
mov eax, ebx
inc ebx
mov word [rsp + rax*2 + 0x40], cx
lea rcx, [rsp + 0x30]
call fcn.14000adbc
test eax, eax
jne 0x14000b4eb
mov eax, ebx
add rax, rax
cmp rax, 0x200
jae 0x14000b6c9
mov word [rsp + rax + 0x40], r12w
call fcn.14000c750
mov ecx, 0x3d
call fcn.14000b6d8
test eax, eax
je 0x14000b559
mov ecx, edi
call fcn.14000b6d8
mov edx, 0x100
mov ecx, 0x40
mov esi, r12d
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
nop dword [rax + rax]
mov edi, r12d
lea rcx, [rsp + 0x30]
test rax, rax
mov rbx, rax
setne dil
call fcn.14000adbc
test eax, eax
je 0x14000b63a
mov r14d, 0x200
test edi, edi
je 0x14000b60a
movzx r15d, word [rsp + 0x30]
cmp r15w, 0xa
je 0x14000b63e
cmp r15w, 0xd
je 0x14000b63e
lea eax, [r14 - 0x101]
cmp esi, eax
jb 0x14000b5ee
mov edx, r14d
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalReAlloc]
nop dword [rax + rax]
test rax, rax
je 0x14000b607
mov edi, 1
mov rbx, rax
add r14d, 0x100
mov eax, esi
lea rcx, [rsp + 0x30]
inc esi
mov word [rbx + rax*2], r15w
call fcn.14000adbc
test eax, eax
je 0x14000b63e
jmp 0x14000b597
mov edi, r12d
mov dword [0x1400539a0], 0x6b
test rbx, rbx
je 0x14000b628
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
test edi, edi
jne 0x14000b480
call fcn.14000c6fc
jmp 0x14000b480
test edi, edi
je 0x14000b60a
mov eax, esi
lea rdx, [rsp + 0x40]
mov r9, rbx
mov r8d, 1
mov word [rbx + rax*2], r12w
lea eax, [rsi + rsi]
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x20], eax
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegSetValueW]
nop dword [rax + rax]
test eax, eax
je 0x14000b614
mov dword [0x1400539a0], 0x2c1
jmp 0x14000b614
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegFlushKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140001350
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140001538
int3