Function at 0x1800100b4
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rdi, rdx
mov rsi, rcx
lea rcx, case.0x180031f8c.6
mov rax, qword [case.0x180031f8c.6]
call qword [rax + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov ecx, 0x9c
call fcn.180003220
test rax, rax
je 0x180010116
mov r8d, LoadRegTypeLib
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180003b30
mov rbx, qword [rsp + 0x30]
lea rdx, [rdi + 2]
lea rcx, [rsp + 0x78]
call fcn.1800035b0
nop
lea rcx, [rsp + 0x78]
call fcn.180010a68
lea rcx, case.0x180031f8c.6
mov rax, qword [case.0x180031f8c.6]
call qword [rax + Ordinal_26]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x70], rdi
xor edx, edx
mov ecx, 0xcb
call fcn.180003220
test rax, rax
je 0x180010172
mov r8d, 0xcb
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.180003b30
mov rdi, qword [rsp + 0x70]
lea rcx, case.0x180031f8c.6
mov rax, qword [case.0x180031f8c.6]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rdi
mov r9, qword [rsp + 0x78]
mov r8, rbx
lea rdx, str._s__s__s
lea rcx, [rsp + 0x38]
call fcn.180010c8c
mov rbx, qword [rsp + 0x38]
mov eax, dword [rbx - 0x10]
test eax, eax
je 0x18001025b
lea eax, [rax + rax + 2]
mov dword [rsp + 0x20], eax
mov r9, rbx
mov edi, 1
mov r8d, edi
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
nop
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1800101f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x180010217
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x180010237
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
add ecx, ebx
test ecx, ecx
jg 0x180010257
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rioctlsocket + 8]
mov eax, edi
jmp 0x1800102da
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x180010279
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x180010299
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1800102b9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1800102d8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret