Function at 0x1400c9290
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 0x1400c95de
xor r13d, r13d
nop dword [rax]
nop word [rax + rax]
mov r8d, r13d
lea rdx, str._03d
lea rcx, [rbp - 0x39]
call fcn.1400c97c0
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 0x1400c95cc
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 0x1400c95c2
lea rax, [rbp - 0x39]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400c9390
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x21]
call fcn.140029590
lea rsi, [rbp - 0x21]
mov rcx, qword [rbp - 9]
cmp rcx, 0xf
seta al
mov r15, qword [rbp - 0x21]
cmova rsi, r15
lea rdx, [rbp - 0x21]
mov r14, qword [rbp - 0x11]
test al, al
je 0x1400c93d3
mov rbx, r15
lea rdi, [r14 + r15]
jmp 0x1400c93db
lea rdi, [rdx + r14]
lea rbx, [rbp - 0x21]
cmp rbx, rdi
je 0x1400c9403
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 0x1400c93e3
mov rcx, qword [rbp - 9]
mov r14, qword [rbp - 0x11]
mov r15, qword [rbp - 0x21]
lea rdi, [rbp - 0x21]
cmp rcx, 0xf
seta r12b
cmova rdi, r15
cmp r14, 8
jb 0x1400c9487
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 0x1400c9487
nop dword [rax]
mov r8d, 8
lea rdx, str.ethernet
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400c947a
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 0x1400c9440
jmp 0x1400c9487
sub rbx, rdi
cmp rbx, 0xffffffffffffffff
jne 0x1400c9522
lea rbx, [rbp - 0x21]
test r12b, r12b
cmovne rbx, r15
cmp r14, 4
jb 0x1400c95c2
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 0x1400c95c2
xor eax, eax
lea rdx, str.wifi
nop dword [rax]
movzx ecx, byte [r9 + rax]
inc rax
cmp cl, byte [rdx + rax - 1]
jne 0x1400c94e8
cmp rax, 4
jne 0x1400c94d0
xor eax, eax
jmp 0x1400c94ed
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400c9515
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 0x1400c94c0
jmp 0x1400c95c2
sub r9, rbx
cmp r9, 0xffffffffffffffff
je 0x1400c95c2
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 0x1400c956f
lea rcx, [rbp - 0x39]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400c9560
cmp rax, 0xc
je 0x1400c95c2
lea rcx, [rbp - 1]
call fcn.1400c7310
cmp qword [rax + 0x18], 0xf
jbe 0x1400c9582
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.1400c97c0
lea rcx, [rbp - 1]
call fcn.140020d70
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 0x1400c9310
jmp 0x1400c95e2
mov byte [rbp + 0x67], 0
lea rcx, [rbp - 0x21]
call fcn.140020d70
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