Function at 0x140041a10
Capabilities:
Create thread
Set console window title
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140048040]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r13, rdx
movsxd rdi, ecx
xor r14d, r14d
movabs rsi, 0xa8d9596b080a40a5
mov qword [rbp - 0x10], rsi
movabs rbx, 0xa5763e8a6ec7d00e
mov qword [rbp - 8], rbx
movabs rax, 0x95a02b04656f2d88
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rbx
movaps xmm0, xmmword [rbp - 0x50]
xorps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r14
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x140041aa0
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x38]
call fcn.1400018e0
nop
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rbx
movabs rax, 0x129391f140f9f9d7
mov qword [rbp], rax
movabs rax, 0xfe165e084157dac8
mov qword [rbp + 8], rax
movabs rax, 0xc4b837196d7e2eec
mov qword [rbp - 0x78], rax
movabs rax, 0x85025def1aa8a25e
mov qword [rbp - 0x70], rax
movabs rax, 0x32f6e2902889d9e9
mov qword [rbp - 0x68], rax
movabs rax, 0xfe165e084157dafa
mov qword [rbp - 0x60], rax
movups xmm0, xmmword [rbp - 0x78]
movups xmm1, xmmword [rbp - 0x68]
xorps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rsp + 0x60], xmm0
xorps xmm1, xmmword [rbp]
movdqa xmmword [rsp + 0x70], xmm1
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
xor bl, bl
mov qword [rbp - 0x10], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x10]
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140041b9a
mov dword [rbp - 0x40], 4
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp - 0x80]
lea edx, [r9 + 0x10]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140041b9a
cmp dword [rbp - 0x80], 0
setne bl
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140041ba9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x140041bb9
mov ecx, 0xfffffac7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov esi, 1
mov r12, rdi
cmp rsi, rdi
jge 0x140041dbe
cmp qword [rbp - 0x20], 0xf
seta bl
mov byte [rsp + 0x30], bl
nop word [rax + rax]
mov rdx, qword [r13 + rsi*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140041c00
lea rcx, [rbp - 0x78]
call fcn.1400018e0
nop
lea r9, [rbp - 0x38]
test bl, bl
cmovne r9, qword [rbp - 0x38]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r9 + rax], 0
jne 0x140041c26
lea rcx, [rbp - 0x78]
mov rdi, qword [rbp - 0x60]
cmp rdi, 0xf
seta r15b
mov rbx, qword [rbp - 0x78]
cmova rcx, rbx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov r14, qword [rbp - 0x68]
mov rdx, r14
call fcn.1400425d0
cmp rax, 0xffffffffffffffff
je 0x140041d46
lea rcx, [rax + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
cmp r14, rcx
jb 0x140041db1
mov qword [rbp - 0x80], 0xffffffffffffffff
sub r14, rcx
mov r8, 0xffffffffffffffff
cmp r14, r8
cmovb r8, r14
lea rdx, [rbp - 0x78]
test r15b, r15b
cmovne rdx, rbx
add rdx, rcx
lea rcx, [rsp + 0x38]
call fcn.1400018e0
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rbx, qword [rsp + 0x38]
xor r14d, r14d
mov dword [rax], r14d
lea r8d, [r14 + 0xa]
lea rdx, [rbp - 0x10]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp - 0x10]
je 0x140041da3
cmp dword [rdi], 0x22
je 0x140041d95
mov dword [0x1400480b8], eax
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140041d3c
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041d37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041d8e
call fcn.140042c3c
mov rdi, qword [rbp - 0x60]
mov rbx, qword [rbp - 0x78]
jmp 0x140041d49
xor r14d, r14d
cmp rdi, 0xf
jbe 0x140041d7c
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140041d74
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041db7
mov rcx, rbx
call fcn.140042c3c
inc rsi
cmp rsi, r12
jge 0x140041dbe
movzx ebx, byte [rsp + 0x30]
jmp 0x140041be0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
call fcn.140042230
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov ecx, 8
call fcn.140042b30
lea rcx, [0x140002db0]
mov qword [rax], rcx
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140042ad0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x140041e52
cmp dword [rbp - 0x48], 0
jne 0x140041e13
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x48], eax
jne 0x140041e2a
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x10], xmm0
xor edx, edx
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x140041e50
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
jmp 0x140041e50
mov dword [rbp - 0x48], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3