Function at 0x14002fe50
Capabilities:
Accept command line arguments
Create process on windows
Create thread
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
sub rsp, 0x200
lea rbp, [rsp + 0x80]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140315080]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov ecx, 8
call fcn.1400e9e40
lea rcx, [0x1400876e0]
xor r15d, r15d
mov r9, rax
lea r8, [0x140087c00]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], r15d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x60], rax
test rax, rax
je 0x1400305c0
cmp dword [rbp + 0x68], r15d
je 0x1400305b4
movaps xmm0, xmmword [rbp + 0x60]
lea rcx, [rbp + 0x120]
movdqa xmmword [rbp + 0x120], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400305b4
xorps xmm0, xmm0
mov qword [0x140333668], r15
xor eax, eax
movaps xmmword [rbp + 0x140], xmm0
lea rcx, [0x140333bb0]
movdqa xmmword [rbp + 0x60], xmm0
movups xmmword [0x140333680], xmm0
mov byte [0x1403336c0], al
movups xmmword [0x140333690], xmm0
mov dword [0x140333630], eax
movups xmmword [0x1403336a0], xmm0
mov qword [0x140333658], rax
movups xmmword [0x1403336b0], xmm0
mov dword [0x140333660], eax
movups xmmword [0x140333648], xmm0
mov byte [0x140333664], al
mov dword [0x140333670], r15d
mov word [0x140333674], r15w
mov qword [0x140333638], r15
mov word [0x140333640], r15w
mov byte [0x140333642], r15b
call fcn.140093f90
cmp byte [0x140333dc0], r15b
jne 0x14002ffc5
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.____Info_:
call fcn.14002d100
mov rcx, rax
lea rdx, [0x140333dc8]
call fcn.140030930
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [r15 + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ebx, r15d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 0x30]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400300cd
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x78]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x70]
lea edx, [r9 + 0x16]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140030014
mov ebx, 1
jmp 0x14003001a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1400300d3
cmp dword [rbp + 0x70], r15d
jne 0x1400300d3
lea rcx, [rbp + 0x38]
call fcn.14002fae0
test eax, eax
jne 0x1400300d3
lea rcx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rbp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x50], rcx
mov r8, rax
lea rcx, [rbp + 0xa0]
xor edx, edx
mov qword [rsp + 0x48], rcx
mov rcx, qword [rbp + 0x38]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1400300bb
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400300d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
call qword [sym.imp.KERNEL32.dll_AllocConsole]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
movabs r14, 0xfb1603b622507486
movabs rsi, 0x8d5fba03cfc2ec19
mov rbx, rax
movabs rax, 0x8d5fba03cfc2ec6b
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x30]
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x30], r14
mov rcx, qword [rbp + 0x30]
mov qword [rbp + 0x68], rcx
mov qword [rbp + 0x30], rsi
mov rcx, qword [rbp + 0x30]
mov qword [rbp + 0x30], r14
mov rax, qword [rbp + 0x30]
movdqa xmm0, xmmword [rbp + 0x60]
mov qword [rbp + 0x168], rax
movabs rax, 0x8d5f9e4d868ca35a
mov qword [rbp + 0x160], rcx
xor ecx, ecx
xorps xmm0, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp], rax
mov qword [rbp + 0x30], r14
mov rax, qword [rbp + 0x30]
mov qword [rbp + 8], rax
mov qword [rbp + 0x30], rsi
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x30], r14
mov rax, qword [rbp + 0x30]
movdqa xmm0, xmmword [rbp]
mov qword [rbp + 0x48], rax
xorps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp], xmm0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [rbp + 0x60]
mov rcx, rax
lea rdx, [rbp]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rbx, rax
movabs rax, 0x8d5fba03cfc2ec6e
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x30]
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x30], r14
mov rcx, qword [rbp + 0x30]
mov qword [rbp + 0x18], rcx
mov qword [rbp + 0x30], rsi
mov rcx, qword [rbp + 0x30]
mov qword [rbp + 0x140], rcx
mov ecx, 1
mov qword [rbp + 0x30], r14
mov rax, qword [rbp + 0x30]
movdqa xmm0, xmmword [rbp + 0x10]
mov qword [rbp + 0x148], rax
movabs rax, 0x8d7bee56808ca35a
xorps xmm0, xmmword [rbp + 0x140]
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x30], r14
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rsi
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x30], r14
mov rax, qword [rbp + 0x30]
movdqa xmm0, xmmword [rbp + 0x20]
mov qword [rbp + 0x128], rax
xorps xmm0, xmmword [rbp + 0x120]
movdqa xmmword [rbp + 0x20], xmm0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [rbp + 0x10]
mov rcx, rax
lea rdx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
movabs rax, 0xe22be923aea58954
lea rcx, [rbp + 0x120]
mov qword [rbp + 0x30], rax
movabs rdi, 0x4ef03ad87ff0a408
mov rax, qword [rbp + 0x30]
movabs rbx, 0x6313f905799b57c3
mov qword [rbp + 0x120], rax
movabs rax, 0xd5262d87747011f4
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x128], rax
movabs rax, 0x6313f90559ab79f3
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x30], rdi
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x30], rsi
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x30], r14
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x148], rax
mov qword [rbp + 0x30], rbx
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x150], rax
mov qword [rbp + 0x30], rdi
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x158], rax
vmovdqu ymm0, ymmword [rbp + 0x140]
vpxor ymm1, ymm0, ymmword [rbp + 0x120]
vmovdqa ymmword [rbp + 0x120], ymm1
vzeroupper
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 0x120]
movabs rax, 0xe82bd446effcc725
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x120], rax
movabs rax, 0xb73671c34d0954f4
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x128], rax
movabs rax, 0x28339c7617fe34aa
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x130], rax
movabs rax, 0x4ef03ad845d0dd6d
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x30], rsi
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x30], r14
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x148], rax
mov qword [rbp + 0x30], rbx
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x150], rax
mov qword [rbp + 0x30], rdi
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x158], rax
vmovdqu ymm0, ymmword [rbp + 0x140]
vpxor ymm1, ymm0, ymmword [rbp + 0x120]
vmovdqa ymmword [rbp + 0x120], ymm1
vzeroupper
call fcn.14002d100
xorps xmm0, xmm0
mov qword [rbp + 0x90], r15
movups xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x80], r15b
mov qword [rbp + 0x98], reloc.WS2_32.dll_ntohs
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rbp + 0x80]
call fcn.140030950
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x120]
call fcn.14000e160
mov rdx, rax
lea rcx, [0x140333bb0]
call fcn.1400958e0
cmp byte [0x140333dc0], r15b
jne 0x1400304b6
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.____Info_:
call fcn.14002d100
mov rcx, rax
lea rdx, [0x140333dc8]
call fcn.140030930
mov ecx, 0x5dc
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
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FreeConsole]
test rbx, rbx
je 0x1400304e8
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
call fcn.140002700
cmp byte [0x140331e90], r15b
jne 0x140030544
movabs rdi, 0x7fffffffc46535fe
movabs rbx, 0x7fffffffffffffff
nop word [rax + rax]
lea rcx, [rbp + 0x78]
call fcn.140002080
mov rax, qword [rbp + 0x78]
cmp rax, rdi
jg 0x14003052e
add rax, 0x3b9aca00
mov qword [rbp + 0x30], rax
jmp 0x140030532
mov qword [rbp + 0x30], rbx
lea rcx, [rbp + 0x30]
call fcn.140004f20
cmp byte [0x140331e90], r15b
je 0x140030510
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x140030588
mov rcx, qword [rbp + 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030583
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140030583
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ea0c4
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400e9e20
lea r11, [rsp + 0x200]
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
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp + 0x68], r15d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3