Function at 0x140192178
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x120
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15b, r8b
mov rsi, rdx
xor r12d, r12d
mov dword [rsp + 0x48], r12d
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x38], r12
lea ebx, [r12 + 7]
mov qword [rbp - 0x30], rbx
mov word [rbp - 0x48], r12w
mov edi, 0x1000
cmp qword [r9 + 0x10], r12
jne 0x14019235d
mov qword [rsp + 0x78], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
xor r8d, r8d
lea rdx, [0x1401d9fd0]
lea rcx, [rsp + 0x78]
call fcn.1400041a8
nop
mov qword [rbp - 0x28], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
lea r8d, [r12 + 0xe]
lea rdx, str.ExternalViewer
lea rcx, [rbp - 0x28]
call fcn.1400041a8
nop
mov qword [rsp + 0x58], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
lea r8d, [r12 + 6]
lea rdx, [0x1401daea0]
lea rcx, [rsp + 0x58]
call fcn.1400041a8
nop
lea r9, [rsp + 0x78]
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x58]
call fcn.1401155a8
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1401922a0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, rdi
jb 0x14019229b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401928ce
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1401922f0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, rdi
jb 0x1401922eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401928d4
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r12w
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14019233f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, rdi
jb 0x14019233a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401928da
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r12w
lea rcx, [rbp - 0x48]
call fcn.1400fcddc
jmp 0x140192369
mov rdx, r9
lea rcx, [rbp - 0x48]
call fcn.140004948
cmp qword [rbp - 0x38], r12
jne 0x140192377
mov r14b, r12b
jmp 0x140192854
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140192390
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x68]
call fcn.1400042b0
nop
lea rcx, [rbp - 0x68]
call fcn.140128ac8
lea rcx, [rbp - 0x48]
call fcn.1400cb2c4
movabs rbx, 0x7ffffffffffffffe
mov r14d, 1
test al, al
jne 0x14019258d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x48]
call fcn.140161f00
cmp qword [rsp + 0x68], r12
je 0x14019253b
lea eax, [r14 + 0x1f]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x68]
cmp rax, rbx
je 0x1401928e0
lea r9, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r9, qword [rsp + 0x58]
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov dl, byte [rsp + 0x40]
lea rcx, [rbp - 0x28]
call fcn.140004674
mov dword [rsp + 0x48], r14d
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x58]
lea rcx, [rbp - 0x28]
call fcn.140006c14
mov qword [rsp + 0x78], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x78], xmm6
movups xmm7, xmmword [rax + 0x10]
movdqu xmmword [rbp - 0x78], xmm7
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea edi, [r14 + 2]
mov dword [rsp + 0x48], edi
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x1401924e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401924e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401928e6
call fcn.1401addcc
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r12w
movups xmmword [rbp - 0x68], xmm6
movups xmmword [rbp - 0x58], xmm7
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r12w
and edi, 0xfffffffd
mov dword [rsp + 0x48], edi
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r12w
and edi, 0xfffffffe
mov dword [rsp + 0x48], edi
lea rcx, [rbp - 0x28]
call fcn.140006b84
mov edi, 0x1000
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140192579
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, rdi
jb 0x140192574
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401928ec
call fcn.1401addcc
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
mov ecx, dword [0x14027b3e8]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
lea rdi, [0x140258210]
mov eax, dword [rdx + rcx]
cmp dword [0x1402582e0], eax
jg 0x1401928f2
mov r8b, r14b
mov rdx, rsi
mov rcx, rdi
call fcn.140193920
mov qword [rbp - 0x28], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
xor r8d, r8d
lea rdx, [0x1401d9fd0]
lea rcx, [rbp - 0x28]
call fcn.1400041a8
nop
mov qword [rsp + 0x78], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
xor r8d, r8d
lea rdx, [0x1401d9fd0]
lea rcx, [rsp + 0x78]
call fcn.1400041a8
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov rdi, qword [rbp - 0x38]
lea rsi, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rsi, qword [rbp - 0x48]
cmp rdi, rbx
ja 0x140192931
mov qword [rsp + 0x70], 7
cmp rdi, 8
jae 0x14019266b
mov qword [rsp + 0x68], rdi
mov r8d, 0x10
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.1401aff80
jmp 0x1401926f2
mov rax, rdi
or rax, 7
cmp rax, rbx
jbe 0x140192687
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x1401926b9
mov rbx, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140192937
add rcx, rcx
cmp rcx, 0x1000
jb 0x1401926c0
call fcn.14000416c
jmp 0x1401926cf
test rcx, rcx
je 0x1401926cc
call fcn.1401add90
jmp 0x1401926cf
mov rax, r12
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rbx
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.1401aff80
nop
mov r9b, r15b
xor r9b, r14b
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea rsi, [0x140258210]
mov qword [rsp + 0x20], rsi
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.140196178
test al, al
sete bl
mov rdx, qword [rbp - 0x70]
mov edi, 0x1000
cmp rdx, 8
jb 0x140192767
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, rdi
jb 0x140192762
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019293d
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r12w
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1401927b6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, rdi
jb 0x1401927b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140192943
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r12w
test bl, bl
je 0x1401927d9
mov rcx, rsi
call fcn.140190e54
mov r14b, r12b
jmp 0x140192806
test r15b, r15b
je 0x1401927fd
cmp qword [0x140258210], r12
je 0x1401927fd
mov r8, rsi
mov edx, 0x10000
lea rcx, [0x140191140]
call fcn.1401bb5c8
jmp 0x140192806
mov rcx, rsi
call fcn.140190e54
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x140192842
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, rdi
jb 0x14019283d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140192949
call fcn.1401addcc
mov qword [rbp - 0x58], r12
mov ebx, 7
mov qword [rbp - 0x50], rbx
mov word [rbp - 0x68], r12w
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x14019288c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, rdi
jb 0x140192887
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401928c8
call fcn.1401addcc
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], rbx
mov word [rbp - 0x48], r12w
mov al, r14b
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401adee0
lea r11, [rsp + 0x120]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401b4fa4
nop
call fcn.1401b4fa4
nop
call fcn.1401b4fa4
nop
call fcn.1401b4fa4
nop
call fcn.140006be8
nop
call fcn.1401b4fa4
nop
call fcn.1401b4fa4
int3
lea rcx, [0x1402582e0]
call fcn.1401ae638
cmp dword [0x1402582e0], 0xffffffff
jne 0x1401925bb
mov rcx, rdi
call fcn.140190068
lea rcx, [0x1401d7a60]
call fcn.1401ae164
nop
lea rcx, [0x1402582e0]
call fcn.1401ae5d8
jmp 0x1401925bb
call fcn.140006be8
int3
call fcn.140006b64
nop
call fcn.1401b4fa4
nop
call fcn.1401b4fa4
nop
call fcn.1401b4fa4
int3