Function at 0x14000f220
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 [0x140025040]
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 0x14000f434
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 0x14000f280
lea r8, [rbp + 0x24]
mov rdx, r9
lea rcx, [rbp - 0x39]
call fcn.140002760
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 0x14000f34d
lea rax, [r8 + 0x2c]
mov qword [rbp - 0x29], rax
lea rbx, [rbp - 0x39]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x39]
lea rax, [0x14001cda4]
cmp rax, rbx
jbe 0x14000f311
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x14000f311
cmp rbx, rdi
ja 0x14000f309
mov rsi, r12
jmp 0x14000f314
mov rsi, rbx
sub rsi, rdi
jmp 0x14000f314
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 0x14000f363
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov rdx, r14
lea rcx, [rbp - 0x39]
call fcn.14000b8c0
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.14000ba70
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x14000f3de
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f3d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f3d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017140
movdqa xmm0, xmmword [0x14001da90]
movdqu xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x59], 0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x14000f42d
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f428
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f428
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017140
xor eax, eax
jmp 0x14000f641
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
mov r9d, 1
lea r8, [0x14000efc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x14000f62a
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 0x14000f470
lea r8, [rbp + 0x24]
mov rdx, r9
lea rcx, [rbp - 0x19]
call fcn.140002760
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 0x14000f53d
lea rax, [r8 + 0x16]
mov qword [rbp - 9], rax
lea rbx, [rbp - 0x19]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x19]
lea rax, [0x14001cdbe]
cmp rax, rbx
jbe 0x14000f501
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x14000f501
cmp rbx, rdi
ja 0x14000f4f9
mov rsi, r12
jmp 0x14000f504
mov rsi, rbx
sub rsi, rdi
jmp 0x14000f504
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 0x14000f553
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov rdx, r14
lea rcx, [rbp - 0x19]
call fcn.14000b8c0
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.14000ba70
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x14000f5ce
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f5c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f5c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017140
movdqa xmm0, xmmword [0x14001da90]
movdqu xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x59], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x14000f61d
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f618
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f618
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017140
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14000f641
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.140017120
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