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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov byte [rbp + 0x67], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], 0
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x21], 0
mov dword [rbp + 0x6f], reloc.WS2_32.dll_sendto
lea rax, [rbp + 0x77]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400ccdfe
xor r13d, r13d
nop dword [rax]
nop word [rax + rax]
mov r8d, r13d
lea rdx, str._03d
lea rcx, [rbp - 0x39]
call fcn.1400ccfe0
lea rax, [rbp + 0x77]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
lea rdx, [rbp - 0x39]
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400ccdec
mov dword [rbp + 0x6f], reloc.WS2_32.dll_sendto
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DriverDesc
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400ccde2
lea rax, [rbp - 0x39]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400ccbb0
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x21]
call fcn.14002dac0
lea rsi, [rbp - 0x21]
mov rcx, qword [rbp - 9]
cmp rcx, 0x10
setae al
mov r15, qword [rbp - 0x21]
cmovae rsi, r15
lea rdx, [rbp - 0x21]
mov r14, qword [rbp - 0x11]
test al, al
je 0x1400ccbf3
mov rbx, r15
lea rdi, [r14 + r15]
jmp 0x1400ccbfb
lea rdi, [rdx + r14]
lea rbx, [rbp - 0x21]
cmp rbx, rdi
je 0x1400ccc23
sub rsi, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsi + rbx], al
inc rbx
cmp rbx, rdi
jne 0x1400ccc03
mov rcx, qword [rbp - 9]
mov r14, qword [rbp - 0x11]
mov r15, qword [rbp - 0x21]
lea rdi, [rbp - 0x21]
cmp rcx, 0x10
setae r12b
cmovae rdi, r15
cmp r14, 8
jb 0x1400ccca7
lea rsi, [r14 + rdi]
lea r8, [rsi - 7]
sub r8, rdi
mov edx, 0x65
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400ccca7
nop dword [rax]
mov r8d, 8
lea rdx, str.ethernet
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400ccc9a
inc rbx
lea r8, [rsi - 7]
sub r8, rbx
mov edx, 0x65
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1400ccc60
jmp 0x1400ccca7
sub rbx, rdi
cmp rbx, 0xffffffffffffffff
jne 0x1400ccd42
lea rbx, [rbp - 0x21]
test r12b, r12b
cmovne rbx, r15
cmp r14, 4
jb 0x1400ccde2
lea rdi, [rbx + r14]
lea r8, [rdi - 3]
sub r8, rbx
mov edx, 0x77
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov r9, rax
test rax, rax
je 0x1400ccde2
xor eax, eax
lea rdx, str.wifi
nop dword [rax]
movzx ecx, byte [r9 + rax]
inc rax
cmp cl, byte [rdx + rax - 1]
jne 0x1400ccd08
cmp rax, 4
jne 0x1400cccf0
xor eax, eax
jmp 0x1400ccd0d
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400ccd35
inc r9
lea r8, [rdi - 3]
sub r8, r9
mov edx, 0x77
mov rcx, r9
call sub.VCRUNTIME140.dll_memchr
mov r9, rax
test rax, rax
jne 0x1400ccce0
jmp 0x1400ccde2
sub r9, rbx
cmp r9, 0xffffffffffffffff
je 0x1400ccde2
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.NetworkAddress
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400ccd8f
lea rcx, [rbp - 0x39]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400ccd80
cmp rax, 0xc
je 0x1400ccde2
lea rcx, [rbp - 1]
call fcn.1400caa80
cmp qword [rax + 0x18], 0x10
jb 0x1400ccda2
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.1400ccfe0
lea rcx, [rbp - 1]
call fcn.140020e70
mov dword [rsp + 0x28], reloc.WS2_32.dll_listen
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.NetworkAddress
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r13d
cmp r13d, 0xff
jl 0x1400ccb30
jmp 0x1400cce02
mov byte [rbp + 0x67], 0
lea rcx, [rbp - 0x21]
call fcn.140020e70
movzx eax, byte [rbp + 0x67]
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret