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

Disassembly:
push rbp
push rbx
push rdi
push r13
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x14025dcd8]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov eax, dword [rcx + 0xb0]
mov rdi, rcx
mov r13, qword [0x14025dfb0]
inc eax
mov r15, rdx
mov qword [rbp - 0x78], rdx
mov dword [rsp + 0x74], eax
movzx edx, byte [rdi + 0xc8]
mov ecx, dword [r13 + 0x3f60]
mov dword [rsp + 0x70], ecx
test dl, 0x40
je 0x1400133f2
mov byte [rsp + 0x32], 1
cmp eax, ecx
je 0x1400133f7
mov byte [rsp + 0x32], 0
xor ebx, ebx
cmp dword [rdi + 0xc0], ebx
je 0x14001340d
mov dword [rsp + 0x48], 1
cmp eax, ecx
je 0x140013411
mov dword [rsp + 0x48], ebx
and dl, 0xbf
mov dword [rdi + 0xc0], ebx
mov byte [rdi + 0xc8], dl
mov r8, rdi
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x50], rdi
test rax, rax
je 0x140013444
mov qword [rsp + 0x50], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140013431
mov r8, qword [rsp + 0x50]
mov rax, qword [0x14025dfb0]
mov qword [rsp + 0x180], r14
mov rcx, qword [rax + 0x4bd0]
test rcx, rcx
je 0x14001346f
cmp qword [rcx + 0x448], rdi
sete r14b
jmp 0x140013517
mov rcx, qword [rax + 0x4a68]
test rcx, rcx
je 0x140013514
mov eax, dword [rdi]
cmp dword [r8 + 0xb8], eax
jne 0x140013514
mov rcx, qword [rcx + 0x3b8]
test dword [rcx + 0x14], 0x10000000
je 0x1400134b7
nop
mov rax, qword [rcx + 0x3a8]
mov rcx, qword [rax + 0x3b8]
test dword [rcx + 0x14], 0x10000000
jne 0x1400134a0
mov rax, qword [rcx + 0x450]
test rax, rax
jne 0x1400134d0
mov rax, qword [rcx + 0x448]
test rax, rax
je 0x140013514
nop
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1400134ec
nop dword [rax]
mov rax, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1400134e0
cmp rax, r8
je 0x1400136b4
mov rax, qword [rax + 0x88]
test rax, rax
je 0x140013514
mov rax, qword [rax + 0x3b8]
mov rax, qword [rax + 0x448]
test rax, rax
jne 0x1400134d0
xor r14b, r14b
mov eax, dword [rdi + 0x10]
test eax, 0x3000
jne 0x140014374
movzx ecx, byte [r15 + 0xf0]
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x188], r12
shr eax, 0xa
movaps xmmword [rsp + 0x170], xmm6
movaps xmmword [rsp + 0x130], xmm10
mov byte [rsp + 0x33], cl
test al, 1
jne 0x14001356b
mov byte [r15 + 0xf0], bl
mov dword [r15 + 0x190], 1
mov ecx, dword [rdi]
call fcn.140020ea0
mov rax, qword [rdi + 0x40]
mov qword [rbp - 0x58], rax
mov rsi, rax
test rax, rax
jne 0x14001358e
mov rcx, rdi
call fcn.14000f050
mov rsi, qword [rdi + 0x40]
and byte [rdi + 0xc8], 0xfd
lea r12, [0x140249759]
movzx eax, r14b
mov dword [rsp + 0x34], ebx
add al, al
lea r11, [0x140247830]
or byte [rdi + 0xc8], al
test dword [rdi + 0x10], 0x4000
jne 0x1400136c0
cmp dword [r13 + 0x3908], 0xffffffff
je 0x1400136c0
mov rax, qword [0x14025dfb0]
mov rdx, r12
mov byte [rsp + 0x31], 1
mov r8b, 0x23
mov r10, qword [rax + 0x4008]
movsxd rcx, dword [r10 + 0x128]
mov rax, qword [r10 + 0x130]
mov r9d, dword [rax + rcx*4 - 4]
not r9d
mov ebx, r9d
cmp r8b, 0x23
jne 0x140013613
cmp byte [rdx], r8b
jne 0x140013613
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 [r11 + rcx*4]
test r8b, r8b
jne 0x140013600
mov rax, qword [r10]
not ebx
cmp dword [rax + 0x4050], ebx
jne 0x140013652
xor r9d, r9d
lea r8, str.WindowMenu
mov ecx, ebx
lea edx, [r9 + 0xb]
call fcn.14000c4f0
mov rdx, qword [0x14025dfb0]
movsxd rax, dword [rdx + 0x49e0]
cmp dword [rdx + 0x49d0], eax
jle 0x1400136bc
imul rcx, rax, 0x38
mov rax, qword [rdx + 0x49d8]
cmp dword [rcx + rax], ebx
jne 0x1400136bc
mov ebx, dword [rsi + 0x1c]
mov rdx, rsi
mov rcx, rdi
call fcn.140014510
mov eax, dword [rsi + 0x1c]
test eax, eax
je 0x14001369d
mov r8d, dword [rsp + 0x34]
cmp eax, ebx
cmovne r8d, eax
mov dword [rsp + 0x34], r8d
movzx edx, byte [rdi + 0xc8]
shr dl, 1
and dl, 1
or dl, r14b
mov byte [rsp + 0x30], dl
xor ebx, ebx
jmp 0x1400136c9
mov r14b, 1
jmp 0x140013517
xor ebx, ebx
jmp 0x1400136c4
mov byte [rsp + 0x31], bl
mov byte [rsp + 0x30], r14b
mov rax, qword [0x14025dfb0]
xorps xmm10, xmm10
movss xmm3, dword [rdi + 0x4c]
movss xmm4, dword [rdi + 0x48]
movaps xmm0, xmm3
movzx ecx, byte [rdi + 0xc8]
movaps xmm2, xmm4
mov qword [rsp + 0x58], 0
movss xmm1, dword [rax + 0x3920]
movss dword [rsp + 0x3c], xmm3
addss xmm1, xmm1
addss xmm0, dword [rax + 0x3d40]
movss dword [rsp + 0x78], xmm4
movss dword [rsp + 0x7c], xmm3
addss xmm2, dword [rdi + 0x50]
addss xmm1, xmm0
movss dword [rbp - 0x80], xmm2
movss dword [rbp - 0x7c], xmm1
movss xmm0, dword [rax + 0x38f4]
movss xmm6, dword [rax + 0x391c]
addss xmm4, xmm0
movss dword [rsp + 0x44], xmm1
subss xmm2, xmm0
movss xmm1, dword [rax + 0x3d40]
movaps xmm5, xmm6
addss xmm5, xmm4
subss xmm2, xmm6
movss dword [rsp + 0x38], xmm5
movss dword [rsp + 0x40], xmm2
test cl, 8
je 0x14001378c
subss xmm2, xmm1
movss dword [rsp + 0x5c], xmm3
movaps xmm0, xmm2
movss dword [rsp + 0x40], xmm2
subss xmm0, xmm6
movss dword [rsp + 0x58], xmm0
test cl, 0x10
je 0x1400137e5
cmp dword [rax + 0x3908], 0
jne 0x1400137ae
addss xmm1, dword [rax + 0x3934]
addss xmm1, xmm5
movss dword [rsp + 0x38], xmm1
jmp 0x1400137e5
cmp dword [rax + 0x3908], 1
jne 0x1400137e5
addss xmm1, dword [rax + 0x391c]
subss xmm2, xmm1
movaps xmm1, xmm2
movss dword [rsp + 0x40], xmm2
unpcklps xmm1, xmm3
movaps xmm0, xmm1
movsd qword [rsp + 0x68], xmm1
movss xmm4, dword [rsp + 0x68]
shufps xmm0, xmm0, 0x55
movaps xmm3, xmm0
cmp dword [rdi + 0x30], 0
mov r14d, ebx
movups xmm0, xmmword [rsp + 0x38]
movss dword [rsp + 0x60], xmm4
movups xmmword [rbp - 0x50], xmm0
movss dword [rsp + 0x64], xmm3
mov eax, dword [rsi]
mov dword [rsp + 0x68], eax
jle 0x14001384f
nop dword [rax]
mov rax, qword [rdi + 0x38]
mov rcx, rsi
mov r15, qword [rbx + rax]
mov edx, dword [r15 + 0xb0]
call fcn.14005a430
test rax, rax
jne 0x14001383c
mov r8, r15
mov edx, 0x400000
mov rcx, rsi
call fcn.14005a330
inc r14d
add rbx, 8
cmp r14d, dword [rdi + 0x30]
jl 0x140013810
mov r15, qword [rbp - 0x78]
xor ebx, ebx
movzx eax, byte [rsp + 0x30]
test al, al
je 0x14001386a
mov eax, dword [r13 + 0x3f60]
mov dword [rdi + 0xb4], eax
movzx eax, byte [rsp + 0x30]
cmp byte [r15 + 0xee], 0
je 0x14001387b
mov ecx, 0xc
jmp 0x140013887
test al, al
mov rcx, rbx
setne cl
add rcx, 0xa
mov rax, qword [0x14025dfb0]
lea rdx, [rsp + 0x38]
movss xmm1, dword [r15 + 0x54]
add rcx, rcx
movss xmm2, dword [0x140249c94]
movss dword [rsp + 0x3c], xmm1
addss xmm1, dword [r15 + 0x5c]
movups xmm0, xmmword [rax + rcx*8 + 0x39bc]
lea rcx, [rsp + 0x78]
movups xmmword [rbp - 0x70], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38e0]
movss dword [rsp + 0x44], xmm1
movss dword [rbp - 0x64], xmm0
movss xmm0, dword [r15 + 0x50]
movss dword [rsp + 0x38], xmm0
addss xmm0, dword [r15 + 0x58]
movss dword [rsp + 0x40], xmm0
call fcn.140031170
lea rcx, [rbp - 0x70]
mov ebx, eax
call fcn.14000be50
movss xmm0, dword [r15 + 0x88]
lea r8, [rbp - 0x80]
mov rcx, qword [r15 + 0x2d8]
lea rdx, [rsp + 0x78]
mov r9d, eax
mov dword [rsp + 0x28], ebx
movss dword [rsp + 0x20], xmm0
call fcn.140030590
cmp byte [rsp + 0x31], 0
je 0x140013a93
movsxd rcx, dword [r15 + 0x128]
lea rdx, [0x1402489e9]
mov rax, qword [r15 + 0x130]
lea r10, [0x140247830]
mov r8b, 0x23
mov r9d, dword [rax + rcx*4 - 4]
not r9d
mov ebx, r9d
cmp r8b, 0x23
jne 0x140013973
cmp byte [rdx], r8b
jne 0x140013973
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 0x140013960
mov rax, qword [r15]
not ebx
cmp dword [rax + 0x4050], ebx
jne 0x1400139b2
xor r9d, r9d
lea r8, str.COLLAPSE
mov ecx, ebx
lea edx, [r9 + 0xb]
call fcn.14000c4f0
mov r8, rdi
lea rdx, [rsp + 0x60]
mov ecx, ebx
call fcn.14004ee20
test al, al
je 0x140013a73
mov r14, qword [0x14025dfb0]
mov dl, 0x23
mov r9, qword [r14 + 0x4008]
movsxd rcx, dword [r9 + 0x128]
mov rax, qword [r9 + 0x130]
mov r8d, dword [rax + rcx*4 - 4]
not r8d
mov ebx, r8d
cmp dl, 0x23
jne 0x140013a06
cmp byte [r12], dl
jne 0x140013a06
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, [0x140247830]
inc r12
xor ebx, dword [rax + rcx*4]
test dl, dl
jne 0x1400139f2
mov rax, qword [r9]
not ebx
cmp dword [rax + 0x4050], ebx
jne 0x140013a4a
xor r9d, r9d
lea r8, str.WindowMenu
mov ecx, ebx
lea edx, [r9 + 0xb]
call fcn.14000c4f0
test byte [r14 + 0x5ea4], 4
je 0x140013a6a
mov r8d, ebx
lea rdx, str.WindowMenu
lea rcx, str._popup__OpenPopup___s_____0x_08X__n
call fcn.14000c880
xor edx, edx
mov ecx, ebx
call fcn.1400201d0
mov rax, qword [0x14025dfb0]
mov ecx, dword [rax + 0x4068]
test ecx, ecx
je 0x140013a93
cmp ecx, dword [rax + 0x48a4]
jne 0x140013a93
mov eax, dword [rsi + 0x18]
mov dword [rsp + 0x34], eax
mov r15d, dword [rsi]
lea ecx, [r15 - 1]
test ecx, ecx
js 0x140013ad4
movsxd rax, ecx
imul rdx, rax, 0x38
nop word [rax + rax]
mov r8, qword [rsi + 8]
mov eax, dword [r8 + rdx + 4]
bt eax, 0x16
jae 0x140013ad4
btr eax, 0x16
mov r15d, ecx
mov dword [r8 + rdx + 4], eax
sub rdx, 0x38
sub ecx, 1
jns 0x140013ab0
mov r8d, dword [rsi]
cmp r8d, r15d
jle 0x140013b97
test byte [r13 + 0x5ea4], 0x80
lea eax, [r15 + 1]
je 0x140013b14
mov edx, dword [rdi]
lea rcx, str.__will_sort_
cmp r8d, eax
lea r9, [0x140248a94]
cmovg r9, rcx
sub r8d, r15d
lea rcx, str._docking__In_node_0x_08X:__d_new_appearing_tabs:_s_n
call fcn.14000c880
mov ecx, dword [rsi]
mov r14d, r15d
movsxd rax, r15d
imul r12, rax, 0x38
cmp r15d, ecx
jge 0x140013b69
mov rbx, r12
nop dword [rax + rax]
test byte [r13 + 0x5ea4], 0x80
je 0x140013b5b
mov rax, qword [rsi + 8]
lea rcx, str._docking____Tab__s_Order__d_n
mov rdx, qword [rbx + rax + 8]
movsx r8d, word [rdx + 0x42e]
mov rdx, qword [rdx + 8]
call fcn.14000c880
mov ecx, dword [rsi]
inc r14d
add rbx, 0x38
cmp r14d, ecx
jl 0x140013b30
lea eax, [r15 + 1]
cmp ecx, eax
jle 0x140013b97
sub ecx, r15d
movsxd rdx, ecx
cmp rdx, 1
jbe 0x140013b97
mov rcx, qword [rsi + 8]
lea r9, [0x140027560]
add rcx, r12
mov r8d, 0x38
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov rax, qword [r13 + 0x4a68]
test rax, rax
je 0x140013bbc
mov rax, qword [rax + 0x3b8]
cmp qword [rax + 0x448], rdi
jne 0x140013bbc
mov eax, dword [rax + 0xb0]
mov dword [rsi + 0x18], eax
cmp qword [rbp - 0x58], 0
jne 0x140013bde
mov edx, dword [rdi + 0xbc]
mov rcx, rsi
call fcn.14005a430
test rax, rax
je 0x140013bde
mov eax, dword [rdi + 0xbc]
jmp 0x140013bfa
movsxd rax, dword [rsi]
cmp eax, dword [rsp + 0x68]
jle 0x140013c00
imul rcx, rax, 0x38
mov rax, qword [rsi + 8]
mov rcx, qword [rcx + rax - 0x30]
mov eax, dword [rcx + 0xb0]
mov dword [rsi + 0x18], eax
mov dword [rsi + 0x1c], eax
mov r12, qword [rbp - 0x78]
mov r8d, 0x500003
cmp byte [r12 + 0xee], 0
jne 0x140013c23
cmp byte [rsp + 0x30], 0
mov eax, 0x700003
cmovne r8d, eax
mov r9, rdi
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.14004da50
movups xmm0, xmmword [r13 + 0x3bcc]
xor r10d, r10d
mov r15d, r10d
movups xmm1, xmmword [r13 + 0x39bc]
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [r13 + 0x3bdc]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [r13 + 0x3bec]
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [r13 + 0x3bfc]
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [r13 + 0x3c0c]
mov qword [rdi + 0x90], r10
movaps xmmword [rbp + 0x10], xmm0
cmp dword [rdi + 0x30], r10d
jle 0x140013e90
movss xmm6, dword [0x140249c28]
lea r8, [0x140247c30]
mov r14d, r10d
lea r11, [0x140247c48]
nop word [rax + rax]
cmp byte [rsp + 0x32], 0
mov rax, qword [rdi + 0x38]
mov rbx, qword [r14 + rax]
jne 0x140013ccb
mov eax, dword [rsp + 0x48]
cmp eax, dword [rbx + 0xb0]
jne 0x140013ce1
cmp byte [rbx + 0xf5], 0
je 0x140013ce1
test dword [rbx + 0x14], 0x100000
je 0x140013e6f
mov eax, dword [rbx + 0x298]
inc eax
cmp eax, dword [r13 + 0x3f60]
jge 0x140013d00
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x74], eax
je 0x140013e6f
mov edx, dword [rbx + 0x2c]
lea rax, [0x140247c30]
or edx, 1
test dword [rbx + 0x14], 0x100000
cmove edx, dword [rbx + 0x2c]
mov r9d, edx
or r9d, 4
test byte [rsi + 0x10], 8
cmove r9d, edx
mov rdx, r8
mov r8, rbx
sub r8, rax
mov ecx, dword [r8 + rdx + 0x430]
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 + 0x39bc], xmm3
cmp rdx, r11
jl 0x140013d30
cmp byte [rbx + 0xf5], 0
lea r8, [rsp + 0x31]
mov rdx, qword [rbx + 8]
mov rcx, rsi
cmove r8, r10
mov byte [rsp + 0x31], 1
mov qword [rsp + 0x20], rbx
call fcn.14005bf20
cmp byte [rsp + 0x31], 0
jne 0x140013df1
mov eax, dword [rbx + 0xb0]
mov dword [rdi + 0xc0], eax
mov eax, dword [rbx + 0xb0]
cmp dword [rsi + 0x20], eax
jne 0x140013e03
mov qword [rdi + 0x90], rbx
mov eax, dword [r13 + 0x48ac]
mov dword [rbx + 0x45c], eax
movups xmm0, xmmword [r13 + 0x48b0]
movups xmmword [rbx + 0x460], xmm0
mov rax, qword [r13 + 0x4a68]
test rax, rax
je 0x140013e5e
cmp qword [rax + 0x3b8], rbx
jne 0x140013e5e
xor r10d, r10d
lea r11, [0x140247c48]
test byte [rbx + 0x194], 2
lea r8, [0x140247c30]
jne 0x140013e6f
mov eax, dword [rbx + 0xb0]
mov dword [r12 + 0x3ec], eax
jmp 0x140013e6f
lea r8, [0x140247c30]
xor r10d, r10d
lea r11, [0x140247c48]
inc r15d
add r14, 8
cmp r15d, dword [rdi + 0x30]
jl 0x140013cb0
movaps xmm1, xmmword [rbp - 0x40]
nop dword [rax]
nop dword [rax + rax]
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [r13 + 0x39bc], xmm1
movaps xmm1, xmmword [rbp - 0x20]
movups xmmword [r13 + 0x3bcc], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [r13 + 0x3bdc], xmm1
movaps xmm1, xmmword [rbp]
movups xmmword [r13 + 0x3bec], xmm0
movaps xmm0, xmmword [rbp + 0x10]
movups xmmword [r13 + 0x3bfc], xmm1
movups xmmword [r13 + 0x3c0c], xmm0
mov rax, qword [rdi + 0x90]
test rax, rax
je 0x140013efd
cmp byte [rsp + 0x30], 0
mov rcx, qword [rsp + 0x50]
jne 0x140013ef6
cmp qword [rcx + 0x90], 0
jne 0x140013efd
mov qword [rcx + 0x90], rax
movzx eax, byte [rdi + 0xc8]
and al, 8
je 0x140013f25
mov rcx, qword [rdi + 0x90]
test rcx, rcx
je 0x140013f25
cmp byte [rcx + 0xf5], 0
je 0x140013f25
mov r14b, 1
jmp 0x14001403d
test al, al
je 0x140014165
mov rax, qword [0x14025dfb0]
movaps xmmword [rsp + 0x160], xmm7
movaps xmmword [rsp + 0x150], xmm8
movaps xmmword [rsp + 0x140], xmm9
mov r14d, dword [rax + 0x4888]
lea rbx, [rax + 0x49b0]
or r14d, 4
mov dword [rax + 0x4888], r14d
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x140013f9b
inc r8d
test ecx, ecx
je 0x140013f84
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140013f89
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.14002d210
movsxd rcx, dword [rbx]
lea rdx, [rbp - 0x70]
mov rax, qword [rbx + 8]
mov dword [rbp - 0x70], 0
mov dword [rax + rcx*4], r14d
inc dword [rbx]
mov rbx, qword [0x14025dfb0]
movss xmm9, dword [r13 + 0x39c8]
movss xmm6, dword [r13 + 0x39bc]
movss xmm7, dword [r13 + 0x39c0]
movups xmm0, xmmword [rbx + 0x39bc]
lea rcx, [rbx + 0x4970]
movss xmm8, dword [r13 + 0x39c4]
mulss xmm9, dword [0x140249c4c]
movups xmmword [rbp - 0x6c], xmm0
call fcn.14002cdb0
movss dword [rbx + 0x39bc], xmm6
xor r14b, r14b
movss dword [rbx + 0x39c0], xmm7
movss dword [rbx + 0x39c4], xmm8
movss dword [rbx + 0x39c8], xmm9
movaps xmm9, xmmword [rsp + 0x140]
movaps xmm8, xmmword [rsp + 0x150]
movaps xmm7, xmmword [rsp + 0x160]
movsxd rcx, dword [r12 + 0x128]
lea rdx, [0x140248c89]
mov rax, qword [r12 + 0x130]
lea r15, [0x140247830]
mov r8b, 0x23
mov r9d, dword [rax + rcx*4 - 4]
not r9d
mov ebx, r9d
nop dword [rax]
cmp r8b, 0x23
jne 0x140014083
cmp byte [rdx], r8b
jne 0x140014083
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 [r15 + rcx*4]
test r8b, r8b
jne 0x140014070
mov rax, qword [r12]
not ebx
cmp dword [rax + 0x4050], ebx
jne 0x1400140c3
xor r9d, r9d
lea r8, str.CLOSE
mov ecx, ebx
lea edx, [r9 + 0xb]
call fcn.14000c4f0
lea rdx, [rsp + 0x58]
mov ecx, ebx
call fcn.14004eaf0
test al, al
je 0x1400140f9
or byte [rdi + 0xc8], 0x40
xor ebx, ebx
cmp dword [rsi], ebx
jle 0x1400140f9
movsxd rax, ebx
mov rcx, rsi
imul rdx, rax, 0x38
add rdx, qword [rsi + 8]
call fcn.14005a3c0
inc ebx
cmp ebx, dword [rsi]
jl 0x1400140e0
test r14b, r14b
jne 0x14001416c
mov r8, qword [0x14025dfb0]
movsxd rax, dword [r8 + 0x4970]
cmp eax, 1
jl 0x140014140
mov rcx, qword [r8 + 0x4978]
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 + 0x39bc], xmm0
dec dword [r8 + 0x4970]
mov r8, qword [0x14025dfb0]
movsxd rcx, dword [r8 + 0x49b0]
lea eax, [rcx - 1]
mov dword [r8 + 0x49b0], eax
mov rax, qword [r8 + 0x49b8]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [r8 + 0x4888], ecx
jmp 0x14001416c
lea r15, [0x140247830]
movsxd rcx, dword [r12 + 0x128]
lea r8, [0x1402497d1]
mov rax, qword [r12 + 0x130]
mov dl, 0x23
movaps xmm6, xmmword [rsp + 0x170]
mov r9d, dword [rax + rcx*4 - 4]
not r9d
mov ebx, r9d
cmp dl, 0x23
jne 0x1400141aa
cmp byte [r8], dl
jne 0x1400141aa
cmp byte [r8 + 1], dl
cmove ebx, r9d
movzx ecx, bl
movzx eax, dl
movzx edx, byte [r8]
xor rcx, rax
shr ebx, 8
inc r8
xor ebx, dword [r15 + rcx*4]
test dl, dl
jne 0x140014198
mov rax, qword [r12]
not ebx
cmp dword [rax + 0x4050], ebx
jne 0x1400141e8
xor r9d, r9d
lea r8, str.TITLEBAR
mov ecx, ebx
lea edx, [r9 + 0xb]
call fcn.14000c4f0
mov eax, dword [r13 + 0x4054]
test eax, eax
je 0x140014204
cmp eax, ebx
je 0x140014204
cmp dword [r13 + 0x4068], ebx
jne 0x1400142c3
lea r9, [rsp + 0x32]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rsp + 0x78]
mov edx, ebx
call fcn.14004ddf0
cmp dword [r13 + 0x4054], ebx
jne 0x14001425b
mov dword [r13 + 0x48a4], ebx
mov rax, qword [0x14025dfb0]
mov ecx, dword [rax + 0x48a4]
cmp dword [rax + 0x4054], ecx
jne 0x14001424c
mov byte [rax + 0x405c], 1
cmp dword [rax + 0x4068], ecx
jne 0x14001425b
mov byte [rax + 0x4075], 1
cmp byte [rsp + 0x32], 0
je 0x1400142c3
mov rax, qword [0x14025dfb0]
cmp byte [rax + 0xe18], 0
je 0x140014298
movss xmm0, dword [rax + 0x3788]
comiss xmm10, xmm0
ja 0x140014298
ucomiss xmm0, xmm10
jp 0x140014298
jne 0x140014298
cmp byte [rax + 0x46c4], 0
jne 0x140014298
mov eax, dword [rsi + 0x18]
mov dword [rsp + 0x34], eax
mov edx, dword [rsi + 0x18]
mov rcx, rsi
call fcn.14005a430
test rax, rax
je 0x1400142c3
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x1400142b8
mov rcx, qword [rdi + 0x88]
xor r8d, r8d
mov rdx, rdi
call fcn.1400273a0
mov edx, dword [rsi + 0x1c]
test edx, edx
movaps xmm10, xmmword [rsp + 0x130]
cmove edx, dword [rsp + 0x34]
test edx, edx
je 0x140014305
mov rcx, rsi
call fcn.14005a430
mov rbx, rax
test rax, rax
je 0x140014305
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140014305
xor edx, edx
call fcn.1400174b0
mov rcx, qword [rbx + 8]
xor edx, edx
call fcn.14001b6e0
call fcn.140053ae0
mov rax, qword [0x14025dfb0]
mov rsi, qword [rsp + 0x1d0]
mov rcx, qword [rax + 0x4008]
dec dword [rcx + 0x128]
mov eax, dword [rdi + 0x10]
shr eax, 0xa
test al, 1
jne 0x140014349
movzx eax, byte [rsp + 0x33]
mov byte [r12 + 0xf0], al
mov dword [r12 + 0x190], 0
mov r12, qword [rsp + 0x188]
mov r14, qword [rsp + 0x180]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14008fda0
add rsp, 0x190
pop r15
pop r13
pop rdi
pop rbx
pop rbp
ret
cmp dword [rdi + 0x30], ebx
jle 0x140014380
mov rax, qword [rdi + 0x38]
mov rbx, qword [rax]
and dl, 0xfd
mov qword [rdi + 0x90], rbx
movzx eax, r14b
add al, al
or al, dl
mov byte [rdi + 0xc8], al
test r14b, r14b
je 0x1400143aa
mov eax, dword [r13 + 0x3f60]
mov dword [rdi + 0xb4], eax
test rbx, rbx
je 0x140014351
test r14b, r14b
jne 0x1400143be
cmp qword [r8 + 0x90], 0
jne 0x1400143c5
mov qword [r8 + 0x90], rbx
mov rdx, qword [rdi + 0x40]
test rdx, rdx
je 0x140014351
mov rax, qword [rdi + 0x90]
mov ecx, dword [rax + 0xb0]
mov dword [rdx + 0x20], ecx
jmp 0x140014351