Function at 0x140031de0
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 [0x1400ae010]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov eax, dword [rcx + 0xa4]
mov rdi, rcx
mov r13, qword [0x140132dd0]
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 0x140031e44
mov byte [rsp + 0x30], 1
cmp eax, edx
je 0x140031e49
mov byte [rsp + 0x30], 0
xor r15d, r15d
lea r10d, [r15 + 1]
cmp dword [rdi + 0xb4], r15d
je 0x140031e62
mov dword [rsp + 0x48], r10d
cmp eax, edx
je 0x140031e67
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 0x140031ea3
mov qword [rsp + 0x58], rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140031e90
mov r9, qword [rsp + 0x58]
mov rax, qword [r13 + 0x2080]
test rax, rax
je 0x140031ebc
cmp qword [rax + 0x448], rdi
sete r12b
jmp 0x140031ee9
mov rdx, qword [r13 + 0x1f50]
test rdx, rdx
je 0x140031eee
mov rax, qword [r8 + 0x3d8]
cmp qword [rdx + 0x3e0], rax
jne 0x140031eee
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 0x140032c8c
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 0x140031f51
mov byte [r8 + 0xd4], r15b
mov dword [r8 + 0x18c], r10d
mov ecx, dword [rdi]
call fcn.140026920
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0x70], rax
mov rsi, rax
test rax, rax
jne 0x140031f75
mov rcx, rdi
call fcn.140032d10
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 0x14003204d
cmp dword [r13 + 0x165c], 0xffffffff
je 0x14003204d
mov r14, qword [0x140132dd0]
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.1400183e0
cmp dword [r14 + 0x1d6c], eax
jne 0x140031ffa
mov dword [r14 + 0x1d70], eax
movzx ebx, byte [rdi + 0xbc]
cmp dword [r14 + 0x1da8], eax
jne 0x140032012
mov byte [r14 + 0x1dac], 1
movzx ebx, byte [rdi + 0xbc]
xor edx, edx
mov ecx, eax
call fcn.1400277e0
test al, al
je 0x140032058
mov rdx, rsi
mov rcx, rdi
call fcn.140031c10
test eax, eax
je 0x140032035
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 0x140032051
mov byte [rbp - 0x78], r15b
mov r14, qword [0x140132dd0]
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 0x1400320e6
subss xmm0, xmm3
movss dword [rbp - 0x80], xmm0
test bl, 8
je 0x140032134
cmp dword [r14 + 0x165c], r15d
jne 0x140032100
addss xmm1, xmm3
movss dword [rsp + 0x78], xmm1
jmp 0x140032134
cmp dword [r14 + 0x165c], 1
jne 0x140032134
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 0x1400321c5
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 0x1400321a1
mov edx, dword [rsi]
mov eax, r15d
test edx, edx
jle 0x1400321a1
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], r8d
je 0x140032192
inc eax
add rcx, 0x30
cmp eax, edx
jl 0x140032181
jmp 0x1400321a1
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
jne 0x1400321b1
mov r8, r10
mov edx, 0x400000
mov rcx, rsi
call fcn.140056d40
inc r12d
add rbx, 8
cmp r12d, dword [rdi + 0x28]
jl 0x140032160
mov r14, qword [0x140132dd0]
mov ebx, dword [rsp + 0x34]
test bl, bl
je 0x1400321da
mov eax, dword [r13 + 0x1c90]
mov dword [rdi + 0xa8], eax
mov r12, qword [rsp + 0x50]
cmp byte [r12 + 0xd2], r15b
je 0x1400321f0
mov eax, 0xc
jmp 0x1400321fc
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.140018990
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.1400426d0
cmp byte [rbp - 0x78], r15b
je 0x14003233b
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.1400183e0
mov rcx, qword [0x140132dd0]
cmp dword [rcx + 0x1d6c], eax
jne 0x14003229b
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x1400322aa
mov byte [rcx + 0x1dac], 1
mov r8, rdi
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.14004ea60
test al, al
je 0x140032314
mov rbx, qword [0x140132dd0]
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.1400183e0
cmp dword [rbx + 0x1d6c], eax
jne 0x1400322fa
mov dword [rbx + 0x1d70], eax
cmp dword [rbx + 0x1da8], eax
jne 0x140032309
mov byte [rbx + 0x1dac], 1
mov ecx, eax
call fcn.140027860
mov ebx, dword [rsp + 0x34]
mov rax, qword [0x140132dd0]
mov ecx, dword [rax + 0x1d6c]
test ecx, ecx
je 0x14003233b
mov rax, qword [rax + 0x1d18]
cmp ecx, dword [rax + 0x164]
jne 0x14003233b
mov eax, dword [rsi + 0x18]
mov dword [rsp + 0x38], eax
mov r9d, dword [rsi]
lea edx, [r9 - 1]
test edx, edx
js 0x140032375
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 0x140032375
btr eax, 0x16
mov r9d, edx
mov dword [r8 + rcx + 4], eax
sub rcx, 0x30
sub edx, 1
jns 0x140032351
mov ecx, dword [rsi]
cmp ecx, r9d
jle 0x1400323ac
lea eax, [r9 + 1]
cmp ecx, eax
jle 0x1400323ac
sub ecx, r9d
movsxd rax, r9d
movsxd rdx, ecx
lea r9, [0x140031bc0]
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 0x1400323ce
mov rcx, qword [rax + 0x3d0]
cmp qword [rcx + 0x448], rdi
jne 0x1400323ce
mov eax, dword [rcx + 8]
mov dword [rsi + 0x18], eax
cmp qword [rsp + 0x70], r15
jne 0x140032404
mov edx, dword [rdi + 0xb0]
test edx, edx
je 0x140032404
mov r8d, dword [rsi]
mov eax, r15d
test r8d, r8d
jle 0x140032404
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x14003268f
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x1400323f1
movsxd rax, dword [rsi]
cmp eax, dword [rsp + 0x60]
jle 0x140032426
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 0x140032441
test bl, bl
mov eax, 0x700003
cmovne r8d, eax
mov r9, rdi
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.140055ac0
lea rbx, [rbp - 0x40]
mov r14d, 6
nop word [rax + rax]
mov rcx, rbx
call fcn.140016a30
add rbx, 0x10
sub r14, 1
jne 0x140032460
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 0x1400326d0
movss xmm6, dword [0x1400a1c1c]
lea r11, [0x1400754e8]
mov r14, r15
lea r10, [0x140075500]
nop
mov rax, qword [rdi + 0x30]
mov rbx, qword [r14 + rax]
cmp byte [rsp + 0x30], r15b
jne 0x140032508
mov eax, dword [rsp + 0x48]
cmp eax, dword [rbx + 8]
jne 0x14003251e
cmp byte [rbx + 0xd8], r15b
je 0x14003251e
test dword [rbx + 0xc], 0x100000
je 0x1400326bb
mov eax, dword [rbx + 0x2b8]
inc eax
cmp eax, dword [r13 + 0x1c90]
jge 0x14003253d
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x68], eax
je 0x1400326bb
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 0x140032570
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.1400577b0
cmp byte [rbp - 0x78], r15b
jne 0x14003262a
mov eax, dword [rbx + 8]
mov dword [rdi + 0xb4], eax
mov eax, dword [rbx + 8]
cmp dword [rsi + 0x20], eax
jne 0x140032639
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 0x1400326ad
cmp qword [rax + 0x3d0], rbx
jne 0x1400326ad
test byte [rbx + 0x190], 2
lea r10, [0x140075500]
lea r11, [0x1400754e8]
jne 0x1400326bb
mov eax, dword [rbx + 8]
mov dword [rcx + 0x3fc], eax
jmp 0x1400326bb
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x140032404
mov dword [rsi + 0x1c], edx
mov dword [rsi + 0x18], edx
jmp 0x140032426
lea r11, [0x1400754e8]
lea r10, [0x140075500]
inc r12d
add r14, 8
cmp r12d, dword [rdi + 0x28]
jl 0x1400324f0
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 0x14003273c
mov rcx, qword [rsp + 0x58]
cmp byte [rsp + 0x34], r15b
jne 0x140032735
cmp qword [rcx + 0x88], r15
jne 0x14003273c
mov qword [rcx + 0x88], rax
movzx eax, byte [rdi + 0xbc]
xorps xmm10, xmm10
and al, 4
je 0x140032767
mov rcx, qword [rdi + 0x88]
test rcx, rcx
je 0x140032767
cmp byte [rcx + 0xd8], r15b
je 0x140032767
mov bl, 1
jmp 0x140032889
test al, al
je 0x1400329db
mov rbx, qword [0x140132dd0]
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 0x1400327e8
lea r8d, [rax + 1]
test ecx, ecx
je 0x1400327c7
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400327cc
mov eax, 8
cmp eax, r8d
mov rcx, r14
cmovg r8d, eax
mov edx, r8d
call fcn.140037e30
mov eax, dword [r14]
mov rbx, qword [0x140132dd0]
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 [0x1400a1c50]
movups xmmword [rbp - 0x5c], xmm0
call fcn.1400378a0
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 [0x1400a2310]
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.1400183e0
mov rcx, qword [0x140132dd0]
cmp dword [rcx + 0x1d6c], eax
jne 0x1400328fa
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x140032909
mov byte [rcx + 0x1dac], 1
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.14004e6b0
test al, al
je 0x140032980
mov edx, dword [rsi + 0x20]
test edx, edx
je 0x140032980
mov r8d, dword [rsi]
mov eax, r15d
test r8d, r8d
jle 0x140032980
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x140032943
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x140032932
jmp 0x140032980
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x140032980
mov eax, dword [rcx]
mov dword [rdi + 0xb4], eax
test byte [rcx + 4], 1
mov eax, dword [rcx]
jne 0x140032978
mov byte [rcx + 0x2a], 1
cmp dword [rsi + 0x20], eax
jne 0x140032980
mov dword [rcx + 0x10], 0xffffffff
mov qword [rsi + 0x18], r15
jmp 0x140032980
cmp dword [rsi + 0x20], eax
je 0x140032980
mov dword [rsi + 0x1c], eax
test bl, bl
jne 0x1400329e0
mov rbx, qword [0x140132dd0]
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 0x1400329e7
mov r12, qword [rsp + 0x50]
mov rbx, qword [0x140132dd0]
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.1400183e0
mov r14d, eax
movaps xmm12, xmmword [rsp + 0x130]
movaps xmm11, xmmword [rsp + 0x140]
movaps xmm6, xmmword [rsp + 0x190]
cmp dword [rbx + 0x1d6c], eax
jne 0x140032a35
mov dword [rbx + 0x1d70], eax
cmp dword [rbx + 0x1da8], r14d
jne 0x140032a45
mov byte [rbx + 0x1dac], 1
mov eax, dword [r13 + 0x1d58]
test eax, eax
je 0x140032a62
cmp eax, r14d
je 0x140032a62
cmp dword [r13 + 0x1d6c], r14d
jne 0x140032b3b
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x70]
mov edx, r14d
call fcn.14004d7a0
mov rcx, qword [0x140132dd0]
cmp dword [r13 + 0x1d58], r14d
jne 0x140032ac1
mov dword [r12 + 0x164], r14d
mov rax, qword [rcx + 0x1d18]
mov edx, dword [rax + 0x164]
cmp dword [rcx + 0x1d58], edx
jne 0x140032ab2
mov byte [rcx + 0x1d60], 1
cmp dword [rcx + 0x1d6c], edx
jne 0x140032ac1
mov byte [rcx + 0x1d79], 1
cmp byte [rsp + 0x30], r15b
je 0x140032b3b
movss xmm0, dword [rcx + 0x434]
ucomiss xmm0, xmm10
jp 0x140032ae3
jne 0x140032ae3
mov eax, dword [rsi + 0x18]
mov edx, eax
mov dword [rsp + 0x38], eax
jmp 0x140032ae6
mov edx, dword [rsi + 0x18]
test edx, edx
je 0x140032b3b
mov r8d, dword [rsi]
mov eax, r15d
test r8d, r8d
jle 0x140032b3b
mov r9, qword [rsi + 8]
mov rcx, r9
nop dword [rax]
cmp dword [rcx], edx
je 0x140032b11
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x140032b00
jmp 0x140032b3b
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x140032b3b
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x140032b30
mov rcx, qword [rdi + 0x80]
xor r8d, r8d
mov rdx, rdi
call fcn.14001b080
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 0x140032c42
mov r8d, dword [rsi]
mov eax, r15d
test r8d, r8d
jle 0x140032c42
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x140032b88
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x140032b74
jmp 0x140032c42
cdqe
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, r9
je 0x140032c42
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140032c42
call fcn.140026040
mov rax, qword [rbx + 8]
mov rdx, qword [0x140132dd0]
mov ecx, dword [rax + 0xc]
bt ecx, 0x12
jae 0x140032bca
mov qword [rdx + 0x1f58], r15
jmp 0x140032c42
cmp rax, qword [rax + 0x3d0]
je 0x140032bf2
bt ecx, 0x1a
jb 0x140032bf2
mov ecx, dword [rax + 0x3f8]
test ecx, ecx
je 0x140032bf2
mov dword [rdx + 0x1f58], ecx
mov dword [rdx + 0x1f5c], r15d
jmp 0x140032c42
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.140055dc0
mov rax, qword [0x140132dd0]
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 0x140032cf4
movzx eax, byte [rsp + 0x31]
mov byte [r12 + 0xd4], al
mov dword [r12 + 0x18c], r15d
jmp 0x140032cf4
cmp dword [rdi + 0x28], r15d
jle 0x140032c99
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 0x140032cc3
mov eax, dword [r13 + 0x1c90]
mov dword [rdi + 0xa8], eax
test r15, r15
je 0x140032cf4
test r12b, r12b
jne 0x140032cd7
cmp qword [r9 + 0x88], 0
jne 0x140032cde
mov qword [r9 + 0x88], r15
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x140032cf4
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.140070580
add rsp, 0x1b0
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret