Function at 0x140050800
Capabilities:
Set console window title
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140070040]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor r14d, r14d
lea rcx, str.Isle_Private
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, [rsp + 0x60]
call fcn.1400505f0
mov rdi, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0xb
jb 0x140050898
lea rax, [rcx + 0xb]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140050879
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8d, 0xb
lea rdx, str.driver.sys
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xb], 0
jmp 0x1400508b8
mov qword [rsp + 0x20], recvfrom
lea r9, str.driver.sys
mov edx, 0xb
mov rcx, rdi
call fcn.140041350
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x48], xmm1
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x38], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 0x48], xmm1
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], recvfrom
mov byte [rdi], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140050925
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050920
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050920
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052a44
movdqa xmm0, xmmword [0x140065df0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova rdx, qword [rbp + 0x38]
lea rcx, [rbp + 0x80]
call fcn.140051140
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x80], rsi
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x7c], edx
cmp qword [rbp + 0x110], 0
jne 0x140050a82
lea rdx, str.Failed_to_open_driver.sys
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14004b540
lea rdx, [0x14004b720]
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
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x80], rsi
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x7c], edx
lea rcx, [rbp + 0x90]
call fcn.140044b60
lea rcx, [rbp + 0x98]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x130]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x140050a51
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050a4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050c51
call fcn.140052a44
mov eax, 1
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140052720
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x80]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
mov rdi, qword [rax + 8]
add rdi, qword [rax]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x80]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov qword [rbp], r14
movabs r15, 0x7fffffffffffffff
test rdi, rdi
je 0x140050b2b
cmp rdi, r15
ja 0x140051124
cmp rdi, 0x1000
jb 0x140050b06
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14005112a
call fcn.140052e1c
mov rcx, rax
test rax, rax
je 0x140050bac
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140050b0e
mov rcx, rdi
call fcn.140052e1c
mov qword [rbp - 0x10], rax
lea rbx, [rax + rdi]
mov qword [rbp], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 8], rbx
mov r8, rdi
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp + 0x80]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____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]
test al, al
je 0x140050c58
lea rdx, str.Failed_to_read_driver.sys
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14004b540
lea rdx, [0x14004b720]
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
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140050bc4
mov rdx, qword [rbp]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050bb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050bb3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052a44
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
mov qword [rbp], r14
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x80], rsi
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x7c], edx
lea rcx, [rbp + 0x90]
call fcn.140044b60
lea rcx, [rbp + 0x98]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x130]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x140050a51
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050a4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050a4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0x90]
call fcn.140045060
test rax, rax
jne 0x140050c8c
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x80]
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
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov rbx, qword [rbp - 8]
sub rbx, qword [rbp - 0x10]
je 0x140050d1f
cmp rbx, r15
ja 0x140051130
cmp rbx, 0x1000
jb 0x140050ce2
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14005111e
call fcn.140052e1c
test rax, rax
je 0x140050cdb
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140050ced
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140052e1c
mov rdi, rax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
lea rcx, [rdi + rbx]
mov qword [rsp + 0x70], rcx
mov rbx, qword [rbp - 8]
mov rdx, qword [rbp - 0x10]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x60]
call fcn.14004b830
test al, al
je 0x140050d56
movzx eax, word [0x140065acc]
mov word [rbp + 8], ax
movzx eax, byte [0x140065ace]
mov byte [rbp + 8], 0x78
xor byte [rbp + 9], 0x3b
xor al, 0x3c
mov byte [rbp + 0xa], al
lea rcx, [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov rsi, qword [0x140071738]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, 5
lea rdx, str.._
lea rcx, [rbp - 0x80]
call fcn.140041250
nop
lea r9, [rsi + 8]
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [r9 + rdi], 0
jne 0x140050d90
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x68]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140050ddd
lea rax, [rdi + rcx]
mov qword [rbp - 0x70], rax
lea rbx, [rbp - 0x80]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x80]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
lea rax, [rbp - 0x80]
jmp 0x140050dee
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140041350
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x28], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x28], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], recvfrom
mov byte [rax], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140050e59
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050e54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050e54
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052a44
lea rcx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0xf
cmova rcx, qword [rbp + 0x18]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsi], rax
dec rax
mov rdx, qword [rbp + 0x30]
cmp rax, 0xfffffffffffffffd
ja 0x140050eef
cmp rdx, 0xf
jbe 0x140050ed0
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050ecb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050f1d
call fcn.140052a44
movdqa xmm0, xmmword [0x140065df0]
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], 0
lea rcx, str.Failed_to_launch_driver.
call fcn.140001280
jmp 0x140050f3a
cmp rdx, 0xf
jbe 0x140050f29
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050f24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050f24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052a44
movdqa xmm0, xmmword [0x140065df0]
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], 0
mov rax, qword [0x140071738]
mov rdx, qword [rax + 0x38]
mov qword [0x140071880], rdx
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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]
lea rdx, [0x14004b720]
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 dword [rbp - 0x60], 0x50
mov dword [rbp - 0x5c], 0x40
lea rax, [0x14004e3d0]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x48], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp - 0x40], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rbp - 0x38], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea rbx, str.OverlayWindowClass
mov qword [rbp - 0x20], rbx
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x60]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], r14
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov eax, dword [0x1400718e8]
mov dword [rsp + 0x38], eax
mov eax, dword [0x1400718d4]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov r9d, 0x90000000
lea r8, str.OverlayWindowTitle
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140070e18], rax
mov edx, 0xffffffec
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
bts eax, 0x13
mov r8d, eax
mov edx, 0xffffffec
mov rcx, qword [0x140070e18]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, qword [0x140070e18]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x140065db0]
movdqu xmmword [rbp + 8], xmm0
lea rdx, [rbp + 8]
mov rcx, qword [0x140070e18]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 5
mov rcx, qword [0x140070e18]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140070e18]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.14004e490
test eax, eax
jns 0x1400510dc
lea rcx, str.The_gui_was_not_initialized
call fcn.140001280
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, [0x14004ed20]
lea rcx, [rbp + 0x58]
call fcn.140051840
nop
lea rdx, [0x14004f050]
lea rcx, [rbp + 0x68]
call fcn.140051840
nop
lea rcx, [rbp + 0x58]
call fcn.14004ab50
lea rcx, [rbp + 0x68]
call fcn.14004ab50
call fcn.140050300
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.140041130
nop
call fcn.140049e20
int3
call fcn.140041130
nop
call fcn.140049e20
int3