Function at 0x1400225b0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x3e8]
sub rsp, 0x4d0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14003e010]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov r15, rcx
mov qword [rsp + 0x78], rcx
xor r14d, r14d
mov dword [rbp - 0x78], r14d
call fcn.140001540
mov rcx, rax
test rax, rax
je 0x1400229d1
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140027f5e.0]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x48], 0x400
lea rax, [rbp - 0x80]
mov qword [rsp + 0x78], rax
call fcn.140001540
mov rcx, rax
test rax, rax
je 0x1400229dc
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140027f5e.0]
add rax, 0x18
mov qword [rbp - 0x80], rax
lea rdx, [0x14002f924]
lea rcx, [rbp - 0x80]
call fcn.14000ae00
test al, al
jne 0x14002267f
lea rdx, [0x14002f924]
lea rcx, [rbp - 0x80]
call fcn.14000af20
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
call fcn.140022ed0
test al, al
jne 0x140022722
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
mov edi, 0xffffffff
cmp dword [rdx + 8], 0
je 0x1400226f4
cmp dword [rdx + 0x10], 0
jge 0x1400226c0
cmp dword [rbx - 0xc], 0
jl 0x1400229e7
mov dword [rbx - 0x10], r14d
mov word [rbx], r14w
jmp 0x1400226f4
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400226dc
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140027f5e.0]
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x18]
call qword [case.0x140027f5e.0]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x60], rbx
lea rcx, [rbx - 0x18]
call fcn.14000b250
add rax, 0x18
mov qword [r15], rax
lock xadd dword [rbx - 8], edi
sub edi, 1
jg 0x140022997
mov rcx, qword [rbx - 0x18]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
jmp 0x14002298d
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.GUID
mov rdi, qword [rbp - 0x70]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400227ad
lea r8, [rbp - 0x40]
lea rdx, [0x14002e674]
lea rcx, [rbp - 0x60]
call fcn.14000b890
mov rbx, qword [rbp - 0x60]
lea rcx, [rbx - 0x18]
call fcn.14000b250
add rax, 0x18
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x78]
call fcn.140022290
test al, al
je 0x1400227ad
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbx - 0x18]
call fcn.14000b250
add rax, 0x18
mov qword [r15], rax
mov edi, 0xffffffff
jmp 0x140022978
mov qword [rsp + 0x70], r14
call fcn.140001540
mov rcx, rax
test rax, rax
je 0x1400229c6
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140027f5e.0]
add rax, 0x18
mov qword [rsp + 0x70], rax
lea rdx, [0x14002dece]
lea rcx, [rsp + 0x70]
call fcn.14000ae00
test al, al
jne 0x140022800
lea rdx, [0x14002dece]
lea rcx, [rsp + 0x70]
call fcn.14000af20
nop
mov dword [rbp - 0x78], 2
lea rcx, [rbp - 0x58]
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x14002287f
movzx eax, byte [rbp - 0x49]
movzx ecx, byte [rbp - 0x4a]
movzx edx, byte [rbp - 0x4b]
movzx r8d, byte [rbp - 0x4c]
movzx r10d, byte [rbp - 0x4d]
movzx r11d, byte [rbp - 0x4e]
movzx edi, byte [rbp - 0x4f]
movzx esi, byte [rbp - 0x50]
movzx r14d, word [rbp - 0x52]
movzx r9d, word [rbp - 0x54]
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r14d
mov r8d, dword [rbp - 0x58]
lea rdx, str._08x__04x__04x__02x_02x__02x_02x_02x_02x_02x_02x
lea rcx, [rsp + 0x70]
call fcn.14000b890
mov rdx, qword [rsp + 0x70]
lea rsi, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
mov edi, 0xffffffff
cmp rsi, rbx
je 0x1400228e6
cmp dword [rbx + 0x10], 0
jl 0x1400228d8
mov rax, qword [rbx]
cmp qword [rsi], rax
jne 0x1400228d8
mov rcx, rsi
call fcn.14000b250
mov r14, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1400228ce
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
mov rax, qword [r8 + 8]
call qword [case.0x140027f5e.0]
lea rax, [r14 + 0x18]
mov qword [rbp - 0x60], rax
jmp 0x1400228e6
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x60]
call fcn.14000b2f0
nop
mov eax, edi
lock xadd dword [rsi + 0x10], eax
sub eax, 1
jg 0x140022905
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
mov rax, qword [rax + 8]
call qword [case.0x140027f5e.0]
mov rbx, qword [rbp - 0x60]
mov esi, dword [rbx - 0x10]
cmp dword [rbx - 8], 1
jle 0x140022921
mov edx, esi
lea rcx, [rbp - 0x60]
call fcn.14000b660
mov rbx, qword [rbp - 0x60]
lea eax, [rsi*2 + 1]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.GUID
mov rsi, qword [rbp - 0x70]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14002295f
lea rcx, [rbp - 0x60]
call fcn.14000a700
mov rbx, qword [rbp - 0x60]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbx - 0x18]
call fcn.14000b250
add rax, 0x18
mov qword [r15], rax
lock xadd dword [rbx - 8], edi
sub edi, 1
jg 0x140022997
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
lea rdx, [rbx - 0x18]
call qword [case.0x140027f5e.0]
mov rax, r15
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.140027890
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001280
nop
mov ecx, 0x80004005
call fcn.140001280
nop
mov ecx, 0x80004005
call fcn.140001280
int3
mov ecx, 0x80070057
call fcn.140001280
int3