Function at 0x140004560
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 [0x1401e1010]
xor rax, rsp
mov qword [rbp + 0x40], rax
lea rcx, [0x1401ca1ec]
call fcn.1401400b0
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.14001bfb0
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, [0x1401ca1f0]
lea rcx, [rbp - 0x78]
call fcn.140017b60
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 0x1400056c9
mov rsi, qword [rsp + 0x58]
mov qword [rbp - 0x80], rsi
lea edx, [rax + 3]
lea rcx, [rsp + 0x68]
call fcn.14002fb90
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x1400046a0
cmp qword [rdx + 8], r14
je 0x14000469c
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 0x140004680
mov rdx, qword [rbp - 0x78]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x68]
call fcn.14002fc70
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400046c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14001c090
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.14001c090
mov r13d, 0x80000000
test rsi, rsi
je 0x140004990
mov qword [rbp - 0x48], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x78], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14001bfb0
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.140017b60
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 0x140004792
xor bl, bl
jmp 0x140004798
mov edi, dword [rsp + 0x68]
mov bl, 1
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.14002fb90
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x1400047e0
cmp qword [rdx + 8], 0
je 0x1400047dc
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 0x1400047c0
mov rdx, qword [rbp - 0x50]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.14002fc70
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140004805
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14001c090
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.14001c090
cmp bl, 1
jne 0x14000495b
test edi, edi
je 0x14000495b
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.14001bfb0
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.140017b60
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 0x1400056ec
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.14002fb90
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x140004910
cmp qword [rdx + 8], 0
je 0x14000490c
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 0x1400048f0
mov rdx, qword [rbp - 0x50]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.14002fc70
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140004935
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14001c090
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.14001c090
mov r12b, 1
lea rax, [rsi + r13]
cmp rax, 5
jbe 0x140004989
cmp rsi, 0xffffffff80000007
je 0x140004989
cmp rsi, 0xffffffff80000060
je 0x140004989
cmp rsi, 0xffffffff80000050
je 0x140004989
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.14001bfb0
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.140017b60
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 0x14000570f
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x70], rbx
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.14002fb90
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x140004a80
cmp qword [rdx + 8], 0
je 0x140004a7c
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 0x140004a60
mov rdx, qword [rbp - 0x50]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.14002fc70
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140004aa5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14001c090
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.14001c090
test rbx, rbx
je 0x140004fd2
mov qword [rbp - 0x70], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14001bfb0
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.140017b60
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 0x140004b6e
xor dil, dil
jmp 0x140004b76
mov r15d, dword [rsp + 0x68]
mov dil, 1
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.14002fb90
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x140004bc0
cmp qword [rdx + 8], 0
je 0x140004bbc
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 0x140004ba0
mov rdx, qword [rbp - 0x78]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.14002fc70
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140004be5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14001c090
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.14001c090
cmp dil, 1
jne 0x140004d3c
test r15d, r15d
je 0x140004d3c
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.14001bfb0
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.140017b60
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 0x140005732
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.14002fb90
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x140004cf1
cmp qword [rdx + 8], 0
je 0x140004ced
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 0x140004cd1
mov rdx, qword [rbp - 0x78]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.14002fc70
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140004d16
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14001c090
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.14001c090
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.14001bfb0
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.140017b60
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 0x140004dd9
xor dil, dil
jmp 0x140004de1
mov r15d, dword [rsp + 0x68]
mov dil, 1
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.14002fb90
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x140004e20
cmp qword [rdx + 8], 0
je 0x140004e1c
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 0x140004e00
mov rdx, qword [rbp - 0x78]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.14002fc70
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140004e45
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14001c090
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.14001c090
cmp dil, 1
jne 0x140004f9c
test r15d, r15d
je 0x140004f9c
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.14001bfb0
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.140017b60
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 0x140005755
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.14002fb90
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x140004f51
cmp qword [rdx + 8], 0
je 0x140004f4d
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 0x140004f31
mov rdx, qword [rbp - 0x78]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.14002fc70
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140004f76
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14001c090
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.14001c090
mov r12b, 1
lea rax, [rbx + r13]
cmp rax, 5
jbe 0x140004fca
cmp rbx, 0xffffffff80000007
je 0x140004fca
cmp rbx, 0xffffffff80000060
je 0x140004fca
cmp rbx, 0xffffffff80000050
je 0x140004fca
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.14001bfb0
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.140017b60
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 0x140005778
mov rdi, qword [rsp + 0x58]
mov qword [rsp + 0x68], rdi
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.14002fb90
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x1400050d0
cmp qword [rdx + 8], 0
je 0x1400050cc
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 0x1400050b0
mov rdx, qword [rbp - 0x78]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.14002fc70
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400050f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14001c090
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.14001c090
test rdi, rdi
je 0x140005399
mov qword [rbp - 0x48], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14001bfb0
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.140017b60
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.14002fb90
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x1400051f0
cmp qword [rdx + 8], 0
je 0x1400051ec
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 0x1400051d0
mov rdx, qword [rbp - 0x50]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.14002fc70
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140005215
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14001c090
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.14001c090
test r15b, r15b
je 0x140005368
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.14001bfb0
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.140017b60
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 0x1400056a6
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.14002fb90
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x140005320
cmp qword [rdx + 8], 0
je 0x14000531c
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 0x140005300
mov rdx, qword [rbp - 0x50]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.14002fc70
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140005345
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14001c090
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.14001c090
lea rax, [rdi + r13]
cmp rax, 5
jbe 0x140005396
cmp rdi, 0xffffffff80000007
je 0x140005396
cmp rdi, 0xffffffff80000060
je 0x140005396
cmp rdi, 0xffffffff80000050
je 0x140005396
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r14
test r12b, r12b
je 0x1400055c8
movups xmm0, xmmword [0x1401c9c50]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [0x1401c9c60]
movups xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [0x1401c9c70]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [0x1401c9c80]
movups xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [0x1401c9c90]
movups xmmword [rbp + 0x20], xmm0
movsd xmm1, qword [0x1401c9ca0]
movsd qword [rbp + 0x30], xmm1
mov eax, dword [0x1401c9ca8]
mov dword [rbp + 0x38], eax
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14000554f
movdqa xmm5, xmmword [0x1401cdae0]
movdqa xmm4, xmmword [0x1401cdc40]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x1401cdb00]
mov eax, Ordinal_33
movd xmm8, eax
movdqa xmm0, xmmword [0x1401cdbd0]
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 [0x1401cdb60]
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 [0x1401cdb60]
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 0x140005440
cmp r14d, 0x5c
jge 0x140005593
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, 0x37
xor byte [r8], al
inc r14d
lea r8, [r8 + 1]
cmp r14d, 0x5c
jl 0x140005560
mov r9d, 0x40030
lea r8, [0x1401ca420]
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.1401400b0
xor r14b, r14b
jmp 0x1400055cb
mov r14b, 1
test rdi, rdi
je 0x1400055ff
lea rax, [rdi + r13]
cmp rax, 5
jbe 0x1400055ff
cmp rdi, 0xffffffff80000007
je 0x1400055ff
cmp rdi, 0xffffffff80000060
je 0x1400055ff
cmp rdi, 0xffffffff80000050
je 0x1400055ff
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rbx, rbx
je 0x140005633
lea rax, [rbx + r13]
cmp rax, 5
jbe 0x140005633
cmp rbx, 0xffffffff80000007
je 0x140005633
cmp rbx, 0xffffffff80000060
je 0x140005633
cmp rbx, 0xffffffff80000050
je 0x140005633
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rsi, rsi
je 0x140005666
lea rax, [rsi + r13]
cmp rax, 5
jbe 0x140005666
cmp rsi, 0xffffffff80000007
je 0x140005666
cmp rsi, 0xffffffff80000060
je 0x140005666
cmp rsi, 0xffffffff80000050
je 0x140005666
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, r14b
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14002d8e0
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.140004440
lea rdx, [0x1401de9e8]
lea rcx, [rbp - 0x78]
call fcn.1401144e0
nop
lea r8, str.RegCreateKeyExW_failed.
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140004440
lea rdx, [0x1401de9e8]
lea rcx, [rbp - 0x50]
call fcn.1401144e0
nop
lea r8, str.Cannot_write_DWORD_value:_RegSetValueExW_failed.
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.140004440
lea rdx, [0x1401de9e8]
lea rcx, [rbp - 0x78]
call fcn.1401144e0
nop
lea r8, str.RegCreateKeyExW_failed.
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.140004440
lea rdx, [0x1401de9e8]
lea rcx, [rbp - 0x78]
call fcn.1401144e0
nop
lea r8, str.Cannot_write_DWORD_value:_RegSetValueExW_failed.
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140004440
lea rdx, [0x1401de9e8]
lea rcx, [rbp - 0x50]
call fcn.1401144e0
nop
lea r8, str.Cannot_write_DWORD_value:_RegSetValueExW_failed.
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140004440
lea rdx, [0x1401de9e8]
lea rcx, [rbp - 0x50]
call fcn.1401144e0
nop
lea r8, str.RegCreateKeyExW_failed.
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140004440
lea rdx, [0x1401de9e8]
lea rcx, [rbp - 0x50]
call fcn.1401144e0
int3