Function at 0x14001c7a0
Capabilities:
Hash data with crc32

Disassembly:
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1400d8060]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov eax, dword [rcx + 0xa4]
mov rdi, rcx
mov r13, qword [0x1402a6c60]
inc eax
movzx ecx, byte [rcx + 0xbc]
mov r8, rdx
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x68], eax
mov edx, dword [r13 + 0x1c90]
mov dword [rsp + 0x64], edx
test cl, 0x10
je 0x14001c804
mov byte [rsp + 0x30], 1
cmp eax, edx
je 0x14001c809
mov byte [rsp + 0x30], 0
xor r15d, r15d
lea r10d, [r15 + 1]
cmp dword [rdi + 0xb4], r15d
je 0x14001c822
mov dword [rsp + 0x48], r10d
cmp eax, edx
je 0x14001c827
mov dword [rsp + 0x48], r15d
and cl, 0xef
mov dword [rdi + 0xb4], r15d
xor r12b, r12b
mov byte [rdi + 0xbc], cl
mov rax, qword [rdi + 0x10]
mov r9, rdi
mov dword [rsp + 0x34], r12d
mov qword [rsp + 0x58], rdi
test rax, rax
je 0x14001c863
mov qword [rsp + 0x58], rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001c850
mov r9, qword [rsp + 0x58]
mov rax, qword [r13 + 0x2080]
test rax, rax
je 0x14001c87c
cmp qword [rax + 0x448], rdi
sete r12b
jmp 0x14001c8a9
mov rdx, qword [r13 + 0x1f50]
test rdx, rdx
je 0x14001c8ae
mov rax, qword [r8 + 0x3d8]
cmp qword [rdx + 0x3e0], rax
jne 0x14001c8ae
mov eax, dword [rdi]
cmp dword [r9 + 0xac], eax
movzx r12d, r12b
cmove r12d, r10d
mov dword [rsp + 0x34], r12d
mov eax, dword [rdi + 8]
test eax, 0x3000
jne 0x14001d64c
movzx ecx, byte [r8 + 0xd4]
mov qword [rsp + 0x1f0], rbx
mov qword [rsp + 0x1a8], rsi
mov qword [rsp + 0x1a0], r14
movaps xmmword [rsp + 0x150], xmm10
shr eax, 0xa
movaps xmmword [rsp + 0x140], xmm11
movaps xmmword [rsp + 0x130], xmm12
mov byte [rsp + 0x31], cl
test r10b, al
jne 0x14001c911
mov byte [r8 + 0xd4], r15b
mov dword [r8 + 0x18c], r10d
mov ecx, dword [rdi]
call fcn.140010fe0
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0x70], rax
mov rsi, rax
test rax, rax
jne 0x14001c935
mov rcx, rdi
call fcn.14001d6d0
mov rsi, qword [rdi + 0x38]
movzx ebx, byte [rdi + 0xbc]
movzx eax, r12b
add al, al
mov dword [rsp + 0x38], r15d
and bl, 0xfd
or bl, al
mov eax, dword [rdi + 4]
or eax, dword [rdi + 8]
mov byte [rdi + 0xbc], bl
bt eax, 0xe
jb 0x14001ca0d
cmp dword [r13 + 0x165c], 0xffffffff
je 0x14001ca0d
mov r14, qword [0x1402a6c60]
xor edx, edx
mov byte [rbp - 0x78], 1
mov rax, qword [r14 + 0x1d18]
movsxd rcx, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.WindowMenu
call fcn.140002d40
cmp dword [r14 + 0x1d6c], eax
jne 0x14001c9ba
mov dword [r14 + 0x1d70], eax
movzx ebx, byte [rdi + 0xbc]
cmp dword [r14 + 0x1da8], eax
jne 0x14001c9d2
mov byte [r14 + 0x1dac], 1
movzx ebx, byte [rdi + 0xbc]
xor edx, edx
mov ecx, eax
call fcn.1400121a0
test al, al
je 0x14001ca18
mov rdx, rsi
mov rcx, rdi
call fcn.14001c5d0
test eax, eax
je 0x14001c9f5
mov dword [rsi + 0x1c], eax
mov dword [rsp + 0x38], eax
movzx ebx, byte [rdi + 0xbc]
movzx eax, bl
shr al, 1
and al, 1
or r12b, al
mov dword [rsp + 0x34], r12d
jmp 0x14001ca11
mov byte [rbp - 0x78], r15b
mov r14, qword [0x1402a6c60]
movss xmm11, dword [rdi + 0x44]
movss xmm4, dword [rdi + 0x40]
movaps xmm5, xmm11
movss xmm1, dword [r14 + 0x1674]
movaps xmm12, xmm4
movss xmm2, dword [r14 + 0x1670]
addss xmm1, xmm1
movss xmm3, dword [r14 + 0x1a80]
movss dword [rsp + 0x7c], xmm11
movaps xmm0, xmm3
movss dword [rbp - 0x70], xmm4
addss xmm0, xmm11
movss dword [rbp - 0x6c], xmm11
addss xmm12, dword [rdi + 0x48]
addss xmm1, xmm0
movss dword [rbp - 0x68], xmm12
movaps xmm0, xmm12
subss xmm0, xmm2
movss dword [rbp - 0x7c], xmm1
movss dword [rbp - 0x64], xmm1
movaps xmm1, xmm4
addss xmm1, xmm2
movss dword [rbp - 0x80], xmm0
movss dword [rsp + 0x78], xmm1
test bl, 4
je 0x14001caa6
subss xmm0, xmm3
movss dword [rbp - 0x80], xmm0
test bl, 8
je 0x14001caf4
cmp dword [r14 + 0x165c], r15d
jne 0x14001cac0
addss xmm1, xmm3
movss dword [rsp + 0x78], xmm1
jmp 0x14001caf4
cmp dword [r14 + 0x165c], 1
jne 0x14001caf4
addss xmm2, xmm3
subss xmm0, xmm2
movaps xmm1, xmm0
movss dword [rbp - 0x80], xmm0
unpcklps xmm1, xmm11
movaps xmm0, xmm1
movsd qword [rsp + 0x40], xmm1
movss xmm4, dword [rsp + 0x40]
shufps xmm0, xmm0, 0x55
movaps xmm5, xmm0
mov r12d, r15d
mov eax, dword [rsi]
movups xmm0, xmmword [rsp + 0x78]
mov dword [rsp + 0x60], eax
movss dword [rsp + 0x40], xmm4
movups xmmword [rbp - 0x60], xmm0
movss dword [rsp + 0x44], xmm5
cmp dword [rdi + 0x28], r15d
jle 0x14001cb85
mov rbx, r15
nop dword [rax + rax]
mov rax, qword [rdi + 0x30]
mov r10, qword [rbx + rax]
mov r8d, dword [r10 + 8]
test r8d, r8d
je 0x14001cb61
mov edx, dword [rsi]
mov eax, r15d
test edx, edx
jle 0x14001cb61
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], r8d
je 0x14001cb52
inc eax
add rcx, 0x30
cmp eax, edx
jl 0x14001cb41
jmp 0x14001cb61
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
jne 0x14001cb71
mov r8, r10
mov edx, 0x400000
mov rcx, rsi
call fcn.140041e80
inc r12d
add rbx, 8
cmp r12d, dword [rdi + 0x28]
jl 0x14001cb20
mov r14, qword [0x1402a6c60]
mov ebx, dword [rsp + 0x34]
test bl, bl
je 0x14001cb9a
mov eax, dword [r13 + 0x1c90]
mov dword [rdi + 0xa8], eax
mov r12, qword [rsp + 0x50]
cmp byte [r12 + 0xd2], r15b
je 0x14001cbb0
mov eax, listen
jmp 0x14001cbbc
test bl, bl
mov rax, r15
setne al
add rax, 0xa
add rax, rax
lea rcx, [rsp + 0x78]
movups xmm0, xmmword [r14 + rax*8 + 0x16fc]
movups xmmword [rsp + 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r14 + 0x1638]
movss dword [rbp - 0x7c], xmm0
call fcn.1400032f0
movss xmm0, dword [r12 + 0x88]
lea r8, [rbp - 0x68]
mov rcx, qword [r12 + 0x2f8]
lea rdx, [rbp - 0x70]
mov r9d, eax
mov dword [rsp + 0x28], Ordinal_50
movss dword [rsp + 0x20], xmm0
call fcn.14002d0f0
cmp byte [rbp - 0x78], r15b
je 0x14001ccfb
movsxd rcx, dword [r12 + 0x108]
xor edx, edx
mov rax, qword [r12 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.COLLAPSE
call fcn.140002d40
mov rcx, qword [0x1402a6c60]
cmp dword [rcx + 0x1d6c], eax
jne 0x14001cc5b
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x14001cc6a
mov byte [rcx + 0x1dac], 1
mov r8, rdi
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.140038c90
test al, al
je 0x14001ccd4
mov rbx, qword [0x1402a6c60]
lea rcx, str.WindowMenu
mov rax, qword [rbx + 0x1d18]
movsxd rdx, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + rdx*4 - 4]
xor edx, edx
call fcn.140002d40
cmp dword [rbx + 0x1d6c], eax
jne 0x14001ccba
mov dword [rbx + 0x1d70], eax
cmp dword [rbx + 0x1da8], eax
jne 0x14001ccc9
mov byte [rbx + 0x1dac], 1
mov ecx, eax
call fcn.140012220
mov ebx, dword [rsp + 0x34]
mov rax, qword [0x1402a6c60]
mov ecx, dword [rax + 0x1d6c]
test ecx, ecx
je 0x14001ccfb
mov rax, qword [rax + 0x1d18]
cmp ecx, dword [rax + 0x164]
jne 0x14001ccfb
mov eax, dword [rsi + 0x18]
mov dword [rsp + 0x38], eax
mov r9d, dword [rsi]
lea edx, [r9 - 1]
test edx, edx
js 0x14001cd35
movsxd rax, edx
lea rcx, [rax + rax*2]
shl rcx, 4
mov r8, qword [rsi + 8]
mov eax, dword [r8 + rcx + 4]
bt eax, 0x16
jae 0x14001cd35
btr eax, 0x16
mov r9d, edx
mov dword [r8 + rcx + 4], eax
sub rcx, 0x30
sub edx, 1
jns 0x14001cd11
mov ecx, dword [rsi]
cmp ecx, r9d
jle 0x14001cd6c
lea eax, [r9 + 1]
cmp ecx, eax
jle 0x14001cd6c
sub ecx, r9d
movsxd rax, r9d
movsxd rdx, ecx
lea r9, [0x14001c580]
mov r8d, Ordinal_50
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rsi + 8]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov rax, qword [r13 + 0x1f50]
test rax, rax
je 0x14001cd8e
mov rcx, qword [rax + 0x3d0]
cmp qword [rcx + 0x448], rdi
jne 0x14001cd8e
mov eax, dword [rcx + 8]
mov dword [rsi + 0x18], eax
cmp qword [rsp + 0x70], r15
jne 0x14001cdc4
mov edx, dword [rdi + 0xb0]
test edx, edx
je 0x14001cdc4
mov r8d, dword [rsi]
mov eax, r15d
test r8d, r8d
jle 0x14001cdc4
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x14001d04f
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14001cdb1
movsxd rax, dword [rsi]
cmp eax, dword [rsp + 0x60]
jle 0x14001cde6
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
add rcx, rcx
mov rcx, qword [rax + rcx*8 - 0x28]
mov eax, dword [rcx + 8]
mov dword [rsi + 0x1c], eax
mov dword [rsi + 0x18], eax
mov r8d, 0x500003
cmp byte [r12 + 0xd2], r15b
jne 0x14001ce01
test bl, bl
mov eax, 0x700003
cmovne r8d, eax
mov r9, rdi
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.140040c00
lea rbx, [rbp - 0x40]
mov r14d, 6
nop word [rax + rax]
mov rcx, rbx
call fcn.1400013b0
add rbx, 0x10
sub r14, 1
jne 0x14001ce20
mov r12d, r15d
movaps xmmword [rsp + 0x190], xmm6
movups xmm1, xmmword [r13 + 0x16fc]
movaps xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [r13 + 0x190c]
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [r13 + 0x191c]
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [r13 + 0x192c]
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [r13 + 0x193c]
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [r13 + 0x194c]
mov qword [rdi + 0x88], r15
movaps xmmword [rbp + 0x10], xmm0
cmp dword [rdi + 0x28], r15d
jle 0x14001d090
movss xmm6, dword [0x1400c8348]
lea r11, [0x1400c1558]
mov r14, r15
lea r10, [0x1400c1570]
nop
mov rax, qword [rdi + 0x30]
mov rbx, qword [r14 + rax]
cmp byte [rsp + 0x30], r15b
jne 0x14001cec8
mov eax, dword [rsp + 0x48]
cmp eax, dword [rbx + 8]
jne 0x14001cede
cmp byte [rbx + 0xd8], r15b
je 0x14001cede
test dword [rbx + 0xc], 0x100000
je 0x14001d07b
mov eax, dword [rbx + 0x2b8]
inc eax
cmp eax, dword [r13 + 0x1c90]
jge 0x14001cefd
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x68], eax
je 0x14001d07b
mov edx, dword [rbx + 0x24]
mov r8, rbx
mov eax, dword [rbx + 0xc]
or edx, 1
and eax, 0x100000
mov eax, dword [rsi + 0x10]
cmove edx, dword [rbx + 0x24]
mov r9d, edx
or r9d, 4
and al, 8
cmove r9d, edx
mov rdx, r11
sub r8, r11
nop dword [rax + rax]
mov ecx, dword [r8 + rdx + 0x42c]
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 [r13 + rax*8 + 0x16fc], xmm3
cmp rdx, r10
jl 0x14001cf30
cmp byte [rbx + 0xd8], r15b
lea r8, [rbp - 0x78]
mov rdx, qword [rbx]
mov rcx, rsi
cmove r8, r15
mov byte [rbp - 0x78], 1
mov qword [rsp + 0x20], rbx
call fcn.1400428f0
cmp byte [rbp - 0x78], r15b
jne 0x14001cfea
mov eax, dword [rbx + 8]
mov dword [rdi + 0xb4], eax
mov eax, dword [rbx + 8]
cmp dword [rsi + 0x20], eax
jne 0x14001cff9
mov qword [rdi + 0x88], rbx
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + 0x168]
mov dword [rbx + 0x45c], eax
movups xmm0, xmmword [rcx + 0x16c]
movups xmmword [rbx + 0x460], xmm0
mov rax, qword [r13 + 0x1f50]
test rax, rax
je 0x14001d06d
cmp qword [rax + 0x3d0], rbx
jne 0x14001d06d
test byte [rbx + 0x190], 2
lea r10, [0x1400c1570]
lea r11, [0x1400c1558]
jne 0x14001d07b
mov eax, dword [rbx + 8]
mov dword [rcx + 0x3fc], eax
jmp 0x14001d07b
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x14001cdc4
mov dword [rsi + 0x1c], edx
mov dword [rsi + 0x18], edx
jmp 0x14001cde6
lea r11, [0x1400c1558]
lea r10, [0x1400c1570]
inc r12d
add r14, 8
cmp r12d, dword [rdi + 0x28]
jl 0x14001ceb0
movaps xmm1, xmmword [rbp - 0x40]
movups xmmword [r13 + 0x16fc], xmm1
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [r13 + 0x190c], xmm0
movaps xmm1, xmmword [rbp - 0x20]
movups xmmword [r13 + 0x191c], xmm1
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [r13 + 0x192c], xmm0
movaps xmm1, xmmword [rbp]
movups xmmword [r13 + 0x193c], xmm1
movaps xmm0, xmmword [rbp + 0x10]
movups xmmword [r13 + 0x194c], xmm0
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x14001d0fc
mov rcx, qword [rsp + 0x58]
cmp byte [rsp + 0x34], r15b
jne 0x14001d0f5
cmp qword [rcx + 0x88], r15
jne 0x14001d0fc
mov qword [rcx + 0x88], rax
movzx eax, byte [rdi + 0xbc]
xorps xmm10, xmm10
and al, 4
je 0x14001d127
mov rcx, qword [rdi + 0x88]
test rcx, rcx
je 0x14001d127
cmp byte [rcx + 0xd8], r15b
je 0x14001d127
mov bl, 1
jmp 0x14001d249
test al, al
je 0x14001d39b
mov rbx, qword [0x1402a6c60]
movaps xmmword [rsp + 0x180], xmm7
movaps xmmword [rsp + 0x170], xmm8
movaps xmmword [rsp + 0x160], xmm9
mov r12d, dword [rbx + 0x1d54]
lea r14, [rbx + 0x1eb0]
or r12d, 4
mov dword [rbx + 0x1d54], r12d
mov ecx, dword [r14 + 4]
mov eax, dword [r14]
cmp eax, ecx
jne 0x14001d1a8
lea r8d, [rax + 1]
test ecx, ecx
je 0x14001d187
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14001d18c
mov eax, 8
cmp eax, r8d
mov rcx, r14
cmovg r8d, eax
mov edx, r8d
call fcn.1400227f0
mov eax, dword [r14]
mov rbx, qword [0x1402a6c60]
movsxd rcx, eax
lea rdx, [rbp - 0x60]
mov rax, qword [r14 + 8]
mov dword [rbp - 0x60], r15d
mov dword [rax + rcx*4], r12d
lea rcx, [rbx + 0x1e70]
inc dword [r14]
movups xmm0, xmmword [rbx + 0x16fc]
movss xmm8, dword [r13 + 0x1708]
movss xmm9, dword [r13 + 0x16fc]
movss xmm6, dword [r13 + 0x1700]
movss xmm7, dword [r13 + 0x1704]
mulss xmm8, dword [0x1400c837c]
movups xmmword [rbp - 0x5c], xmm0
call fcn.140022260
shufps xmm9, xmm9, 0xe1
movss xmm9, xmm6
shufps xmm9, xmm9, 0xc6
movss xmm9, xmm7
movaps xmm7, xmmword [rsp + 0x180]
shufps xmm9, xmm9, 0x27
movss xmm9, xmm8
movaps xmm8, xmmword [rsp + 0x170]
shufps xmm9, xmm9, 0x39
movups xmmword [rbx + 0x16fc], xmm9
xor bl, bl
movaps xmm9, xmmword [rsp + 0x160]
movss xmm0, dword [r13 + 0x1670]
addss xmm11, xmm10
xorps xmm0, xmmword [0x1400c8bf0]
xor edx, edx
mov r12, qword [rsp + 0x50]
addss xmm0, xmm0
movss dword [rsp + 0x44], xmm11
movsxd rcx, dword [r12 + 0x108]
mov rax, qword [r12 + 0x110]
subss xmm0, dword [r13 + 0x1a80]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.CLOSE
addss xmm0, xmm12
movss dword [rsp + 0x40], xmm0
call fcn.140002d40
mov rcx, qword [0x1402a6c60]
cmp dword [rcx + 0x1d6c], eax
jne 0x14001d2ba
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x14001d2c9
mov byte [rcx + 0x1dac], 1
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.1400388e0
test al, al
je 0x14001d340
mov edx, dword [rsi + 0x20]
test edx, edx
je 0x14001d340
mov r8d, dword [rsi]
mov eax, r15d
test r8d, r8d
jle 0x14001d340
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x14001d303
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14001d2f2
jmp 0x14001d340
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x14001d340
mov eax, dword [rcx]
mov dword [rdi + 0xb4], eax
test byte [rcx + 4], 1
mov eax, dword [rcx]
jne 0x14001d338
mov byte [rcx + 0x2a], 1
cmp dword [rsi + 0x20], eax
jne 0x14001d340
mov dword [rcx + 0x10], 0xffffffff
mov qword [rsi + 0x18], r15
jmp 0x14001d340
cmp dword [rsi + 0x20], eax
je 0x14001d340
mov dword [rsi + 0x1c], eax
test bl, bl
jne 0x14001d3a0
mov rbx, qword [0x1402a6c60]
mov rcx, qword [rbx + 0x1e78]
movsxd rax, dword [rbx + 0x1e70]
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 + 0x16fc], xmm0
dec dword [rbx + 0x1e70]
movsxd rcx, dword [rbx + 0x1eb0]
lea eax, [rcx - 1]
mov dword [rbx + 0x1eb0], eax
mov rax, qword [rbx + 0x1eb8]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rbx + 0x1d54], ecx
jmp 0x14001d3a7
mov r12, qword [rsp + 0x50]
mov rbx, qword [0x1402a6c60]
movsxd rcx, dword [r12 + 0x108]
xor edx, edx
mov rax, qword [r12 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.TITLEBAR
call fcn.140002d40
mov r14d, eax
movaps xmm12, xmmword [rsp + 0x130]
movaps xmm11, xmmword [rsp + 0x140]
movaps xmm6, xmmword [rsp + 0x190]
cmp dword [rbx + 0x1d6c], eax
jne 0x14001d3f5
mov dword [rbx + 0x1d70], eax
cmp dword [rbx + 0x1da8], r14d
jne 0x14001d405
mov byte [rbx + 0x1dac], 1
mov eax, dword [r13 + 0x1d58]
test eax, eax
je 0x14001d422
cmp eax, r14d
je 0x14001d422
cmp dword [r13 + 0x1d6c], r14d
jne 0x14001d4fb
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x70]
mov edx, r14d
call fcn.1400379e0
mov rcx, qword [0x1402a6c60]
cmp dword [r13 + 0x1d58], r14d
jne 0x14001d481
mov dword [r12 + 0x164], r14d
mov rax, qword [rcx + 0x1d18]
mov edx, dword [rax + 0x164]
cmp dword [rcx + 0x1d58], edx
jne 0x14001d472
mov byte [rcx + 0x1d60], 1
cmp dword [rcx + 0x1d6c], edx
jne 0x14001d481
mov byte [rcx + 0x1d79], 1
cmp byte [rsp + 0x30], r15b
je 0x14001d4fb
movss xmm0, dword [rcx + 0x434]
ucomiss xmm0, xmm10
jp 0x14001d4a3
jne 0x14001d4a3
mov eax, dword [rsi + 0x18]
mov edx, eax
mov dword [rsp + 0x38], eax
jmp 0x14001d4a6
mov edx, dword [rsi + 0x18]
test edx, edx
je 0x14001d4fb
mov r8d, dword [rsi]
mov eax, r15d
test r8d, r8d
jle 0x14001d4fb
mov r9, qword [rsi + 8]
mov rcx, r9
nop dword [rax]
cmp dword [rcx], edx
je 0x14001d4d1
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14001d4c0
jmp 0x14001d4fb
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x14001d4fb
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x14001d4f0
mov rcx, qword [rdi + 0x80]
xor r8d, r8d
mov rdx, rdi
call fcn.140005710
mov edx, dword [rsi + 0x1c]
test edx, edx
movaps xmm10, xmmword [rsp + 0x150]
cmove edx, dword [rsp + 0x38]
mov r14, qword [rsp + 0x1a0]
test edx, edx
je 0x14001d602
mov r8d, dword [rsi]
mov eax, r15d
test r8d, r8d
jle 0x14001d602
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x14001d548
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14001d534
jmp 0x14001d602
cdqe
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, r9
je 0x14001d602
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001d602
call fcn.140010700
mov rax, qword [rbx + 8]
mov rdx, qword [0x1402a6c60]
mov ecx, dword [rax + 0xc]
bt ecx, 0x12
jae 0x14001d58a
mov qword [rdx + 0x1f58], r15
jmp 0x14001d602
cmp rax, qword [rax + 0x3d0]
je 0x14001d5b2
bt ecx, 0x1a
jb 0x14001d5b2
mov ecx, dword [rax + 0x3f8]
test ecx, ecx
je 0x14001d5b2
mov dword [rdx + 0x1f58], ecx
mov dword [rdx + 0x1f5c], r15d
jmp 0x14001d602
movsxd rcx, dword [rdx + 0x1f9c]
xorps xmm0, xmm0
mov rax, qword [rdx + 0x1f50]
mov qword [rdx + 0x1f58], r15
mov dword [rax + rcx*4 + 0x3f8], r15d
add rcx, 0x40
mov rax, qword [rdx + 0x1f50]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
mov word [rdx + 0x1fa9], 1
mov dword [rdx + 0x1fac], r15d
movups xmmword [rdx + 0x1fb0], xmm0
mov byte [rdx + 0x1fa8], 1
call fcn.140040f00
mov rax, qword [0x1402a6c60]
mov rsi, qword [rsp + 0x1a8]
mov rbx, qword [rsp + 0x1f0]
mov rcx, qword [rax + 0x1d18]
dec dword [rcx + 0x108]
mov eax, dword [rdi + 8]
shr eax, 0xa
test al, 1
jne 0x14001d6b4
movzx eax, byte [rsp + 0x31]
mov byte [r12 + 0xd4], al
mov dword [r12 + 0x18c], r15d
jmp 0x14001d6b4
cmp dword [rdi + 0x28], r15d
jle 0x14001d659
mov rax, qword [rdi + 0x30]
mov r15, qword [rax]
and cl, 0xfd
mov qword [rdi + 0x88], r15
movzx eax, r12b
add al, al
or cl, al
mov byte [rdi + 0xbc], cl
test r12b, r12b
je 0x14001d683
mov eax, dword [r13 + 0x1c90]
mov dword [rdi + 0xa8], eax
test r15, r15
je 0x14001d6b4
test r12b, r12b
jne 0x14001d697
cmp qword [r9 + 0x88], 0
jne 0x14001d69e
mov qword [r9 + 0x88], r15
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x14001d6b4
mov rax, qword [rdi + 0x88]
mov ecx, dword [rax + 8]
mov dword [rdx + 0x20], ecx
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400af3d0
add rsp, 0x1b0
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret