Function at 0x140003100
Capabilities:
Disable device guard features via registry on windows
Disable system features via registry on windows
Encode data using xor
Execute command
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x14016e010]
xor rax, rsp
mov qword [rbp + 0x40], rax
lea rcx, [0x14016389c]
call fcn.1400e34a4
xor r12b, r12b
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
xor r14d, r14d
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x78], rax
lea ecx, [r14 + 0x10]
call fcn.14000b280
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 0x78]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r14w
lea rdx, [0x1401638a0]
lea rcx, [rbp - 0x78]
call fcn.140009ce0
nop
mov qword [rsp + 0x58], r14
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x2011f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140004269
mov rsi, qword [rsp + 0x58]
mov qword [rbp - 0x80], rsi
lea edx, [rax + 3]
lea rcx, [rsp + 0x68]
call fcn.14000d820
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x140003240
cmp qword [rdx + 8], r14
je 0x14000323c
nop
mov rax, qword [rdx + 8]
mov qword [rax], r14
mov rax, qword [rdx + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
test rcx, rcx
jne 0x140003220
mov rdx, qword [rbp - 0x78]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x68]
call fcn.14000d900
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140003265
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14000b360
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r14w
mov rcx, qword [rbp - 0x78]
mov qword [rbp - 0x78], r14
mov edx, reloc.WS2_32.dll_recv
call fcn.14000b360
mov r13d, 0x80000000
test rsi, rsi
je 0x140003530
mov qword [rbp - 0x48], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x78], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000b280
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 0x50]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r14w
lea rdx, str.VulnerableDriverBlocklistEnable
lea rcx, [rbp - 0x50]
call fcn.140009ce0
nop
mov dword [rsp + 0x68], r14d
mov dword [rsp + 0x58], 4
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae r8, qword [rbp - 0x48]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor edx, edx
lea r9d, [rdx + 0x10]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edi, eax
test eax, eax
je 0x140003332
xor bl, bl
jmp 0x140003338
mov edi, dword [rsp + 0x68]
mov bl, 1
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.14000d820
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x140003380
cmp qword [rdx + 8], 0
je 0x14000337c
nop word [rax + rax]
mov rax, qword [rdx + 8]
mov qword [rax], r14
mov rax, qword [rdx + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
test rcx, rcx
jne 0x140003360
mov rdx, qword [rbp - 0x50]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.14000d900
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400033a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14000b360
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r14w
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x50], r14
mov edx, reloc.WS2_32.dll_recv
call fcn.14000b360
cmp bl, 1
jne 0x1400034fb
test edi, edi
je 0x1400034fb
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x78], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000b280
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 0x50]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r14w
lea rdx, str.VulnerableDriverBlocklistEnable
lea rcx, [rbp - 0x50]
call fcn.140009ce0
nop
mov dword [rsp + 0x58], r14d
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14000428c
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.14000d820
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x1400034b0
cmp qword [rdx + 8], 0
je 0x1400034ac
nop
mov rax, qword [rdx + 8]
mov qword [rax], r14
mov rax, qword [rdx + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
test rcx, rcx
jne 0x140003490
mov rdx, qword [rbp - 0x50]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.14000d900
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400034d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14000b360
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r14w
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x50], r14
mov edx, reloc.WS2_32.dll_recv
call fcn.14000b360
mov r12b, 1
lea rax, [rsi + r13]
cmp rax, 5
jbe 0x140003529
cmp rsi, 0xffffffff80000007
je 0x140003529
cmp rsi, 0xffffffff80000060
je 0x140003529
cmp rsi, 0xffffffff80000050
je 0x140003529
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, r14
mov qword [rbp - 0x80], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x78], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000b280
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 0x50]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r14w
lea rdx, str.SYSTEMControlSet001ControlDeviceGuard
lea rcx, [rbp - 0x50]
call fcn.140009ce0
nop
mov qword [rsp + 0x58], r14
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x2011f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400042af
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x70], rbx
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.14000d820
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x140003620
cmp qword [rdx + 8], 0
je 0x14000361c
mov rax, qword [rdx + 8]
mov qword [rax], r14
mov rax, qword [rdx + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
test rcx, rcx
jne 0x140003600
mov rdx, qword [rbp - 0x50]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.14000d900
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140003645
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14000b360
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r14w
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x50], r14
mov edx, reloc.WS2_32.dll_recv
call fcn.14000b360
test rbx, rbx
je 0x140003b72
mov qword [rbp - 0x70], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000b280
mov qword [rsp + 0x58], rax
lea rcx, [rbp - 0x78]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r14w
lea rdx, str.EnableVirtualizationBasedSecurity
lea rcx, [rbp - 0x78]
call fcn.140009ce0
nop
mov dword [rsp + 0x68], r14d
mov dword [rsp + 0x58], 4
lea r8, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae r8, qword [rbp - 0x70]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor edx, edx
lea r9d, [rdx + 0x10]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov r15d, eax
test eax, eax
je 0x14000370e
xor dil, dil
jmp 0x140003716
mov r15d, dword [rsp + 0x68]
mov dil, 1
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.14000d820
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x140003760
cmp qword [rdx + 8], 0
je 0x14000375c
nop word [rax + rax]
mov rax, qword [rdx + 8]
mov qword [rax], r14
mov rax, qword [rdx + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
test rcx, rcx
jne 0x140003740
mov rdx, qword [rbp - 0x78]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.14000d900
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140003785
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14000b360
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r14w
mov rcx, qword [rbp - 0x78]
mov qword [rbp - 0x78], r14
mov edx, reloc.WS2_32.dll_recv
call fcn.14000b360
cmp dil, 1
jne 0x1400038dc
test r15d, r15d
je 0x1400038dc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000b280
mov qword [rsp + 0x58], rax
lea rcx, [rbp - 0x78]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r14w
lea rdx, str.EnableVirtualizationBasedSecurity
lea rcx, [rbp - 0x78]
call fcn.140009ce0
nop
mov dword [rsp + 0x58], r14d
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400042d2
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.14000d820
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x140003891
cmp qword [rdx + 8], 0
je 0x14000388d
mov rax, qword [rdx + 8]
mov qword [rax], r14
mov rax, qword [rdx + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
test rcx, rcx
jne 0x140003871
mov rdx, qword [rbp - 0x78]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.14000d900
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400038b6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14000b360
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r14w
mov rcx, qword [rbp - 0x78]
mov qword [rbp - 0x78], r14
mov edx, reloc.WS2_32.dll_recv
call fcn.14000b360
mov r12b, 1
mov qword [rbp - 0x70], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000b280
mov qword [rsp + 0x58], rax
lea rcx, [rbp - 0x78]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r14w
lea rdx, str.RequireMicrosoftSignedBootChain
lea rcx, [rbp - 0x78]
call fcn.140009ce0
nop
mov dword [rsp + 0x68], r14d
mov dword [rsp + 0x58], 4
lea r8, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae r8, qword [rbp - 0x70]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor edx, edx
lea r9d, [rdx + 0x10]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov r15d, eax
test eax, eax
je 0x140003979
xor dil, dil
jmp 0x140003981
mov r15d, dword [rsp + 0x68]
mov dil, 1
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.14000d820
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x1400039c0
cmp qword [rdx + 8], 0
je 0x1400039bc
mov rax, qword [rdx + 8]
mov qword [rax], r14
mov rax, qword [rdx + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
test rcx, rcx
jne 0x1400039a0
mov rdx, qword [rbp - 0x78]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.14000d900
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400039e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14000b360
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r14w
mov rcx, qword [rbp - 0x78]
mov qword [rbp - 0x78], r14
mov edx, reloc.WS2_32.dll_recv
call fcn.14000b360
cmp dil, 1
jne 0x140003b3c
test r15d, r15d
je 0x140003b3c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000b280
mov qword [rsp + 0x58], rax
lea rcx, [rbp - 0x78]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r14w
lea rdx, str.RequireMicrosoftSignedBootChain
lea rcx, [rbp - 0x78]
call fcn.140009ce0
nop
mov dword [rsp + 0x58], r14d
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400042f5
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.14000d820
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x140003af1
cmp qword [rdx + 8], 0
je 0x140003aed
mov rax, qword [rdx + 8]
mov qword [rax], r14
mov rax, qword [rdx + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
test rcx, rcx
jne 0x140003ad1
mov rdx, qword [rbp - 0x78]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.14000d900
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140003b16
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14000b360
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r14w
mov rcx, qword [rbp - 0x78]
mov qword [rbp - 0x78], r14
mov edx, reloc.WS2_32.dll_recv
call fcn.14000b360
mov r12b, 1
lea rax, [rbx + r13]
cmp rax, 5
jbe 0x140003b6a
cmp rbx, 0xffffffff80000007
je 0x140003b6a
cmp rbx, 0xffffffff80000060
je 0x140003b6a
cmp rbx, 0xffffffff80000050
je 0x140003b6a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r14
mov qword [rsp + 0x70], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000b280
mov qword [rsp + 0x58], rax
lea rcx, [rbp - 0x78]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r14w
lea rdx, str.SYSTEMControlSet001ControlDeviceGuardScenarios
lea rcx, [rbp - 0x78]
call fcn.140009ce0
nop
mov qword [rsp + 0x58], r14
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x2011f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140004318
mov rdi, qword [rsp + 0x58]
mov qword [rsp + 0x68], rdi
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.14000d820
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x140003c70
cmp qword [rdx + 8], 0
je 0x140003c6c
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdx + 8]
mov qword [rax], r14
mov rax, qword [rdx + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
test rcx, rcx
jne 0x140003c50
mov rdx, qword [rbp - 0x78]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.14000d900
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140003c95
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14000b360
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r14w
mov rcx, qword [rbp - 0x78]
mov qword [rbp - 0x78], r14
mov edx, reloc.WS2_32.dll_recv
call fcn.14000b360
test rdi, rdi
je 0x140003f39
mov qword [rbp - 0x48], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000b280
mov qword [rsp + 0x58], rax
lea rcx, [rbp - 0x50]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r14w
lea rdx, str.HypervisorEnforcedCodeIntegrity
lea rcx, [rbp - 0x50]
call fcn.140009ce0
nop
mov dword [rsp + 0x58], r14d
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete r15b
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.14000d820
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x140003d90
cmp qword [rdx + 8], 0
je 0x140003d8c
nop dword [rax + rax]
mov rax, qword [rdx + 8]
mov qword [rax], r14
mov rax, qword [rdx + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
test rcx, rcx
jne 0x140003d70
mov rdx, qword [rbp - 0x50]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.14000d900
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140003db5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14000b360
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r14w
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x50], r14
mov edx, reloc.WS2_32.dll_recv
call fcn.14000b360
test r15b, r15b
je 0x140003f08
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000b280
mov qword [rsp + 0x58], rax
lea rcx, [rbp - 0x50]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r14w
lea rdx, str.HypervisorEnforcedCodeIntegrity
lea rcx, [rbp - 0x50]
call fcn.140009ce0
nop
mov dword [rsp + 0x58], r14d
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140004246
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.14000d820
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x140003ec0
cmp qword [rdx + 8], 0
je 0x140003ebc
nop word [rax + rax]
mov rax, qword [rdx + 8]
mov qword [rax], r14
mov rax, qword [rdx + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
test rcx, rcx
jne 0x140003ea0
mov rdx, qword [rbp - 0x50]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.14000d900
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140003ee5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14000b360
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r14w
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x50], r14
mov edx, reloc.WS2_32.dll_recv
call fcn.14000b360
lea rax, [rdi + r13]
cmp rax, 5
jbe 0x140003f36
cmp rdi, 0xffffffff80000007
je 0x140003f36
cmp rdi, 0xffffffff80000060
je 0x140003f36
cmp rdi, 0xffffffff80000050
je 0x140003f36
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r14
test r12b, r12b
je 0x140004168
movups xmm0, xmmword [0x1401632e0]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [0x1401632f0]
movups xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [0x140163300]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [0x140163310]
movups xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [0x140163320]
movups xmmword [rbp + 0x20], xmm0
movsd xmm1, qword [0x140163330]
movsd qword [rbp + 0x30], xmm1
mov eax, dword [0x140163338]
mov dword [rbp + 0x38], eax
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400040ef
movdqa xmm5, xmmword [0x140164070]
movdqa xmm4, xmmword [0x1401640e0]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x140164090]
mov eax, Ordinal_33
movd xmm8, eax
movdqa xmm0, xmmword [str.0000000000000000]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rbp - 0x1c]
mov edx, dword [rsp + 0x70]
nop dword [rax]
movd xmm2, r14d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401640a0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r14 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401640a0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r14d, 8
lea rcx, [rcx + 8]
cmp r14d, 0x58
jl 0x140003fe0
cmp r14d, 0x5c
jge 0x140004133
movsxd rax, r14d
lea r8, [rbp - 0x20]
add r8, rax
nop dword [rax]
mov eax, 0xa0a0a0a1
imul r14d
add edx, r14d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r14b
sub al, cl
add al, 0x30
xor byte [r8], al
inc r14d
lea r8, [r8 + 1]
cmp r14d, 0x5c
jl 0x140004100
mov r9d, 0x40030
lea r8, [0x140163ad0]
lea rdx, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.shutdown__r
call fcn.1400e34a4
xor r14b, r14b
jmp 0x14000416b
mov r14b, 1
test rdi, rdi
je 0x14000419f
lea rax, [rdi + r13]
cmp rax, 5
jbe 0x14000419f
cmp rdi, 0xffffffff80000007
je 0x14000419f
cmp rdi, 0xffffffff80000060
je 0x14000419f
cmp rdi, 0xffffffff80000050
je 0x14000419f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rbx, rbx
je 0x1400041d3
lea rax, [rbx + r13]
cmp rax, 5
jbe 0x1400041d3
cmp rbx, 0xffffffff80000007
je 0x1400041d3
cmp rbx, 0xffffffff80000060
je 0x1400041d3
cmp rbx, 0xffffffff80000050
je 0x1400041d3
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rsi, rsi
je 0x140004206
lea rax, [rsi + r13]
cmp rax, 5
jbe 0x140004206
cmp rsi, 0xffffffff80000007
je 0x140004206
cmp rsi, 0xffffffff80000060
je 0x140004206
cmp rsi, 0xffffffff80000050
je 0x140004206
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, r14b
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14000b980
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, str.Cannot_write_DWORD_value:_RegSetValueExW_failed.
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.140002fe0
lea rdx, [0x14016c678]
lea rcx, [rbp - 0x78]
call fcn.1400bc210
nop
lea r8, str.RegCreateKeyExW_failed.
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140002fe0
lea rdx, [0x14016c678]
lea rcx, [rbp - 0x50]
call fcn.1400bc210
nop
lea r8, str.Cannot_write_DWORD_value:_RegSetValueExW_failed.
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.140002fe0
lea rdx, [0x14016c678]
lea rcx, [rbp - 0x78]
call fcn.1400bc210
nop
lea r8, str.RegCreateKeyExW_failed.
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.140002fe0
lea rdx, [0x14016c678]
lea rcx, [rbp - 0x78]
call fcn.1400bc210
nop
lea r8, str.Cannot_write_DWORD_value:_RegSetValueExW_failed.
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140002fe0
lea rdx, [0x14016c678]
lea rcx, [rbp - 0x50]
call fcn.1400bc210
nop
lea r8, str.Cannot_write_DWORD_value:_RegSetValueExW_failed.
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140002fe0
lea rdx, [0x14016c678]
lea rcx, [rbp - 0x50]
call fcn.1400bc210
nop
lea r8, str.RegCreateKeyExW_failed.
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140002fe0
lea rdx, [0x14016c678]
lea rcx, [rbp - 0x50]
call fcn.1400bc210
int3