Function at 0x180021580
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rsi
push r12
push r14
lea rbp, [rsp - 0x108]
sub rsp, 0x208
mov rax, qword [0x180064010]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r12, qword [0x180064998]
mov rsi, rcx
mov eax, dword [rcx + 0xb0]
mov r9, rdx
inc eax
mov qword [rsp + 0x40], rdx
mov qword [rbp - 0x80], r12
movzx edx, byte [rsi + 0xc8]
mov ecx, dword [r12 + 0x3f78]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x74], ecx
test dl, 0x40
je 0x1800215ea
mov byte [rsp + 0x31], 1
cmp eax, ecx
je 0x1800215ef
mov byte [rsp + 0x31], 0
xor r14d, r14d
lea r10d, [r14 + 1]
cmp dword [rsi + 0xc0], r14d
je 0x180021608
mov dword [rsp + 0x48], r10d
cmp eax, ecx
je 0x18002160d
mov dword [rsp + 0x48], r14d
and dl, 0xbf
mov dword [rsi + 0xc0], r14d
mov byte [rsi + 0xc8], dl
mov r8, rsi
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x180021643
nop
mov qword [rsp + 0x60], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x180021630
mov r8, qword [rsp + 0x60]
mov rax, qword [r12 + 0x4bb0]
mov qword [rsp + 0x200], rdi
test rax, rax
je 0x180021668
cmp qword [rax + 0x438], rsi
sete dil
jmp 0x180021717
mov rcx, qword [r12 + 0x4a48]
test rcx, rcx
je 0x180021714
mov eax, dword [rsi]
cmp dword [r8 + 0xb8], eax
jne 0x180021714
mov rcx, qword [rcx + 0x3b8]
test dword [rcx + 0x14], 0x10000000
je 0x1800216b7
nop dword [rax + rax]
mov rax, qword [rcx + 0x3a8]
mov rcx, qword [rax + 0x3b8]
test dword [rcx + 0x14], 0x10000000
jne 0x1800216a0
mov rax, qword [rcx + 0x440]
test rax, rax
jne 0x1800216d0
mov rax, qword [rcx + 0x438]
test rax, rax
je 0x180021714
nop
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1800216ec
nop dword [rax]
mov rax, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1800216e0
cmp rax, r8
je 0x18002186d
mov rax, qword [rax + 0x88]
test rax, rax
je 0x180021714
mov rax, qword [rax + 0x3b8]
mov rax, qword [rax + 0x438]
test rax, rax
jne 0x1800216d0
xor dil, dil
mov eax, dword [rsi + 0x10]
mov byte [rsp + 0x30], dil
test eax, 0x3000
jne 0x1800227b2
movzx ecx, byte [r9 + 0xf0]
mov qword [rsp + 0x240], rbx
mov qword [rsp + 0x1f8], r13
mov qword [rsp + 0x1f0], r15
movaps xmmword [rsp + 0x1e0], xmm6
movaps xmmword [rsp + 0x1d0], xmm7
movaps xmmword [rsp + 0x1c0], xmm8
movaps xmmword [rsp + 0x1b0], xmm9
shr eax, 0xa
movaps xmmword [rsp + 0x1a0], xmm10
movaps xmmword [rsp + 0x190], xmm11
mov byte [rsp + 0x32], cl
test r10b, al
jne 0x180021798
mov byte [r9 + 0xf0], r14b
mov dword [r9 + 0x190], r10d
mov ecx, dword [rsi]
mov rbx, qword [r12 + 0x3ff8]
mov dword [rbp - 0x18], ecx
cmp dword [r12 + 0x4040], ecx
jne 0x1800217bb
xor r8d, r8d
lea edx, [r8 + 0xd]
call fcn.180027400
lea rcx, [rbx + 0x128]
lea rdx, [rbp - 0x18]
call fcn.180028760
mov rax, qword [rsi + 0x40]
mov r15d, 0xffffffff
mov qword [rsp + 0x50], rax
mov rbx, rax
test rax, rax
jne 0x18002187d
mov rax, qword [0x180064998]
test rax, rax
je 0x1800217f8
inc dword [rax + 0xfc]
mov ecx, 0x98
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x180021876
mov qword [rax + 0x30], r14
xorps xmm0, xmm0
mov dword [rax + 0x38], r14d
mov dword [rax + 0x7c], r14d
mov dword [rax + 0x84], r14d
mov dword [rax + 0x8c], r14d
mov qword [rax + 0x90], r14
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
movups xmmword [rbx + 0x70], xmm0
movups xmmword [rbx + 0x80], xmm0
mov qword [rbx + 0x90], rax
mov qword [rbx + 0x24], 0xffffffffffffffff
mov word [rbx + 0x70], r15w
jmp 0x180021879
movzx edi, r10b
jmp 0x180021717
mov rbx, r14
mov qword [rsi + 0x40], rbx
and byte [rsi + 0xc8], 0xfd
movzx eax, dil
add al, al
mov dword [rbp - 0x18], r14d
or byte [rsi + 0xc8], al
xorps xmm11, xmm11
test dword [rsi + 0x10], 0x4000
jne 0x1800219d7
cmp dword [r12 + 0x3920], r15d
je 0x1800219d7
mov r13b, 1
mov byte [rbp - 0x20], r13b
call fcn.1800154b0
test al, al
je 0x1800219e3
mov rdi, qword [0x180064998]
mov eax, 1
mov r15d, dword [rbx + 0x1c]
xorps xmm2, xmm2
movss xmm1, dword [rsi + 0x48]
movss xmm0, dword [rdi + 0x3938]
addss xmm0, xmm0
addss xmm0, dword [rdi + 0x3d58]
addss xmm0, dword [rsi + 0x4c]
cmp dword [rdi + 0x3920], r14d
jne 0x180021906
xorps xmm3, xmm3
jmp 0x180021913
addss xmm1, dword [rsi + 0x50]
movss xmm3, dword [0x18005b41c]
or dword [rdi + 0x48d0], 1
movss dword [rdi + 0x48e4], xmm1
movss dword [rdi + 0x48e8], xmm0
movss dword [rdi + 0x48ec], xmm3
movss dword [rdi + 0x48f0], xmm2
mov dword [rdi + 0x48d4], eax
mov byte [rdi + 0x490c], r13b
call fcn.180015c10
test al, al
je 0x1800219b2
or byte [rsi + 0xc8], 2
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call qword [rdi + 0x5d80]
mov rdi, qword [0x180064998]
mov rax, qword [rdi + 0x3ff8]
cmp qword [rdi + 0x4a48], rax
jne 0x180021996
cmp byte [rdi + 0x4aa1], r14b
je 0x180021996
cmp dword [rdi + 0x4a80], r14d
jne 0x180021996
or dword [rdi + 0x4aa4], 2
test dword [rax + 0x14], 0x1000000
je 0x1800219a6
mov byte [rdi + 0x3f8a], r13b
call fcn.180010cf0
mov byte [rdi + 0x3f8a], r14b
mov eax, dword [rbx + 0x1c]
test eax, eax
je 0x1800219c5
cmp eax, r15d
mov ecx, r14d
cmovne ecx, eax
mov dword [rbp - 0x18], ecx
movzx eax, byte [rsi + 0xc8]
shr al, 1
and al, r13b
or byte [rsp + 0x30], al
jmp 0x1800219e3
xor r13b, r13b
mov byte [rsp + 0x30], dil
mov byte [rbp - 0x20], r13b
mov r11, qword [0x180064998]
movss xmm7, dword [rsi + 0x4c]
movss xmm10, dword [rsi + 0x48]
movaps xmm6, xmm7
movzx eax, byte [rsi + 0xc8]
movaps xmm9, xmm10
movss xmm3, dword [r11 + 0x3934]
movaps xmm4, xmm10
movss xmm2, dword [r11 + 0x3d58]
movaps xmm5, xmm3
movss xmm8, dword [r11 + 0x3938]
movaps xmm0, xmm2
movss dword [rbp - 0x2c], xmm7
addss xmm0, xmm7
movss dword [rbp - 0x10], xmm10
addss xmm8, xmm8
movss dword [rbp - 0xc], xmm7
mov qword [rsp + 0x68], r14
addss xmm9, dword [rsi + 0x50]
addss xmm8, xmm0
movss xmm0, dword [r11 + 0x390c]
addss xmm4, xmm0
movss dword [rbp - 8], xmm9
movaps xmm1, xmm9
subss xmm1, xmm0
movss dword [rbp - 0x24], xmm8
movss dword [rbp - 4], xmm8
addss xmm5, xmm4
subss xmm1, xmm3
movss dword [rbp - 0x30], xmm5
movss dword [rbp - 0x28], xmm1
test al, 8
je 0x180021aaa
subss xmm1, xmm2
movss dword [rsp + 0x6c], xmm7
movaps xmm0, xmm1
movss dword [rbp - 0x28], xmm1
subss xmm0, xmm3
movss dword [rsp + 0x68], xmm0
test al, 0x10
je 0x180021afb
cmp dword [r11 + 0x3920], r14d
jne 0x180021acb
addss xmm2, dword [r11 + 0x394c]
addss xmm2, xmm5
movss dword [rbp - 0x30], xmm2
jmp 0x180021afb
cmp dword [r11 + 0x3920], 1
jne 0x180021afb
addss xmm3, xmm2
subss xmm1, xmm3
movss dword [rbp - 0x28], xmm1
unpcklps xmm1, xmm7
movaps xmm0, xmm1
movsd qword [rsp + 0x38], xmm1
movss xmm4, dword [rsp + 0x38]
shufps xmm0, xmm0, 0x55
movaps xmm6, xmm0
mov r15d, r14d
mov eax, dword [rbx]
movups xmm0, xmmword [rbp - 0x30]
mov dword [rsp + 0x70], eax
movss dword [rsp + 0x38], xmm4
movups xmmword [rbp], xmm0
movss dword [rsp + 0x3c], xmm6
cmp dword [rsi + 0x30], r14d
jle 0x180021bef
mov rdi, r14
mov r12d, 0x400000
mov r13d, 0xffffffff
mov rax, qword [rsi + 0x38]
mov r9, qword [rdi + rax]
mov edx, dword [r9 + 0xb0]
test edx, edx
je 0x180021b72
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x180021b72
mov r10, qword [rbx + 8]
mov rcx, r10
cmp dword [rcx], edx
je 0x180021b67
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x180021b56
jmp 0x180021b72
cdqe
imul rcx, rax, 0x38
add rcx, r10
jne 0x180021bd5
cmp byte [r9 + 0xf5], r14b
mov eax, 0x500000
mov qword [rbp - 0x58], r14
cmovne eax, r12d
mov dword [rbp - 0x50], r14d
mov dword [rbp - 0x6c], eax
mov eax, dword [rbx + 0x24]
mov qword [rbp - 0x40], r14
mov dword [rbp - 0x5c], r13d
mov qword [rbp - 0x4c], 0xffffffffbf800000
mov dword [rbp - 0x44], 0xffffffff
mov dword [rbp - 0x70], edx
mov dword [rbp - 0x60], eax
cmp eax, r13d
jne 0x180021bbe
mov eax, dword [r11 + 0x3f78]
dec eax
mov dword [rbp - 0x60], eax
lea rdx, [rbp - 0x70]
mov qword [rbp - 0x68], r9
mov rcx, rbx
call fcn.18004d940
mov r11, qword [0x180064998]
inc r15d
add rdi, 8
cmp r15d, dword [rsi + 0x30]
jl 0x180021b31
mov r12, qword [rbp - 0x80]
movzx r13d, byte [rbp - 0x20]
movzx r15d, byte [rsp + 0x30]
test r15b, r15b
je 0x180021c08
mov eax, dword [r12 + 0x3f78]
mov dword [rsi + 0xb4], eax
mov rdi, qword [rsp + 0x40]
cmp byte [rdi + 0xee], r14b
je 0x180021c1d
mov eax, 0xc
jmp 0x180021c2a
test r15b, r15b
mov rax, r14
setne al
add rax, 0xa
add rax, rax
lea rcx, [rbp - 0x30]
movups xmm0, xmmword [r11 + rax*8 + 0x39d4]
movups xmmword [rbp - 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r11 + 0x38f8]
movss dword [rbp - 0x24], xmm0
call fcn.180003320
movss xmm2, dword [0x18005b440]
mov r11d, eax
movss xmm1, dword [rdi + 0x50]
movss xmm3, dword [rdi + 0x54]
movaps xmm0, xmm1
addss xmm1, dword [rdi + 0x58]
addss xmm0, xmm2
subss xmm1, xmm2
comiss xmm0, xmm10
movaps xmm10, xmmword [rsp + 0x1a0]
movaps xmm0, xmm3
addss xmm3, dword [rdi + 0x5c]
setae cl
addss xmm0, xmm2
comiss xmm9, xmm1
subss xmm3, xmm2
setae r10b
comiss xmm0, xmm7
setae al
comiss xmm8, xmm3
setae r9b
test al, al
je 0x180021cc0
test cl, cl
je 0x180021cc0
mov r8d, 0x10
jmp 0x180021cc7
mov r8d, r14d
test al, al
je 0x180021cd1
mov edx, 0x20
test r10b, r10b
jne 0x180021cd4
mov edx, r14d
test r9b, r9b
je 0x180021ce4
test cl, cl
je 0x180021ce4
mov ecx, 0x40
jmp 0x180021cec
mov ecx, r14d
test r9b, r9b
je 0x180021cf6
mov eax, 0x180
test r10b, r10b
jne 0x180021cfb
mov eax, 0x100
movss xmm0, dword [rdi + 0x88]
or eax, r8d
or eax, edx
lea r8, [rbp - 8]
or eax, ecx
lea rdx, [rbp - 0x10]
mov rcx, qword [rdi + 0x2d8]
mov r9d, r11d
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm0
call fcn.180033ff0
test r13b, r13b
je 0x180021db1
movsxd rax, dword [rdi + 0x128]
lea rcx, str.COLLAPSE
mov r8, qword [rdi + 0x130]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.180002d90
mov edi, eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
cmp dword [rcx + 0x4040], edi
jne 0x180021d7a
lea r8, str.COLLAPSE
mov edx, 0xb
mov ecx, edi
call fcn.180027400
mov r8, rsi
lea rdx, [rsp + 0x38]
mov ecx, edi
call fcn.180040ca0
test al, al
je 0x180021d92
call fcn.180015520
mov rax, qword [0x180064998]
mov ecx, dword [rax + 0x4058]
test ecx, ecx
je 0x180021db1
cmp ecx, dword [rax + 0x4894]
jne 0x180021db1
mov eax, dword [rbx + 0x18]
mov dword [rbp - 0x18], eax
mov r13d, dword [rbx]
lea ecx, [r13 - 1]
test ecx, ecx
js 0x180021df4
movsxd rax, ecx
imul rdx, rax, 0x38
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rbx + 8]
mov eax, dword [r8 + rdx + 4]
bt eax, 0x16
jae 0x180021df4
btr eax, 0x16
mov r13d, ecx
mov dword [r8 + rdx + 4], eax
sub rdx, 0x38
sub ecx, 1
jns 0x180021dd0
mov r8d, dword [rbx]
cmp r8d, r13d
jle 0x180021ec3
test byte [r12 + 0x5e6c], 0x40
lea eax, [r13 + 1]
je 0x180021e35
mov edx, dword [rsi]
lea rcx, str.__will_sort_
cmp r8d, eax
lea r9, [0x1800546ee]
cmovg r9, rcx
sub r8d, r13d
lea rcx, str._docking__In_node_0x_08X:__d_new_appearing_tabs:_s_n
call fcn.180027160
mov ecx, dword [rbx]
mov r15d, r13d
movsxd rax, r13d
imul r8, rax, 0x38
mov qword [rsp + 0x38], r8
cmp r13d, ecx
jge 0x180021e8f
mov rdi, r8
nop
test byte [r12 + 0x5e6c], 0x40
je 0x180021e7c
mov rax, qword [rbx + 8]
lea rcx, str._docking____Tab__s_Order__d_n
mov rdx, qword [rax + rdi + 8]
movsx r8d, word [rdx + 0x41e]
mov rdx, qword [rdx + 8]
call fcn.180027160
mov ecx, dword [rbx]
inc r15d
add rdi, 0x38
cmp r15d, ecx
jl 0x180021e50
mov r8, qword [rsp + 0x38]
lea eax, [r13 + 1]
cmp ecx, eax
jle 0x180021ebd
sub ecx, r13d
movsxd rdx, ecx
cmp rdx, 1
jbe 0x180021ebd
mov rcx, qword [rbx + 8]
lea r9, [0x180021400]
add rcx, r8
mov r8d, 0x38
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
movzx r15d, byte [rsp + 0x30]
mov rax, qword [r12 + 0x4a48]
test rax, rax
je 0x180021ee9
mov rax, qword [rax + 0x3b8]
cmp qword [rax + 0x438], rsi
jne 0x180021ee9
mov eax, dword [rax + 0xb0]
mov dword [rbx + 0x18], eax
cmp qword [rsp + 0x50], r14
jne 0x180021f23
mov edx, dword [rsi + 0xbc]
test edx, edx
je 0x180021f23
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x180021f23
mov r9, qword [rbx + 8]
mov rcx, r9
nop dword [rax]
cmp dword [rcx], edx
je 0x18002219e
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x180021f10
movsxd rax, dword [rbx]
cmp eax, dword [rsp + 0x70]
jle 0x180021f45
imul rcx, rax, 0x38
mov rax, qword [rbx + 8]
mov rcx, qword [rcx + rax - 0x30]
mov eax, dword [rcx + 0xb0]
mov dword [rbx + 0x1c], eax
mov dword [rbx + 0x18], eax
mov rax, qword [rsp + 0x40]
mov r8d, 0x500003
cmp byte [rax + 0xee], r14b
jne 0x180021f65
test r15b, r15b
mov eax, 0x700003
cmovne r8d, eax
mov r9, rsi
lea rdx, [rbp]
mov rcx, rbx
call fcn.18004a3f0
mov r13d, r14d
movups xmm0, xmmword [r12 + 0x3be4]
movups xmm1, xmmword [r12 + 0x39d4]
movaps xmmword [rbp + 0x30], xmm0
movups xmm0, xmmword [r12 + 0x3bf4]
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [r12 + 0x3c04]
movaps xmmword [rbp + 0x50], xmm0
movups xmm0, xmmword [r12 + 0x3c14]
movaps xmmword [rbp + 0x60], xmm0
movups xmm0, xmmword [r12 + 0x3c24]
mov qword [rsi + 0x90], r14
movaps xmmword [rbp + 0x70], xmm0
cmp dword [rsi + 0x30], r14d
jle 0x1800221e0
movss xmm6, dword [0x18005b39c]
lea r11, [0x180056510]
mov r15, r14
lea r10, [0x180056528]
nop
mov rax, qword [rsi + 0x38]
mov rdi, qword [r15 + rax]
cmp byte [rsp + 0x31], r14b
jne 0x18002200b
mov eax, dword [rsp + 0x48]
cmp eax, dword [rdi + 0xb0]
jne 0x180022021
cmp byte [rdi + 0xf5], r14b
je 0x180022021
test dword [rdi + 0x14], 0x100000
je 0x1800221c6
mov eax, dword [rdi + 0x298]
inc eax
cmp eax, dword [r12 + 0x3f78]
jge 0x180022041
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x78], eax
je 0x1800221c6
mov edx, dword [rdi + 0x2c]
mov r8, rdi
or edx, 1
test dword [rdi + 0x14], 0x100000
cmove edx, dword [rdi + 0x2c]
mov r9d, edx
or r9d, 4
test byte [rbx + 0x10], 8
cmove r9d, edx
mov rdx, r11
sub r8, r11
nop word [rax + rax]
mov ecx, dword [r8 + rdx + 0x420]
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 [r12 + rax*8 + 0x39d4], xmm3
cmp rdx, r10
jl 0x180022070
cmp byte [rdi + 0xf5], r14b
lea r8, [rbp - 0x20]
mov rdx, qword [rdi + 8]
mov rcx, rbx
cmove r8, r14
mov byte [rbp - 0x20], 1
mov qword [rsp + 0x20], rdi
call fcn.18004bfe0
cmp byte [rbp - 0x20], r14b
jne 0x18002212e
mov eax, dword [rdi + 0xb0]
mov dword [rsi + 0xc0], eax
mov eax, dword [rdi + 0xb0]
cmp dword [rbx + 0x20], eax
jne 0x180022140
mov qword [rsi + 0x90], rdi
mov eax, dword [r12 + 0x489c]
mov dword [rdi + 0x44c], eax
movups xmm0, xmmword [r12 + 0x48a0]
movups xmmword [rdi + 0x450], xmm0
mov rax, qword [r12 + 0x4a48]
test rax, rax
je 0x1800221b8
cmp qword [rax + 0x3b8], rdi
jne 0x1800221b8
test byte [rdi + 0x194], 2
lea r10, [0x180056528]
lea r11, [0x180056510]
jne 0x1800221c6
mov rcx, qword [rsp + 0x40]
mov eax, dword [rdi + 0xb0]
mov dword [rcx + 0x3ec], eax
jmp 0x1800221c6
cdqe
imul rcx, rax, 0x38
add rcx, r9
je 0x180021f23
mov dword [rbx + 0x1c], edx
mov dword [rbx + 0x18], edx
jmp 0x180021f45
lea r11, [0x180056510]
lea r10, [0x180056528]
inc r13d
add r15, 8
cmp r13d, dword [rsi + 0x30]
jl 0x180021ff0
movaps xmm1, xmmword [rbp + 0x20]
nop dword [rax + rax]
movaps xmm0, xmmword [rbp + 0x30]
movups xmmword [r12 + 0x39d4], xmm1
movaps xmm1, xmmword [rbp + 0x40]
movups xmmword [r12 + 0x3be4], xmm0
movaps xmm0, xmmword [rbp + 0x50]
movups xmmword [r12 + 0x3bf4], xmm1
movaps xmm1, xmmword [rbp + 0x60]
movups xmmword [r12 + 0x3c04], xmm0
movaps xmm0, xmmword [rbp + 0x70]
movups xmmword [r12 + 0x3c14], xmm1
movups xmmword [r12 + 0x3c24], xmm0
mov rax, qword [rsi + 0x90]
test rax, rax
je 0x180022252
mov rcx, qword [rsp + 0x60]
cmp byte [rsp + 0x30], r14b
jne 0x18002224b
cmp qword [rcx + 0x90], r14
jne 0x180022252
mov qword [rcx + 0x90], rax
movzx eax, byte [rsi + 0xc8]
and al, 8
je 0x18002227a
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x18002227a
cmp byte [rcx + 0xf5], r14b
je 0x18002227a
mov r15b, 1
jmp 0x18002236e
test al, al
je 0x180022486
mov rdi, qword [0x180064998]
mov r12d, dword [rdi + 0x4878]
lea r15, [rdi + 0x49a0]
or r12d, 4
mov dword [rdi + 0x4878], r12d
mov ecx, dword [r15 + 4]
mov r8d, dword [r15]
cmp r8d, ecx
jne 0x1800222de
inc r8d
test ecx, ecx
je 0x1800222c0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800222c5
mov eax, 8
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.180028e60
mov rdi, qword [0x180064998]
movsxd rcx, dword [r15]
lea rdx, [rbp]
mov rax, qword [r15 + 8]
mov dword [rbp], r14d
mov dword [rax + rcx*4], r12d
lea rcx, [rdi + 0x4960]
inc dword [r15]
mov r12, qword [rbp - 0x80]
movups xmm0, xmmword [rdi + 0x39d4]
movss xmm8, dword [r12 + 0x39e0]
mulss xmm8, dword [0x18005b3cc]
movss xmm9, dword [r12 + 0x39d4]
movss xmm6, dword [r12 + 0x39d8]
movss xmm7, dword [r12 + 0x39dc]
movups xmmword [rbp + 4], xmm0
call fcn.180027f20
shufps xmm9, xmm9, 0xe1
xor r15b, r15b
movss xmm9, xmm6
shufps xmm9, xmm9, 0xc6
movss xmm9, xmm7
shufps xmm9, xmm9, 0x27
movss xmm9, xmm8
shufps xmm9, xmm9, 0x39
movups xmmword [rdi + 0x39d4], xmm9
mov r13, qword [rsp + 0x40]
lea rcx, str.CLOSE
xor edx, edx
movsxd rax, dword [r13 + 0x128]
mov r8, qword [r13 + 0x130]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.180002d90
mov rcx, qword [r13]
mov edi, eax
cmp dword [rcx + 0x4040], eax
jne 0x1800223b5
lea r8, str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.180027400
lea rdx, [rsp + 0x68]
mov ecx, edi
call fcn.1800408d0
test al, al
je 0x180022421
or byte [rsi + 0xc8], 0x40
mov r8d, r14d
cmp dword [rbx], r14d
jle 0x180022421
mov rcx, r14
nop word [rax + rax]
mov rdx, qword [rbx + 8]
mov eax, dword [rcx + rdx + 4]
bt eax, 0x15
jb 0x180022415
test al, 1
mov eax, dword [rcx + rdx]
jne 0x18002240d
mov byte [rcx + rdx + 0x30], 1
cmp dword [rbx + 0x20], eax
jne 0x180022415
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rbx + 0x18], r14
jmp 0x180022415
cmp dword [rbx + 0x20], eax
je 0x180022415
mov dword [rbx + 0x1c], eax
inc r8d
add rcx, 0x38
cmp r8d, dword [rbx]
jl 0x1800223e0
test r15b, r15b
jne 0x18002248b
mov r8, qword [0x180064998]
movsxd rax, dword [r8 + 0x4960]
cmp eax, 1
jl 0x180022461
mov rcx, qword [r8 + 0x4968]
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 + 0x39d4], xmm0
dec dword [r8 + 0x4960]
movsxd rcx, dword [r8 + 0x49a0]
lea eax, [rcx - 1]
mov dword [r8 + 0x49a0], eax
mov rax, qword [r8 + 0x49a8]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [r8 + 0x4878], ecx
jmp 0x18002248b
mov r13, qword [rsp + 0x40]
movsxd rax, dword [r13 + 0x128]
lea rcx, str.TITLEBAR
mov r8, qword [r13 + 0x130]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.180002d90
mov rcx, qword [r13]
mov edi, eax
movaps xmm9, xmmword [rsp + 0x1b0]
movaps xmm8, xmmword [rsp + 0x1c0]
movaps xmm7, xmmword [rsp + 0x1d0]
movaps xmm6, xmmword [rsp + 0x1e0]
mov r15, qword [rsp + 0x1f0]
cmp dword [rcx + 0x4040], eax
jne 0x1800224f7
lea r8, str.TITLEBAR
mov edx, 0xb
mov ecx, eax
call fcn.180027400
mov eax, dword [r12 + 0x4044]
test eax, eax
je 0x180022515
cmp eax, edi
je 0x180022515
cmp dword [r12 + 0x4058], edi
jne 0x1800226ea
lea r9, [rsp + 0x31]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x10]
mov edx, edi
call fcn.18003fad0
mov r9, qword [0x180064998]
cmp dword [r12 + 0x4044], edi
jne 0x180022572
mov dword [r12 + 0x4894], edi
mov eax, dword [r9 + 0x4894]
cmp dword [r9 + 0x4044], eax
jne 0x180022561
mov byte [r9 + 0x404c], 1
cmp dword [r9 + 0x4058], eax
jne 0x180022572
mov byte [r9 + 0x4065], 1
cmp byte [rsp + 0x31], r14b
je 0x1800226ea
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.180012260
test al, al
je 0x180022593
mov eax, dword [rbx + 0x18]
mov dword [rbp - 0x18], eax
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x1800226ea
mov edx, dword [rbx]
mov eax, r14d
test edx, edx
jle 0x1800226ea
mov r10, qword [rbx + 8]
mov rcx, r10
cmp dword [rcx], r8d
je 0x1800225c8
inc eax
add rcx, 0x38
cmp eax, edx
jl 0x1800225b4
jmp 0x1800226ea
cdqe
imul rdi, rax, 0x38
add rdi, r10
je 0x1800226ea
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x1800225e7
mov rdi, qword [rsi + 0x88]
mov rax, qword [rsi + 0x90]
xor r11b, r11b
test rax, rax
je 0x180022643
test byte [rax + 0x14], 4
jne 0x180022643
mov rax, qword [rsi + 0x18]
mov rcx, rsi
test rax, rax
je 0x18002261c
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x180022610
cmp qword [rcx + 0xa0], rsi
jne 0x18002262e
cmp qword [rcx + 0x98], r14
je 0x180022643
mov eax, dword [rcx + 0x10]
shr eax, 0xa
test al, 1
movzx r11d, r11b
mov eax, 1
cmovne r11d, eax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.180012260
cmp byte [r9 + 0xe18], r14b
jne 0x18002265c
xor cl, cl
jmp 0x180022689
movss xmm0, dword [r9 + 0x38]
movaps xmm1, xmm0
mulss xmm1, dword [0x18005b434]
comiss xmm11, xmm1
jbe 0x180022676
movaps xmm1, xmm0
movss xmm0, dword [r9 + 0x37d0]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae cl
test r11b, r11b
je 0x1800226d1
test cl, cl
je 0x1800226ea
lea rcx, [r9 + 0x5d58]
mov qword [rbp - 0x40], r14
lea rdx, [rbp - 0x70]
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
mov dword [rbp - 0x50], 0xffffffff
mov dword [rbp - 0x4c], 0x3f000000
mov byte [rbp - 0x48], r14b
mov dword [rbp - 0x70], 2
mov qword [rbp - 0x38], rsi
call fcn.180028280
jmp 0x1800226ea
test al, al
jne 0x1800226d9
test cl, cl
je 0x1800226ea
cmp qword [r9 + 0x4010], rdi
je 0x1800226ea
mov rcx, rdi
call fcn.180007100
mov edx, dword [rbx + 0x1c]
test edx, edx
movaps xmm11, xmmword [rsp + 0x190]
cmove edx, dword [rbp - 0x18]
test edx, edx
je 0x180022747
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x180022747
mov r9, qword [rbx + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x180022723
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x180022712
jmp 0x180022747
cdqe
imul rbx, rax, 0x38
add rbx, r9
je 0x180022747
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180022747
call fcn.180011090
mov rcx, qword [rbx + 8]
xor edx, edx
call fcn.180017450
call fcn.18004a7f0
mov rax, qword [0x180064998]
mov rbx, qword [rsp + 0x240]
mov rcx, qword [rax + 0x3ff8]
dec dword [rcx + 0x128]
mov eax, dword [rsi + 0x10]
shr eax, 0xa
test al, 1
jne 0x180022785
movzx eax, byte [rsp + 0x32]
mov byte [r13 + 0xf0], al
mov dword [r13 + 0x190], r14d
mov r13, qword [rsp + 0x1f8]
mov rdi, qword [rsp + 0x200]
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.180051a50
add rsp, 0x208
pop r14
pop r12
pop rsi
pop rbp
ret
cmp dword [rsi + 0x30], r14d
jle 0x1800227bf
mov rax, qword [rsi + 0x38]
mov r14, qword [rax]
and dl, 0xfd
mov qword [rsi + 0x90], r14
movzx eax, dil
add al, al
or al, dl
mov byte [rsi + 0xc8], al
test dil, dil
je 0x1800227ea
mov eax, dword [r12 + 0x3f78]
mov dword [rsi + 0xb4], eax
test r14, r14
je 0x18002278d
test dil, dil
jne 0x1800227fe
cmp qword [r8 + 0x90], 0
jne 0x180022805
mov qword [r8 + 0x90], r14
mov rdx, qword [rsi + 0x40]
test rdx, rdx
je 0x18002278d
mov rax, qword [rsi + 0x90]
mov ecx, dword [rax + 0xb0]
mov dword [rdx + 0x20], ecx
jmp 0x18002278d