Function at 0x140014eb0
Capabilities:
Execute command
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
lea rbp, [rax - 0x2b8]
sub rsp, 0x3a0
mov rax, qword [0x140102040]
xor rax, rsp
mov qword [rbp + 0x290], rax
xor esi, esi
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rbp + 0x210]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x210]
call fcn.140017e8c
nop
lea rcx, [rbp + 0xc0]
call fcn.140014d98
nop
mov r8, rax
cmp qword [rax + 0x18], 7
jbe 0x140014f22
mov r8, qword [rax]
mov rax, qword [rax + 0x10]
lea r9, [r8 + rax*2]
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x210]
call fcn.1400180bc
lea rdx, [rbp + 0x60]
lea rdi, [0x140102358]
mov rcx, rdi
call fcn.140011918
mov r15d, 0x1000
mov rdx, qword [rbp + 0x78]
mov r14d, 0xf
cmp rdx, r14
jbe 0x140014f92
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, r15
jb 0x140014f8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014f8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140063a8c
movdqa xmm0, xmmword [0x1400f0350]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], sil
lea rcx, [rbp + 0xc0]
call fcn.140003fe8
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x140102368]
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
sub rax, rcx
cmp rax, 0x18
jb 0x140015805
mov r9, rdi
cmp qword [0x140102370], r14
cmova r9, qword [0x140102358]
mov qword [rsp + 0x30], 0x18
lea r13, str.OrbitDriverVersion.txt
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x60]
call fcn.140013948
nop
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x100]
call fcn.140010b8c
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, r14
jbe 0x140015064
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, r15
jb 0x14001505f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001505f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140063a8c
movdqa xmm0, xmmword [0x1400f0350]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], sil
cmp qword [rbp + 0x188], rsi
jne 0x1400150b8
lea rdx, str.Error_opening_file_for_writing._n_Orbit_folder_doesnt_exist__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004498
lea rdx, [0x140004608]
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, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [0x140102368]
sub rbx, rax
cmp rbx, 0x18
jb 0x1400157ff
cmp qword [0x140102370], r14
cmova rdi, qword [0x140102358]
mov qword [rsp + 0x30], 0x18
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
mov r9, rdi
lea rcx, [rbp + 0xc0]
call fcn.140013948
nop
lea rdx, [rbp + 0xc0]
lea rcx, [rsp + 0x50]
call fcn.140017968
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, r14
jbe 0x140015161
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, r15
jb 0x14001515c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001515c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140063a8c
movdqa xmm0, xmmword [0x1400f0350]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], sil
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x1400151cd
lea rdx, str.Error_opening_file_for_reading.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004498
lea rdx, [0x140004608]
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, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], rsi
mov qword [rbp + 0xb8], r14
mov byte [rbp + 0xa0], sil
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0x98], rsi
xor r8d, r8d
lea rdi, [0x1400e6ebe]
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.140006eb0
nop
jmp 0x140015250
cmp qword [rbp + 0xb8], r14
seta cl
mov r8, qword [rbp + 0xb0]
test r8, r8
je 0x140015250
lea rdx, [rbp + 0xa0]
test cl, cl
cmovne rdx, qword [rbp + 0xa0]
lea rcx, [rbp + 0x80]
call fcn.140011e88
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
mov dl, 0xa
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
mov r8b, al
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x50]
call fcn.140018d64
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_bool_void_const___ptr64]
test al, al
jne 0x14001521d
lea rcx, [rsp + 0x60]
call fcn.140011cb0
test rax, rax
jne 0x1400152be
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 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 + 0xe0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf0], xmm1
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0xe0]
call fcn.140006eb0
nop
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc0], xmm1
mov qword [rbp + 0xd0], rsi
lea rcx, [rbp + 0x80]
cmp qword [rbp + 0x98], r14
cmova rcx, qword [rbp + 0x80]
mov rbx, qword [rbp + 0x90]
test rbx, rbx
jne 0x140015543
mov r8, rbx
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140015543
mov eax, dword [0x140104150]
cmp eax, 0x4a65
jne 0x14001535e
lea r8d, [rbx + 0xe]
lea rdx, str.Win10_22H2.sys
lea rcx, [rbp + 0xe0]
call fcn.140011e88
lea rdx, str.Win10_22H2.sys
jmp 0x140015385
cmp eax, 0x585d
jne 0x1400153a6
mov r8d, 0xe
lea rdx, str.Win11_22H2.sys
lea rcx, [rbp + 0xe0]
call fcn.140011e88
lea rdx, str.Win11_22H2.sys
lea rcx, [rbp + 0x100]
call fcn.140004498
lea rdx, [0x140004608]
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 0x1400155e3
lea rdx, str.Orbit_doesnt_natively_support_this_operating_system._nIf_you_still_want_to_continue__select_a_driver_version._n_n0___Windows_10_n1___Windows_11_n_nInput:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004498
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x78], rsi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x60]
call fcn.140006eb0
nop
lea rdx, [rbp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140018850
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], r14
cmova rcx, qword [rbp + 0x60]
mov rbx, qword [rbp + 0x70]
cmp rbx, 1
jne 0x140015447
mov r8, rbx
lea rdx, [0x1400ed668]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140015447
mov dword [0x140104150], 0x4a65
lea r8d, [rbx + 0xd]
lea rdx, str.Win10_22H2.sys
lea rcx, [rbp + 0xe0]
call fcn.140011e88
lea rdx, str.Win10_22H2.sys
jmp 0x14001549d
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], r14
cmova rcx, qword [rbp + 0x60]
cmp rbx, 1
jne 0x140015509
mov r8, rbx
lea rdx, [0x1400ed66c]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140015509
lea r8d, [rbx + 0xd]
lea rdx, str.Win11_22H2.sys
lea rcx, [rbp + 0xe0]
call fcn.140011e88
mov dword [0x140104150], 0x585d
lea rdx, str.Win11_22H2.sys
lea rcx, [rbp + 0x100]
call fcn.140004498
lea rdx, [0x140004608]
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, [0x1400ed680]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, r14
jbe 0x1400155e3
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, r15
jb 0x1400154ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400154ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140063a8c
jmp 0x1400155e3
lea rdx, str.Invalid_input
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004498
lea rdx, [0x140004608]
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, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], r14
cmova rdx, qword [rbp + 0x80]
mov r8, rbx
lea rcx, [rbp + 0xe0]
call fcn.140011e88
lea rcx, [rbp + 0x80]
cmp qword [rbp + 0x98], r14
cmova rcx, qword [rbp + 0x80]
mov rbx, qword [rbp + 0x90]
cmp rbx, 0xe
jne 0x1400155aa
mov r8, rbx
lea rdx, str.Win11_22H2.sys
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400155aa
mov dword [0x140104150], 0x585d
jmp 0x1400155e3
lea rcx, [rbp + 0x80]
cmp qword [rbp + 0x98], r14
cmova rcx, qword [rbp + 0x80]
cmp rbx, 0xe
jne 0x1400155e3
mov r8, rbx
lea rdx, str.Win10_22H2.sys
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400155e3
mov dword [0x140104150], 0x4a65
lea rcx, [rbp + 0x108]
call fcn.140011cb0
test rax, rax
jne 0x140015617
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x100]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 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 + 0xc0]
call fcn.1400178dc
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, r14
jbe 0x140015663
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, r15
jb 0x14001565e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001565e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140063a8c
movdqa xmm0, xmmword [0x1400f0350]
movdqu xmmword [rbp + 0xf0], xmm0
mov byte [rbp + 0xe0], sil
mov rdx, qword [rbp + 0x98]
cmp rdx, r14
jbe 0x1400156b9
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, r15
jb 0x1400156b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400156b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140063a8c
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0x98], r14
mov byte [rbp + 0x80], sil
mov rdx, qword [rbp + 0xb8]
cmp rdx, r14
jbe 0x14001570d
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, r15
jb 0x140015708
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015708
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140063a8c
mov qword [rbp + 0xb0], rsi
mov qword [rbp + 0xb8], r14
mov byte [rbp + 0xa0], sil
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
call fcn.140010aec
lea rcx, [rsp + 0x68]
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]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x100], rax
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xfc], edx
lea rcx, [rbp + 0x108]
call fcn.140010aec
lea rcx, [rbp + 0x110]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1a8]
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 + 0x210]
call fcn.140017df8
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.140063600
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140004ad4
nop
call fcn.140004ad4
int3