Function at 0x140003840
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x5a0
mov rax, qword [0x14008f060]
xor rax, rsp
mov qword [rsp + 0x590], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor ebx, ebx
mov dword [rsp + 0x548], ebx
mov rcx, qword [0x140093d78]
test rcx, rcx
je 0x14000389d
lea r9, str.Start
lea r8, str.Get_NOTIFIACTION_data
xor edx, edx
call fcn.140003290
nop
mov qword [rsp + 0x1e8], rbx
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x528], rax
xor edx, edx
lea rcx, [rsp + 0x530]
call fcn.140008d80
nop
mov dword [rsp + 0x548], 1
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x578], rax
mov qword [rsp + 0x228], rbx
mov rcx, qword [rsp + 0x1e8]
test rcx, rcx
je 0x14000390a
mov rax, qword [rcx]
lea rdx, [rsp + 0x1f0]
call qword [rax]
mov qword [rsp + 0x228], rax
mov rcx, qword [rdi + 8]
mov rdi, 0xffffffffffffffff
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140003920
add rax, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x1f0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x430]
call fcn.14000b6c0
nop
lea r8, [rsp + 0x530]
mov rcx, rax
call fcn.140007c80
nop
lea rcx, [rsp + 0x478]
call fcn.1400079b0
mov rcx, qword [rsp + 0x468]
test rcx, rcx
je 0x1400039a3
mov rax, qword [rcx]
lea rdx, [rsp + 0x430]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rsp + 0x468], rbx
mov rcx, qword [rsp + 0x1e8]
test rcx, rcx
je 0x1400039cc
mov rax, qword [rcx]
lea rdx, [rsp + 0x1b0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rsp + 0x1e8], rbx
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], reloc.WS2_32.dll_ntohs
mov r8d, 8
lea rdx, str.Function
lea rcx, [rsp + 0x90]
call fcn.140006630
lea rax, [rsp + 0x90]
mov qword [rsp + 0x528], rax
movzx eax, byte [rsp + 0x530]
test al, al
jne 0x140003a40
mov byte [rsp + 0x530], 1
call fcn.14000eb90
mov rcx, rax
mov qword [rsp + 0x538], rax
movzx eax, byte [rsp + 0x530]
jmp 0x140003a48
mov rcx, qword [rsp + 0x538]
cmp al, 1
jne 0x140004346
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x30]
call fcn.140010460
mov rsi, qword [rsp + 0x30]
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x140003aaa
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003aa5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000439b
call fcn.140036d1c
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x90], 0
mov qword [rsp + 0x558], rbx
mov qword [rsp + 0x568], rbx
mov qword [rsp + 0x570], 0xf
mov byte [rsp + 0x558], 0
mov dword [rsp + 0x548], 9
cmp byte [rsi + 0x40], 3
jne 0x1400043a1
mov r8, qword [rsi + 0x48]
lea rax, [rsp + 0x558]
cmp rax, r8
je 0x140003b2f
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140003b1d
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rsp + 0x558]
call fcn.140006630
nop
mov dword [rsp + 0x548], 7
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], reloc.WS2_32.dll_ntohs
mov r8d, 9
lea rdx, str.Parameter
lea rcx, [rsp + 0xb0]
call fcn.140006630
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x528], rax
movzx eax, byte [rsp + 0x530]
test al, al
jne 0x140003bae
mov byte [rsp + 0x530], 1
call fcn.14000eb90
mov rcx, rax
mov qword [rsp + 0x538], rax
movzx eax, byte [rsp + 0x530]
jmp 0x140003bb6
mov rcx, qword [rsp + 0x538]
cmp al, 1
jne 0x140004539
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x70]
call fcn.140010460
mov rsi, qword [rsp + 0x70]
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0x10
jb 0x140003c18
inc rdx
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400043f4
call fcn.140036d1c
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xb0], 0
lea rdx, [rsi + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140005770
nop
lea rcx, [rsp + 0x558]
cmp qword [rsp + 0x570], 0x10
cmovae rcx, qword [rsp + 0x558]
cmp qword [rsp + 0x568], 0x25
jne 0x140004152
mov r8d, 0x25
lea rdx, str.X_Sense_PrivacyPolicyConsensus_ADESV2
call fcn.140039b60
test eax, eax
jne 0x140004152
mov rcx, qword [0x140093d78]
test rcx, rcx
je 0x140003ca8
lea r9, str.Function_X_Sense_PrivacyPolicyConsensus_ADESV2.
lea r8, str.Get_NOTIFIACTION_data
xor edx, edx
call fcn.140003290
nop
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xe8], reloc.WS2_32.dll_ntohs
mov r8d, 6
lea rdx, str.status
lea rcx, [rsp + 0xd0]
call fcn.140006630
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x528], rax
movzx eax, byte [rsp + 0x30]
test al, al
jne 0x140003d10
mov byte [rsp + 0x30], 1
call fcn.14000eb90
mov rcx, rax
mov qword [rsp + 0x38], rax
movzx eax, byte [rsp + 0x30]
jmp 0x140003d15
mov rcx, qword [rsp + 0x38]
cmp al, 1
jne 0x1400044e7
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x70]
call fcn.140010460
mov rsi, qword [rsp + 0x70]
mov rdx, qword [rsp + 0xe8]
cmp rdx, 0x10
jb 0x140003d77
inc rdx
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400043fa
call fcn.140036d1c
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xe8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xd0], 0
movzx edx, byte [rsi + 0x40]
cmp edx, 9
ja case.0x140003db2.0
lea r8, [0x140000000]
mov ecx, dword [r8 + rdx*4 + 0x4594]
add rcx, r8
jmp rcx
lea rax, [rsi + 0x48]
cmp dl, 6
cmovne rax, rbx
mov esi, dword [rax]
jmp 0x140003df9
sub dl, 5
cmp dl, 1
ja 0x140003dd3
add rsi, 0x48
mov esi, dword [rsi]
jmp 0x140003df9
mov rsi, rbx
mov esi, dword [rbx]
jmp 0x140003df9
lea rax, [rsi + 0x48]
cmp dl, 7
cmovne rax, rbx
cvttsd2si esi, qword [rax]
jmp 0x140003df9
lea rax, [rsi + 0x48]
cmp dl, 4
cmovne rax, rbx
movzx esi, byte [rax]
mov qword [rsp + 0x520], rbx
lea rax, [rsp + 0x520]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SoftwareOEMADESV2
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [0x140093d78]
test eax, eax
jne 0x1400040e8
test rcx, rcx
je 0x140003e5b
lea r9, str.Registry_found
lea r8, str.Get_NOTIFIACTION_data__SoftwareOEMADESV2
xor edx, edx
call fcn.140003290
mov rcx, qword [0x140093d78]
cmp esi, 1
jne 0x140003f4b
test rcx, rcx
je 0x140003e7e
lea r9, str.Parameter_status__1.
lea r8, str.Get_NOTIFIACTION_data
xor edx, edx
call fcn.140003290
mov dword [rsp + 0x550], 0x31
lea rax, [rsp + 0x550]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140003e91
add edi, edi
mov dword [rsp + 0x28], edi
lea rax, [rsp + 0x550]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14007ad98]
mov rcx, qword [rsp + 0x520]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140004400
mov rcx, qword [0x140093d78]
test rcx, rcx
je 0x140003ef5
lea r9, [0x14007ad94]
lea r8, str.Get_NOTIFIACTION_data__RegSetValueEx:_SoftwareOEMADESV2Consensus
xor edx, edx
call fcn.140003290
mov qword [rsp + 0x110], rbx
mov qword [rsp + 0x120], rbx
mov qword [rsp + 0x128], reloc.WS2_32.dll_ntohs
mov r8d, 1
lea rdx, [0x14007ae50]
lea rcx, [rsp + 0x110]
call fcn.140006630
lea rcx, [rsp + 0x110]
call fcn.14001afd0
mov rcx, qword [rsp + 0x520]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140004146
test esi, esi
jne 0x14000403a
test rcx, rcx
je 0x140003f6d
lea r9, str.Parameter_status__0.
lea r8, str.Get_NOTIFIACTION_data
xor edx, edx
call fcn.140003290
mov dword [rsp + 0x540], 0x30
lea rax, [rsp + 0x540]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140003f80
add edi, edi
mov dword [rsp + 0x28], edi
lea rax, [rsp + 0x540]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14007ad98]
mov rcx, qword [rsp + 0x520]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14000444a
mov rcx, qword [0x140093d78]
test rcx, rcx
je 0x140003fe4
lea r9, [0x14007ae84]
lea r8, str.Get_NOTIFIACTION_data__RegSetValueEx:_SoftwareOEMADESV2Consensus
xor edx, edx
call fcn.140003290
mov qword [rsp + 0x190], rbx
mov qword [rsp + 0x1a0], rbx
mov qword [rsp + 0x1a8], reloc.WS2_32.dll_ntohs
mov r8d, 1
lea rdx, [0x14007ae50]
lea rcx, [rsp + 0x190]
call fcn.140006630
lea rcx, [rsp + 0x190]
call fcn.14001afd0
mov rcx, qword [rsp + 0x520]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140004146
test rcx, rcx
je 0x140004054
lea r9, str.Fail
lea r8, str.Get_NOTIFIACTION_data__RegSetValueEx:_SoftwareOEMADESV2Consensus
xor edx, edx
call fcn.140003290
mov qword [rsp + 0x170], rbx
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x188], reloc.WS2_32.dll_ntohs
mov r8d, 1
lea rdx, [0x14007aa20]
lea rcx, [rsp + 0x170]
call fcn.140006630
lea rcx, [rsp + 0x170]
call fcn.14001afd0
mov ecx, 0x200
call fcn.140036d24
mov rdi, rax
mov r9d, esi
lea r8, str.consensus_othres__consensus_:__d
mov edx, pe_nt_image_headers64
mov rcx, rax
call fcn.140001630
mov rcx, qword [0x140093d78]
test rcx, rcx
je 0x1400040d8
mov r9, rdi
lea r8, str.ADESSocket::Get_NOTIFIACTION_data
xor edx, edx
call fcn.140003290
mov rcx, qword [rsp + 0x520]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140004146
test rcx, rcx
je 0x140004102
lea r9, str.Registry_NOT_found
lea r8, str.Get_NOTIFIACTION_data__SoftwareOEMADESV2
xor edx, edx
call fcn.140003290
mov qword [rsp + 0x150], rbx
mov qword [rsp + 0x160], rbx
mov qword [rsp + 0x168], reloc.WS2_32.dll_ntohs
mov r8d, 1
lea rdx, [0x14007ae4c]
lea rcx, [rsp + 0x150]
call fcn.140006630
lea rcx, [rsp + 0x150]
call fcn.14001afd0
nop
jmp 0x140004272
mov rcx, qword [0x140093d78]
test rcx, rcx
je 0x140004173
lea r9, str.Function_othres.
lea r8, str.Get_NOTIFIACTION_data
xor edx, edx
call fcn.140003290
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0x148], reloc.WS2_32.dll_ntohs
mov r8d, 1
lea rdx, [0x14007aa20]
lea rcx, [rsp + 0x130]
call fcn.140006630
lea rcx, [rsp + 0x130]
call fcn.14001afd0
lea rax, [rsp + 0x558]
cmp qword [rsp + 0x570], 0x10
cmovae rax, qword [rsp + 0x558]
mov rsi, rdi
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400041d3
inc rsi
mov eax, 2
mul rsi
cmovo rax, rdi
mov rcx, rax
call fcn.140036d24
mov r14, rax
mov qword [rsp + 0x580], rbx
lea r9, [rsp + 0x558]
cmp qword [rsp + 0x570], 0x10
cmovae r9, qword [rsp + 0x558]
mov qword [rsp + 0x20], rdi
mov r8, rsi
mov rdx, rax
lea rcx, [rsp + 0x580]
call fcn.14004b2a8
mov ecx, 0x200
call fcn.140036d24
mov rdi, rax
mov r9, r14
lea r8, str.Function_othres__Function:__s
mov edx, pe_nt_image_headers64
mov rcx, rax
call fcn.140001630
mov rcx, qword [0x140093d78]
test rcx, rcx
je 0x140004272
mov r9, rdi
lea r8, str.ADESSocket::Get_NOTIFIACTION_data
xor edx, edx
call fcn.140003290
nop
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140006120
nop
jmp 0x140004286
mov rdx, qword [rsp + 0x570]
cmp rdx, 0x10
jb 0x1400042c9
inc rdx
mov rcx, qword [rsp + 0x558]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400042c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000458e
call fcn.140036d1c
mov qword [rsp + 0x568], rbx
mov qword [rsp + 0x570], 0xf
mov byte [rsp + 0x558], 0
movzx edx, byte [rsp + 0x530]
lea rcx, [rsp + 0x538]
call fcn.140006120
nop
mov rcx, qword [0x140093d78]
test rcx, rcx
je 0x14000431c
lea r9, [0x14007a9b8]
lea r8, str.Get_NOTIFIACTION_data
xor edx, edx
call fcn.140003290
mov rcx, qword [rsp + 0x590]
xor rcx, rsp
call fcn.140036cc0
lea r11, [rsp + 0x5a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
lea rcx, [rsp + 0x530]
call fcn.140008cf0
mov qword [rsp + 0x578], rax
lea r8, [rsp + 0x578]
lea rcx, [rsp + 0x408]
call fcn.14000ec10
nop
mov r8, rax
mov edx, 0x131
lea rcx, [rsp + 0x350]
call fcn.14000ecc0
lea rdx, [0x14008ca20]
lea rcx, [rsp + 0x350]
call fcn.14003919c
nop
call fcn.14004bad0
nop
lea rcx, [rsi + 0x40]
call fcn.140008cf0
mov qword [rsp + 0x520], rax
lea r8, [rsp + 0x520]
lea rdx, str.type_must_be_string__but_is
lea rcx, [rsp + 0x3c8]
call fcn.1400146a0
nop
mov r8, rax
lea rcx, [rsp + 0x270]
call fcn.140014760
lea rdx, [0x14008ca20]
lea rcx, [rsp + 0x270]
call fcn.14003919c
nop
call fcn.14004bad0
nop
call fcn.14004bad0
int3
lea r8, str.Fail
lea rdx, str.Get_NOTIFIACTION_data__RegSetValueEx:_SoftwareOEMADESV2Consensus
call fcn.140003820
lea rdx, [0x14007ae4c]
lea rcx, [rsp + 0x250]
call fcn.140005bb0
mov rcx, rax
call fcn.14001afd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
lea rdx, [0x14008ca80]
lea rcx, [rsp + 0x48]
call fcn.14003919c
lea r8, str.Fail
lea rdx, str.Get_NOTIFIACTION_data__RegSetValueEx:_SoftwareOEMADESV2Consensus
call fcn.140003820
lea rdx, [0x14007ae4c]
lea rcx, [rsp + 0x230]
call fcn.140005bb0
mov rcx, rax
call fcn.14001afd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x4c], eax
lea rdx, [0x14008ca80]
lea rcx, [rsp + 0x4c]
call fcn.14003919c
lea rcx, [rsi + 0x40]
call fcn.140008cf0
mov qword [rsp + 0x540], rax
lea r8, [rsp + 0x540]
lea rdx, str.type_must_be_number__but_is
lea rcx, [rsp + 0x3a8]
call fcn.1400146a0
nop
mov r8, rax
lea rcx, [rsp + 0x2a8]
call fcn.140014760
lea rdx, [0x14008ca20]
lea rcx, [rsp + 0x2a8]
call fcn.14003919c
nop
lea rcx, [rsp + 0x30]
call fcn.140008cf0
mov qword [rsp + 0x540], rax
lea r8, [rsp + 0x540]
lea rcx, [rsp + 0x388]
call fcn.14000ec10
nop
mov r8, rax
mov edx, 0x131
lea rcx, [rsp + 0x2e0]
call fcn.14000ecc0
lea rdx, [0x14008ca20]
lea rcx, [rsp + 0x2e0]
call fcn.14003919c
nop
lea rcx, [rsp + 0x530]
call fcn.140008cf0
mov qword [rsp + 0x580], rax
lea r8, [rsp + 0x580]
lea rcx, [rsp + 0x3e8]
call fcn.14000ec10
nop
mov r8, rax
mov edx, 0x131
lea rcx, [rsp + 0x318]
call fcn.14000ecc0
lea rdx, [0x14008ca20]
lea rcx, [rsp + 0x318]
call fcn.14003919c
nop
call fcn.14004bad0
int3