Function at 0x14001c5c0
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 [0x1400d6060]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov eax, dword [rcx + 0xa4]
mov rdi, rcx
mov r13, qword [0x1400d72e0]
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 0x14001c624
mov byte [rsp + 0x30], 1
cmp eax, edx
je 0x14001c629
mov byte [rsp + 0x30], 0
xor r15d, r15d
lea r10d, [r15 + 1]
cmp dword [rdi + 0xb4], r15d
je 0x14001c642
mov dword [rsp + 0x48], r10d
cmp eax, edx
je 0x14001c647
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 0x14001c683
mov qword [rsp + 0x58], rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001c670
mov r9, qword [rsp + 0x58]
mov rax, qword [r13 + 0x2080]
test rax, rax
je 0x14001c69c
cmp qword [rax + 0x448], rdi
sete r12b
jmp 0x14001c6c9
mov rdx, qword [r13 + 0x1f50]
test rdx, rdx
je 0x14001c6ce
mov rax, qword [r8 + 0x3d8]
cmp qword [rdx + 0x3e0], rax
jne 0x14001c6ce
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 0x14001d46c
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 0x14001c731
mov byte [r8 + 0xd4], r15b
mov dword [r8 + 0x18c], r10d
mov ecx, dword [rdi]
call fcn.140010eb0
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0x70], rax
mov rsi, rax
test rax, rax
jne 0x14001c755
mov rcx, rdi
call fcn.14001d4f0
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 0x14001c82d
cmp dword [r13 + 0x165c], 0xffffffff
je 0x14001c82d
mov r14, qword [0x1400d72e0]
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.140002c20
cmp dword [r14 + 0x1d6c], eax
jne 0x14001c7da
mov dword [r14 + 0x1d70], eax
movzx ebx, byte [rdi + 0xbc]
cmp dword [r14 + 0x1da8], eax
jne 0x14001c7f2
mov byte [r14 + 0x1dac], 1
movzx ebx, byte [rdi + 0xbc]
xor edx, edx
mov ecx, eax
call fcn.140011fc0
test al, al
je 0x14001c838
mov rdx, rsi
mov rcx, rdi
call fcn.14001c3f0
test eax, eax
je 0x14001c815
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 0x14001c831
mov byte [rbp - 0x78], r15b
mov r14, qword [0x1400d72e0]
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 0x14001c8c6
subss xmm0, xmm3
movss dword [rbp - 0x80], xmm0
test bl, 8
je 0x14001c914
cmp dword [r14 + 0x165c], r15d
jne 0x14001c8e0
addss xmm1, xmm3
movss dword [rsp + 0x78], xmm1
jmp 0x14001c914
cmp dword [r14 + 0x165c], 1
jne 0x14001c914
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 0x14001c9a5
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 0x14001c981
mov edx, dword [rsi]
mov eax, r15d
test edx, edx
jle 0x14001c981
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], r8d
je 0x14001c972
inc eax
add rcx, 0x30
cmp eax, edx
jl 0x14001c961
jmp 0x14001c981
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
jne 0x14001c991
mov r8, r10
mov edx, 0x400000
mov rcx, rsi
call fcn.1400417f0
inc r12d
add rbx, 8
cmp r12d, dword [rdi + 0x28]
jl 0x14001c940
mov r14, qword [0x1400d72e0]
mov ebx, dword [rsp + 0x34]
test bl, bl
je 0x14001c9ba
mov eax, dword [r13 + 0x1c90]
mov dword [rdi + 0xa8], eax
mov r12, qword [rsp + 0x50]
cmp byte [r12 + 0xd2], r15b
je 0x14001c9d0
mov eax, ntohl
jmp 0x14001c9dc
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.1400031d0
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.14002cf10
cmp byte [rbp - 0x78], r15b
je 0x14001cb1b
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.140002c20
mov rcx, qword [0x1400d72e0]
cmp dword [rcx + 0x1d6c], eax
jne 0x14001ca7b
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x14001ca8a
mov byte [rcx + 0x1dac], 1
mov r8, rdi
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.140038940
test al, al
je 0x14001caf4
mov rbx, qword [0x1400d72e0]
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.140002c20
cmp dword [rbx + 0x1d6c], eax
jne 0x14001cada
mov dword [rbx + 0x1d70], eax
cmp dword [rbx + 0x1da8], eax
jne 0x14001cae9
mov byte [rbx + 0x1dac], 1
mov ecx, eax
call fcn.140012040
mov ebx, dword [rsp + 0x34]
mov rax, qword [0x1400d72e0]
mov ecx, dword [rax + 0x1d6c]
test ecx, ecx
je 0x14001cb1b
mov rax, qword [rax + 0x1d18]
cmp ecx, dword [rax + 0x164]
jne 0x14001cb1b
mov eax, dword [rsi + 0x18]
mov dword [rsp + 0x38], eax
mov r9d, dword [rsi]
lea edx, [r9 - 1]
test edx, edx
js 0x14001cb55
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 0x14001cb55
btr eax, 0x16
mov r9d, edx
mov dword [r8 + rcx + 4], eax
sub rcx, 0x30
sub edx, 1
jns 0x14001cb31
mov ecx, dword [rsi]
cmp ecx, r9d
jle 0x14001cb8c
lea eax, [r9 + 1]
cmp ecx, eax
jle 0x14001cb8c
sub ecx, r9d
movsxd rax, r9d
movsxd rdx, ecx
lea r9, [0x14001c3a0]
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 0x14001cbae
mov rcx, qword [rax + 0x3d0]
cmp qword [rcx + 0x448], rdi
jne 0x14001cbae
mov eax, dword [rcx + 8]
mov dword [rsi + 0x18], eax
cmp qword [rsp + 0x70], r15
jne 0x14001cbe4
mov edx, dword [rdi + 0xb0]
test edx, edx
je 0x14001cbe4
mov r8d, dword [rsi]
mov eax, r15d
test r8d, r8d
jle 0x14001cbe4
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x14001ce6f
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14001cbd1
movsxd rax, dword [rsi]
cmp eax, dword [rsp + 0x60]
jle 0x14001cc06
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 0x14001cc21
test bl, bl
mov eax, 0x700003
cmovne r8d, eax
mov r9, rdi
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.140040570
lea rbx, [rbp - 0x40]
mov r14d, 6
nop word [rax + rax]
mov rcx, rbx
call fcn.140001290
add rbx, 0x10
sub r14, 1
jne 0x14001cc40
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 0x14001ceb0
movss xmm6, dword [0x1400c51a4]
lea r11, [0x1400bf628]
mov r14, r15
lea r10, [0x1400bf640]
nop
mov rax, qword [rdi + 0x30]
mov rbx, qword [r14 + rax]
cmp byte [rsp + 0x30], r15b
jne 0x14001cce8
mov eax, dword [rsp + 0x48]
cmp eax, dword [rbx + 8]
jne 0x14001ccfe
cmp byte [rbx + 0xd8], r15b
je 0x14001ccfe
test dword [rbx + 0xc], 0x100000
je 0x14001ce9b
mov eax, dword [rbx + 0x2b8]
inc eax
cmp eax, dword [r13 + 0x1c90]
jge 0x14001cd1d
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x68], eax
je 0x14001ce9b
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 0x14001cd50
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.140042260
cmp byte [rbp - 0x78], r15b
jne 0x14001ce0a
mov eax, dword [rbx + 8]
mov dword [rdi + 0xb4], eax
mov eax, dword [rbx + 8]
cmp dword [rsi + 0x20], eax
jne 0x14001ce19
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 0x14001ce8d
cmp qword [rax + 0x3d0], rbx
jne 0x14001ce8d
test byte [rbx + 0x190], 2
lea r10, [0x1400bf640]
lea r11, [0x1400bf628]
jne 0x14001ce9b
mov eax, dword [rbx + 8]
mov dword [rcx + 0x3fc], eax
jmp 0x14001ce9b
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x14001cbe4
mov dword [rsi + 0x1c], edx
mov dword [rsi + 0x18], edx
jmp 0x14001cc06
lea r11, [0x1400bf628]
lea r10, [0x1400bf640]
inc r12d
add r14, 8
cmp r12d, dword [rdi + 0x28]
jl 0x14001ccd0
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 0x14001cf1c
mov rcx, qword [rsp + 0x58]
cmp byte [rsp + 0x34], r15b
jne 0x14001cf15
cmp qword [rcx + 0x88], r15
jne 0x14001cf1c
mov qword [rcx + 0x88], rax
movzx eax, byte [rdi + 0xbc]
xorps xmm10, xmm10
and al, 4
je 0x14001cf47
mov rcx, qword [rdi + 0x88]
test rcx, rcx
je 0x14001cf47
cmp byte [rcx + 0xd8], r15b
je 0x14001cf47
mov bl, 1
jmp 0x14001d069
test al, al
je 0x14001d1bb
mov rbx, qword [0x1400d72e0]
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 0x14001cfc8
lea r8d, [rax + 1]
test ecx, ecx
je 0x14001cfa7
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14001cfac
mov eax, 8
cmp eax, r8d
mov rcx, r14
cmovg r8d, eax
mov edx, r8d
call fcn.140022610
mov eax, dword [r14]
mov rbx, qword [0x1400d72e0]
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 [0x1400c51d8]
movups xmmword [rbp - 0x5c], xmm0
call fcn.140022080
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 [0x1400c5860]
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.140002c20
mov rcx, qword [0x1400d72e0]
cmp dword [rcx + 0x1d6c], eax
jne 0x14001d0da
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x14001d0e9
mov byte [rcx + 0x1dac], 1
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.140038590
test al, al
je 0x14001d160
mov edx, dword [rsi + 0x20]
test edx, edx
je 0x14001d160
mov r8d, dword [rsi]
mov eax, r15d
test r8d, r8d
jle 0x14001d160
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x14001d123
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14001d112
jmp 0x14001d160
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x14001d160
mov eax, dword [rcx]
mov dword [rdi + 0xb4], eax
test byte [rcx + 4], 1
mov eax, dword [rcx]
jne 0x14001d158
mov byte [rcx + 0x2a], 1
cmp dword [rsi + 0x20], eax
jne 0x14001d160
mov dword [rcx + 0x10], 0xffffffff
mov qword [rsi + 0x18], r15
jmp 0x14001d160
cmp dword [rsi + 0x20], eax
je 0x14001d160
mov dword [rsi + 0x1c], eax
test bl, bl
jne 0x14001d1c0
mov rbx, qword [0x1400d72e0]
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 0x14001d1c7
mov r12, qword [rsp + 0x50]
mov rbx, qword [0x1400d72e0]
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.140002c20
mov r14d, eax
movaps xmm12, xmmword [rsp + 0x130]
movaps xmm11, xmmword [rsp + 0x140]
movaps xmm6, xmmword [rsp + 0x190]
cmp dword [rbx + 0x1d6c], eax
jne 0x14001d215
mov dword [rbx + 0x1d70], eax
cmp dword [rbx + 0x1da8], r14d
jne 0x14001d225
mov byte [rbx + 0x1dac], 1
mov eax, dword [r13 + 0x1d58]
test eax, eax
je 0x14001d242
cmp eax, r14d
je 0x14001d242
cmp dword [r13 + 0x1d6c], r14d
jne 0x14001d31b
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x70]
mov edx, r14d
call fcn.140037690
mov rcx, qword [0x1400d72e0]
cmp dword [r13 + 0x1d58], r14d
jne 0x14001d2a1
mov dword [r12 + 0x164], r14d
mov rax, qword [rcx + 0x1d18]
mov edx, dword [rax + 0x164]
cmp dword [rcx + 0x1d58], edx
jne 0x14001d292
mov byte [rcx + 0x1d60], 1
cmp dword [rcx + 0x1d6c], edx
jne 0x14001d2a1
mov byte [rcx + 0x1d79], 1
cmp byte [rsp + 0x30], r15b
je 0x14001d31b
movss xmm0, dword [rcx + 0x434]
ucomiss xmm0, xmm10
jp 0x14001d2c3
jne 0x14001d2c3
mov eax, dword [rsi + 0x18]
mov edx, eax
mov dword [rsp + 0x38], eax
jmp 0x14001d2c6
mov edx, dword [rsi + 0x18]
test edx, edx
je 0x14001d31b
mov r8d, dword [rsi]
mov eax, r15d
test r8d, r8d
jle 0x14001d31b
mov r9, qword [rsi + 8]
mov rcx, r9
nop dword [rax]
cmp dword [rcx], edx
je 0x14001d2f1
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14001d2e0
jmp 0x14001d31b
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x14001d31b
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x14001d310
mov rcx, qword [rdi + 0x80]
xor r8d, r8d
mov rdx, rdi
call fcn.1400055e0
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 0x14001d422
mov r8d, dword [rsi]
mov eax, r15d
test r8d, r8d
jle 0x14001d422
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x14001d368
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14001d354
jmp 0x14001d422
cdqe
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, r9
je 0x14001d422
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001d422
call fcn.1400105d0
mov rax, qword [rbx + 8]
mov rdx, qword [0x1400d72e0]
mov ecx, dword [rax + 0xc]
bt ecx, 0x12
jae 0x14001d3aa
mov qword [rdx + 0x1f58], r15
jmp 0x14001d422
cmp rax, qword [rax + 0x3d0]
je 0x14001d3d2
bt ecx, 0x1a
jb 0x14001d3d2
mov ecx, dword [rax + 0x3f8]
test ecx, ecx
je 0x14001d3d2
mov dword [rdx + 0x1f58], ecx
mov dword [rdx + 0x1f5c], r15d
jmp 0x14001d422
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.140040870
mov rax, qword [0x1400d72e0]
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 0x14001d4d4
movzx eax, byte [rsp + 0x31]
mov byte [r12 + 0xd4], al
mov dword [r12 + 0x18c], r15d
jmp 0x14001d4d4
cmp dword [rdi + 0x28], r15d
jle 0x14001d479
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 0x14001d4a3
mov eax, dword [r13 + 0x1c90]
mov dword [rdi + 0xa8], eax
test r15, r15
je 0x14001d4d4
test r12b, r12b
jne 0x14001d4b7
cmp qword [r9 + 0x88], 0
jne 0x14001d4be
mov qword [r9 + 0x88], r15
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x14001d4d4
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.1400ad1b0
add rsp, 0x1b0
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret