Function at 0x1400219c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rsi
push r12
push r14
lea rbp, [rsp - 0xe8]
sub rsp, 0x1e8
mov rax, qword [0x1400e8010]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r12, qword [0x1400e8a78]
mov r14, rcx
mov eax, dword [rcx + 0xb0]
mov r9, rdx
inc eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x68], r12
movzx edx, byte [r14 + 0xc8]
mov ecx, dword [r12 + 0x3f48]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x64], ecx
test dl, 0x40
je 0x140021a29
mov byte [rsp + 0x31], 1
cmp eax, ecx
je 0x140021a2e
mov byte [rsp + 0x31], 0
xor esi, esi
lea r10d, [rsi + 1]
cmp dword [r14 + 0xc0], esi
je 0x140021a46
mov dword [rsp + 0x44], r10d
cmp eax, ecx
je 0x140021a4a
mov dword [rsp + 0x44], esi
and dl, 0xbf
mov dword [r14 + 0xc0], esi
mov byte [r14 + 0xc8], dl
mov r8, r14
mov rax, qword [r14 + 0x18]
mov qword [rsp + 0x50], r14
test rax, rax
je 0x140021a83
nop dword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140021a70
mov r8, qword [rsp + 0x50]
mov rax, qword [r12 + 0x43a8]
mov qword [rsp + 0x1d0], r15
test rax, rax
je 0x140021aa8
cmp qword [rax + 0x420], r14
sete r15b
jmp 0x140021b57
mov rcx, qword [r12 + 0x4240]
test rcx, rcx
je 0x140021b54
mov eax, dword [r14]
cmp dword [r8 + 0xb8], eax
jne 0x140021b54
mov rcx, qword [rcx + 0x3a0]
test dword [rcx + 0xc], 0x10000000
je 0x140021af7
nop dword [rax]
mov rax, qword [rcx + 0x390]
mov rcx, qword [rax + 0x3a0]
test dword [rcx + 0xc], 0x10000000
jne 0x140021ae0
mov rax, qword [rcx + 0x428]
test rax, rax
jne 0x140021b10
mov rax, qword [rcx + 0x420]
test rax, rax
je 0x140021b54
nop
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140021b2c
nop dword [rax]
mov rax, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x140021b20
cmp rax, r8
je 0x140021cad
mov rax, qword [rax + 0x88]
test rax, rax
je 0x140021b54
mov rax, qword [rax + 0x3a0]
mov rax, qword [rax + 0x420]
test rax, rax
jne 0x140021b10
xor r15b, r15b
mov eax, dword [r14 + 0x10]
mov byte [rsp + 0x30], r15b
test eax, 0x3000
jne 0x140022b26
movzx ecx, byte [r9 + 0xd0]
mov qword [rsp + 0x220], rbx
mov qword [rsp + 0x1e0], rdi
mov qword [rsp + 0x1d8], r13
movaps xmmword [rsp + 0x1c0], xmm6
movaps xmmword [rsp + 0x1b0], xmm7
movaps xmmword [rsp + 0x1a0], xmm8
movaps xmmword [rsp + 0x190], xmm9
shr eax, 0xa
movaps xmmword [rsp + 0x180], xmm10
movaps xmmword [rsp + 0x170], xmm11
mov byte [rsp + 0x32], cl
test r10b, al
jne 0x140021bda
mov byte [r9 + 0xd0], 0
mov dword [r9 + 0x170], r10d
mov ecx, dword [r14]
mov rbx, qword [r12 + 0x3fc8]
mov dword [rbp - 0x30], ecx
cmp dword [r12 + 0x3ffc], ecx
jne 0x140021bfe
xor r8d, r8d
lea edx, [r8 + 0xd]
call fcn.140027440
lea rcx, [rbx + 0x108]
lea rdx, [rbp - 0x30]
call fcn.140027e80
mov rax, qword [r14 + 0x40]
mov ebx, 0xffffffff
mov qword [rbp - 0x50], rax
mov rdi, rax
test rax, rax
jne 0x140021cbd
mov rax, qword [0x1400e8a78]
test rax, rax
je 0x140021c39
inc dword [rax + 0xfc]
mov ecx, 0x98
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140021cb6
mov qword [rax + 0x30], 0
xorps xmm0, xmm0
mov dword [rax + 0x38], esi
mov dword [rax + 0x7c], esi
mov dword [rax + 0x84], esi
mov dword [rax + 0x8c], esi
mov qword [rax + 0x90], rsi
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x50], xmm0
movups xmmword [rdi + 0x60], xmm0
movups xmmword [rdi + 0x70], xmm0
movups xmmword [rdi + 0x80], xmm0
mov qword [rdi + 0x90], rax
mov qword [rdi + 0x24], 0xffffffffffffffff
mov word [rdi + 0x70], bx
jmp 0x140021cb9
movzx r15d, r10b
jmp 0x140021b57
mov rdi, rsi
mov qword [r14 + 0x40], rdi
and byte [r14 + 0xc8], 0xfd
movzx eax, r15b
add al, al
mov dword [rbp - 0x30], esi
or byte [r14 + 0xc8], al
test dword [r14 + 0x10], 0x4000
jne 0x140021d24
cmp dword [r12 + 0x3918], ebx
je 0x140021d24
mov r13b, 1
mov byte [rbp - 0x38], r13b
call fcn.140015a50
test al, al
je 0x140021d30
mov rdx, rdi
mov rcx, r14
call fcn.1400217f0
test eax, eax
je 0x140021d0e
mov dword [rdi + 0x1c], eax
mov dword [rbp - 0x30], eax
movzx eax, byte [r14 + 0xc8]
shr al, 1
and al, r13b
or al, r15b
mov byte [rsp + 0x30], al
jmp 0x140021d30
xor r13b, r13b
mov byte [rsp + 0x30], r15b
mov byte [rbp - 0x38], r13b
mov r11, qword [0x1400e8a78]
xorps xmm11, xmm11
movss xmm7, dword [r14 + 0x4c]
movss xmm10, dword [r14 + 0x48]
movaps xmm6, xmm7
movzx eax, byte [r14 + 0xc8]
movaps xmm9, xmm10
movss xmm4, dword [r11 + 0x392c]
movss xmm2, dword [r11 + 0x3d38]
movaps xmm5, xmm4
movss xmm8, dword [r11 + 0x3930]
movaps xmm0, xmm2
movss dword [rbp - 0x44], xmm7
addss xmm0, xmm7
movss dword [rbp - 0x28], xmm10
addss xmm8, xmm8
movss dword [rbp - 0x24], xmm7
mov qword [rsp + 0x58], 0
addss xmm9, dword [r14 + 0x50]
addss xmm8, xmm0
movss xmm0, dword [r11 + 0x3904]
movaps xmm3, xmm0
addss xmm3, xmm10
movss dword [rbp - 0x20], xmm9
movaps xmm1, xmm9
subss xmm1, xmm0
movss dword [rbp - 0x3c], xmm8
movss dword [rbp - 0x1c], xmm8
addss xmm5, xmm3
subss xmm1, xmm4
movss dword [rbp - 0x48], xmm5
movss dword [rbp - 0x40], xmm1
test al, 8
je 0x140021e01
subss xmm1, xmm2
movss dword [rsp + 0x5c], xmm7
movaps xmm0, xmm1
movss dword [rbp - 0x40], xmm1
subss xmm0, xmm4
movss dword [rsp + 0x58], xmm0
test al, 0x10
je 0x140021e50
cmp dword [r11 + 0x3918], 0
jne 0x140021e23
addss xmm2, dword [r11 + 0x3944]
addss xmm2, xmm5
movss dword [rbp - 0x48], xmm2
jmp 0x140021e50
cmp dword [r11 + 0x3918], 1
jne 0x140021e50
addss xmm2, xmm4
subss xmm1, xmm2
movss dword [rbp - 0x40], xmm1
unpcklps xmm1, xmm7
movaps xmm0, xmm1
movsd qword [rsp + 0x38], xmm1
shufps xmm0, xmm0, 0x55
movaps xmm3, xmm1
movaps xmm6, xmm0
cmp dword [r14 + 0x30], 0
mov r15d, esi
movups xmm0, xmmword [rbp - 0x48]
mov eax, dword [rdi]
movss dword [rsp + 0x38], xmm3
movups xmmword [rbp - 0x18], xmm0
mov dword [rsp + 0x60], eax
movss dword [rsp + 0x3c], xmm6
jle 0x140021f52
mov rbx, rsi
mov r12d, 0x400000
mov r13d, 0xffffffff
nop word [rax + rax]
mov rax, qword [r14 + 0x38]
mov r9, qword [rbx + rax]
mov edx, dword [r9 + 0x90]
test edx, edx
je 0x140021ed0
mov r8d, dword [rdi]
mov eax, esi
test r8d, r8d
jle 0x140021ed0
mov r10, qword [rdi + 8]
mov rcx, r10
cmp dword [rcx], edx
je 0x140021ec5
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140021eb4
jmp 0x140021ed0
cdqe
imul rcx, rax, 0x38
add rcx, r10
jne 0x140021f37
cmp byte [r9 + 0xd5], 0
mov eax, 0x500000
mov qword [rbp - 0x78], rsi
cmovne eax, r12d
mov dword [rbp - 0x70], esi
mov dword [rsp + 0x74], eax
mov eax, dword [rdi + 0x24]
mov qword [rbp - 0x60], rsi
mov dword [rbp - 0x7c], r13d
mov qword [rbp - 0x6c], 0xffffffffbf800000
mov dword [rbp - 0x64], 0xffffffff
mov dword [rsp + 0x70], edx
mov dword [rbp - 0x80], eax
cmp eax, r13d
jne 0x140021f1e
mov eax, dword [r11 + 0x3f48]
dec eax
mov dword [rbp - 0x80], eax
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], r9
mov rcx, rdi
call fcn.140055b90
mov r11, qword [0x1400e8a78]
inc r15d
add rbx, 8
cmp r15d, dword [r14 + 0x30]
jl 0x140021e90
mov r12, qword [rsp + 0x68]
movzx r13d, byte [rbp - 0x38]
movzx r15d, byte [rsp + 0x30]
test r15b, r15b
je 0x140021f6c
mov eax, dword [r12 + 0x3f48]
mov dword [r14 + 0xb4], eax
mov rbx, qword [rsp + 0x48]
cmp byte [rbx + 0xce], 0
je 0x140021f81
mov eax, 0xc
jmp 0x140021f8e
test r15b, r15b
mov rax, rsi
setne al
add rax, 0xa
add rax, rax
lea rcx, [rbp - 0x48]
movups xmm0, xmmword [r11 + rax*8 + 0x39b8]
movups xmmword [rbp - 0x48], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r11 + 0x38f0]
movss dword [rbp - 0x3c], xmm0
call fcn.1400038a0
movss xmm2, dword [0x1400dd510]
mov r11d, eax
movss xmm1, dword [rbx + 0x48]
movss xmm3, dword [rbx + 0x4c]
movaps xmm0, xmm1
addss xmm1, dword [rbx + 0x50]
addss xmm0, xmm2
subss xmm1, xmm2
comiss xmm0, xmm10
movaps xmm10, xmmword [rsp + 0x180]
movaps xmm0, xmm3
addss xmm3, dword [rbx + 0x54]
setae cl
addss xmm0, xmm2
comiss xmm9, xmm1
subss xmm3, xmm2
setae r10b
comiss xmm0, xmm7
setae dl
comiss xmm8, xmm3
setae r9b
test dl, dl
je 0x140022023
test cl, cl
je 0x140022023
mov eax, 0x10
jmp 0x140022029
mov eax, esi
test dl, dl
je 0x140022034
mov r8d, 0x20
test r10b, r10b
jne 0x140022037
mov r8d, esi
test r9b, r9b
je 0x140022047
test cl, cl
je 0x140022047
mov edx, 0x40
jmp 0x14002204e
mov edx, esi
test r9b, r9b
je 0x140022058
mov ecx, 0x180
test r10b, r10b
jne 0x14002205d
mov ecx, pe_nt_image_headers64
movss xmm0, dword [rbx + 0x80]
or eax, r8d
or eax, edx
lea r8, [rbp - 0x20]
or eax, ecx
lea rdx, [rbp - 0x28]
mov rcx, qword [rbx + 0x2c0]
mov r9d, r11d
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm0
call fcn.140033910
test r13b, r13b
je 0x140022119
movsxd rcx, dword [rbx + 0x108]
xor edx, edx
mov rax, qword [rbx + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.COLLAPSE
call fcn.140003310
mov rcx, qword [0x1400e8a78]
mov ebx, eax
cmp dword [rcx + 0x3ffc], eax
jne 0x1400220db
lea r8, str.COLLAPSE
mov edx, 0xb
mov ecx, eax
call fcn.140027440
mov r8, r14
lea rdx, [rsp + 0x38]
mov ecx, ebx
call fcn.140041e90
test al, al
je 0x1400220fa
lea rcx, str.WindowMenu
call fcn.140015ac0
mov rax, qword [0x1400e8a78]
mov ecx, dword [rax + 0x4014]
test ecx, ecx
je 0x140022119
cmp ecx, dword [rax + 0x408c]
jne 0x140022119
mov eax, dword [rdi + 0x18]
mov dword [rbp - 0x30], eax
mov r13d, dword [rdi]
lea ecx, [r13 - 1]
test ecx, ecx
js 0x140022154
movsxd rax, ecx
imul rdx, rax, 0x38
nop dword [rax + rax]
mov r8, qword [rdi + 8]
mov eax, dword [rdx + r8 + 4]
bt eax, 0x16
jae 0x140022154
btr eax, 0x16
mov r13d, ecx
mov dword [rdx + r8 + 4], eax
sub rdx, 0x38
sub ecx, 1
jns 0x140022130
mov r8d, dword [rdi]
cmp r8d, r13d
jle 0x140022222
test byte [r12 + 0x5604], 0x40
lea eax, [r13 + 1]
je 0x140022196
mov edx, dword [r14]
lea rcx, str.__will_sort_
cmp r8d, eax
lea r9, [0x140066ac6]
cmovg r9, rcx
sub r8d, r13d
lea rcx, str._docking__In_node_0x_08X:__d_new_appearing_tabs:_s_n
call fcn.140027390
mov ecx, dword [rdi]
mov r15d, r13d
movsxd rax, r13d
imul r8, rax, 0x38
mov qword [rsp + 0x38], r8
cmp r13d, ecx
jge 0x1400221ee
mov rbx, r8
nop
test byte [r12 + 0x5604], 0x40
je 0x1400221db
mov rax, qword [rdi + 8]
lea rcx, str._docking____Tab__s_Order__d_n
mov rdx, qword [rbx + rax + 8]
movsx r8d, word [rdx + 0x402]
mov rdx, qword [rdx]
call fcn.140027390
mov ecx, dword [rdi]
inc r15d
add rbx, 0x38
cmp r15d, ecx
jl 0x1400221b0
mov r8, qword [rsp + 0x38]
lea eax, [r13 + 1]
cmp ecx, eax
jle 0x14002221c
sub ecx, r13d
movsxd rdx, ecx
cmp rdx, 1
jbe 0x14002221c
mov rcx, qword [rdi + 8]
lea r9, [0x1400217a0]
add rcx, r8
mov r8d, 0x38
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
movzx r15d, byte [rsp + 0x30]
mov rax, qword [r12 + 0x4240]
test rax, rax
je 0x140022248
mov rcx, qword [rax + 0x3a0]
cmp qword [rcx + 0x420], r14
jne 0x140022248
mov eax, dword [rcx + 0x90]
mov dword [rdi + 0x18], eax
cmp qword [rbp - 0x50], 0
jne 0x140022283
mov edx, dword [r14 + 0xbc]
test edx, edx
je 0x140022283
mov r8d, dword [rdi]
mov eax, esi
test r8d, r8d
jle 0x140022283
mov r9, qword [rdi + 8]
mov rcx, r9
nop dword [rax + rax]
cmp dword [rcx], edx
je 0x14002252e
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140022270
movsxd rax, dword [rdi]
cmp eax, dword [rsp + 0x60]
jle 0x1400222a5
imul rcx, rax, 0x38
mov rax, qword [rdi + 8]
mov rcx, qword [rcx + rax - 0x30]
mov eax, dword [rcx + 0x90]
mov dword [rdi + 0x1c], eax
mov dword [rdi + 0x18], eax
mov rax, qword [rsp + 0x48]
mov r8d, 0x500003
cmp byte [rax + 0xce], 0
jne 0x1400222c5
test r15b, r15b
mov eax, 0x700003
cmovne r8d, eax
mov r9, r14
lea rdx, [rbp - 0x18]
mov rcx, rdi
call fcn.140052330
mov ecx, 6
lea rax, [rbp + 8]
nop dword [rax]
mov qword [rax - 8], 0
mov qword [rax], 0
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x1400222e0
mov r13d, esi
movups xmm1, xmmword [r12 + 0x39b8]
movaps xmmword [rbp], xmm1
movups xmm0, xmmword [r12 + 0x3bc8]
movaps xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [r12 + 0x3bd8]
movaps xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [r12 + 0x3be8]
movaps xmmword [rbp + 0x30], xmm0
movups xmm0, xmmword [r12 + 0x3bf8]
movaps xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [r12 + 0x3c08]
mov qword [r14 + 0x90], rsi
movaps xmmword [rbp + 0x50], xmm0
cmp dword [r14 + 0x30], ecx
jle 0x140022570
movss xmm6, dword [0x1400dd450]
lea r11, [0x1400682e8]
mov r15, rsi
lea r10, [0x140068300]
nop dword [rax]
nop dword [rax + rax]
cmp byte [rsp + 0x31], 0
mov rax, qword [r14 + 0x38]
mov rbx, qword [r15 + rax]
jne 0x14002239b
mov eax, dword [rsp + 0x44]
cmp eax, dword [rbx + 0x90]
jne 0x1400223b1
cmp byte [rbx + 0xd5], 0
je 0x1400223b1
test dword [rbx + 0xc], 0x100000
je 0x140022556
mov eax, dword [rbx + 0x280]
inc eax
cmp eax, dword [r12 + 0x3f48]
jge 0x1400223d1
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x40], eax
je 0x140022556
mov edx, dword [rbx + 0x24]
mov r8, rbx
or edx, 1
test dword [rbx + 0xc], 0x100000
cmove edx, dword [rbx + 0x24]
mov r9d, edx
or r9d, 4
test byte [rdi + 0x10], 8
cmove r9d, edx
mov rdx, r11
sub r8, r11
nop word [rax + rax]
mov ecx, dword [r8 + rdx + 0x404]
xorps xmm3, xmm3
movzx eax, cl
xorps xmm2, xmm2
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
movzx eax, al
cvtsi2ss xmm2, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
mulss xmm3, xmm6
cvtsi2ss xmm1, rax
mov eax, ecx
shufps xmm3, xmm3, 0xe1
cvtsi2ss xmm0, rax
movsxd rax, dword [rdx]
add rdx, 4
add rax, rax
mulss xmm2, xmm6
mulss xmm1, xmm6
mulss xmm0, xmm6
movss xmm3, xmm2
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r12 + rax*8 + 0x39b8], xmm3
cmp rdx, r10
jl 0x140022400
cmp byte [rbx + 0xd5], 0
lea r8, [rbp - 0x38]
mov rdx, qword [rbx]
mov rcx, rdi
cmove r8, rsi
mov byte [rbp - 0x38], 1
mov qword [rsp + 0x20], rbx
call fcn.140053ee0
cmp byte [rbp - 0x38], 0
jne 0x1400224be
mov eax, dword [rbx + 0x90]
mov dword [r14 + 0xc0], eax
mov eax, dword [rbx + 0x90]
cmp dword [rdi + 0x20], eax
jne 0x1400224d0
mov qword [r14 + 0x90], rbx
mov eax, dword [r12 + 0x4094]
mov dword [rbx + 0x434], eax
movups xmm0, xmmword [r12 + 0x4098]
movups xmmword [rbx + 0x438], xmm0
mov rax, qword [r12 + 0x4240]
test rax, rax
je 0x140022548
cmp qword [rax + 0x3a0], rbx
jne 0x140022548
test byte [rbx + 0x174], 2
lea r10, [0x140068300]
lea r11, [0x1400682e8]
jne 0x140022556
mov rcx, qword [rsp + 0x48]
mov eax, dword [rbx + 0x90]
mov dword [rcx + 0x3d4], eax
jmp 0x140022556
cdqe
imul rcx, rax, 0x38
add rcx, r9
je 0x140022283
mov dword [rdi + 0x1c], edx
mov dword [rdi + 0x18], edx
jmp 0x1400222a5
lea r11, [0x1400682e8]
lea r10, [0x140068300]
inc r13d
add r15, 8
cmp r13d, dword [r14 + 0x30]
jl 0x140022380
movaps xmm1, xmmword [rbp]
nop dword [rax + rax]
movups xmmword [r12 + 0x39b8], xmm1
movaps xmm0, xmmword [rbp + 0x10]
movups xmmword [r12 + 0x3bc8], xmm0
movaps xmm1, xmmword [rbp + 0x20]
movups xmmword [r12 + 0x3bd8], xmm1
movaps xmm0, xmmword [rbp + 0x30]
movups xmmword [r12 + 0x3be8], xmm0
movaps xmm1, xmmword [rbp + 0x40]
movups xmmword [r12 + 0x3bf8], xmm1
movaps xmm0, xmmword [rbp + 0x50]
movups xmmword [r12 + 0x3c08], xmm0
mov rax, qword [r14 + 0x90]
test rax, rax
je 0x1400225e3
cmp byte [rsp + 0x30], 0
mov rcx, qword [rsp + 0x50]
jne 0x1400225dc
cmp qword [rcx + 0x90], 0
jne 0x1400225e3
mov qword [rcx + 0x90], rax
movzx eax, byte [r14 + 0xc8]
and al, 8
je 0x14002260c
mov rcx, qword [r14 + 0x90]
test rcx, rcx
je 0x14002260c
cmp byte [rcx + 0xd5], 0
je 0x14002260c
mov r15b, 1
jmp 0x1400226c3
test al, al
je 0x1400227d6
mov rcx, qword [0x1400e8a78]
lea rdx, [rsp + 0x40]
mov eax, dword [rcx + 0x4074]
or eax, 4
mov dword [rcx + 0x4074], eax
add rcx, 0x4198
mov dword [rsp + 0x40], eax
call fcn.140027e80
mov rbx, qword [0x1400e8a78]
lea rdx, [rbp - 0x18]
movss xmm8, dword [r12 + 0x39c4]
movss xmm9, dword [r12 + 0x39b8]
movss xmm6, dword [r12 + 0x39bc]
movups xmm0, xmmword [rbx + 0x39b8]
lea rcx, [rbx + 0x4158]
mov dword [rbp - 0x18], esi
movss xmm7, dword [r12 + 0x39c0]
mulss xmm8, dword [0x1400dd490]
movups xmmword [rbp - 0x14], xmm0
call fcn.140028040
shufps xmm9, xmm9, 0xe1
xor r15b, r15b
movss xmm9, xmm6
shufps xmm9, xmm9, 0xc6
movss xmm9, xmm7
shufps xmm9, xmm9, 0x27
movss xmm9, xmm8
shufps xmm9, xmm9, 0x39
movups xmmword [rbx + 0x39b8], xmm9
mov r13, qword [rsp + 0x48]
xor edx, edx
movsxd rcx, dword [r13 + 0x108]
mov rax, qword [r13 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.CLOSE
call fcn.140003310
mov rcx, qword [0x1400e8a78]
mov ebx, eax
cmp dword [rcx + 0x3ffc], eax
jne 0x14002270d
lea r8, str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.140027440
lea rdx, [rsp + 0x58]
mov ecx, ebx
call fcn.140041ab0
test al, al
je 0x140022775
or byte [r14 + 0xc8], 0x40
mov r8d, esi
cmp dword [rdi], 0
jle 0x140022775
mov rcx, rsi
mov rdx, qword [rdi + 8]
mov eax, dword [rcx + rdx + 4]
bt eax, 0x15
jb 0x140022769
test al, 1
mov eax, dword [rcx + rdx]
jne 0x140022761
mov byte [rcx + rdx + 0x30], 1
cmp dword [rdi + 0x20], eax
jne 0x140022769
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rdi + 0x18], 0
jmp 0x140022769
cmp dword [rdi + 0x20], eax
je 0x140022769
mov dword [rdi + 0x1c], eax
inc r8d
add rcx, 0x38
cmp r8d, dword [rdi]
jl 0x140022730
test r15b, r15b
jne 0x1400227db
mov rbx, qword [0x1400e8a78]
movsxd rax, dword [rbx + 0x4158]
cmp eax, 1
jl 0x1400227b3
mov rcx, qword [rbx + 0x4160]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, rax
movups xmmword [rbx + rax*8 + 0x39b8], xmm0
dec dword [rbx + 0x4158]
movsxd rcx, dword [rbx + 0x4198]
lea eax, [rcx - 1]
mov dword [rbx + 0x4198], eax
mov rax, qword [rbx + 0x41a0]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rbx + 0x4074], ecx
jmp 0x1400227e2
mov r13, qword [rsp + 0x48]
mov rbx, qword [0x1400e8a78]
movsxd rcx, dword [r13 + 0x108]
xor edx, edx
mov rax, qword [r13 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.TITLEBAR
call fcn.140003310
mov r15d, eax
movaps xmm9, xmmword [rsp + 0x190]
movaps xmm8, xmmword [rsp + 0x1a0]
movaps xmm7, xmmword [rsp + 0x1b0]
movaps xmm6, xmmword [rsp + 0x1c0]
cmp dword [rbx + 0x3ffc], eax
jne 0x140022843
lea r8, str.TITLEBAR
mov edx, 0xb
mov ecx, eax
call fcn.140027440
mov eax, dword [r12 + 0x4000]
test eax, eax
je 0x140022862
cmp eax, r15d
je 0x140022862
cmp dword [r12 + 0x4014], r15d
jne 0x140022a54
lea r9, [rsp + 0x31]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x28]
mov edx, r15d
call fcn.140040b70
mov rdx, qword [0x1400e8a78]
cmp dword [r12 + 0x4000], r15d
jne 0x1400228bb
mov dword [r12 + 0x408c], r15d
mov eax, dword [rdx + 0x408c]
cmp dword [rdx + 0x4000], eax
jne 0x1400228ac
mov byte [rdx + 0x4008], 1
cmp dword [rdx + 0x4014], eax
jne 0x1400228bb
mov byte [rdx + 0x4021], 1
cmp byte [rsp + 0x31], 0
je 0x140022a54
movzx r11d, byte [rdx + 0xe0c]
test r11b, r11b
je 0x1400228e9
movss xmm0, dword [rdx + 0x3778]
ucomiss xmm0, xmm11
jp 0x1400228e9
jne 0x1400228e9
mov eax, dword [rdi + 0x18]
mov dword [rbp - 0x30], eax
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140022a54
mov r9d, dword [rdi]
mov eax, esi
test r9d, r9d
jle 0x140022a54
mov r10, qword [rdi + 8]
mov rcx, r10
nop dword [rax + rax]
cmp dword [rcx], r8d
je 0x140022925
inc eax
add rcx, 0x38
cmp eax, r9d
jl 0x140022910
jmp 0x140022a54
cdqe
imul r9, rax, 0x38
add r9, r10
je 0x140022a54
mov r9, qword [r9 + 8]
test r9, r9
jne 0x140022944
mov r9, qword [r14 + 0x88]
mov rax, qword [r14 + 0x90]
xor r8b, r8b
test rax, rax
je 0x1400229a4
test byte [rax + 0xc], 4
jne 0x1400229a4
mov rax, qword [r14 + 0x18]
mov rcx, r14
test rax, rax
je 0x14002297c
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140022970
cmp qword [rcx + 0xa0], r14
jne 0x14002298f
cmp qword [rcx + 0x98], 0
je 0x1400229a4
mov eax, dword [rcx + 0x10]
shr eax, 0xa
test al, 1
movzx r8d, r8b
mov eax, 1
cmovne r8d, eax
test r11b, r11b
jne 0x1400229af
xor cl, cl
xor al, al
jmp 0x1400229f0
movss xmm0, dword [rdx + 0x3778]
ucomiss xmm0, xmm11
jp 0x1400229c3
jne 0x1400229c3
mov cl, 1
jmp 0x1400229c5
xor cl, cl
movss xmm0, dword [rdx + 0x38]
movaps xmm1, xmm0
mulss xmm1, dword [0x1400dd4fc]
comiss xmm11, xmm1
jbe 0x1400229de
movaps xmm1, xmm0
movss xmm0, dword [rdx + 0x37c8]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test r8b, r8b
je 0x140022a3b
test al, al
je 0x140022a54
lea rcx, [rdx + 0x5538]
mov qword [rbp - 0x60], rsi
lea rdx, [rsp + 0x70]
mov qword [rbp - 0x78], rsi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
mov dword [rbp - 0x70], 0xffffffff
mov dword [rbp - 0x6c], 0x3f000000
mov byte [rbp - 0x68], 0
mov dword [rsp + 0x70], 2
mov qword [rbp - 0x58], r14
call fcn.1400281d0
jmp 0x140022a54
test cl, cl
jne 0x140022a43
test al, al
je 0x140022a54
cmp qword [rdx + 0x3fe0], r9
je 0x140022a54
mov rcx, r9
call fcn.140007390
mov edx, dword [rdi + 0x1c]
test edx, edx
movaps xmm11, xmmword [rsp + 0x170]
cmove edx, dword [rbp - 0x30]
test edx, edx
je 0x140022ab5
mov r8d, dword [rdi]
mov eax, esi
test r8d, r8d
jle 0x140022ab5
mov r9, qword [rdi + 8]
mov rcx, r9
nop dword [rax + rax]
cmp dword [rcx], edx
je 0x140022a91
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140022a80
jmp 0x140022ab5
cdqe
imul rbx, rax, 0x38
add rbx, r9
je 0x140022ab5
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140022ab5
call fcn.140013030
mov rcx, qword [rbx + 8]
xor edx, edx
call fcn.140017c20
call fcn.140052720
mov rax, qword [0x1400e8a78]
mov rdi, qword [rsp + 0x1e0]
mov rbx, qword [rsp + 0x220]
mov rcx, qword [rax + 0x3fc8]
dec dword [rcx + 0x108]
mov eax, dword [r14 + 0x10]
shr eax, 0xa
test al, 1
jne 0x140022afc
movzx eax, byte [rsp + 0x32]
mov byte [r13 + 0xd0], al
mov dword [r13 + 0x170], esi
mov r13, qword [rsp + 0x1d8]
mov r15, qword [rsp + 0x1d0]
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140063590
add rsp, 0x1e8
pop r14
pop r12
pop rsi
pop rbp
ret
cmp dword [r14 + 0x30], 0
jle 0x140022b34
mov rax, qword [r14 + 0x38]
mov rsi, qword [rax]
and dl, 0xfd
mov qword [r14 + 0x90], rsi
movzx eax, r15b
add al, al
or dl, al
mov byte [r14 + 0xc8], dl
test r15b, r15b
je 0x140022b61
mov eax, dword [r12 + 0x3f48]
mov dword [r14 + 0xb4], eax
test rsi, rsi
je 0x140022b04
test r15b, r15b
jne 0x140022b75
cmp qword [r8 + 0x90], 0
jne 0x140022b7c
mov qword [r8 + 0x90], rsi
mov rdx, qword [r14 + 0x40]
test rdx, rdx
je 0x140022b04
mov rax, qword [r14 + 0x90]
mov ecx, dword [rax + 0x90]
mov dword [rdx + 0x20], ecx
jmp 0x140022b04