Function at 0x140035f50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov r14d, dword [0x14004cc08]
movsxd rax, dword [0x14004cb98]
xor edx, edx
cmp eax, 0x7b
ja 0x140035f8a
lea rdx, str.Press_any_key..
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], 0
mov edi, 0xf
mov qword [rbp - 8], rdi
mov byte [rbp - 0x20], 0
test rdx, rdx
jne 0x140035fd0
mov qword [rbp - 0x10], 0xa
movsd xmm0, qword [str.Select_Key]
movsd qword [rbp - 0x20], xmm0
movzx eax, word [0x1400447d0]
mov word [rbp - 0x18], ax
mov byte [rbp - 0x16], dl
jmp 0x140035ff7
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140035fe0
lea rcx, [rbp - 0x20]
call fcn.14003cb30
mov rdi, qword [rbp - 8]
cmp r14d, 1
jne 0x14003612f
cmp rdi, 0xd
jb 0x140036038
lea rbx, [rbp - 0x20]
cmp rdi, 0x10
cmovae rbx, qword [rbp - 0x20]
mov qword [rbp - 0x10], 0xd
lea r8d, [r14 + 0xc]
lea rdx, str.Press_the_Key
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xd], 0
jmp 0x14003612b
mov rcx, rdi
shr rcx, 1
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
sub rax, rcx
cmp rdi, rax
jbe 0x140036080
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14003dbc8
test rax, rax
je 0x14003611b
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400360bd
lea rax, [rdi + rcx]
mov esi, 0xf
cmp rax, rsi
cmova rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x1400360ac
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400361df
jmp 0x140036061
test rcx, rcx
je 0x1400360bb
call fcn.14003dbc8
mov rbx, rax
jmp 0x1400360bd
xor ebx, ebx
mov qword [rbp - 0x10], 0xd
mov qword [rbp - 8], rsi
movsd xmm0, qword [str.Press_the_Key]
movsd qword [rbx], xmm0
mov eax, dword [0x1400447e0]
mov dword [rbx + 8], eax
movzx eax, byte [0x1400447e4]
mov byte [rbx + 0xc], al
mov byte [rbx + 0xd], 0
cmp rdi, 0x10
jb 0x140036127
lea rdx, [rdi + 1]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036122
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140036122
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d698
mov qword [rbp - 0x20], rbx
mov rdi, qword [rbp - 8]
movss xmm0, dword [0x140044ca8]
movss dword [rbp + 0x28], xmm0
movss xmm1, dword [0x140044c78]
movss dword [rbp + 0x2c], xmm1
lea rcx, [rbp - 0x20]
cmp rdi, 0x10
cmovae rcx, qword [rbp - 0x20]
lea rdx, [rbp + 0x28]
call fcn.14002bcd0
test al, al
je 0x14003618b
test r14d, r14d
jne 0x14003618b
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x140035f00]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1400361c9
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400361c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400361c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d698
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
call fcn.140034e50
nop
int3