Function at 0x14000ead0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov ebx, ecx
xor r12d, r12d
mov r8d, ecx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
test rax, rax
jne 0x14000ece4
lea r9, [rbp + 0x24]
nop dword [rax]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r9], bl
mov ebx, edx
test edx, edx
jne 0x14000eb30
lea r8, [rbp + 0x24]
mov rdx, r9
lea rcx, [rbp - 0x39]
call fcn.140002650
nop
mov r8, qword [rbp - 0x29]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
sub rax, r8
lea r14d, [rbx + 0x2c]
lea rdi, str.OpenProcess_failed_when_creating_thread_for
cmp rax, r14
jb 0x14000ebfd
lea rax, [r8 + 0x2c]
mov qword [rbp - 0x29], rax
lea rbx, [rbp - 0x39]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x39]
lea rax, [0x14001bcd4]
cmp rax, rbx
jbe 0x14000ebc1
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x14000ebc1
cmp rbx, rdi
ja 0x14000ebb9
mov rsi, r12
jmp 0x14000ebc4
mov rsi, rbx
sub rsi, rdi
jmp 0x14000ebc4
mov rsi, r14
lea rcx, [rbx + 0x2c]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rsi]
sub r14, rsi
lea rdx, [rdi + 0x2c]
add rdx, rsi
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x39]
jmp 0x14000ec13
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov rdx, r14
lea rcx, [rbp - 0x39]
call fcn.14000b730
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x49], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 1
lea rdx, [rbp - 0x59]
call fcn.14000bc70
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x14000ec8e
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ec89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ec89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400166f0
movdqa xmm0, xmmword [0x14001c9b0]
movdqu xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x59], 0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x14000ecdd
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ecd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ecd8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400166f0
xor eax, eax
jmp 0x14000eef1
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
mov r9d, 1
lea r8, [0x14000e870]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x14000eeda
lea r9, [rbp + 0x24]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r9], bl
mov ebx, edx
test edx, edx
jne 0x14000ed20
lea r8, [rbp + 0x24]
mov rdx, r9
lea rcx, [rbp - 0x19]
call fcn.140002650
nop
mov r8, qword [rbp - 9]
mov rcx, qword [rbp - 1]
mov rax, rcx
sub rax, r8
lea r14d, [rbx + 0x16]
lea rdi, str.CreateThread_fail_for
cmp rax, r14
jb 0x14000eded
lea rax, [r8 + 0x16]
mov qword [rbp - 9], rax
lea rbx, [rbp - 0x19]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x19]
lea rax, [0x14001bcee]
cmp rax, rbx
jbe 0x14000edb1
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x14000edb1
cmp rbx, rdi
ja 0x14000eda9
mov rsi, r12
jmp 0x14000edb4
mov rsi, rbx
sub rsi, rdi
jmp 0x14000edb4
mov rsi, r14
lea rcx, [rbx + 0x16]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rsi]
sub r14, rsi
lea rdx, [rdi + 0x16]
add rdx, rsi
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x19]
jmp 0x14000ee03
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov rdx, r14
lea rcx, [rbp - 0x19]
call fcn.14000b730
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x49], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 1
lea rdx, [rbp - 0x59]
call fcn.14000bc70
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x14000ee7e
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ee79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ee79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400166f0
movdqa xmm0, xmmword [0x14001c9b0]
movdqu xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x59], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x14000eecd
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000eec8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000eec8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400166f0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14000eef1
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400166d0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret