Function at 0x140007800
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400b7040]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14d, r8d
mov r15, rdx
xor edx, edx
cmp ecx, 0x7b
ja 0x140007844
movsxd rax, ecx
lea rdx, [0x1400ac920]
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 0
mov edi, 0xf
mov qword [rbp - 0x10], rdi
mov byte [rbp - 0x28], 0
test rdx, rdx
jne 0x14000788a
mov qword [rbp - 0x18], 0xa
movsd xmm0, qword [str.Select_Key]
movsd qword [rbp - 0x28], xmm0
movzx eax, word [0x1400986e0]
mov word [rbp - 0x20], ax
mov byte [rbp - 0x1e], dl
jmp 0x1400078a8
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140007891
lea rcx, [rbp - 0x28]
call fcn.14002a4d0
mov rdi, qword [rbp - 0x10]
cmp r14d, 1
jne 0x1400079e2
cmp rdi, 0xd
jb 0x1400078eb
lea rbx, [rbp - 0x28]
cmp rdi, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0xd
mov r8d, 0xd
lea rdx, str.Press_the_key
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xd], 0
jmp 0x1400079de
mov rcx, rdi
shr rcx, 1
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
sub rax, rcx
cmp rdi, rax
jbe 0x140007933
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140075a78
test rax, rax
je 0x1400079ce
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140007970
lea rax, [rcx + rdi]
mov esi, 0xf
cmp rax, rsi
cmova rsi, rax
lea rcx, [rsi + 1]
test rcx, rcx
jne 0x140007950
xor ebx, ebx
jmp 0x140007970
cmp rcx, 0x1000
jb 0x140007968
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140007a98
jmp 0x140007914
call fcn.140075a78
mov rbx, rax
mov qword [rbp - 0x18], 0xd
mov qword [rbp - 0x10], rsi
movsd xmm0, qword [str.Press_the_key]
movsd qword [rbx], xmm0
mov ecx, dword [0x1400986f0]
mov dword [rbx + 8], ecx
movzx ecx, byte [0x1400986f4]
mov byte [rbx + 0xc], cl
mov byte [rbx + 0xd], 0
cmp rdi, 0xf
jbe 0x1400079da
lea rdx, [rdi + 1]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400079d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400079d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140075ab4
mov qword [rbp - 0x28], rbx
mov rdi, qword [rbp - 0x10]
mov dword [rbp - 0x30], 0x42fa0000
mov dword [rbp - 0x2c], 0x41c80000
lea rcx, [rbp - 0x28]
cmp rdi, 0xf
cmova rcx, qword [rbp - 0x28]
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x30]
call fcn.140067fd0
test al, al
je 0x140007a34
test r14d, r14d
jne 0x140007a34
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8, r15
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140007a72
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007a6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007a6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140075ab4
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140075e10
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14002a420
nop
int3