Function at 0x1400c4d00
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
xor r13d, r13d
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x21], r13b
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 0x1400c4fee
nop
mov r8d, r13d
lea rdx, str._03d
lea rcx, [rbp - 0x39]
call fcn.1400c51d0
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 0x1400c4fdc
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 0x1400c4fd2
lea rax, [rbp - 0x39]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400c4df0
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x21]
call fcn.140027830
lea rdi, [rbp - 0x21]
mov r15, qword [rbp - 0x21]
mov r12, qword [rbp - 9]
cmp r12, 0xf
cmova rdi, r15
lea rsi, [rbp - 0x21]
cmova rsi, r15
mov r14, qword [rbp - 0x11]
add rsi, r14
lea rbx, [rbp - 0x21]
cmp r12, 0xf
cmova rbx, r15
cmp rbx, rsi
je 0x1400c4e60
sub rdi, rbx
nop
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rdi + rbx], al
inc rbx
cmp rbx, rsi
jne 0x1400c4e40
mov r12, qword [rbp - 9]
mov r14, qword [rbp - 0x11]
mov r15, qword [rbp - 0x21]
lea rbx, [rbp - 0x21]
cmp r12, 0xf
cmova rbx, r15
cmp r14, 8
jb 0x1400c4ec6
lea rdi, [r14 + rbx]
lea r8, [rdi - 7]
sub r8, rbx
mov edx, 0x65
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400c4ec6
nop
movabs rcx, 0x74656e7265687465
cmp qword [rax], rcx
je 0x1400c4ebd
inc rax
lea r8, [rdi - 7]
sub r8, rax
mov edx, 0x65
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x1400c4e90
jmp 0x1400c4ec6
sub rax, rbx
cmp rax, 0xffffffffffffffff
jne 0x1400c4f36
lea rbx, [rbp - 0x21]
cmp r12, 0xf
cmova rbx, r15
cmp r14, 4
jb 0x1400c4fd2
lea rdi, [rbx + r14]
lea r8, [rdi - 3]
sub r8, rbx
mov edx, 0x77
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400c4fd2
nop dword [rax]
cmp dword [rax], 0x69666977
je 0x1400c4f29
inc rax
lea r8, [rdi - 3]
sub r8, rax
mov edx, 0x77
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x1400c4f00
jmp 0x1400c4fd2
sub rax, rbx
cmp rax, 0xffffffffffffffff
je 0x1400c4fd2
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 0x1400c4f7f
lea rcx, [rbp - 0x39]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x1400c4f70
cmp rax, 0xc
je 0x1400c4fd2
lea rcx, [rbp - 1]
call fcn.1400c2d20
cmp qword [rax + 0x18], 0xf
jbe 0x1400c4f92
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.1400c51d0
lea rcx, [rbp - 1]
call fcn.14001ee00
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 0x1400c4d70
jmp 0x1400c4ff2
mov byte [rbp + 0x67], 0
lea rcx, [rbp - 0x21]
call fcn.14001ee00
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