Function at 0x140065810
Capabilities:
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140125998]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov eax, dword [rcx + 0xb0]
mov rdi, rcx
mov r13, qword [0x1401284c0]
inc eax
movzx ecx, byte [rcx + 0xc8]
mov r8, rdx
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x7c], eax
mov edx, dword [r13 + 0x3f68]
mov dword [rsp + 0x78], edx
test cl, 0x40
je 0x140065874
mov byte [rsp + 0x31], 1
cmp eax, edx
je 0x140065879
mov byte [rsp + 0x31], 0
xor r14d, r14d
lea r10d, [r14 + 1]
cmp dword [rdi + 0xc0], r14d
je 0x140065892
mov dword [rsp + 0x58], r10d
cmp eax, edx
je 0x140065897
mov dword [rsp + 0x58], r14d
and cl, 0xbf
mov dword [rdi + 0xc0], r14d
xor r15b, r15b
mov byte [rdi + 0xc8], cl
mov rax, qword [rdi + 0x18]
mov r9, rdi
mov dword [rsp + 0x34], r15d
mov qword [rsp + 0x60], rdi
test rax, rax
je 0x1400658d3
mov qword [rsp + 0x60], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x1400658c0
mov r9, qword [rsp + 0x60]
mov rax, qword [r13 + 0x43d8]
test rax, rax
je 0x1400658ec
cmp qword [rax + 0x418], rdi
sete r15b
jmp 0x140065919
mov rdx, qword [r13 + 0x4270]
test rdx, rdx
je 0x14006591e
mov rax, qword [r8 + 0x3a8]
cmp qword [rdx + 0x3b0], rax
jne 0x14006591e
mov eax, dword [rdi]
cmp dword [r9 + 0xb8], eax
movzx r15d, r15b
cmove r15d, r10d
mov dword [rsp + 0x34], r15d
mov eax, dword [rdi + 0x10]
test eax, 0x3000
jne 0x140066856
movzx ecx, byte [r8 + 0xd0]
mov qword [rsp + 0x1e0], rbx
mov qword [rsp + 0x198], rsi
mov qword [rsp + 0x190], r12
shr eax, 0xa
movaps xmmword [rsp + 0x180], xmm6
movaps xmmword [rsp + 0x140], xmm10
mov byte [rsp + 0x32], cl
test r10b, al
jne 0x140065977
mov byte [r8 + 0xd0], r14b
mov dword [r8 + 0x16c], r10d
mov ecx, dword [rdi]
call fcn.140075b40
mov rax, qword [rdi + 0x40]
mov qword [rbp - 0x50], rax
mov rsi, rax
test rax, rax
jne 0x14006599a
mov rcx, rdi
call fcn.140061450
mov rsi, qword [rdi + 0x40]
movzx ecx, byte [rdi + 0xc8]
lea r12, [0x1400f1601]
and cl, 0xfd
mov dword [rsp + 0x48], r14d
movzx eax, r15b
lea r10, [0x1400efee0]
add al, al
or cl, al
test dword [rdi + 0x10], 0x4000
mov byte [rdi + 0xc8], cl
jne 0x140065aec
cmp dword [r13 + 0x3938], 0xffffffff
je 0x140065aec
mov rax, qword [0x1401284c0]
mov rdx, r12
mov byte [rsp + 0x30], 1
mov r8b, 0x23
mov rax, qword [rax + 0x3fe8]
movsxd rcx, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r9d, dword [rax + rcx*4 - 4]
not r9d
mov ebx, r9d
cmp r8b, 0x23
jne 0x140065a25
cmp byte [rdx], r8b
jne 0x140065a25
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x140065a12
mov rax, qword [0x1401284c0]
not ebx
cmp dword [rax + 0x403c], ebx
jne 0x140065a59
mov dword [rax + 0x4040], ebx
cmp dword [rax + 0x4088], ebx
jne 0x140065a68
mov byte [rax + 0x408c], 1
mov rax, qword [0x1401284c0]
cmp dword [rax + 0x4024], ebx
jne 0x140065a8c
xor r9d, r9d
lea r8, str.WindowMenu
mov ecx, ebx
lea edx, [r9 + 0xb]
call fcn.14005ad60
mov rdx, qword [0x1401284c0]
movsxd rax, dword [rdx + 0x41f8]
cmp dword [rdx + 0x41e8], eax
jle 0x140065ae3
lea rcx, [rax + rax*2]
mov rax, qword [rdx + 0x41f0]
add rcx, rcx
cmp dword [rax + rcx*8], ebx
jne 0x140065ae3
mov rdx, rsi
mov rcx, rdi
call fcn.1400668d0
test eax, eax
je 0x140065acb
mov dword [rsi + 0x1c], eax
mov dword [rsp + 0x48], eax
movzx ecx, byte [rdi + 0xc8]
movzx eax, cl
shr al, 1
and al, 1
or r15b, al
mov dword [rsp + 0x34], r15d
jmp 0x140065af1
movzx ecx, byte [rdi + 0xc8]
jmp 0x140065af1
mov byte [rsp + 0x30], r14b
mov rax, qword [0x1401284c0]
xorps xmm10, xmm10
movss xmm4, dword [rdi + 0x4c]
movss xmm5, dword [rdi + 0x48]
movaps xmm0, xmm4
mov qword [rsp + 0x68], r14
movaps xmm2, xmm5
movss xmm1, dword [rax + 0x3950]
movss dword [rsp + 0x3c], xmm4
addss xmm1, xmm1
addss xmm0, dword [rax + 0x3d58]
movss dword [rbp - 0x80], xmm5
movss dword [rbp - 0x7c], xmm4
addss xmm2, dword [rdi + 0x50]
addss xmm1, xmm0
movss dword [rbp - 0x78], xmm2
movss dword [rbp - 0x74], xmm1
movss xmm0, dword [rax + 0x3924]
movss xmm6, dword [rax + 0x394c]
addss xmm5, xmm0
movss xmm3, dword [rax + 0x3d58]
subss xmm2, xmm0
movss dword [rsp + 0x44], xmm1
movaps xmm1, xmm6
addss xmm1, xmm5
subss xmm2, xmm6
movss dword [rsp + 0x38], xmm1
movss dword [rsp + 0x40], xmm2
test cl, 8
je 0x140065ba7
subss xmm2, xmm3
movss dword [rsp + 0x6c], xmm4
movaps xmm0, xmm2
movss dword [rsp + 0x40], xmm2
subss xmm0, xmm6
movss dword [rsp + 0x68], xmm0
test cl, 0x10
je 0x140065c00
cmp dword [rax + 0x3938], r14d
jne 0x140065bc9
addss xmm3, dword [rax + 0x3964]
addss xmm3, xmm1
movss dword [rsp + 0x38], xmm3
jmp 0x140065c00
cmp dword [rax + 0x3938], 1
jne 0x140065c00
addss xmm3, dword [rax + 0x394c]
subss xmm2, xmm3
movaps xmm1, xmm2
movss dword [rsp + 0x40], xmm2
unpcklps xmm1, xmm4
movaps xmm0, xmm1
movsd qword [rsp + 0x70], xmm1
movss xmm5, dword [rsp + 0x70]
shufps xmm0, xmm0, 0x55
movaps xmm4, xmm0
mov r15d, r14d
movss dword [rbp - 0x70], xmm5
movups xmm0, xmmword [rsp + 0x38]
movss dword [rbp - 0x6c], xmm4
movups xmmword [rbp - 0x48], xmm0
mov eax, dword [rsi]
mov dword [rsp + 0x70], eax
cmp dword [rdi + 0x30], r14d
jle 0x140065c66
mov rbx, r14
mov rax, qword [rdi + 0x38]
mov rcx, rsi
mov r12, qword [rbx + rax]
mov edx, dword [r12 + 0x90]
call fcn.1400cdcf0
test rax, rax
jne 0x140065c52
mov r8, r12
mov edx, 0x400000
mov rcx, rsi
call fcn.1400cdba0
inc r15d
add rbx, 8
cmp r15d, dword [rdi + 0x30]
jl 0x140065c25
lea r12, [0x1400f1601]
mov r15d, dword [rsp + 0x34]
test r15b, r15b
je 0x140065c7d
mov eax, dword [r13 + 0x3f68]
mov dword [rdi + 0xb4], eax
mov rdx, qword [rsp + 0x50]
cmp byte [rdx + 0xce], r14b
je 0x140065c92
mov ecx, 0xc
jmp 0x140065c9f
test r15b, r15b
mov rcx, r14
setne cl
add rcx, 0xa
movss xmm1, dword [rdx + 0x4c]
add rcx, rcx
mov rax, qword [0x1401284c0]
movss xmm2, dword [0x1400ede5c]
movss dword [rsp + 0x3c], xmm1
addss xmm1, dword [rdx + 0x54]
movups xmm0, xmmword [rax + rcx*8 + 0x39d8]
lea rcx, [rbp - 0x80]
movups xmmword [rbp - 0x68], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x3910]
movss dword [rsp + 0x44], xmm1
movss dword [rbp - 0x5c], xmm0
movss xmm0, dword [rdx + 0x48]
movss dword [rsp + 0x38], xmm0
addss xmm0, dword [rdx + 0x50]
lea rdx, [rsp + 0x38]
movss dword [rsp + 0x40], xmm0
call fcn.1400a4ab0
lea rcx, [rbp - 0x68]
mov ebx, eax
call fcn.14005a4d0
mov dword [rsp + 0x28], ebx
lea r8, [rbp - 0x78]
mov rbx, qword [rsp + 0x50]
lea rdx, [rbp - 0x80]
mov r9d, eax
movss xmm0, dword [rbx + 0x80]
mov rcx, qword [rbx + 0x2b8]
movss dword [rsp + 0x20], xmm0
call fcn.1400a3fb0
cmp byte [rsp + 0x30], r14b
je 0x140065ee4
movsxd rcx, dword [rbx + 0x108]
lea rdx, [0x1400f0929]
mov rax, qword [rbx + 0x110]
lea r10, [0x1400efee0]
mov r8b, 0x23
mov r9d, dword [rax + rcx*4 - 4]
not r9d
mov ebx, r9d
cmp r8b, 0x23
jne 0x140065d89
cmp byte [rdx], r8b
jne 0x140065d89
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x140065d76
mov rax, qword [0x1401284c0]
not ebx
cmp dword [rax + 0x403c], ebx
jne 0x140065dbd
mov dword [rax + 0x4040], ebx
cmp dword [rax + 0x4088], ebx
jne 0x140065dcc
mov byte [rax + 0x408c], 1
mov rax, qword [0x1401284c0]
cmp dword [rax + 0x4024], ebx
jne 0x140065df0
xor r9d, r9d
lea r8, str.COLLAPSE
mov ecx, ebx
lea edx, [r9 + 0xb]
call fcn.14005ad60
mov r8, rdi
lea rdx, [rbp - 0x70]
mov ecx, ebx
call fcn.1400bed50
test al, al
je 0x140065ebf
mov r9, qword [0x1401284c0]
mov dl, 0x23
mov rax, qword [r9 + 0x3fe8]
movsxd rcx, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
not r8d
mov ebx, r8d
nop
cmp dl, 0x23
jne 0x140065e44
cmp byte [r12], dl
jne 0x140065e44
cmp byte [r12 + 1], dl
cmove ebx, r8d
movzx ecx, bl
movzx eax, dl
movzx edx, byte [r12]
xor rcx, rax
shr ebx, 8
lea rax, [0x1400efee0]
inc r12
xor ebx, dword [rax + rcx*4]
test dl, dl
jne 0x140065e30
not ebx
mov rax, r9
cmp dword [r9 + 0x403c], ebx
jne 0x140065e82
mov dword [r9 + 0x4040], ebx
mov r9, qword [0x1401284c0]
cmp dword [rax + 0x4088], ebx
jne 0x140065e98
mov byte [rax + 0x408c], 1
mov r9, qword [0x1401284c0]
cmp dword [r9 + 0x4024], ebx
jne 0x140065eb6
xor r9d, r9d
lea r8, str.WindowMenu
mov ecx, ebx
lea edx, [r9 + 0xb]
call fcn.14005ad60
xor edx, edx
mov ecx, ebx
call fcn.1400747f0
mov rax, qword [0x1401284c0]
mov rbx, qword [rsp + 0x50]
mov ecx, dword [rax + 0x403c]
test ecx, ecx
je 0x140065ee4
cmp ecx, dword [rax + 0x40b8]
jne 0x140065ee4
mov eax, dword [rsi + 0x18]
mov dword [rsp + 0x48], eax
mov r9d, dword [rsi]
lea edx, [r9 - 1]
test edx, edx
js 0x140065f24
movsxd rax, edx
lea rcx, [rax + rax*2]
shl rcx, 4
nop word [rax + rax]
mov r8, qword [rsi + 8]
mov eax, dword [rcx + r8 + 4]
bt eax, 0x16
jae 0x140065f24
btr eax, 0x16
mov r9d, edx
mov dword [rcx + r8 + 4], eax
sub rcx, 0x30
sub edx, 1
jns 0x140065f00
mov ecx, dword [rsi]
cmp ecx, r9d
jle 0x140065f61
lea eax, [r9 + 1]
cmp ecx, eax
jle 0x140065f61
sub ecx, r9d
movsxd rdx, ecx
cmp rdx, 1
jbe 0x140065f61
movsxd rax, r9d
mov r8d, 0x30
lea r9, [0x140080030]
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 + 0x4270]
test rax, rax
je 0x140065f83
mov rcx, qword [rax + 0x398]
cmp qword [rcx + 0x418], rdi
jne 0x140065f83
mov eax, dword [rcx + 8]
mov dword [rsi + 0x18], eax
cmp qword [rbp - 0x50], r14
jne 0x140065fa4
mov edx, dword [rdi + 0xbc]
mov rcx, rsi
call fcn.1400cdcf0
test rax, rax
je 0x140065fa4
mov eax, dword [rdi + 0xbc]
jmp 0x140065fc3
movsxd rax, dword [rsi]
cmp eax, dword [rsp + 0x70]
jle 0x140065fc9
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
add rcx, rcx
mov rcx, qword [rax + rcx*8 - 0x28]
mov eax, dword [rcx + 0x90]
mov dword [rsi + 0x18], eax
mov dword [rsi + 0x1c], eax
mov r8d, 0x500003
cmp byte [rbx + 0xce], r14b
jne 0x140065fe4
test r15b, r15b
mov eax, 0x700003
cmovne r8d, eax
mov r9, rdi
lea rdx, [rbp - 0x48]
mov rcx, rsi
call fcn.1400bd4b0
mov ecx, 6
lea rax, [rbp - 0x28]
nop dword [rax]
mov qword [rax - 8], r14
mov qword [rax], r14
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x140066000
mov r12d, r14d
movups xmm1, xmmword [r13 + 0x39d8]
movaps xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [r13 + 0x3be8]
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [r13 + 0x3bf8]
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [r13 + 0x3c08]
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [r13 + 0x3c18]
movaps xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [r13 + 0x3c28]
mov qword [rdi + 0x90], r14
movaps xmmword [rbp + 0x20], xmm0
cmp dword [rdi + 0x30], r14d
jle 0x140066270
movss xmm6, dword [0x1400f3978]
lea r11, [0x1400f04e0]
mov r15, r14
lea r10, [0x1400f04f8]
nop word [rax + rax]
mov rax, qword [rdi + 0x38]
mov rbx, qword [r15 + rax]
cmp byte [rsp + 0x31], r14b
jne 0x1400660ab
mov eax, dword [rsp + 0x58]
cmp eax, dword [rbx + 0x90]
jne 0x1400660c1
cmp byte [rbx + 0xd5], r14b
je 0x1400660c1
test dword [rbx + 0xc], 0x100000
je 0x14006624b
mov eax, dword [rbx + 0x278]
inc eax
cmp eax, dword [r13 + 0x3f68]
jge 0x1400660e0
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x7c], eax
je 0x14006624b
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 + 0x3fc]
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 + 0x39d8], xmm3
cmp rdx, r10
jl 0x140066110
cmp byte [rbx + 0xd5], r14b
lea r8, [rsp + 0x30]
mov rdx, qword [rbx]
mov rcx, rsi
cmove r8, r14
mov byte [rsp + 0x30], 1
mov qword [rsp + 0x20], rbx
call fcn.1400cf6e0
cmp byte [rsp + 0x30], r14b
jne 0x1400661d0
mov eax, dword [rbx + 0x90]
mov dword [rdi + 0xc0], eax
mov eax, dword [rbx + 0x90]
cmp dword [rsi + 0x20], eax
jne 0x1400661e2
mov qword [rdi + 0x90], rbx
mov eax, dword [r13 + 0x40c0]
mov dword [rbx + 0x42c], eax
movups xmm0, xmmword [r13 + 0x40c4]
movups xmmword [rbx + 0x430], xmm0
mov rax, qword [r13 + 0x4270]
test rax, rax
je 0x14006623d
cmp qword [rax + 0x398], rbx
jne 0x14006623d
test byte [rbx + 0x170], 2
lea r10, [0x1400f04f8]
lea r11, [0x1400f04e0]
jne 0x14006624b
mov rcx, qword [rsp + 0x50]
mov eax, dword [rbx + 0x90]
mov dword [rcx + 0x3cc], eax
jmp 0x14006624b
lea r11, [0x1400f04e0]
lea r10, [0x1400f04f8]
inc r12d
add r15, 8
cmp r12d, dword [rdi + 0x30]
jl 0x140066090
movaps xmm1, xmmword [rbp - 0x30]
mov r15d, dword [rsp + 0x34]
nop word [rax + rax]
movups xmmword [r13 + 0x39d8], xmm1
movaps xmm0, xmmword [rbp - 0x20]
movups xmmword [r13 + 0x3be8], xmm0
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [r13 + 0x3bf8], xmm1
movaps xmm0, xmmword [rbp]
movups xmmword [r13 + 0x3c08], xmm0
movaps xmm1, xmmword [rbp + 0x10]
movups xmmword [r13 + 0x3c18], xmm1
movaps xmm0, xmmword [rbp + 0x20]
movups xmmword [r13 + 0x3c28], xmm0
mov rax, qword [rdi + 0x90]
test rax, rax
je 0x1400662da
mov rcx, qword [rsp + 0x60]
test r15b, r15b
jne 0x1400662d3
cmp qword [rcx + 0x90], r14
jne 0x1400662da
mov qword [rcx + 0x90], rax
movzx eax, byte [rdi + 0xc8]
and al, 8
je 0x140066302
mov rcx, qword [rdi + 0x90]
test rcx, rcx
je 0x140066302
cmp byte [rcx + 0xd5], r14b
je 0x140066302
mov r15b, 1
jmp 0x140066421
test al, al
je 0x140066572
mov rax, qword [0x1401284c0]
movaps xmmword [rsp + 0x170], xmm7
movaps xmmword [rsp + 0x160], xmm8
movaps xmmword [rsp + 0x150], xmm9
mov r15d, dword [rax + 0x40a0]
lea rbx, [rax + 0x41c8]
or r15d, 4
mov dword [rax + 0x40a0], r15d
mov ecx, dword [rbx + 4]
mov eax, dword [rbx]
cmp eax, ecx
jne 0x140066379
lea r8d, [rax + 1]
test ecx, ecx
je 0x140066360
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140066365
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.140085440
mov eax, dword [rbx]
movsxd rcx, eax
lea rdx, [rbp - 0x68]
mov rax, qword [rbx + 8]
mov dword [rbp - 0x68], r14d
mov dword [rax + rcx*4], r15d
inc dword [rbx]
mov rbx, qword [0x1401284c0]
movss xmm8, dword [r13 + 0x39e4]
movss xmm9, dword [r13 + 0x39d8]
movss xmm6, dword [r13 + 0x39dc]
movups xmm0, xmmword [rbx + 0x39d8]
lea rcx, [rbx + 0x4188]
movss xmm7, dword [r13 + 0x39e0]
mulss xmm8, dword [0x1400edbc0]
movups xmmword [rbp - 0x64], xmm0
call fcn.140084ef0
shufps xmm9, xmm9, 0xe1
xor r15b, r15b
movss xmm9, xmm6
shufps xmm9, xmm9, 0xc6
movss xmm9, xmm7
movaps xmm7, xmmword [rsp + 0x170]
shufps xmm9, xmm9, 0x27
movss xmm9, xmm8
movaps xmm8, xmmword [rsp + 0x160]
shufps xmm9, xmm9, 0x39
movups xmmword [rbx + 0x39d8], xmm9
movaps xmm9, xmmword [rsp + 0x150]
mov r12, qword [rsp + 0x50]
lea rdx, [0x1400f0df1]
mov r8b, 0x23
movsxd rcx, dword [r12 + 0x108]
mov rax, qword [r12 + 0x110]
mov r9d, dword [rax + rcx*4 - 4]
not r9d
mov ebx, r9d
nop dword [rax + rax]
cmp r8b, 0x23
jne 0x140066463
cmp byte [rdx], r8b
jne 0x140066463
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
lea rax, [0x1400efee0]
inc rdx
xor ebx, dword [rax + rcx*4]
test r8b, r8b
jne 0x140066450
mov rax, qword [0x1401284c0]
not ebx
cmp dword [rax + 0x403c], ebx
jne 0x14006649d
mov dword [rax + 0x4040], ebx
cmp dword [rax + 0x4088], ebx
jne 0x1400664ac
mov byte [rax + 0x408c], 1
mov rax, qword [0x1401284c0]
cmp dword [rax + 0x4024], ebx
jne 0x1400664d0
xor r9d, r9d
lea r8, str.CLOSE
mov ecx, ebx
lea edx, [r9 + 0xb]
call fcn.14005ad60
lea rdx, [rsp + 0x68]
mov ecx, ebx
call fcn.1400bea20
test al, al
je 0x14006650d
or byte [rdi + 0xc8], 0x40
mov ebx, r14d
cmp dword [rsi], r14d
jle 0x14006650d
nop
movsxd rax, ebx
mov rcx, rsi
lea rdx, [rax + rax*2]
shl rdx, 4
add rdx, qword [rsi + 8]
call fcn.1400cdc80
inc ebx
cmp ebx, dword [rsi]
jl 0x1400664f0
test r15b, r15b
jne 0x140066577
mov r8, qword [0x1401284c0]
mov rcx, qword [r8 + 0x4190]
movsxd rax, dword [r8 + 0x4188]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, rax
movups xmmword [r8 + rax*8 + 0x39d8], xmm0
dec dword [r8 + 0x4188]
mov rdx, qword [0x1401284c0]
movsxd rcx, dword [rdx + 0x41c8]
lea eax, [rcx - 1]
mov dword [rdx + 0x41c8], eax
mov rax, qword [rdx + 0x41d0]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rdx + 0x40a0], ecx
jmp 0x140066577
mov r12, qword [rsp + 0x50]
movsxd rcx, dword [r12 + 0x108]
lea rdx, [0x1400f1629]
mov rax, qword [r12 + 0x110]
mov r8b, 0x23
movaps xmm6, xmmword [rsp + 0x180]
mov r9d, dword [rax + rcx*4 - 4]
not r9d
mov ebx, r9d
cmp r8b, 0x23
jne 0x1400665b7
cmp byte [rdx], r8b
jne 0x1400665b7
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
lea rax, [0x1400efee0]
inc rdx
xor ebx, dword [rax + rcx*4]
test r8b, r8b
jne 0x1400665a4
mov rax, qword [0x1401284c0]
not ebx
cmp dword [rax + 0x403c], ebx
jne 0x1400665f1
mov dword [rax + 0x4040], ebx
cmp dword [rax + 0x4088], ebx
jne 0x140066600
mov byte [rax + 0x408c], 1
mov rax, qword [0x1401284c0]
cmp dword [rax + 0x4024], ebx
jne 0x140066624
xor r9d, r9d
lea r8, str.TITLEBAR
mov ecx, ebx
lea edx, [r9 + 0xb]
call fcn.14005ad60
mov eax, dword [r13 + 0x4028]
test eax, eax
je 0x140066640
cmp eax, ebx
je 0x140066640
cmp dword [r13 + 0x403c], ebx
jne 0x1400666ea
lea r9, [rsp + 0x31]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x80]
mov edx, ebx
call fcn.1400bde10
cmp dword [r13 + 0x4028], ebx
jne 0x140066696
mov dword [r13 + 0x40b8], ebx
mov rax, qword [0x1401284c0]
mov ecx, dword [rax + 0x40b8]
cmp dword [rax + 0x4028], ecx
jne 0x140066687
mov byte [rax + 0x4030], 1
cmp dword [rax + 0x403c], ecx
jne 0x140066696
mov byte [rax + 0x4049], 1
cmp byte [rsp + 0x31], r14b
je 0x1400666ea
mov rax, qword [0x1401284c0]
movss xmm0, dword [rax + 0x36f0]
ucomiss xmm0, xmm10
jp 0x1400666bf
jne 0x1400666bf
mov eax, dword [rsi + 0x18]
mov edx, eax
mov dword [rsp + 0x48], eax
jmp 0x1400666c2
mov edx, dword [rsi + 0x18]
mov rcx, rsi
call fcn.1400cdcf0
test rax, rax
je 0x1400666ea
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x1400666df
mov rcx, qword [rdi + 0x88]
xor r8d, r8d
mov rdx, rdi
call fcn.14007f8d0
mov edx, dword [rsi + 0x1c]
test edx, edx
movaps xmm10, xmmword [rsp + 0x140]
cmove edx, dword [rsp + 0x48]
test edx, edx
je 0x1400667ea
mov rcx, rsi
call fcn.1400cdcf0
mov rbx, rax
test rax, rax
je 0x1400667ea
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400667ea
call fcn.140069e40
mov rax, qword [rbx + 8]
mov rdx, qword [0x1401284c0]
mov ecx, dword [rax + 0xc]
bt ecx, 0x12
jae 0x14006674b
mov qword [rdx + 0x4278], r14
jmp 0x1400667ea
cmp rax, qword [rax + 0x398]
je 0x140066773
bt ecx, 0x1a
jb 0x140066773
mov ecx, dword [rax + 0x3c8]
test ecx, ecx
je 0x140066773
mov dword [rdx + 0x4278], ecx
mov dword [rdx + 0x427c], r14d
jmp 0x1400667ea
movsxd rax, dword [rdx + 0x42ac]
xorps xmm0, xmm0
mov dword [rdx + 0x42ac], eax
mov rcx, rax
mov rax, qword [rdx + 0x4270]
mov qword [rdx + 0x4278], r14
mov dword [rax + rcx*4 + 0x3c8], r14d
add rcx, 0x3d
mov rax, qword [rdx + 0x4270]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
mov word [rdx + 0x42b5], 1
mov dword [rdx + 0x42b8], r14d
movups xmmword [rdx + 0x42bc], xmm0
mov rax, qword [0x1401284c0]
cmp byte [rax + 0x42cd], r14b
jne 0x1400667e2
cmp byte [rax + 0x42b5], r14b
jne 0x1400667e2
xor cl, cl
jmp 0x1400667e4
mov cl, 1
mov byte [rax + 0x42b4], cl
call fcn.1400c4c90
mov rax, qword [0x1401284c0]
mov rsi, qword [rsp + 0x198]
mov rbx, qword [rsp + 0x1e0]
mov rcx, qword [rax + 0x3fe8]
dec dword [rcx + 0x108]
mov eax, dword [rdi + 0x10]
shr eax, 0xa
test al, 1
jne 0x140066832
movzx eax, byte [rsp + 0x32]
mov byte [r12 + 0xd0], al
mov dword [r12 + 0x16c], r14d
mov r12, qword [rsp + 0x190]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400e25b0
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
cmp dword [rdi + 0x30], r14d
jle 0x140066863
mov rax, qword [rdi + 0x38]
mov r14, qword [rax]
and cl, 0xfd
mov qword [rdi + 0x90], r14
movzx eax, r15b
add al, al
or cl, al
mov byte [rdi + 0xc8], cl
test r15b, r15b
je 0x14006688d
mov eax, dword [r13 + 0x3f68]
mov dword [rdi + 0xb4], eax
test r14, r14
je 0x14006683a
test r15b, r15b
jne 0x1400668a1
cmp qword [r9 + 0x90], 0
jne 0x1400668a8
mov qword [r9 + 0x90], r14
mov rdx, qword [rdi + 0x40]
test rdx, rdx
je 0x14006683a
mov rax, qword [rdi + 0x90]
mov ecx, dword [rax + 0x90]
mov dword [rdx + 0x20], ecx
jmp 0x14006683a