Function at 0x14001cc40
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 [0x14006c010]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov eax, dword [rcx + 0xa4]
mov rdi, rcx
mov r13, qword [0x14009d5f0]
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 0x14001cca4
mov byte [rsp + 0x30], 1
cmp eax, edx
je 0x14001cca9
mov byte [rsp + 0x30], 0
xor r15d, r15d
lea r10d, [r15 + 1]
cmp dword [rdi + 0xb4], r15d
je 0x14001ccc2
mov dword [rsp + 0x48], r10d
cmp eax, edx
je 0x14001ccc7
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 0x14001cd03
mov qword [rsp + 0x58], rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001ccf0
mov r9, qword [rsp + 0x58]
mov rax, qword [r13 + 0x2080]
test rax, rax
je 0x14001cd1c
cmp qword [rax + 0x448], rdi
sete r12b
jmp 0x14001cd49
mov rdx, qword [r13 + 0x1f50]
test rdx, rdx
je 0x14001cd4e
mov rax, qword [r8 + 0x3d8]
cmp qword [rdx + 0x3e0], rax
jne 0x14001cd4e
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 0x14001daec
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 0x14001cdb1
mov byte [r8 + 0xd4], r15b
mov dword [r8 + 0x18c], r10d
mov ecx, dword [rdi]
call fcn.140011300
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0x70], rax
mov rsi, rax
test rax, rax
jne 0x14001cdd5
mov rcx, rdi
call fcn.14001db70
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 0x14001cead
cmp dword [r13 + 0x165c], 0xffffffff
je 0x14001cead
mov r14, qword [0x14009d5f0]
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.140002fe0
cmp dword [r14 + 0x1d6c], eax
jne 0x14001ce5a
mov dword [r14 + 0x1d70], eax
movzx ebx, byte [rdi + 0xbc]
cmp dword [r14 + 0x1da8], eax
jne 0x14001ce72
mov byte [r14 + 0x1dac], 1
movzx ebx, byte [rdi + 0xbc]
xor edx, edx
mov ecx, eax
call fcn.140012540
test al, al
je 0x14001ceb8
mov rdx, rsi
mov rcx, rdi
call fcn.14001ca70
test eax, eax
je 0x14001ce95
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 0x14001ceb1
mov byte [rbp - 0x78], r15b
mov r14, qword [0x14009d5f0]
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 0x14001cf46
subss xmm0, xmm3
movss dword [rbp - 0x80], xmm0
test bl, 8
je 0x14001cf94
cmp dword [r14 + 0x165c], r15d
jne 0x14001cf60
addss xmm1, xmm3
movss dword [rsp + 0x78], xmm1
jmp 0x14001cf94
cmp dword [r14 + 0x165c], 1
jne 0x14001cf94
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 0x14001d025
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 0x14001d001
mov edx, dword [rsi]
mov eax, r15d
test edx, edx
jle 0x14001d001
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], r8d
je 0x14001cff2
inc eax
add rcx, 0x30
cmp eax, edx
jl 0x14001cfe1
jmp 0x14001d001
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
jne 0x14001d011
mov r8, r10
mov edx, 0x400000
mov rcx, rsi
call fcn.140042b40
inc r12d
add rbx, 8
cmp r12d, dword [rdi + 0x28]
jl 0x14001cfc0
mov r14, qword [0x14009d5f0]
mov ebx, dword [rsp + 0x34]
test bl, bl
je 0x14001d03a
mov eax, dword [r13 + 0x1c90]
mov dword [rdi + 0xa8], eax
mov r12, qword [rsp + 0x50]
cmp byte [r12 + 0xd2], r15b
je 0x14001d050
mov eax, 0xc
jmp 0x14001d05c
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.140003590
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], 0x30
movss dword [rsp + 0x20], xmm0
call fcn.14002d800
cmp byte [rbp - 0x78], r15b
je 0x14001d19b
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.140002fe0
mov rcx, qword [0x14009d5f0]
cmp dword [rcx + 0x1d6c], eax
jne 0x14001d0fb
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x14001d10a
mov byte [rcx + 0x1dac], 1
mov r8, rdi
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.1400398c0
test al, al
je 0x14001d174
mov rbx, qword [0x14009d5f0]
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.140002fe0
cmp dword [rbx + 0x1d6c], eax
jne 0x14001d15a
mov dword [rbx + 0x1d70], eax
cmp dword [rbx + 0x1da8], eax
jne 0x14001d169
mov byte [rbx + 0x1dac], 1
mov ecx, eax
call fcn.1400125c0
mov ebx, dword [rsp + 0x34]
mov rax, qword [0x14009d5f0]
mov ecx, dword [rax + 0x1d6c]
test ecx, ecx
je 0x14001d19b
mov rax, qword [rax + 0x1d18]
cmp ecx, dword [rax + 0x164]
jne 0x14001d19b
mov eax, dword [rsi + 0x18]
mov dword [rsp + 0x38], eax
mov r9d, dword [rsi]
lea edx, [r9 - 1]
test edx, edx
js 0x14001d1d5
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 0x14001d1d5
btr eax, 0x16
mov r9d, edx
mov dword [r8 + rcx + 4], eax
sub rcx, 0x30
sub edx, 1
jns 0x14001d1b1
mov ecx, dword [rsi]
cmp ecx, r9d
jle 0x14001d20c
lea eax, [r9 + 1]
cmp ecx, eax
jle 0x14001d20c
sub ecx, r9d
movsxd rax, r9d
movsxd rdx, ecx
lea r9, [0x14001ca20]
mov r8d, 0x30
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 0x14001d22e
mov rcx, qword [rax + 0x3d0]
cmp qword [rcx + 0x448], rdi
jne 0x14001d22e
mov eax, dword [rcx + 8]
mov dword [rsi + 0x18], eax
cmp qword [rsp + 0x70], r15
jne 0x14001d264
mov edx, dword [rdi + 0xb0]
test edx, edx
je 0x14001d264
mov r8d, dword [rsi]
mov eax, r15d
test r8d, r8d
jle 0x14001d264
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x14001d4ef
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14001d251
movsxd rax, dword [rsi]
cmp eax, dword [rsp + 0x60]
jle 0x14001d286
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 0x14001d2a1
test bl, bl
mov eax, 0x700003
cmovne r8d, eax
mov r9, rdi
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.1400418c0
lea rbx, [rbp - 0x40]
mov r14d, 6
nop word [rax + rax]
mov rcx, rbx
call fcn.140001600
add rbx, 0x10
sub r14, 1
jne 0x14001d2c0
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 0x14001d530
movss xmm6, dword [0x140060890]
lea r11, [0x14005a3c8]
mov r14, r15
lea r10, [0x14005a3e0]
nop
mov rax, qword [rdi + 0x30]
mov rbx, qword [r14 + rax]
cmp byte [rsp + 0x30], r15b
jne 0x14001d368
mov eax, dword [rsp + 0x48]
cmp eax, dword [rbx + 8]
jne 0x14001d37e
cmp byte [rbx + 0xd8], r15b
je 0x14001d37e
test dword [rbx + 0xc], 0x100000
je 0x14001d51b
mov eax, dword [rbx + 0x2b8]
inc eax
cmp eax, dword [r13 + 0x1c90]
jge 0x14001d39d
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x68], eax
je 0x14001d51b
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 0x14001d3d0
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.1400435b0
cmp byte [rbp - 0x78], r15b
jne 0x14001d48a
mov eax, dword [rbx + 8]
mov dword [rdi + 0xb4], eax
mov eax, dword [rbx + 8]
cmp dword [rsi + 0x20], eax
jne 0x14001d499
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 0x14001d50d
cmp qword [rax + 0x3d0], rbx
jne 0x14001d50d
test byte [rbx + 0x190], 2
lea r10, [0x14005a3e0]
lea r11, [0x14005a3c8]
jne 0x14001d51b
mov eax, dword [rbx + 8]
mov dword [rcx + 0x3fc], eax
jmp 0x14001d51b
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x14001d264
mov dword [rsi + 0x1c], edx
mov dword [rsi + 0x18], edx
jmp 0x14001d286
lea r11, [0x14005a3c8]
lea r10, [0x14005a3e0]
inc r12d
add r14, 8
cmp r12d, dword [rdi + 0x28]
jl 0x14001d350
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 0x14001d59c
mov rcx, qword [rsp + 0x58]
cmp byte [rsp + 0x34], r15b
jne 0x14001d595
cmp qword [rcx + 0x88], r15
jne 0x14001d59c
mov qword [rcx + 0x88], rax
movzx eax, byte [rdi + 0xbc]
xorps xmm10, xmm10
and al, 4
je 0x14001d5c7
mov rcx, qword [rdi + 0x88]
test rcx, rcx
je 0x14001d5c7
cmp byte [rcx + 0xd8], r15b
je 0x14001d5c7
mov bl, 1
jmp 0x14001d6e9
test al, al
je 0x14001d83b
mov rbx, qword [0x14009d5f0]
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 0x14001d648
lea r8d, [rax + 1]
test ecx, ecx
je 0x14001d627
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14001d62c
mov eax, 8
cmp eax, r8d
mov rcx, r14
cmovg r8d, eax
mov edx, r8d
call fcn.140022c90
mov eax, dword [r14]
mov rbx, qword [0x14009d5f0]
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 [0x1400608c4]
movups xmmword [rbp - 0x5c], xmm0
call fcn.140022700
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 [0x140060e10]
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.140002fe0
mov rcx, qword [0x14009d5f0]
cmp dword [rcx + 0x1d6c], eax
jne 0x14001d75a
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x14001d769
mov byte [rcx + 0x1dac], 1
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.140039510
test al, al
je 0x14001d7e0
mov edx, dword [rsi + 0x20]
test edx, edx
je 0x14001d7e0
mov r8d, dword [rsi]
mov eax, r15d
test r8d, r8d
jle 0x14001d7e0
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x14001d7a3
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14001d792
jmp 0x14001d7e0
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x14001d7e0
mov eax, dword [rcx]
mov dword [rdi + 0xb4], eax
test byte [rcx + 4], 1
mov eax, dword [rcx]
jne 0x14001d7d8
mov byte [rcx + 0x2a], 1
cmp dword [rsi + 0x20], eax
jne 0x14001d7e0
mov dword [rcx + 0x10], 0xffffffff
mov qword [rsi + 0x18], r15
jmp 0x14001d7e0
cmp dword [rsi + 0x20], eax
je 0x14001d7e0
mov dword [rsi + 0x1c], eax
test bl, bl
jne 0x14001d840
mov rbx, qword [0x14009d5f0]
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 0x14001d847
mov r12, qword [rsp + 0x50]
mov rbx, qword [0x14009d5f0]
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.140002fe0
mov r14d, eax
movaps xmm12, xmmword [rsp + 0x130]
movaps xmm11, xmmword [rsp + 0x140]
movaps xmm6, xmmword [rsp + 0x190]
cmp dword [rbx + 0x1d6c], eax
jne 0x14001d895
mov dword [rbx + 0x1d70], eax
cmp dword [rbx + 0x1da8], r14d
jne 0x14001d8a5
mov byte [rbx + 0x1dac], 1
mov eax, dword [r13 + 0x1d58]
test eax, eax
je 0x14001d8c2
cmp eax, r14d
je 0x14001d8c2
cmp dword [r13 + 0x1d6c], r14d
jne 0x14001d99b
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x70]
mov edx, r14d
call fcn.140038600
mov rcx, qword [0x14009d5f0]
cmp dword [r13 + 0x1d58], r14d
jne 0x14001d921
mov dword [r12 + 0x164], r14d
mov rax, qword [rcx + 0x1d18]
mov edx, dword [rax + 0x164]
cmp dword [rcx + 0x1d58], edx
jne 0x14001d912
mov byte [rcx + 0x1d60], 1
cmp dword [rcx + 0x1d6c], edx
jne 0x14001d921
mov byte [rcx + 0x1d79], 1
cmp byte [rsp + 0x30], r15b
je 0x14001d99b
movss xmm0, dword [rcx + 0x434]
ucomiss xmm0, xmm10
jp 0x14001d943
jne 0x14001d943
mov eax, dword [rsi + 0x18]
mov edx, eax
mov dword [rsp + 0x38], eax
jmp 0x14001d946
mov edx, dword [rsi + 0x18]
test edx, edx
je 0x14001d99b
mov r8d, dword [rsi]
mov eax, r15d
test r8d, r8d
jle 0x14001d99b
mov r9, qword [rsi + 8]
mov rcx, r9
nop dword [rax]
cmp dword [rcx], edx
je 0x14001d971
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14001d960
jmp 0x14001d99b
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x14001d99b
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x14001d990
mov rcx, qword [rdi + 0x80]
xor r8d, r8d
mov rdx, rdi
call fcn.140005a30
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 0x14001daa2
mov r8d, dword [rsi]
mov eax, r15d
test r8d, r8d
jle 0x14001daa2
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x14001d9e8
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14001d9d4
jmp 0x14001daa2
cdqe
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, r9
je 0x14001daa2
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001daa2
call fcn.140010a20
mov rax, qword [rbx + 8]
mov rdx, qword [0x14009d5f0]
mov ecx, dword [rax + 0xc]
bt ecx, 0x12
jae 0x14001da2a
mov qword [rdx + 0x1f58], r15
jmp 0x14001daa2
cmp rax, qword [rax + 0x3d0]
je 0x14001da52
bt ecx, 0x1a
jb 0x14001da52
mov ecx, dword [rax + 0x3f8]
test ecx, ecx
je 0x14001da52
mov dword [rdx + 0x1f58], ecx
mov dword [rdx + 0x1f5c], r15d
jmp 0x14001daa2
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.140041bc0
mov rax, qword [0x14009d5f0]
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 0x14001db54
movzx eax, byte [rsp + 0x31]
mov byte [r12 + 0xd4], al
mov dword [r12 + 0x18c], r15d
jmp 0x14001db54
cmp dword [rdi + 0x28], r15d
jle 0x14001daf9
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 0x14001db23
mov eax, dword [r13 + 0x1c90]
mov dword [rdi + 0xa8], eax
test r15, r15
je 0x14001db54
test r12b, r12b
jne 0x14001db37
cmp qword [r9 + 0x88], 0
jne 0x14001db3e
mov qword [r9 + 0x88], r15
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x14001db54
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.1400559f0
add rsp, 0x1b0
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret