Function at 0x140008050
Capabilities:
Set registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov dword [rbp + 0x1c], 0x2c00
mov ecx, 0x790000
call fcn.140011474
mov rsi, rax
lea rdx, [rbp + 0x1c]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x1400080c7
mov rcx, rsi
call fcn.140011440
mov eax, dword [rbp + 0x1c]
imul rcx, rax, 0x2c0
call fcn.140011474
lea rdx, [rbp + 0x1c]
mov qword [rbp - 0x18], rax
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1400080cf
jmp 0x1400080ee
mov qword [rbp - 0x18], rsi
test eax, eax
je 0x1400080ee
mov rcx, qword [rbp - 0x18]
call fcn.140011440
xor eax, eax
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rbx, [rbp - 0x10]
lea r14, str.SYSTEMCurrentControlSetControlClass4d36e972_e325_11ce_bfc1_08002be10318_
lea rdi, [rbp - 0x50]
lea r15, [rbp - 0x20]
mov rsi, qword [rbp - 0x18]
jmp 0x140008124
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140011440
test rsi, rsi
je 0x1400080cf
lea r13, [rsi + 0xc]
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rbp - 0x10], ymm0
mov rcx, r13
vzeroupper
call fcn.140020170
test rax, rax
js 0x1400083ab
mov r12, rax
cmp rax, 0xf
ja 0x140008180
mov qword [rbp], r12
mov qword [rbp + 8], 0xf
mov rcx, rbx
mov rdx, r13
mov r8, r12
call fcn.140039610
add r12, rbp
add r12, 0xfffffffffffffff0
jmp 0x14000820a
mov qword [rbp - 0x28], rsi
mov rsi, rbx
mov rbx, r14
mov r14, rdi
mov r15, r12
or r15, 0xf
cmp r15, 0x17
mov eax, 0x16
cmovb r15, rax
cmp r15, 0xfff
jb 0x1400081d0
lea rcx, [r15 + 0x28]
call fcn.1400113fc
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400081dc
lea rcx, [r15 + 1]
call fcn.1400113fc
mov rdi, rax
mov qword [rbp - 0x10], rdi
mov qword [rbp], r12
mov qword [rbp + 8], r15
mov rcx, rdi
mov rdx, r13
mov r8, r12
call fcn.140039610
add r12, rdi
mov rdi, r14
mov r14, rbx
mov rbx, rsi
mov rsi, qword [rbp - 0x28]
lea r15, [rbp - 0x20]
mov byte [r12], 0
mov r8, qword [rbp]
mov rax, qword [rbp + 8]
mov rcx, rax
sub rcx, r8
cmp rcx, 0x4e
jae 0x140008250
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], 0x4e
mov edx, 0x4e
mov rcx, rbx
xor r9d, r9d
call fcn.1400078e0
jmp 0x1400082d1
lea rcx, [r8 + 0x4e]
mov qword [rbp], rcx
cmp rax, 0x10
mov rcx, qword [rbp - 0x10]
mov r12, rbx
cmovae r12, rcx
mov r13d, 0x4e
lea rdx, [0x140045cb2]
cmp r12, rdx
jae 0x14000828d
lea rdx, [r12 + r8]
cmp rdx, r14
jb 0x14000828d
mov r13, r12
sub r13, r14
ja 0x14000828d
xor r13d, r13d
inc r8
cmp rax, 0x10
cmovb rcx, rbx
add rcx, 0x4e
mov rdx, r12
call fcn.140039610
mov rcx, r12
mov rdx, r14
mov r8, r13
call fcn.140039610
mov r8d, 0x4e
sub r8, r13
lea rdx, [r14 + r13]
add rdx, 0x4e
add r12, r13
mov rcx, r12
call fcn.140039610
mov rax, rbx
vmovups ymm0, ymmword [rax]
vmovups ymmword [rbp - 0x50], ymm0
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rax, qword [rbp + 8]
cmp rax, 0x10
jb 0x14000832f
mov rcx, qword [rbp - 0x10]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140008327
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000848f
add rax, 0x28
mov rdx, rax
mov rcx, r8
vzeroupper
call fcn.140011440
cmp qword [rbp - 0x38], 0x10
mov rdx, rdi
jb 0x14000833d
mov rdx, qword [rbp - 0x50]
mov qword [rsp + 0x20], r15
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 2
vzeroupper
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1400083b0
lea rcx, str.Error_opening_registry_key:__s_n
call fcn.1400087a0
mov rax, qword [rbp - 0x38]
mov rsi, qword [rsi]
cmp rax, 0x10
jb 0x14000811f
mov rcx, qword [rbp - 0x50]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000811a
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jb 0x140008110
jmp 0x14000848f
call fcn.140007a90
lea rcx, [rbp - 0x10]
call fcn.140008520
mov rax, qword [0x140050018]
cmp rax, 0x10
jb 0x1400083fe
mov rcx, qword [section..data]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400083f9
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000848f
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140011440
vmovups ymm0, ymmword [rbp - 0x10]
vmovups ymmword [section..data], ymm0
lea rdi, [section..data]
mov eax, dword [0x140050010]
inc eax
cmp qword [0x140050018], 0x10
mov rdx, rdi
jb 0x14000842e
mov rdx, qword [section..data]
mov rcx, qword [rbp - 0x20]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
lea rdx, str.NetworkAddress
xor r8d, r8d
mov r9d, 1
vzeroupper
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp qword [0x140050018], 0x10
jb 0x140008465
mov rdi, qword [section..data]
mov rdx, rsi
add rdx, 0x110
lea rcx, str.MAC_Address_for__s:__s_n
mov r8, rdi
call fcn.1400087a0
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
call fcn.140008800
vzeroupper
call fcn.14001d5e8
int3