Function at 0x140017160
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 [0x140067080]
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 0x14001736e
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 0x1400171c0
lea r8, [rbp + 0x24]
mov rdx, r9
lea rcx, [rbp - 0x39]
call fcn.140002d60
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 0x14001728d
lea rax, [r8 + 0x2c]
mov qword [rbp - 0x29], rax
lea rbx, [rbp - 0x39]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x39]
lea rax, [0x14005c0fc]
cmp rax, rbx
jbe 0x140017251
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x140017251
cmp rbx, rdi
ja 0x140017249
mov rsi, r12
jmp 0x140017254
mov rsi, rbx
sub rsi, rdi
jmp 0x140017254
mov rsi, r14
lea rcx, [rbx + 0x2c]
inc r8
mov rdx, rbx
call fcn.14004a380
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.14004a380
lea rcx, [rbx + rsi]
sub r14, rsi
lea rdx, [rdi + 0x2c]
add rdx, rsi
mov r8, r14
call fcn.14004a380
lea rax, [rbp - 0x39]
jmp 0x1400172a3
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov rdx, r14
lea rcx, [rbp - 0x39]
call fcn.14000fe00
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.140012800
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x14001731b
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017316
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017595
call fcn.140022abc
movdqa xmm0, xmmword [0x14005ce60]
movdqu xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x59], 0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x140017367
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017362
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001759b
call fcn.140022abc
xor eax, eax
jmp 0x140017567
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
mov r9d, 1
lea r8, [0x140016f00]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x140017550
lea r9, [rbp + 0x24]
nop
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 0x1400173a0
lea r8, [rbp + 0x24]
mov rdx, r9
lea rcx, [rbp - 0x19]
call fcn.140002d60
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 0x14001746d
lea rax, [r8 + 0x16]
mov qword [rbp - 9], rax
lea rbx, [rbp - 0x19]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x19]
lea rax, [0x14005c116]
cmp rax, rbx
jbe 0x140017431
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x140017431
cmp rbx, rdi
ja 0x140017429
mov rsi, r12
jmp 0x140017434
mov rsi, rbx
sub rsi, rdi
jmp 0x140017434
mov rsi, r14
lea rcx, [rbx + 0x16]
inc r8
mov rdx, rbx
call fcn.14004a380
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.14004a380
lea rcx, [rbx + rsi]
sub r14, rsi
lea rdx, [rdi + 0x16]
add rdx, rsi
mov r8, r14
call fcn.14004a380
lea rax, [rbp - 0x19]
jmp 0x140017483
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov rdx, r14
lea rcx, [rbp - 0x19]
call fcn.14000fe00
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.140012800
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x1400174fb
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400174f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400175a1
call fcn.140022abc
movdqa xmm0, xmmword [0x14005ce60]
movdqu xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x59], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x140017543
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001753e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001758f
call fcn.140022abc
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140017567
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.140022a60
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
call fcn.14002994c
nop
call fcn.14002994c
nop
call fcn.14002994c
nop
call fcn.14002994c
int3