Function at 0x14001cd20
Capabilities:
Hash data with crc32

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x140054010]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r13, qword [0x140054910]
mov r14, rcx
mov eax, dword [rcx + 0xa4]
mov r8, rdx
movzx ecx, byte [rcx + 0xbc]
inc eax
mov qword [rsp + 0x48], rdx
mov edx, dword [r13 + 0x1c90]
mov dword [rsp + 0x64], edx
mov qword [rbp - 0x50], r13
mov dword [rsp + 0x50], eax
test cl, 0x10
je 0x14001cd88
mov byte [rsp + 0x30], 1
cmp eax, edx
je 0x14001cd8d
mov byte [rsp + 0x30], 0
xor esi, esi
lea r10d, [rsi + 1]
cmp dword [r14 + 0xb4], esi
je 0x14001cda5
mov dword [rsp + 0x54], r10d
cmp eax, edx
je 0x14001cda9
mov dword [rsp + 0x54], esi
and cl, 0xef
mov dword [r14 + 0xb4], esi
xor r12b, r12b
mov byte [r14 + 0xbc], cl
mov rax, qword [r14 + 0x10]
mov r9, r14
mov dword [rsp + 0x34], r12d
mov qword [rsp + 0x58], r14
test rax, rax
je 0x14001cdf3
nop dword [rax]
nop word [rax + rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001cde0
mov r9, qword [rsp + 0x58]
mov rax, qword [r13 + 0x2080]
test rax, rax
je 0x14001ce0c
cmp qword [rax + 0x448], r14
sete r12b
jmp 0x14001ce3a
mov rdx, qword [r13 + 0x1f50]
test rdx, rdx
je 0x14001ce3f
mov rax, qword [r8 + 0x3d8]
cmp qword [rdx + 0x3e0], rax
jne 0x14001ce3f
mov eax, dword [r14]
cmp dword [r9 + 0xac], eax
movzx r12d, r12b
cmove r12d, r10d
mov dword [rsp + 0x34], r12d
mov eax, dword [r14 + 8]
test eax, 0x3000
jne 0x14001ddd3
movzx ecx, byte [r8 + 0xd4]
mov qword [rsp + 0x230], rbx
mov qword [rsp + 0x1e8], rdi
mov qword [rsp + 0x1e0], r15
movaps xmmword [rsp + 0x190], xmm10
shr eax, 0xa
movaps xmmword [rsp + 0x180], xmm11
movaps xmmword [rsp + 0x170], xmm12
mov byte [rsp + 0x31], cl
test r10b, al
jne 0x14001cea3
mov byte [r8 + 0xd4], sil
mov dword [r8 + 0x18c], r10d
mov ecx, dword [r14]
call fcn.1400113a0
mov rax, qword [r14 + 0x38]
mov ebx, 0xffffffff
mov qword [rbp - 0x48], rax
mov rdi, rax
test rax, rax
jne 0x14001cf4d
mov rax, qword [0x140054910]
test rax, rax
je 0x14001ced6
inc dword [rax + 0x3b0]
mov ecx, 0x98
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14001cf46
mov qword [rax + 0x30], rsi
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 0x14001cf49
mov rdi, rsi
mov qword [r14 + 0x38], rdi
movzx ebx, byte [r14 + 0xbc]
movzx eax, r12b
add al, al
mov dword [rsp + 0x38], esi
and bl, 0xfd
or bl, al
mov eax, dword [r14 + 4]
or eax, dword [r14 + 8]
mov byte [r14 + 0xbc], bl
bt eax, 0xe
jb 0x14001d043
cmp dword [r13 + 0x165c], 0xffffffff
je 0x14001d043
mov r15, qword [0x140054910]
xor edx, edx
mov byte [rbp - 0x30], 1
mov rax, qword [r15 + 0x1d18]
movsxd rcx, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.WindowMenu
call fcn.140003010
mov edx, eax
cmp dword [r15 + 0x1d6c], eax
jne 0x14001cfd8
mov dword [r15 + 0x1d70], eax
movzx ebx, byte [r14 + 0xbc]
cmp dword [r15 + 0x1da8], edx
jne 0x14001cff1
mov byte [r15 + 0x1dac], 1
movzx ebx, byte [r14 + 0xbc]
movsxd rax, dword [r15 + 0x1ee0]
cmp dword [r15 + 0x1ed0], eax
jle 0x14001d04e
lea rcx, [rax + rax*2]
mov rax, qword [r15 + 0x1ed8]
add rcx, rcx
cmp dword [rax + rcx*8], edx
jne 0x14001d04e
mov rdx, rdi
mov rcx, r14
call fcn.14001cb50
test eax, eax
je 0x14001d02a
mov dword [rdi + 0x1c], eax
mov dword [rsp + 0x38], eax
movzx ebx, byte [r14 + 0xbc]
movzx eax, bl
shr al, 1
and al, 1
or r12b, al
mov dword [rsp + 0x34], r12d
jmp 0x14001d047
mov byte [rbp - 0x30], sil
mov r15, qword [0x140054910]
movss xmm11, dword [r14 + 0x44]
movss xmm4, dword [r14 + 0x40]
movaps xmm5, xmm11
movss xmm1, dword [r15 + 0x1674]
movaps xmm12, xmm4
movss xmm2, dword [r15 + 0x1670]
addss xmm1, xmm1
movss xmm3, dword [r15 + 0x1a80]
movss dword [rbp - 0x3c], xmm11
movaps xmm0, xmm3
movss dword [rbp - 0x28], xmm4
addss xmm0, xmm11
movss dword [rbp - 0x24], xmm11
addss xmm12, dword [r14 + 0x48]
addss xmm1, xmm0
movss dword [rbp - 0x20], xmm12
movaps xmm0, xmm12
subss xmm0, xmm2
movss dword [rbp - 0x34], xmm1
movss dword [rbp - 0x1c], xmm1
movaps xmm1, xmm4
addss xmm1, xmm2
movss dword [rbp - 0x38], xmm0
movss dword [rbp - 0x40], xmm1
test bl, 4
je 0x14001d0db
subss xmm0, xmm3
movss dword [rbp - 0x38], xmm0
test bl, 8
je 0x14001d125
cmp dword [r15 + 0x165c], esi
jne 0x14001d0f4
addss xmm1, xmm3
movss dword [rbp - 0x40], xmm1
jmp 0x14001d125
cmp dword [r15 + 0x165c], 1
jne 0x14001d125
addss xmm2, xmm3
subss xmm0, xmm2
movaps xmm1, xmm0
movss dword [rbp - 0x38], xmm0
unpcklps xmm1, xmm11
movaps xmm0, xmm1
movsd qword [rsp + 0x40], xmm1
shufps xmm0, xmm0, 0x55
movaps xmm4, xmm1
movaps xmm5, xmm0
mov r12d, esi
mov eax, dword [rdi]
mov r11d, 0x400000
movss dword [rsp + 0x40], xmm4
movups xmm0, xmmword [rbp - 0x40]
mov dword [rsp + 0x60], eax
movss dword [rsp + 0x44], xmm5
movups xmmword [rbp - 0x18], xmm0
cmp dword [r14 + 0x28], esi
jle 0x14001d222
mov rbx, rsi
mov r13d, 0xffffffff
nop dword [rax + rax]
mov rax, qword [r14 + 0x30]
mov r9, qword [rbx + rax]
mov edx, dword [r9 + 8]
test edx, edx
je 0x14001d1a1
mov r8d, dword [rdi]
mov eax, esi
test r8d, r8d
jle 0x14001d1a1
mov r10, qword [rdi + 8]
mov rcx, r10
cmp dword [rcx], edx
je 0x14001d192
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14001d181
jmp 0x14001d1a1
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r10
jne 0x14001d20d
cmp byte [r9 + 0xd8], sil
mov eax, 0x500000
mov qword [rbp - 0x78], rsi
cmovne eax, r11d
mov dword [rbp - 0x70], esi
mov dword [rsp + 0x74], eax
mov eax, dword [rdi + 0x24]
mov dword [rbp - 0x66], esi
mov word [rbp - 0x62], si
mov dword [rbp - 0x7c], r13d
mov dword [rbp - 0x6a], 0xffffffff
mov word [rbp - 0x6c], r13w
mov dword [rsp + 0x70], edx
mov dword [rbp - 0x80], eax
cmp eax, r13d
jne 0x14001d1ee
mov eax, dword [r15 + 0x1c90]
dec eax
mov dword [rbp - 0x80], eax
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], r9
mov rcx, rdi
call fcn.140040f20
mov r15, qword [0x140054910]
mov r11d, 0x400000
inc r12d
add rbx, 8
cmp r12d, dword [r14 + 0x28]
jl 0x14001d160
mov r13, qword [rbp - 0x50]
mov ebx, dword [rsp + 0x34]
test bl, bl
je 0x14001d238
mov eax, dword [r13 + 0x1c90]
mov dword [r14 + 0xa8], eax
mov r12, qword [rsp + 0x48]
cmp byte [r12 + 0xd2], sil
je 0x14001d24e
mov eax, 0xc
jmp 0x14001d25a
test bl, bl
mov rax, rsi
setne al
add rax, 0xa
add rax, rax
lea rcx, [rbp - 0x40]
movups xmm0, xmmword [r15 + rax*8 + 0x16fc]
movups xmmword [rbp - 0x40], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r15 + 0x1638]
movss dword [rbp - 0x34], xmm0
call fcn.1400034e0
movss xmm0, dword [r12 + 0x88]
lea r8, [rbp - 0x20]
mov rcx, qword [r12 + 0x2f8]
lea rdx, [rbp - 0x28]
mov r9d, eax
mov dword [rsp + 0x28], 0x30
movss dword [rsp + 0x20], xmm0
mov r15, r12
call fcn.14002e2a0
cmp byte [rbp - 0x30], sil
je 0x14001d39a
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.140003010
mov rcx, qword [0x140054910]
cmp dword [rcx + 0x1d6c], eax
jne 0x14001d2fa
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x14001d309
mov byte [rcx + 0x1dac], 1
mov r8, r14
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.14003af10
test al, al
je 0x14001d373
mov rbx, qword [0x140054910]
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.140003010
cmp dword [rbx + 0x1d6c], eax
jne 0x14001d359
mov dword [rbx + 0x1d70], eax
cmp dword [rbx + 0x1da8], eax
jne 0x14001d368
mov byte [rbx + 0x1dac], 1
mov ecx, eax
call fcn.140011fa0
mov ebx, dword [rsp + 0x34]
mov rax, qword [0x140054910]
mov ecx, dword [rax + 0x1d6c]
test ecx, ecx
je 0x14001d39a
mov rax, qword [rax + 0x1d18]
cmp ecx, dword [rax + 0x164]
jne 0x14001d39a
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x38], eax
mov r9d, dword [rdi]
lea edx, [r9 - 1]
test edx, edx
js 0x14001d3d4
movsxd rax, edx
lea rcx, [rax + rax*2]
shl rcx, 4
mov r8, qword [rdi + 8]
mov eax, dword [rcx + r8 + 4]
bt eax, 0x16
jae 0x14001d3d4
btr eax, 0x16
mov r9d, edx
mov dword [rcx + r8 + 4], eax
sub rcx, 0x30
sub edx, 1
jns 0x14001d3b0
mov ecx, dword [rdi]
cmp ecx, r9d
jle 0x14001d40b
lea eax, [r9 + 1]
cmp ecx, eax
jle 0x14001d40b
sub ecx, r9d
movsxd rax, r9d
movsxd rdx, ecx
lea r9, [0x14001cb00]
mov r8d, 0x30
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 8]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov rax, qword [r13 + 0x1f50]
test rax, rax
je 0x14001d42d
mov rcx, qword [rax + 0x3d0]
cmp qword [rcx + 0x448], r14
jne 0x14001d42d
mov eax, dword [rcx + 8]
mov dword [rdi + 0x18], eax
cmp qword [rbp - 0x48], rsi
jne 0x14001d463
mov edx, dword [r14 + 0xb0]
test edx, edx
je 0x14001d463
mov r8d, dword [rdi]
mov eax, esi
test r8d, r8d
jle 0x14001d463
mov r9, qword [rdi + 8]
mov rcx, r9
nop
cmp dword [rcx], edx
je 0x14001d6f0
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14001d450
movsxd rax, dword [rdi]
cmp eax, dword [rsp + 0x60]
jle 0x14001d485
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
add rcx, rcx
mov rcx, qword [rax + rcx*8 - 0x28]
mov eax, dword [rcx + 8]
mov dword [rdi + 0x1c], eax
mov dword [rdi + 0x18], eax
mov r8d, 0x500003
cmp byte [r12 + 0xd2], sil
jne 0x14001d4a0
test bl, bl
mov eax, 0x700003
cmovne r8d, eax
mov r9, r14
lea rdx, [rbp - 0x18]
mov rcx, rdi
call fcn.14003d8b0
mov ecx, 6
lea rax, [rbp + 8]
nop dword [rax + rax]
mov qword [rax], rsi
mov qword [rax - 8], rsi
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x14001d4c0
mov r12d, esi
movaps xmmword [rsp + 0x1d0], xmm6
movups xmm1, xmmword [r13 + 0x16fc]
movaps xmmword [rbp], xmm1
movups xmm0, xmmword [r13 + 0x190c]
movaps xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [r13 + 0x191c]
movaps xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [r13 + 0x192c]
movaps xmmword [rbp + 0x30], xmm0
movups xmm0, xmmword [r13 + 0x193c]
movaps xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [r13 + 0x194c]
mov qword [r14 + 0x88], rsi
movaps xmmword [rbp + 0x50], xmm0
cmp dword [r14 + 0x28], esi
jle 0x14001d740
movss xmm6, dword [0x14004c6dc]
lea r11, [0x140047e58]
mov r15, rsi
lea r10, [0x140047e70]
nop
mov rax, qword [r14 + 0x30]
mov rbx, qword [r15 + rax]
cmp byte [rsp + 0x30], sil
jne 0x14001d568
mov eax, dword [rsp + 0x54]
cmp eax, dword [rbx + 8]
jne 0x14001d57e
cmp byte [rbx + 0xd8], sil
je 0x14001d57e
test dword [rbx + 0xc], 0x100000
je 0x14001d71c
mov eax, dword [rbx + 0x2b8]
inc eax
cmp eax, dword [r13 + 0x1c90]
jge 0x14001d59d
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x50], eax
je 0x14001d71c
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 + 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 0x14001d5d0
cmp byte [rbx + 0xd8], sil
lea r8, [rbp - 0x30]
mov rdx, qword [rbx]
mov rcx, rdi
cmove r8, rsi
mov byte [rbp - 0x30], 1
mov qword [rsp + 0x20], rbx
call fcn.14003f360
cmp byte [rbp - 0x30], sil
jne 0x14001d68b
mov eax, dword [rbx + 8]
mov dword [r14 + 0xb4], eax
mov eax, dword [rbx + 8]
cmp dword [rdi + 0x20], eax
jne 0x14001d69a
mov qword [r14 + 0x88], rbx
mov rcx, qword [rsp + 0x48]
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 0x14001d70e
cmp qword [rax + 0x3d0], rbx
jne 0x14001d70e
test byte [rbx + 0x190], 2
lea r10, [0x140047e70]
lea r11, [0x140047e58]
jne 0x14001d71c
mov eax, dword [rbx + 8]
mov dword [rcx + 0x3fc], eax
jmp 0x14001d71c
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x14001d463
mov dword [rdi + 0x1c], edx
mov dword [rdi + 0x18], edx
jmp 0x14001d485
lea r11, [0x140047e58]
lea r10, [0x140047e70]
inc r12d
add r15, 8
cmp r12d, dword [r14 + 0x28]
jl 0x14001d550
movaps xmm1, xmmword [rbp]
mov r15, qword [rsp + 0x48]
nop word [rax + rax]
movups xmmword [r13 + 0x16fc], xmm1
movaps xmm0, xmmword [rbp + 0x10]
movups xmmword [r13 + 0x190c], xmm0
movaps xmm1, xmmword [rbp + 0x20]
movups xmmword [r13 + 0x191c], xmm1
movaps xmm0, xmmword [rbp + 0x30]
movups xmmword [r13 + 0x192c], xmm0
movaps xmm1, xmmword [rbp + 0x40]
movups xmmword [r13 + 0x193c], xmm1
movaps xmm0, xmmword [rbp + 0x50]
movups xmmword [r13 + 0x194c], xmm0
mov rax, qword [r14 + 0x88]
test rax, rax
je 0x14001d7ac
mov rcx, qword [rsp + 0x58]
cmp byte [rsp + 0x34], sil
jne 0x14001d7a5
cmp qword [rcx + 0x88], rsi
jne 0x14001d7ac
mov qword [rcx + 0x88], rax
movzx eax, byte [r14 + 0xbc]
xorps xmm10, xmm10
and al, 4
je 0x14001d7d8
mov rcx, qword [r14 + 0x88]
test rcx, rcx
je 0x14001d7d8
cmp byte [rcx + 0xd8], sil
je 0x14001d7d8
mov bl, 1
jmp 0x14001d8be
test al, al
je 0x14001da0a
mov rcx, qword [0x140054910]
lea rdx, [rsp + 0x50]
movaps xmmword [rsp + 0x1c0], xmm7
movaps xmmword [rsp + 0x1b0], xmm8
movaps xmmword [rsp + 0x1a0], xmm9
mov eax, dword [rcx + 0x1d54]
or eax, 4
mov dword [rcx + 0x1d54], eax
add rcx, 0x1eb0
mov dword [rsp + 0x50], eax
call fcn.140022900
mov rbx, qword [0x140054910]
lea rdx, [rbp - 0x18]
movss xmm8, dword [r13 + 0x1708]
movss xmm9, dword [r13 + 0x16fc]
movss xmm6, dword [r13 + 0x1700]
movups xmm0, xmmword [rbx + 0x16fc]
lea rcx, [rbx + 0x1e70]
mov dword [rbp - 0x18], esi
movss xmm7, dword [r13 + 0x1704]
mulss xmm8, dword [0x14004c710]
movups xmmword [rbp - 0x14], xmm0
call fcn.140022ac0
shufps xmm9, xmm9, 0xe1
movss xmm9, xmm6
shufps xmm9, xmm9, 0xc6
movss xmm9, xmm7
movaps xmm7, xmmword [rsp + 0x1c0]
shufps xmm9, xmm9, 0x27
movss xmm9, xmm8
movaps xmm8, xmmword [rsp + 0x1b0]
shufps xmm9, xmm9, 0x39
movups xmmword [rbx + 0x16fc], xmm9
xor bl, bl
movaps xmm9, xmmword [rsp + 0x1a0]
movss xmm0, dword [r13 + 0x1670]
addss xmm11, xmm10
xorps xmm0, xmmword [0x14004cc80]
xor edx, edx
movsxd rcx, dword [r15 + 0x108]
addss xmm0, xmm0
mov rax, qword [r15 + 0x110]
movss dword [rsp + 0x44], xmm11
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.140003010
mov rcx, qword [0x140054910]
cmp dword [rcx + 0x1d6c], eax
jne 0x14001d928
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x14001d937
mov byte [rcx + 0x1dac], 1
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.14003ab40
test al, al
je 0x14001d9af
mov r8d, dword [rdi + 0x20]
test r8d, r8d
je 0x14001d9af
mov edx, dword [rdi]
mov eax, esi
test edx, edx
jle 0x14001d9af
mov r9, qword [rdi + 8]
mov rcx, r9
nop
cmp dword [rcx], r8d
je 0x14001d971
inc eax
add rcx, 0x30
cmp eax, edx
jl 0x14001d960
jmp 0x14001d9af
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x14001d9af
mov eax, dword [rcx]
mov dword [r14 + 0xb4], eax
test byte [rcx + 4], 1
mov eax, dword [rcx]
jne 0x14001d9a7
mov byte [rcx + 0x2a], 1
cmp dword [rdi + 0x20], eax
jne 0x14001d9af
mov dword [rcx + 0x10], 0xffffffff
mov qword [rdi + 0x18], rsi
jmp 0x14001d9af
cmp dword [rdi + 0x20], eax
je 0x14001d9af
mov dword [rdi + 0x1c], eax
test bl, bl
jne 0x14001da0a
mov rbx, qword [0x140054910]
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 0x14001da11
mov rbx, qword [0x140054910]
movsxd rcx, dword [r15 + 0x108]
xor edx, edx
mov rax, qword [r15 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.TITLEBAR
call fcn.140003010
mov r15d, eax
movaps xmm12, xmmword [rsp + 0x170]
movaps xmm11, xmmword [rsp + 0x180]
movaps xmm6, xmmword [rsp + 0x1d0]
cmp dword [rbx + 0x1d6c], eax
jne 0x14001da5d
mov dword [rbx + 0x1d70], eax
cmp dword [rbx + 0x1da8], r15d
jne 0x14001da6d
mov byte [rbx + 0x1dac], 1
mov eax, dword [r13 + 0x1d58]
test eax, eax
je 0x14001da8a
cmp eax, r15d
je 0x14001da8a
cmp dword [r13 + 0x1d6c], r15d
jne 0x14001dc6f
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x28]
mov edx, r15d
call fcn.140039c40
mov rdx, qword [0x140054910]
mov r12, qword [rsp + 0x48]
cmp dword [r13 + 0x1d58], r15d
jne 0x14001daee
mov dword [r12 + 0x164], r15d
mov rax, qword [rdx + 0x1d18]
mov ecx, dword [rax + 0x164]
cmp dword [rdx + 0x1d58], ecx
jne 0x14001dadf
mov byte [rdx + 0x1d60], 1
cmp dword [rdx + 0x1d6c], ecx
jne 0x14001daee
mov byte [rdx + 0x1d79], 1
cmp byte [rsp + 0x30], sil
je 0x14001dc74
movss xmm0, dword [rdx + 0x434]
ucomiss xmm0, xmm10
jp 0x14001db10
jne 0x14001db10
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x38], eax
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x14001dc74
mov r8d, dword [rdi]
mov eax, esi
test r8d, r8d
jle 0x14001dc74
mov r10, qword [rdi + 8]
mov rcx, r10
cmp dword [rcx], r9d
je 0x14001db47
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14001db32
jmp 0x14001dc74
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r10
je 0x14001dc74
mov r9, qword [rcx + 8]
test r9, r9
jne 0x14001db6a
mov r9, qword [r14 + 0x80]
mov rax, qword [r14 + 0x88]
xor r8b, r8b
test rax, rax
je 0x14001dbc3
test byte [rax + 0xc], 4
jne 0x14001dbc3
mov rax, qword [r14 + 0x10]
mov rcx, r14
test rax, rax
je 0x14001db9c
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001db90
cmp qword [rcx + 0x98], r14
jne 0x14001dbae
cmp qword [rcx + 0x90], rsi
je 0x14001dbc3
mov eax, dword [rcx + 8]
shr eax, 0xa
test al, 1
movzx r8d, r8b
mov eax, 1
cmovne r8d, eax
ucomiss xmm0, xmm10
jp 0x14001dbcf
jne 0x14001dbcf
mov cl, 1
jmp 0x14001dbd1
xor cl, cl
cmp byte [rdx + 0x128], sil
jne 0x14001dbde
xor al, al
jmp 0x14001dc09
movss xmm0, dword [rdx + 0x38]
movaps xmm1, xmm0
mulss xmm1, dword [0x14004c778]
comiss xmm10, xmm1
jbe 0x14001dbf7
movaps xmm1, xmm0
movss xmm0, dword [rdx + 0x484]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test r8b, r8b
je 0x14001dc54
test al, al
je 0x14001dc74
lea rcx, [rdx + 0x31d0]
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], sil
mov dword [rsp + 0x70], 2
mov qword [rbp - 0x58], r14
call fcn.140022c50
jmp 0x14001dc74
test cl, cl
jne 0x14001dc5c
test al, al
je 0x14001dc74
cmp qword [rdx + 0x1d38], r9
je 0x14001dc74
mov rcx, r9
call fcn.140006010
jmp 0x14001dc74
mov r12, qword [rsp + 0x48]
mov edx, dword [rdi + 0x1c]
test edx, edx
movaps xmm10, xmmword [rsp + 0x190]
cmove edx, dword [rsp + 0x38]
mov r15, qword [rsp + 0x1e0]
test edx, edx
je 0x14001dd84
mov r8d, dword [rdi]
mov eax, esi
test r8d, r8d
jle 0x14001dd84
mov r9, qword [rdi + 8]
mov rcx, r9
nop dword [rax]
cmp dword [rcx], edx
je 0x14001dcc4
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14001dcb0
jmp 0x14001dd84
cdqe
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, r9
je 0x14001dd84
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001dd84
call fcn.140010c10
mov rax, qword [rbx + 8]
mov rdx, qword [0x140054910]
mov ecx, dword [rax + 0xc]
bt ecx, 0x12
jae 0x14001dd06
mov qword [rdx + 0x1f58], rsi
jmp 0x14001dd84
cmp rax, qword [rax + 0x3d0]
je 0x14001dd2d
bt ecx, 0x1a
jb 0x14001dd2d
mov ecx, dword [rax + 0x3f8]
test ecx, ecx
je 0x14001dd2d
mov dword [rdx + 0x1f58], ecx
mov dword [rdx + 0x1f5c], esi
jmp 0x14001dd84
movsxd rax, dword [rdx + 0x1f9c]
xorps xmm0, xmm0
mov dword [rdx + 0x1f9c], eax
mov rcx, rax
mov rax, qword [rdx + 0x1f50]
mov qword [rdx + 0x1f58], rsi
mov dword [rax + rcx*4 + 0x3f8], esi
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], esi
movups xmmword [rdx + 0x1fb0], xmm0
mov byte [rdx + 0x1fa8], 1
call fcn.14003dbc0
mov rax, qword [0x140054910]
mov rdi, qword [rsp + 0x1e8]
mov rbx, qword [rsp + 0x230]
mov rcx, qword [rax + 0x1d18]
dec dword [rcx + 0x108]
mov eax, dword [r14 + 8]
shr eax, 0xa
test al, 1
jne 0x14001de3d
movzx eax, byte [rsp + 0x31]
mov byte [r12 + 0xd4], al
mov dword [r12 + 0x18c], esi
jmp 0x14001de3d
cmp dword [r14 + 0x28], esi
jle 0x14001dde0
mov rax, qword [r14 + 0x30]
mov rsi, qword [rax]
and cl, 0xfd
mov qword [r14 + 0x88], rsi
movzx eax, r12b
add al, al
or cl, al
mov byte [r14 + 0xbc], cl
test r12b, r12b
je 0x14001de0c
mov eax, dword [r13 + 0x1c90]
mov dword [r14 + 0xa8], eax
test rsi, rsi
je 0x14001de3d
test r12b, r12b
jne 0x14001de20
cmp qword [r9 + 0x88], 0
jne 0x14001de27
mov qword [r9 + 0x88], rsi
mov rdx, qword [r14 + 0x38]
test rdx, rdx
je 0x14001de3d
mov rax, qword [r14 + 0x88]
mov ecx, dword [rax + 8]
mov dword [rdx + 0x20], ecx
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400446f0
add rsp, 0x1f0
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret