Function at 0x140004310
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x14004f040]
xor rax, rsp
mov qword [rbp + 0x27], rax
call fcn.140002f10
mov r15, rax
xor r12d, r12d
mov qword [rbp - 0x79], r12
mov qword [rbp - 0x71], r12
mov ecx, 0x28
call fcn.1400196dc
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x79], rax
mov rcx, r15
call fcn.140002ff0
test al, al
jne 0x1400045f3
movabs r13, 0x666666666666666
nop
lea rdx, [rbp - 0x21]
mov rcx, r15
call fcn.140002e60
nop
lea rcx, [rbp - 0x21]
call fcn.140006720
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx]
lea rdx, [rbp + 7]
mov rcx, r15
call fcn.140002ee0
nop
mov r8, rax
lea rdx, [rbp - 0x31]
mov rcx, rdi
call rbx
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x140004409
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004404
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000466f
call fcn.140019718
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], r12w
lea rcx, [rbp - 0x31]
call fcn.140018540
test eax, eax
jne 0x140004435
lea rcx, [rbp - 0x21]
call fcn.140006470
jmp 0x1400045b3
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x49]
call fcn.140006c00
nop
mov rbx, qword [rbp - 0x49]
mov rsi, qword [rbp - 0x41]
cmp rbx, rsi
je 0x14000455c
mov ecx, 0x10
call fcn.1400196dc
mov rdi, rax
mov qword [rbp - 1], rax
test rax, rax
je 0x14000447a
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rcx, rax
call fcn.140014a30
jmp 0x14000447d
mov rdi, r12
mov rdx, rbx
mov rcx, rdi
call fcn.140015380
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
mov r9, rdi
lea r8, [0x140003ee0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
mov r14, qword [rbp - 0x79]
mov rcx, qword [r14 + 8]
mov qword [rbp - 0x69], rcx
mov dword [rbp - 0x61], r12d
mov rdx, r14
cmp byte [rcx + 0x19], 0
jne 0x1400044e9
mov qword [rbp - 0x69], rcx
cmp qword [rcx + 0x20], rdi
jae 0x1400044d6
mov dword [rbp - 0x61], r12d
mov rcx, qword [rcx + 0x10]
jmp 0x1400044e3
mov dword [rbp - 0x61], 1
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x1400044c2
cmp byte [rdx + 0x19], 0
jne 0x1400044f5
cmp rdi, qword [rdx + 0x20]
jae 0x140004547
cmp qword [rbp - 0x71], r13
je 0x140004663
lea rax, [rbp - 0x79]
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], r12
mov ecx, 0x28
call fcn.1400196dc
nop
mov qword [rax + 0x20], rdi
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov word [rax + 0x18], 0
mov qword [rbp - 9], r12
movups xmm0, xmmword [rbp - 0x69]
movaps xmmword [rbp - 0x69], xmm0
mov r8, rax
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x79]
call fcn.1400028d0
add rbx, 0x10
cmp rbx, rsi
jne 0x140004454
mov rsi, qword [rbp - 0x41]
mov rbx, qword [rbp - 0x49]
test rbx, rbx
je 0x1400045b3
cmp rbx, rsi
je 0x14000457b
mov rcx, rbx
call fcn.140015200
add rbx, 0x10
cmp rbx, rsi
jne 0x140004566
mov rbx, qword [rbp - 0x49]
mov rdx, qword [rbp - 0x39]
sub rdx, rbx
and rdx, 0xfffffffffffffff0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400045ab
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004669
mov rcx, rbx
call fcn.140019718
mov rcx, r15
call fcn.140003460
mov rcx, r15
call fcn.140002fa0
imul ecx, eax, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rbp - 0x31]
call fcn.140015200
nop
lea rcx, [rbp - 0x21]
call fcn.140005d30
mov rcx, r15
call fcn.140002ff0
test al, al
je 0x140004390
mov rcx, qword [rbp - 0x79]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x14000462c
mov r8, qword [rbx + 0x10]
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x79]
call fcn.140003be0
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x28
call fcn.140019718
cmp byte [rbx + 0x19], 0
je 0x140004601
mov rcx, qword [rbp - 0x79]
mov edx, 0x28
call fcn.140019718
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400199f0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140002b30
nop
call fcn.140020768
int3
call fcn.140020768
int3