Function at 0x140001de0
Capabilities:
Set console window title

Disassembly:
push rbp
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x140006010]
xor rax, rsp
mov qword [rbp + 0x110], rax
lea rcx, str.Usermode_Driver_Test
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, str.Welcome_to_Usermode._n
call fcn.140001020
call fcn.140001080
test al, al
jne 0x140001e45
lea rcx, str.Initialization_or_communication_test_failed._nPlease_make_sure_driver_is_loaded._n
call fcn.140001020
mov ecx, 0xdac
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
jmp 0x1400021b3
mov qword [rsp + 0x230], rbx
mov qword [rsp + 0x238], rsi
mov qword [rsp + 0x240], rdi
call fcn.140001080
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x158
mov dword [0x140006648], eax
mov ebx, eax
call sub.VCRUNTIME140.dll_memset
lea rax, str.kernel32.dll
mov dword [rsp + 0x48], ebx
mov edx, 3
mov qword [rbp + 0x78], rax
lea rcx, [rsp + 0x30]
call fcn.1400014a0
mov rbx, qword [rsp + 0x58]
lea rdx, str.kernel32.dll:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
xor edi, edi
test al, al
cmove rbx, rdi
call fcn.140002240
mov rcx, rax
mov rdx, rbx
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, [0x140002410]
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]
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x158
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x140006648]
lea edx, [rdi + 3]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x30]
lea rax, str.win32u.dll
mov qword [rbp + 0x78], rax
call fcn.1400014a0
mov rbx, qword [rsp + 0x58]
lea rdx, str.win32u.dll:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test al, al
cmove rbx, rdi
call fcn.140002240
mov rcx, rax
mov rdx, rbx
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, [0x140002410]
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 rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
lea rcx, str.getting_base..._n
call fcn.140001020
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x158
mov ebx, eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x140006648]
lea edx, [rdi + 4]
test ebx, ebx
cmovne ecx, ebx
mov dword [rsp + 0x48], ecx
lea rcx, [rsp + 0x30]
call fcn.1400014a0
test al, al
lea rcx, str.base:__p_n
mov ebx, edi
cmovne rbx, qword [rsp + 0x58]
mov rdx, rbx
call fcn.140001020
lea rsi, [rbx + 0x60d0]
add rbx, 0x6050
lea rcx, str.Testing_bad_write..._n
call fcn.140001020
lea edx, [rdi + 0x69]
mov r8d, 0xdeadbeef
call fcn.140002450
lea rcx, str.Bad_write_passed._n
call fcn.140001020
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x158
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x140006648]
mov dword [rsp + 0x48], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea edx, [rdi + 1]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x30]
lea rax, [rsp + 0x20]
mov qword [rbp + 0x78], 4
mov qword [rsp + 0x58], rax
call fcn.1400014a0
test al, al
jne 0x14000203c
mov edx, edi
mov dword [rsp + 0x20], edx
jmp 0x140002040
mov edx, dword [rsp + 0x20]
lea rcx, str.Writing_to_varInt:___i_____654321_n
call fcn.140001020
mov r8d, 0x9fbf1
mov rdx, rsi
call fcn.140002450
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x158
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x140006648]
mov dword [rsp + 0x48], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, 1
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x30]
lea rax, [rbp + 0x90]
mov qword [rbp + 0x78], 0x80
mov qword [rsp + 0x58], rax
call fcn.1400014a0
lea rdx, [rbp + 0x90]
lea rcx, str.Writing_to_arrChar_128_:___s_____HeLlO_n
call fcn.140001020
mov eax, dword [0x140004588]
lea rcx, [rsp + 0x30]
movsd xmm0, qword [str.HeLlO]
xor edx, edx
mov dword [rbp + 0x98], eax
mov r8d, 0x158
movzx eax, word [0x14000458c]
mov word [rbp + 0x9c], ax
movsd qword [rbp + 0x90], xmm0
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x140006648]
mov dword [rsp + 0x48], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, 2
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x30]
lea rax, [rbp + 0x90]
mov qword [rbp + 0x78], 0x80
mov qword [rsp + 0x58], rax
call fcn.1400014a0
lea rcx, str.INTERP__GOAT._n
call fcn.140001020
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x158
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x140006648]
lea rcx, [rsp + 0x30]
mov edx, 4
mov dword [rsp + 0x48], eax
call fcn.1400014a0
test al, al
lea rcx, str.Base_addr_again:_0x_p_n
cmovne rdi, qword [rsp + 0x58]
mov rdx, rdi
call fcn.140001020
mov ecx, 0x18711a00
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov rdi, qword [rsp + 0x240]
xor eax, eax
mov rsi, qword [rsp + 0x238]
mov rbx, qword [rsp + 0x230]
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1400024f0
add rsp, 0x220
pop rbp
ret