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

Disassembly:
push rbp
push rbx
push rdi
push r14
lea rbp, [rsp - 0x98]
sub rsp, 0x198
mov rax, qword [0x140107280]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov eax, dword [rcx + 0xb0]
mov rdi, rcx
mov r14, qword [0x14010c048]
inc eax
mov r9, rdx
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x7c], eax
movzx edx, byte [rdi + 0xc8]
mov ecx, dword [r14 + 0x3f58]
mov dword [rsp + 0x78], ecx
test dl, 0x40
je 0x140052a81
mov byte [rsp + 0x32], 1
cmp eax, ecx
je 0x140052a86
mov byte [rsp + 0x32], 0
xor ebx, ebx
cmp dword [rdi + 0xc0], ebx
je 0x140052a9c
mov dword [rsp + 0x50], 1
cmp eax, ecx
je 0x140052aa0
mov dword [rsp + 0x50], 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 + 0x60], rdi
test rax, rax
je 0x140052ad3
mov qword [rsp + 0x60], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140052ac0
mov r8, qword [rsp + 0x60]
mov rax, qword [0x14010c048]
mov qword [rsp + 0x180], r15
mov rcx, qword [rax + 0x4b98]
test rcx, rcx
je 0x140052afe
cmp qword [rcx + 0x430], rdi
sete r15b
jmp 0x140052ba7
mov rcx, qword [rax + 0x4a28]
test rcx, rcx
je 0x140052ba4
mov eax, dword [rdi]
cmp dword [r8 + 0xb8], eax
jne 0x140052ba4
mov rcx, qword [rcx + 0x3b0]
test dword [rcx + 0xc], 0x10000000
je 0x140052b47
nop dword [rax]
mov rax, qword [rcx + 0x3a0]
mov rcx, qword [rax + 0x3b0]
test dword [rcx + 0xc], 0x10000000
jne 0x140052b30
mov rax, qword [rcx + 0x438]
test rax, rax
jne 0x140052b60
mov rax, qword [rcx + 0x430]
test rax, rax
je 0x140052ba4
nop
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140052b7c
nop dword [rax]
mov rax, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x140052b70
cmp rax, r8
je 0x140052d41
mov rax, qword [rax + 0x88]
test rax, rax
je 0x140052ba4
mov rax, qword [rax + 0x3b0]
mov rax, qword [rax + 0x430]
test rax, rax
jne 0x140052b60
xor r15b, r15b
mov eax, dword [rdi + 0x10]
test eax, 0x3000
jne 0x140053a00
movzx ecx, byte [r9 + 0xe8]
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x190], r12
mov qword [rsp + 0x188], r13
shr eax, 0xa
movaps xmmword [rsp + 0x170], xmm6
movaps xmmword [rsp + 0x130], xmm10
mov byte [rsp + 0x33], cl
test al, 1
jne 0x140052c03
mov byte [r9 + 0xe8], bl
mov dword [r9 + 0x188], 1
mov ecx, dword [rdi]
call fcn.14005fe70
mov rax, qword [rdi + 0x40]
mov qword [rbp - 0x60], rax
mov rsi, rax
test rax, rax
jne 0x140052c26
mov rcx, rdi
call fcn.14004e6a0
mov rsi, qword [rdi + 0x40]
and byte [rdi + 0xc8], 0xfd
lea r12, [0x1400dbcb9]
movzx eax, r15b
mov dword [rsp + 0x34], ebx
add al, al
lea r10, [0x1400d9f90]
or byte [rdi + 0xc8], al
test dword [rdi + 0x10], 0x4000
jne 0x140052d4d
cmp dword [r14 + 0x3918], 0xffffffff
je 0x140052d4d
mov rax, qword [0x14010c048]
mov rdx, r12
mov byte [rsp + 0x31], 1
mov r8b, 0x23
mov rax, qword [rax + 0x3fd8]
movsxd rcx, dword [rax + 0x120]
mov rax, qword [rax + 0x128]
mov r9d, dword [rax + rcx*4 - 4]
not r9d
mov ebx, r9d
cmp r8b, 0x23
jne 0x140052cab
cmp byte [rdx], r8b
jne 0x140052cab
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 0x140052c98
mov rax, qword [0x14010c048]
not ebx
cmp dword [rax + 0x4020], ebx
jne 0x140052cee
xor r9d, r9d
lea r8, str.WindowMenu
mov ecx, ebx
lea edx, [r9 + 0xb]
call fcn.14004bd40
mov rdx, qword [0x14010c048]
movsxd rax, dword [rdx + 0x49b0]
cmp dword [rdx + 0x49a0], eax
jle 0x140052d49
imul rcx, rax, 0x38
mov rax, qword [rdx + 0x49a8]
cmp dword [rcx + rax], ebx
jne 0x140052d49
mov rdx, rsi
mov rcx, rdi
call fcn.140053a70
test eax, eax
je 0x140052d2a
mov dword [rsi + 0x1c], eax
mov dword [rsp + 0x34], eax
movzx edx, byte [rdi + 0xc8]
shr dl, 1
and dl, 1
or dl, r15b
mov byte [rsp + 0x30], dl
xor ebx, ebx
jmp 0x140052d56
mov r15b, 1
jmp 0x140052ba7
xor ebx, ebx
jmp 0x140052d51
mov byte [rsp + 0x31], bl
mov byte [rsp + 0x30], r15b
mov rax, qword [0x14010c048]
xorps xmm10, xmm10
movss xmm3, dword [rdi + 0x4c]
movss xmm4, dword [rdi + 0x48]
movaps xmm1, xmm3
movzx ecx, byte [rdi + 0xc8]
movaps xmm2, xmm4
mov qword [rsp + 0x68], 0
movss xmm0, dword [rax + 0x3930]
movss dword [rsp + 0x3c], xmm3
addss xmm0, xmm0
addss xmm1, dword [rax + 0x3d38]
movss dword [rbp - 0x80], xmm4
movss dword [rbp - 0x7c], xmm3
addss xmm2, dword [rdi + 0x50]
addss xmm1, xmm0
movss dword [rbp - 0x78], xmm2
movss dword [rbp - 0x74], xmm1
movss xmm0, dword [rax + 0x3904]
movss xmm6, dword [rax + 0x392c]
addss xmm4, xmm0
movss dword [rsp + 0x44], xmm1
subss xmm2, xmm0
movss xmm1, dword [rax + 0x3d38]
movaps xmm5, xmm6
addss xmm5, xmm4
subss xmm2, xmm6
movss dword [rsp + 0x38], xmm5
movss dword [rsp + 0x40], xmm2
test cl, 8
je 0x140052e17
subss xmm2, xmm1
movss dword [rsp + 0x6c], xmm3
movaps xmm0, xmm2
movss dword [rsp + 0x40], xmm2
subss xmm0, xmm6
movss dword [rsp + 0x68], xmm0
test cl, 0x10
je 0x140052e6e
cmp dword [rax + 0x3918], 0
jne 0x140052e39
addss xmm1, dword [rax + 0x3944]
addss xmm1, xmm5
movss dword [rsp + 0x38], xmm1
jmp 0x140052e6e
cmp dword [rax + 0x3918], 1
jne 0x140052e6e
addss xmm1, dword [rax + 0x392c]
subss xmm2, xmm1
movaps xmm1, xmm2
movss dword [rsp + 0x40], xmm2
unpcklps xmm1, xmm3
movaps xmm0, xmm1
movsd qword [rbp - 0x70], xmm1
movss xmm4, dword [rbp - 0x70]
shufps xmm0, xmm0, 0x55
movaps xmm3, xmm0
cmp dword [rdi + 0x30], 0
mov r15d, ebx
movups xmm0, xmmword [rsp + 0x38]
movss dword [rsp + 0x70], xmm4
movups xmmword [rbp - 0x58], xmm0
movss dword [rsp + 0x74], xmm3
mov r13d, dword [rsi]
mov dword [rbp - 0x70], r13d
jle 0x140052ed2
mov rax, qword [rdi + 0x38]
mov rcx, rsi
mov r13, qword [rbx + rax]
mov edx, dword [r13 + 0xa8]
call fcn.140092690
test rax, rax
jne 0x140052ebf
mov r8, r13
mov edx, 0x400000
mov rcx, rsi
call fcn.140092590
inc r15d
add rbx, 8
cmp r15d, dword [rdi + 0x30]
jl 0x140052e93
mov r13d, dword [rbp - 0x70]
xor ebx, ebx
movzx eax, byte [rsp + 0x30]
test al, al
je 0x140052eed
mov eax, dword [r14 + 0x3f58]
mov dword [rdi + 0xb4], eax
movzx eax, byte [rsp + 0x30]
mov r15, qword [rsp + 0x58]
cmp byte [r15 + 0xe6], 0
je 0x140052f03
mov ecx, 0xc
jmp 0x140052f0f
test al, al
mov rcx, rbx
setne cl
add rcx, 0xa
mov rax, qword [0x14010c048]
lea rdx, [rsp + 0x38]
movss xmm1, dword [r15 + 0x4c]
add rcx, rcx
movss xmm2, dword [0x1400d92a4]
movss dword [rsp + 0x3c], xmm1
addss xmm1, dword [r15 + 0x54]
movups xmm0, xmmword [rax + rcx*8 + 0x39b8]
lea rcx, [rbp - 0x80]
movups xmmword [rbp - 0x70], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38f0]
movss dword [rsp + 0x44], xmm1
movss dword [rbp - 0x64], xmm0
movss xmm0, dword [r15 + 0x48]
movss dword [rsp + 0x38], xmm0
addss xmm0, dword [r15 + 0x50]
movss dword [rsp + 0x40], xmm0
call fcn.14006f410
lea rcx, [rbp - 0x70]
mov ebx, eax
call fcn.14004b6e0
movss xmm0, dword [r15 + 0x80]
lea r8, [rbp - 0x78]
mov rcx, qword [r15 + 0x2d0]
lea rdx, [rbp - 0x80]
mov r9d, eax
mov dword [rsp + 0x28], ebx
movss dword [rsp + 0x20], xmm0
call fcn.14006eb80
cmp byte [rsp + 0x31], 0
je 0x14005311f
movsxd rcx, dword [r15 + 0x120]
lea rdx, [0x1400dab79]
mov rax, qword [r15 + 0x128]
lea r10, [0x1400d9f90]
mov r8b, 0x23
mov r9d, dword [rax + rcx*4 - 4]
not r9d
mov ebx, r9d
cmp r8b, 0x23
jne 0x140052ff9
cmp byte [rdx], r8b
jne 0x140052ff9
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 0x140052fe6
mov rax, qword [0x14010c048]
not ebx
cmp dword [rax + 0x4020], ebx
jne 0x14005303c
xor r9d, r9d
lea r8, str.COLLAPSE
mov ecx, ebx
lea edx, [r9 + 0xb]
call fcn.14004bd40
mov r8, rdi
lea rdx, [rsp + 0x70]
mov ecx, ebx
call fcn.14008b230
test al, al
je 0x1400530ff
mov r15, qword [0x14010c048]
mov dl, 0x23
mov rax, qword [r15 + 0x3fd8]
movsxd rcx, dword [rax + 0x120]
mov rax, qword [rax + 0x128]
mov r8d, dword [rax + rcx*4 - 4]
not r8d
mov ebx, r8d
nop dword [rax]
cmp dl, 0x23
jne 0x140053094
cmp byte [r12], dl
jne 0x140053094
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, [0x1400d9f90]
inc r12
xor ebx, dword [rax + rcx*4]
test dl, dl
jne 0x140053080
not ebx
cmp dword [r15 + 0x4020], ebx
jne 0x1400530d6
xor r9d, r9d
lea r8, str.WindowMenu
mov ecx, ebx
lea edx, [r9 + 0xb]
call fcn.14004bd40
test byte [r15 + 0x5e44], 4
je 0x1400530f6
mov r8d, ebx
lea rdx, str.WindowMenu
lea rcx, str._popup__OpenPopup___s_____0x_08X_n
call fcn.14004c0d0
xor edx, edx
mov ecx, ebx
call fcn.14005f150
mov rax, qword [0x14010c048]
mov ecx, dword [rax + 0x4038]
test ecx, ecx
je 0x14005311f
cmp ecx, dword [rax + 0x4874]
jne 0x14005311f
mov eax, dword [rsi + 0x18]
mov dword [rsp + 0x34], eax
mov ebx, dword [rsi]
lea ecx, [rbx - 1]
test ecx, ecx
js 0x140053153
movsxd rax, ecx
imul rdx, rax, 0x38
nop
mov r8, qword [rsi + 8]
mov eax, dword [r8 + rdx + 4]
bt eax, 0x16
jae 0x140053153
btr eax, 0x16
mov ebx, ecx
mov dword [r8 + rdx + 4], eax
sub rdx, 0x38
sub ecx, 1
jns 0x140053130
mov r8d, dword [rsi]
cmp r8d, ebx
jle 0x140053209
test byte [r14 + 0x5e44], 0x40
je 0x140053192
mov edx, dword [rdi]
lea eax, [rbx + 1]
cmp r8d, eax
lea rcx, str.__will_sort_
lea r9, [0x1400efe40]
cmovg r9, rcx
sub r8d, ebx
lea rcx, str._docking__In_node_0x_08X:__d_new_appearing_tabs:_s_n
call fcn.14004c0d0
mov ecx, dword [rsi]
mov r12d, ebx
cmp ebx, ecx
jge 0x1400531da
movsxd rax, ebx
imul r15, rax, 0x38
test byte [r14 + 0x5e44], 0x40
je 0x1400531cc
mov rax, qword [rsi + 8]
lea rcx, str._docking____Tab__s_Order__d_n
mov rdx, qword [rax + r15 + 8]
movsx r8d, word [rdx + 0x416]
mov rdx, qword [rdx]
call fcn.14004c0d0
mov ecx, dword [rsi]
inc r12d
add r15, 0x38
cmp r12d, ecx
jl 0x1400531a2
lea eax, [rbx + 1]
cmp ecx, eax
jle 0x140053209
sub ecx, ebx
movsxd rdx, ecx
cmp rdx, 1
jbe 0x140053209
movsxd rax, ebx
lea r9, [0x1400658c0]
imul rcx, rax, 0x38
mov r8d, 0x38
add rcx, qword [rsi + 8]
call fcn.1400b0ef0
mov rax, qword [r14 + 0x4a28]
test rax, rax
je 0x14005322e
mov rax, qword [rax + 0x3b0]
cmp qword [rax + 0x430], rdi
jne 0x14005322e
mov eax, dword [rax + 0xa8]
mov dword [rsi + 0x18], eax
cmp qword [rbp - 0x60], 0
jne 0x140053250
mov edx, dword [rdi + 0xbc]
mov rcx, rsi
call fcn.140092690
test rax, rax
je 0x140053250
mov eax, dword [rdi + 0xbc]
jmp 0x14005326b
movsxd rax, dword [rsi]
cmp eax, r13d
jle 0x140053271
imul rcx, rax, 0x38
mov rax, qword [rsi + 8]
mov rcx, qword [rcx + rax - 0x30]
mov eax, dword [rcx + 0xa8]
mov dword [rsi + 0x18], eax
mov dword [rsi + 0x1c], eax
mov rax, qword [rsp + 0x58]
mov r8d, 0x500003
movzx r13d, byte [rsp + 0x30]
cmp byte [rax + 0xe6], 0
jne 0x140053297
test r13b, r13b
mov eax, 0x700003
cmovne r8d, eax
mov r9, rdi
lea rdx, [rbp - 0x58]
mov rcx, rsi
call fcn.140089ec0
movups xmm0, xmmword [r14 + 0x3bc8]
xor eax, eax
mov r12d, eax
movups xmm1, xmmword [r14 + 0x3bd8]
movups xmm2, xmmword [r14 + 0x39b8]
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [r14 + 0x3be8]
movaps xmmword [rbp - 0x20], xmm1
movups xmm1, xmmword [r14 + 0x3bf8]
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [r14 + 0x3c08]
mov qword [rdi + 0x90], rax
movaps xmmword [rbp - 0x40], xmm2
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm1
cmp dword [rdi + 0x30], eax
jle 0x140053500
movss xmm6, dword [0x1400d7350]
lea r11, [0x1400da610]
xor r13d, r13d
lea r10, [0x1400da628]
mov r15d, r13d
nop
mov rax, qword [rdi + 0x38]
mov rbx, qword [r15 + rax]
cmp byte [rsp + 0x32], r13b
jne 0x14005333b
mov eax, dword [rsp + 0x50]
cmp eax, dword [rbx + 0xa8]
jne 0x140053351
cmp byte [rbx + 0xed], r13b
je 0x140053351
test dword [rbx + 0xc], 0x100000
je 0x1400534e0
mov eax, dword [rbx + 0x290]
inc eax
cmp eax, dword [r14 + 0x3f58]
jge 0x140053370
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x7c], eax
je 0x1400534e0
mov edx, dword [rbx + 0x24]
mov r8, rbx
or edx, 1
test dword [rbx + 0xc], 0x100000
cmove edx, dword [rbx + 0x24]
mov r9d, edx
or r9d, 4
test byte [rsi + 0x10], 8
cmove r9d, edx
mov rdx, r11
sub r8, r11
nop dword [rax]
mov ecx, dword [r8 + rdx + 0x418]
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 [rsp + 0x38], xmm3
movups xmmword [r14 + rax*8 + 0x39b8], xmm3
cmp rdx, r10
jl 0x1400533a0
cmp byte [rbx + 0xed], r13b
lea r8, [rsp + 0x31]
mov rdx, qword [rbx]
mov rcx, rsi
cmove r8, r13
mov byte [rsp + 0x31], 1
mov qword [rsp + 0x20], rbx
call fcn.140094030
cmp byte [rsp + 0x31], r13b
jne 0x140053465
mov eax, dword [rbx + 0xa8]
mov dword [rdi + 0xc0], eax
mov eax, dword [rbx + 0xa8]
cmp dword [rsi + 0x20], eax
jne 0x140053477
mov qword [rdi + 0x90], rbx
mov eax, dword [r14 + 0x487c]
mov dword [rbx + 0x444], eax
movups xmm0, xmmword [r14 + 0x4880]
movups xmmword [rbx + 0x448], xmm0
mov rax, qword [r14 + 0x4a28]
test rax, rax
je 0x1400534d2
cmp qword [rax + 0x3b0], rbx
jne 0x1400534d2
test byte [rbx + 0x18c], 2
lea r10, [0x1400da628]
lea r11, [0x1400da610]
jne 0x1400534e0
mov rcx, qword [rsp + 0x58]
mov eax, dword [rbx + 0xa8]
mov dword [rcx + 0x3e4], eax
jmp 0x1400534e0
lea r11, [0x1400da610]
lea r10, [0x1400da628]
inc r12d
add r15, 8
cmp r12d, dword [rdi + 0x30]
jl 0x140053320
movaps xmm2, xmmword [rbp - 0x40]
movzx r13d, byte [rsp + 0x30]
nop dword [rax + rax]
movaps xmm0, xmmword [rbp - 0x30]
movaps xmm1, xmmword [rbp - 0x20]
movups xmmword [r14 + 0x39b8], xmm2
movups xmmword [r14 + 0x3bc8], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [r14 + 0x3bd8], xmm1
movaps xmm1, xmmword [rbp]
movups xmmword [r14 + 0x3be8], xmm0
movaps xmm0, xmmword [rbp + 0x10]
movups xmmword [r14 + 0x3bf8], xmm1
movups xmmword [r14 + 0x3c08], xmm0
mov rax, qword [rdi + 0x90]
test rax, rax
je 0x14005356b
mov rcx, qword [rsp + 0x60]
test r13b, r13b
jne 0x140053564
cmp qword [rcx + 0x90], 0
jne 0x14005356b
mov qword [rcx + 0x90], rax
movzx eax, byte [rdi + 0xc8]
and al, 8
je 0x140053593
mov rcx, qword [rdi + 0x90]
test rcx, rcx
je 0x140053593
cmp byte [rcx + 0xed], 0
je 0x140053593
mov r15b, 1
jmp 0x1400536ae
test al, al
je 0x1400537e5
mov rax, qword [0x14010c048]
movaps xmmword [rsp + 0x160], xmm7
movaps xmmword [rsp + 0x150], xmm8
movaps xmmword [rsp + 0x140], xmm9
mov r15d, dword [rax + 0x4858]
lea rbx, [rax + 0x4980]
or r15d, 4
mov dword [rax + 0x4858], r15d
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x140053609
inc r8d
test ecx, ecx
je 0x1400535f2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400535f7
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.14006b800
movsxd rcx, dword [rbx]
lea rdx, [rsp + 0x38]
mov rax, qword [rbx + 8]
mov dword [rsp + 0x38], 0
mov dword [rax + rcx*4], r15d
inc dword [rbx]
mov rbx, qword [0x14010c048]
movss xmm6, dword [r14 + 0x39b8]
movss xmm7, dword [r14 + 0x39bc]
movss xmm8, dword [r14 + 0x39c0]
movups xmm0, xmmword [rbx + 0x39b8]
lea rcx, [rbx + 0x4940]
movss xmm9, dword [r14 + 0x39c4]
movups xmmword [rsp + 0x3c], xmm0
call fcn.14006b320
movss dword [rbx + 0x39b8], xmm6
xor r15b, r15b
movss dword [rbx + 0x39bc], xmm7
movss dword [rbx + 0x39c0], xmm8
mulss xmm9, dword [0x1400dc180]
movss dword [rbx + 0x39c4], xmm9
movaps xmm9, xmmword [rsp + 0x140]
movaps xmm8, xmmword [rsp + 0x150]
movaps xmm7, xmmword [rsp + 0x160]
mov r13, qword [rsp + 0x58]
lea rdx, [0x1400dad79]
mov r8b, 0x23
lea r12, [0x1400d9f90]
movsxd rcx, dword [r13 + 0x120]
mov rax, qword [r13 + 0x128]
mov r9d, dword [rax + rcx*4 - 4]
not r9d
mov ebx, r9d
nop dword [rax]
cmp r8b, 0x23
jne 0x1400536f3
cmp byte [rdx], r8b
jne 0x1400536f3
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 [r12 + rcx*4]
test r8b, r8b
jne 0x1400536e0
mov rax, qword [0x14010c048]
not ebx
cmp dword [rax + 0x4020], ebx
jne 0x140053736
xor r9d, r9d
lea r8, str.CLOSE
mov ecx, ebx
lea edx, [r9 + 0xb]
call fcn.14004bd40
lea rdx, [rsp + 0x68]
mov ecx, ebx
call fcn.14008aef0
test al, al
je 0x140053779
or byte [rdi + 0xc8], 0x40
xor ebx, ebx
cmp dword [rsi], ebx
jle 0x140053779
nop dword [rax]
nop word [rax + rax]
movsxd rax, ebx
mov rcx, rsi
imul rdx, rax, 0x38
add rdx, qword [rsi + 8]
call fcn.140092620
inc ebx
cmp ebx, dword [rsi]
jl 0x140053760
test r15b, r15b
jne 0x1400537f1
mov r8, qword [0x14010c048]
movsxd rax, dword [r8 + 0x4940]
cmp eax, 1
jl 0x1400537c0
mov rcx, qword [r8 + 0x4948]
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 + 0x39b8], xmm0
dec dword [r8 + 0x4940]
mov r8, qword [0x14010c048]
movsxd rcx, dword [r8 + 0x4980]
lea eax, [rcx - 1]
mov dword [r8 + 0x4980], eax
mov rax, qword [r8 + 0x4988]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [r8 + 0x4858], ecx
jmp 0x1400537f1
mov r13, qword [rsp + 0x58]
lea r12, [0x1400d9f90]
movsxd rcx, dword [r13 + 0x120]
lea r8, [0x1400dbd31]
mov rax, qword [r13 + 0x128]
mov dl, 0x23
movaps xmm6, xmmword [rsp + 0x170]
mov r9d, dword [rax + rcx*4 - 4]
not r9d
mov ebx, r9d
nop dword [rax + rax]
cmp dl, 0x23
jne 0x140053832
cmp byte [r8], dl
jne 0x140053832
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 [r12 + rcx*4]
test dl, dl
jne 0x140053820
mov rax, qword [0x14010c048]
not ebx
mov r12, qword [rsp + 0x190]
cmp dword [rax + 0x4020], ebx
jne 0x14005387b
xor r9d, r9d
lea r8, str.TITLEBAR
mov ecx, ebx
lea edx, [r9 + 0xb]
call fcn.14004bd40
mov eax, dword [r14 + 0x4024]
test eax, eax
je 0x140053897
cmp eax, ebx
je 0x140053897
cmp dword [r14 + 0x4038], ebx
jne 0x140053955
lea r9, [rsp + 0x32]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x80]
mov edx, ebx
call fcn.14008a280
cmp dword [r14 + 0x4024], ebx
jne 0x1400538ed
mov dword [r14 + 0x4874], ebx
mov rax, qword [0x14010c048]
mov ecx, dword [rax + 0x4874]
cmp dword [rax + 0x4024], ecx
jne 0x1400538de
mov byte [rax + 0x402c], 1
cmp dword [rax + 0x4038], ecx
jne 0x1400538ed
mov byte [rax + 0x4045], 1
cmp byte [rsp + 0x32], 0
je 0x140053955
mov rax, qword [0x14010c048]
cmp byte [rax + 0xe0c], 0
je 0x14005392a
movss xmm0, dword [rax + 0x3778]
comiss xmm10, xmm0
ja 0x14005392a
ucomiss xmm0, xmm10
jp 0x14005392a
jne 0x14005392a
cmp byte [rax + 0x4694], 0
jne 0x14005392a
mov eax, dword [rsi + 0x18]
mov dword [rsp + 0x34], eax
mov edx, dword [rsi + 0x18]
mov rcx, rsi
call fcn.140092690
test rax, rax
je 0x140053955
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x14005394a
mov rcx, qword [rdi + 0x88]
xor r8d, r8d
mov rdx, rdi
call fcn.140065710
mov edx, dword [rsi + 0x1c]
test edx, edx
movaps xmm10, xmmword [rsp + 0x130]
cmove edx, dword [rsp + 0x34]
test edx, edx
je 0x140053995
mov rcx, rsi
call fcn.140092690
mov rbx, rax
test rax, rax
je 0x140053995
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140053995
call fcn.140056b50
mov rcx, qword [rbx + 8]
xor edx, edx
call fcn.14005a9a0
call fcn.14008bb60
mov rax, qword [0x14010c048]
mov rsi, qword [rsp + 0x1d0]
mov rcx, qword [rax + 0x3fd8]
dec dword [rcx + 0x120]
mov eax, dword [rdi + 0x10]
shr eax, 0xa
test al, 1
jne 0x1400539d7
movzx eax, byte [rsp + 0x33]
mov byte [r13 + 0xe8], al
mov dword [r13 + 0x188], 0
mov r13, qword [rsp + 0x188]
mov r15, qword [rsp + 0x180]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140099d00
add rsp, 0x198
pop r14
pop rdi
pop rbx
pop rbp
ret
cmp dword [rdi + 0x30], ebx
jle 0x140053a0c
mov rax, qword [rdi + 0x38]
mov rbx, qword [rax]
and dl, 0xfd
mov qword [rdi + 0x90], rbx
movzx eax, r15b
add al, al
or al, dl
mov byte [rdi + 0xc8], al
test r15b, r15b
je 0x140053a36
mov eax, dword [r14 + 0x3f58]
mov dword [rdi + 0xb4], eax
test rbx, rbx
je 0x1400539df
test r15b, r15b
jne 0x140053a4a
cmp qword [r8 + 0x90], 0
jne 0x140053a51
mov qword [r8 + 0x90], rbx
mov rdx, qword [rdi + 0x40]
test rdx, rdx
je 0x1400539df
mov rax, qword [rdi + 0x90]
mov ecx, dword [rax + 0xa8]
mov dword [rdx + 0x20], ecx
jmp 0x1400539df