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.14013ff30
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.14001be30
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.1400179e0
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 0x1400056b6
mov rsi, qword [rsp + 0x58]
mov qword [rbp - 0x80], rsi
lea edx, [rax + 3]
lea rcx, [rsp + 0x68]
call fcn.14002fa10
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.14002faf0
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400046c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14001bf10
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.14001bf10
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.14001be30
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.1400179e0
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.14002fa10
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.14002faf0
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140004805
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14001bf10
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.14001bf10
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.14001be30
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.1400179e0
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 0x1400056d9
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.14002fa10
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.14002faf0
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140004935
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14001bf10
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.14001bf10
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.14001be30
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.1400179e0
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 0x1400056fc
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x70], rbx
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.14002fa10
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.14002faf0
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140004aa5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14001bf10
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.14001bf10
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.14001be30
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.1400179e0
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.14002fa10
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.14002faf0
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140004be5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14001bf10
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.14001bf10
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.14001be30
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.1400179e0
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 0x14000571f
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.14002fa10
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.14002faf0
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140004d16
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14001bf10
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.14001bf10
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.14001be30
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.1400179e0
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.14002fa10
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.14002faf0
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140004e45
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14001bf10
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.14001bf10
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.14001be30
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.1400179e0
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 0x140005742
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.14002fa10
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.14002faf0
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140004f76
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14001bf10
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.14001bf10
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.14001be30
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.1400179e0
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 0x140005765
mov rdi, qword [rsp + 0x58]
mov qword [rsp + 0x68], rdi
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.14002fa10
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.14002faf0
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400050f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14001bf10
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.14001bf10
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.14001be30
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.1400179e0
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.14002fa10
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.14002faf0
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140005215
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14001bf10
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.14001bf10
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.14001be30
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.1400179e0
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 0x140005693
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.14002fa10
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.14002faf0
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140005345
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14001bf10
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.14001bf10
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 0x1400055b5
movups xmm0, xmmword [0x1401c99c0]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [0x1401c99d0]
movups xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [0x1401c99e0]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [0x1401c99f0]
movups xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [0x1401c9a00]
movups xmmword [rbp + 0x20], xmm0
movsd xmm1, qword [0x1401c9a10]
movsd qword [rbp + 0x30], xmm1
mov eax, dword [0x1401c9a18]
mov dword [rbp + 0x38], eax
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140005547
movdqa xmm5, xmmword [0x1401cdaf0]
movdqa xmm4, xmmword [0x1401cdb80]
mov eax, 1
movd xmm6, eax
movdqa xmm7, xmmword [0x1401cdb10]
mov eax, Ordinal_33
movd xmm8, eax
movdqa xmm0, xmmword [0x1401cdbe0]
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
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 [0x1401cdb70]
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
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 [0x1401cdb70]
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 0x140005580
movsxd rax, r14d
lea r8, [rbp - 0x20]
add r8, rax
mov eax, 0x94f2095
imul r14d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r14b
sub al, cl
add al, 0x39
xor byte [r8], al
inc r14d
lea r8, [r8 + 1]
cmp r14d, 0x5c
jl 0x140005551
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.14013ff30
xor r14b, r14b
jmp 0x1400055b8
mov r14b, 1
test rdi, rdi
je 0x1400055ec
lea rax, [rdi + r13]
cmp rax, 5
jbe 0x1400055ec
cmp rdi, 0xffffffff80000007
je 0x1400055ec
cmp rdi, 0xffffffff80000060
je 0x1400055ec
cmp rdi, 0xffffffff80000050
je 0x1400055ec
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rbx, rbx
je 0x140005620
lea rax, [rbx + r13]
cmp rax, 5
jbe 0x140005620
cmp rbx, 0xffffffff80000007
je 0x140005620
cmp rbx, 0xffffffff80000060
je 0x140005620
cmp rbx, 0xffffffff80000050
je 0x140005620
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rsi, rsi
je 0x140005653
lea rax, [rsi + r13]
cmp rax, 5
jbe 0x140005653
cmp rsi, 0xffffffff80000007
je 0x140005653
cmp rsi, 0xffffffff80000060
je 0x140005653
cmp rsi, 0xffffffff80000050
je 0x140005653
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, r14b
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14002d760
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, [0x1401dea08]
lea rcx, [rbp - 0x78]
call fcn.140114360
nop
lea r8, str.RegCreateKeyExW_failed.
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140004440
lea rdx, [0x1401dea08]
lea rcx, [rbp - 0x50]
call fcn.140114360
nop
lea r8, str.Cannot_write_DWORD_value:_RegSetValueExW_failed.
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.140004440
lea rdx, [0x1401dea08]
lea rcx, [rbp - 0x78]
call fcn.140114360
nop
lea r8, str.RegCreateKeyExW_failed.
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.140004440
lea rdx, [0x1401dea08]
lea rcx, [rbp - 0x78]
call fcn.140114360
nop
lea r8, str.Cannot_write_DWORD_value:_RegSetValueExW_failed.
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140004440
lea rdx, [0x1401dea08]
lea rcx, [rbp - 0x50]
call fcn.140114360
nop
lea r8, str.Cannot_write_DWORD_value:_RegSetValueExW_failed.
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140004440
lea rdx, [0x1401dea08]
lea rcx, [rbp - 0x50]
call fcn.140114360
nop
lea r8, str.RegCreateKeyExW_failed.
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140004440
lea rdx, [0x1401dea08]
lea rcx, [rbp - 0x50]
call fcn.140114360
int3