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

Disassembly:
push rbp
push rsi
push r13
push r14
lea rbp, [rsp - 0xf8]
sub rsp, 0x1f8
mov rax, qword [0x180315280]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r13, qword [0x180316360]
mov rsi, rcx
mov eax, dword [rcx + 0xb0]
mov r9, rdx
inc eax
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x70], r13
movzx edx, byte [rsi + 0xcc]
mov ecx, dword [r13 + 0x3f90]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x64], ecx
test dl, 0x40
je 0x18002a1b7
mov byte [rsp + 0x31], 1
cmp eax, ecx
je 0x18002a1bc
mov byte [rsp + 0x31], 0
xor r14d, r14d
lea r10d, [r14 + 1]
cmp dword [rsi + 0xc0], r14d
je 0x18002a1d5
mov dword [rsp + 0x48], r10d
cmp eax, ecx
je 0x18002a1da
mov dword [rsp + 0x48], r14d
and dl, 0xbf
mov dword [rsi + 0xc0], r14d
mov byte [rsi + 0xcc], dl
mov r8, rsi
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x50], rsi
test rax, rax
je 0x18002a213
nop dword [rax + rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x18002a200
mov r8, qword [rsp + 0x50]
mov rax, qword [r13 + 0x4c30]
mov qword [rsp + 0x1f0], rdi
test rax, rax
je 0x18002a237
cmp qword [rax + 0x448], rsi
sete dil
jmp 0x18002a2e7
mov rcx, qword [r13 + 0x4aa8]
test rcx, rcx
je 0x18002a2e4
mov eax, dword [rsi]
cmp dword [r8 + 0xb8], eax
jne 0x18002a2e4
mov rcx, qword [rcx + 0x3b8]
test dword [rcx + 0x14], 0x10000000
je 0x18002a287
nop word [rax + rax]
mov rax, qword [rcx + 0x3a8]
mov rcx, qword [rax + 0x3b8]
test dword [rcx + 0x14], 0x10000000
jne 0x18002a270
mov rax, qword [rcx + 0x450]
test rax, rax
jne 0x18002a2a0
mov rax, qword [rcx + 0x448]
test rax, rax
je 0x18002a2e4
nop
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x18002a2bc
nop dword [rax]
mov rax, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x18002a2b0
cmp rax, r8
je 0x18002a43f
mov rax, qword [rax + 0x88]
test rax, rax
je 0x18002a2e4
mov rax, qword [rax + 0x3b8]
mov rax, qword [rax + 0x448]
test rax, rax
jne 0x18002a2a0
xor dil, dil
mov eax, dword [rsi + 0x10]
mov byte [rsp + 0x30], dil
test eax, 0x3000
jne 0x18002b362
movzx ecx, byte [r9 + 0xf0]
mov qword [rsp + 0x230], rbx
mov qword [rsp + 0x1e8], r12
mov qword [rsp + 0x1e0], r15
movaps xmmword [rsp + 0x1d0], xmm6
movaps xmmword [rsp + 0x1c0], xmm7
movaps xmmword [rsp + 0x1b0], xmm8
movaps xmmword [rsp + 0x1a0], xmm9
shr eax, 0xa
movaps xmmword [rsp + 0x190], xmm10
movaps xmmword [rsp + 0x180], xmm11
mov byte [rsp + 0x32], cl
test r10b, al
jne 0x18002a369
mov byte [r9 + 0xf0], 0
mov dword [r9 + 0x190], r10d
mov ecx, dword [rsi]
mov rbx, qword [r13 + 0x4038]
mov dword [rbp - 0x20], ecx
cmp dword [r13 + 0x4080], ecx
jne 0x18002a38a
xor r8d, r8d
lea edx, [r8 + 0xd]
call fcn.180030250
lea rcx, [rbx + 0x128]
lea rdx, [rbp - 0x20]
call fcn.180031270
mov rax, qword [rsi + 0x40]
mov r15d, 0xffffffff
mov qword [rbp - 0x40], rax
mov rbx, rax
test rax, rax
jne 0x18002a44f
mov rax, qword [0x180316360]
test rax, rax
je 0x18002a3c6
inc dword [rax + 0xf4]
mov ecx, 0x98
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x18002a448
mov qword [rax + 0x30], 0
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 0x18002a44b
movzx edi, r10b
jmp 0x18002a2e7
mov rbx, r14
mov qword [rsi + 0x40], rbx
and byte [rsi + 0xcc], 0xfd
movzx eax, dil
add al, al
mov dword [rbp - 0x20], r14d
or byte [rsi + 0xcc], al
xorps xmm11, xmm11
test dword [rsi + 0x10], 0x4000
jne 0x18002a5b6
cmp dword [r13 + 0x3900], r15d
je 0x18002a5b6
mov r12b, 1
call fcn.18001d860
test al, al
je 0x18002a5be
mov rdi, qword [0x180316360]
mov eax, 1
mov r15d, dword [rbx + 0x1c]
xorps xmm2, xmm2
movss xmm1, dword [rsi + 0x48]
cmp dword [rdi + 0x3900], 0
movss xmm0, dword [rdi + 0x3918]
addss xmm0, xmm0
addss xmm0, dword [rdi + 0x3d70]
addss xmm0, dword [rsi + 0x4c]
jne 0x18002a4d3
xorps xmm3, xmm3
jmp 0x18002a4e0
addss xmm1, dword [rsi + 0x50]
movss xmm3, dword [0x1803042a4]
or dword [rdi + 0x4918], 1
lea rcx, str.WindowMenu
movss dword [rdi + 0x492c], xmm1
movss dword [rdi + 0x4930], xmm0
movss dword [rdi + 0x4934], xmm3
movss dword [rdi + 0x4938], xmm2
mov dword [rdi + 0x491c], eax
mov byte [rdi + 0x4954], r12b
call fcn.18001e0d0
test al, al
je 0x18002a591
or byte [rsi + 0xcc], 2
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call qword [rdi + 0x5e20]
mov rdi, qword [0x180316360]
mov rcx, qword [rdi + 0x4038]
cmp qword [rdi + 0x4aa8], rcx
jne 0x18002a575
cmp byte [rdi + 0x4b21], 0
je 0x18002a575
cmp dword [rdi + 0x4ae0], 0
jne 0x18002a575
mov eax, dword [rdi + 0x4b24]
and eax, 0xfffffff2
or eax, 2
mov dword [rdi + 0x4b24], eax
test dword [rcx + 0x14], 0x1000000
je 0x18002a585
mov byte [rdi + 0x3fa2], r12b
call fcn.180018be0
mov byte [rdi + 0x3fa2], 0
mov eax, dword [rbx + 0x1c]
test eax, eax
je 0x18002a5a4
cmp eax, r15d
mov ecx, r14d
cmovne ecx, eax
mov dword [rbp - 0x20], ecx
movzx eax, byte [rsi + 0xcc]
shr al, 1
and al, r12b
or byte [rsp + 0x30], al
jmp 0x18002a5be
xor r12b, r12b
mov byte [rsp + 0x30], dil
mov r10, qword [0x180316360]
movss xmm7, dword [rsi + 0x4c]
movss xmm10, dword [rsi + 0x48]
movaps xmm6, xmm7
movzx eax, byte [rsi + 0xcc]
movaps xmm9, xmm10
movss xmm3, dword [r10 + 0x3914]
movss xmm2, dword [r10 + 0x3d70]
movaps xmm5, xmm3
movss xmm8, dword [r10 + 0x3918]
movaps xmm0, xmm2
movss dword [rbp - 0x34], xmm7
addss xmm0, xmm7
movss dword [rbp - 0x18], xmm10
addss xmm8, xmm8
movss dword [rbp - 0x14], xmm7
mov qword [rsp + 0x58], 0
addss xmm9, dword [rsi + 0x50]
addss xmm8, xmm0
movss xmm0, dword [r10 + 0x38ec]
movaps xmm4, xmm0
addss xmm4, xmm10
movss dword [rbp - 0x10], xmm9
movaps xmm1, xmm9
subss xmm1, xmm0
movss dword [rbp - 0x2c], xmm8
movss dword [rbp - 0xc], xmm8
addss xmm5, xmm4
subss xmm1, xmm3
movss dword [rbp - 0x38], xmm5
movss dword [rbp - 0x30], xmm1
test al, 8
je 0x18002a689
subss xmm1, xmm2
movss dword [rsp + 0x5c], xmm7
movaps xmm0, xmm1
movss dword [rbp - 0x30], xmm1
subss xmm0, xmm3
movss dword [rsp + 0x58], xmm0
test al, 0x10
je 0x18002a6db
cmp dword [r10 + 0x3900], 0
jne 0x18002a6ab
addss xmm2, dword [r10 + 0x392c]
addss xmm2, xmm5
movss dword [rbp - 0x38], xmm2
jmp 0x18002a6db
cmp dword [r10 + 0x3900], 1
jne 0x18002a6db
addss xmm3, xmm2
subss xmm1, xmm3
movss dword [rbp - 0x30], xmm1
unpcklps xmm1, xmm7
movaps xmm0, xmm1
movsd qword [rsp + 0x38], xmm1
movss xmm4, dword [rsp + 0x38]
shufps xmm0, xmm0, 0x55
movaps xmm6, xmm0
cmp dword [rsi + 0x30], 0
mov r15d, r14d
movups xmm0, xmmword [rbp - 0x38]
mov eax, dword [rbx]
mov r11d, 0x400000
movss dword [rsp + 0x38], xmm4
movups xmmword [rbp - 8], xmm0
mov dword [rsp + 0x60], eax
movss dword [rsp + 0x3c], xmm6
jle 0x18002a7d0
mov rdi, r14
mov r13d, 0xffffffff
mov rax, qword [rsi + 0x38]
mov r9, qword [rdi + rax]
mov r8d, dword [r9 + 0xb0]
test r8d, r8d
je 0x18002a74f
mov edx, dword [rbx]
mov eax, r14d
test edx, edx
jle 0x18002a74f
mov rcx, qword [rbx + 8]
cmp dword [rcx], r8d
je 0x18002a743
inc eax
add rcx, 0x38
cmp eax, edx
jl 0x18002a732
jmp 0x18002a74f
cdqe
imul rcx, rax, 0x38
add rcx, qword [rbx + 8]
jne 0x18002a7ba
cmp byte [r9 + 0xf5], 0
mov eax, 0x500000
mov qword [rbp - 0x68], r14
cmovne eax, r11d
mov dword [rbp - 0x60], r14d
mov dword [rbp - 0x7c], eax
mov eax, dword [rbx + 0x24]
mov qword [rbp - 0x50], r14
mov dword [rbp - 0x6c], r13d
mov qword [rbp - 0x5c], 0xffffffffbf800000
mov dword [rbp - 0x54], 0xffffffff
mov dword [rbp - 0x80], r8d
mov dword [rbp - 0x70], eax
cmp eax, r13d
jne 0x18002a79d
mov eax, dword [r10 + 0x3f90]
dec eax
mov dword [rbp - 0x70], eax
lea rdx, [rbp - 0x80]
mov qword [rbp - 0x78], r9
mov rcx, rbx
call fcn.1800602a0
mov r10, qword [0x180316360]
mov r11d, 0x400000
inc r15d
add rdi, 8
cmp r15d, dword [rsi + 0x30]
jl 0x18002a711
mov r13, qword [rsp + 0x70]
movzx r15d, byte [rsp + 0x30]
test r15b, r15b
je 0x18002a7e8
mov eax, dword [r13 + 0x3f90]
mov dword [rsi + 0xb4], eax
mov rdi, qword [rsp + 0x40]
cmp byte [rdi + 0xee], 0
je 0x18002a7fd
mov eax, 0xc
jmp 0x18002a80a
test r15b, r15b
mov rax, r14
setne al
add rax, 0xa
add rax, 0xe
lea rcx, [rbp - 0x38]
add rax, rax
movups xmm0, xmmword [r10 + rax*8 + 0x38d8]
movups xmmword [rbp - 0x38], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r10 + 0x38d8]
movss dword [rbp - 0x2c], xmm0
call fcn.18000a760
movss xmm3, dword [r13 + 0x39a4]
mov r10d, eax
movss xmm1, dword [rdi + 0x50]
movss xmm2, dword [rdi + 0x54]
movaps xmm0, xmm1
addss xmm1, dword [rdi + 0x58]
addss xmm0, xmm3
subss xmm1, xmm3
comiss xmm0, xmm10
movaps xmm10, xmmword [rsp + 0x190]
movaps xmm0, xmm2
addss xmm2, dword [rdi + 0x5c]
setae cl
addss xmm0, xmm3
comiss xmm9, xmm1
subss xmm2, xmm3
setae r9b
comiss xmm0, xmm7
setae dl
comiss xmm8, xmm2
setae al
test dl, dl
je 0x18002a8a4
test cl, cl
je 0x18002a8a4
mov r8d, 0x10
jmp 0x18002a8ab
mov r8d, r14d
test dl, dl
je 0x18002a8b5
mov edx, 0x20
test r9b, r9b
jne 0x18002a8b8
mov edx, r14d
test al, al
je 0x18002a8c7
test cl, cl
je 0x18002a8c7
mov ecx, 0x40
jmp 0x18002a8ce
mov ecx, r14d
test al, al
je 0x18002a8d8
mov eax, 0x180
test r9b, r9b
jne 0x18002a8dd
mov eax, 0x100
movss xmm0, dword [rdi + 0x88]
or eax, r8d
or eax, edx
lea r8, [rbp - 0x10]
or eax, ecx
lea rdx, [rbp - 0x18]
mov rcx, qword [rdi + 0x2d8]
mov r9d, r10d
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm0
call fcn.18003cdd0
test r12b, r12b
je 0x18002a99a
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.18000a1d0
mov edi, eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
cmp dword [rcx + 0x4080], edi
jne 0x18002a95c
lea r8, str.COLLAPSE
mov edx, 0xb
mov ecx, edi
call fcn.180030250
mov r8, rsi
lea rdx, [rsp + 0x38]
mov ecx, edi
call fcn.18004b150
test al, al
je 0x18002a97b
lea rcx, str.WindowMenu
call fcn.18001d8d0
mov rax, qword [0x180316360]
mov ecx, dword [rax + 0x4098]
test ecx, ecx
je 0x18002a99a
cmp ecx, dword [rax + 0x48d8]
jne 0x18002a99a
mov eax, dword [rbx + 0x18]
mov dword [rbp - 0x20], eax
mov edi, dword [rbx]
lea ecx, [rdi - 1]
test ecx, ecx
js 0x18002a9d3
movsxd rax, ecx
imul rdx, rax, 0x38
nop word [rax + rax]
mov r8, qword [rbx + 8]
mov eax, dword [rdx + r8 + 4]
bt eax, 0x16
jae 0x18002a9d3
btr eax, 0x16
mov edi, ecx
mov dword [rdx + r8 + 4], eax
sub rdx, 0x38
sub ecx, 1
jns 0x18002a9b0
mov r8d, dword [rbx]
cmp r8d, edi
jle 0x18002aa91
test byte [r13 + 0x5f14], 0x80
je 0x18002aa12
mov edx, dword [rsi]
lea eax, [rdi + 1]
cmp r8d, eax
lea rcx, str.__will_sort_
lea r9, [0x1802c5dad]
cmovg r9, rcx
sub r8d, edi
lea rcx, str._docking__In_node_0x_08X:__d_new_appearing_tabs:_s_n
call fcn.18002fe80
mov ecx, dword [rbx]
mov r12d, edi
cmp edi, ecx
jge 0x18002aa61
movsxd rax, edi
imul r15, rax, 0x38
test byte [r13 + 0x5f14], 0x80
je 0x18002aa4d
mov rax, qword [rbx + 8]
lea rcx, str._docking____Tab__s_Order__d_n
mov rdx, qword [rax + r15 + 8]
movsx r8d, word [rdx + 0x42e]
mov rdx, qword [rdx + 8]
call fcn.18002fe80
mov ecx, dword [rbx]
inc r12d
add r15, 0x38
cmp r12d, ecx
jl 0x18002aa22
movzx r15d, byte [rsp + 0x30]
lea eax, [rdi + 1]
cmp ecx, eax
jle 0x18002aa91
sub ecx, edi
movsxd rdx, ecx
cmp rdx, 1
jbe 0x18002aa91
movsxd rax, edi
lea r9, [0x180029fd0]
imul rcx, rax, 0x38
mov r8d, 0x38
add rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov rax, qword [r13 + 0x4aa8]
test rax, rax
je 0x18002aab6
mov rax, qword [rax + 0x3b8]
cmp qword [rax + 0x448], rsi
jne 0x18002aab6
mov eax, dword [rax + 0xb0]
mov dword [rbx + 0x18], eax
cmp qword [rbp - 0x40], 0
jne 0x18002aae9
mov edx, dword [rsi + 0xbc]
test edx, edx
je 0x18002aae9
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x18002aae9
mov rcx, qword [rbx + 8]
cmp dword [rcx], edx
je 0x18002ad5b
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x18002aad6
movsxd rax, dword [rbx]
cmp eax, dword [rsp + 0x60]
jle 0x18002ab0b
imul rcx, rax, 0x38
mov rax, qword [rbx + 8]
mov rcx, qword [rcx + rax - 0x30]
mov eax, dword [rcx + 0xb0]
mov dword [rbx + 0x18], eax
mov dword [rbx + 0x1c], eax
mov rax, qword [rsp + 0x40]
mov r8d, 0x500003
cmp byte [rax + 0xee], 0
jne 0x18002ab2b
test r15b, r15b
mov eax, 0x700003
cmovne r8d, eax
mov r9, rsi
lea rdx, [rbp - 8]
mov rcx, rbx
call fcn.18005cc10
cmp dword [rsi + 0x30], 0
mov r12d, r14d
movups xmm0, xmmword [r13 + 0x3be8]
movups xmm1, xmmword [r13 + 0x3bf8]
movups xmm2, xmmword [r13 + 0x39b8]
movaps xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [r13 + 0x3c08]
movaps xmmword [rbp + 0x30], xmm1
movups xmm1, xmmword [r13 + 0x3c18]
movaps xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [r13 + 0x3c28]
mov qword [rsi + 0x90], r14
movaps xmmword [rbp + 0x10], xmm2
movaps xmmword [rbp + 0x60], xmm0
movaps xmmword [rbp + 0x50], xmm1
jle 0x18002ada0
movss xmm6, dword [0x180304208]
lea r11, [0x1802c87f0]
mov r15, r14
lea r10, [0x1802c8808]
nop
cmp byte [rsp + 0x31], 0
mov rax, qword [rsi + 0x38]
mov rdi, qword [r15 + rax]
jne 0x18002abcb
mov eax, dword [rsp + 0x48]
cmp eax, dword [rdi + 0xb0]
jne 0x18002abe1
cmp byte [rdi + 0xf5], 0
je 0x18002abe1
test dword [rdi + 0x14], 0x100000
je 0x18002ad84
mov eax, dword [rdi + 0x298]
inc eax
cmp eax, dword [r13 + 0x3f90]
jge 0x18002ac00
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x68], eax
je 0x18002ad84
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 dword [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 + 0x39b8], xmm3
cmp rdx, r10
jl 0x18002ac30
cmp byte [rdi + 0xf5], 0
lea r8, [rbp - 0x28]
mov rdx, qword [rdi + 8]
mov rcx, rbx
cmove r8, r14
mov byte [rbp - 0x28], 1
mov qword [rsp + 0x20], rdi
call fcn.18005e9d0
cmp byte [rbp - 0x28], 0
jne 0x18002acee
mov eax, dword [rdi + 0xb0]
mov dword [rsi + 0xc0], eax
mov eax, dword [rdi + 0xb0]
cmp dword [rbx + 0x20], eax
jne 0x18002ad00
mov qword [rsi + 0x90], rdi
mov eax, dword [r13 + 0x48e0]
mov dword [rdi + 0x45c], eax
movups xmm0, xmmword [r13 + 0x48e4]
movups xmmword [rdi + 0x460], xmm0
mov rax, qword [r13 + 0x4aa8]
test rax, rax
je 0x18002ad76
cmp qword [rax + 0x3b8], rdi
jne 0x18002ad76
test byte [rdi + 0x194], 2
lea r10, [0x1802c8808]
lea r11, [0x1802c87f0]
jne 0x18002ad84
mov rcx, qword [rsp + 0x40]
mov eax, dword [rdi + 0xb0]
mov dword [rcx + 0x3ec], eax
jmp 0x18002ad84
cdqe
imul rcx, rax, 0x38
add rcx, qword [rbx + 8]
je 0x18002aae9
mov eax, dword [rsi + 0xbc]
jmp 0x18002ab05
lea r11, [0x1802c87f0]
lea r10, [0x1802c8808]
inc r12d
add r15, 8
cmp r12d, dword [rsi + 0x30]
jl 0x18002abb0
movaps xmm2, xmmword [rbp + 0x10]
nop dword [rax]
movaps xmm0, xmmword [rbp + 0x20]
movaps xmm1, xmmword [rbp + 0x30]
movups xmmword [r13 + 0x39b8], xmm2
movups xmmword [r13 + 0x3be8], xmm0
movaps xmm0, xmmword [rbp + 0x40]
movups xmmword [r13 + 0x3bf8], xmm1
movaps xmm1, xmmword [rbp + 0x50]
movups xmmword [r13 + 0x3c08], xmm0
movaps xmm0, xmmword [rbp + 0x60]
movups xmmword [r13 + 0x3c18], xmm1
movups xmmword [r13 + 0x3c28], xmm0
mov rax, qword [rsi + 0x90]
test rax, rax
je 0x18002ae0d
cmp byte [rsp + 0x30], 0
mov rcx, qword [rsp + 0x50]
jne 0x18002ae06
cmp qword [rcx + 0x90], 0
jne 0x18002ae0d
mov qword [rcx + 0x90], rax
movzx eax, byte [rsi + 0xcc]
and al, 8
je 0x18002ae35
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x18002ae35
cmp byte [rcx + 0xf5], 0
je 0x18002ae35
mov r15b, 1
jmp 0x18002af21
test al, al
je 0x18002b036
mov rdi, qword [0x180316360]
mov r12d, dword [rdi + 0x48b8]
lea r15, [rdi + 0x49e8]
or r12d, 4
mov dword [rdi + 0x48b8], r12d
mov ecx, dword [r15 + 4]
mov r8d, dword [r15]
cmp r8d, ecx
jne 0x18002ae99
inc r8d
test ecx, ecx
je 0x18002ae7b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002ae80
mov eax, 8
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.180031c60
mov rdi, qword [0x180316360]
movsxd rcx, dword [r15]
lea rdx, [rbp - 8]
mov rax, qword [r15 + 8]
mov dword [rbp - 8], r14d
mov dword [rax + rcx*4], r12d
lea rcx, [rdi + 0x49a8]
inc dword [r15]
movups xmm0, xmmword [rdi + 0x39b8]
movss xmm8, dword [r13 + 0x39c4]
movss xmm9, dword [r13 + 0x39b8]
movss xmm6, dword [r13 + 0x39bc]
movss xmm7, dword [r13 + 0x39c0]
mulss xmm8, dword [0x180304250]
movups xmmword [rbp - 4], xmm0
call fcn.180030da0
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 + 0x39b8], xmm9
mov r12, qword [rsp + 0x40]
lea rcx, str.CLOSE
xor edx, edx
movsxd rax, dword [r12 + 0x128]
mov r8, qword [r12 + 0x130]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.18000a1d0
mov rcx, qword [r12]
mov edi, eax
cmp dword [rcx + 0x4080], eax
jne 0x18002af6a
lea r8, str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.180030250
lea rdx, [rsp + 0x58]
mov ecx, edi
call fcn.18004ad80
test al, al
je 0x18002afd5
or byte [rsi + 0xcc], 0x40
mov r8d, r14d
cmp dword [rbx], 0
jle 0x18002afd5
mov rcx, r14
nop dword [rax]
mov rdx, qword [rbx + 8]
mov eax, dword [rcx + rdx + 4]
bt eax, 0x15
jb 0x18002afc9
test al, 1
mov eax, dword [rcx + rdx]
jne 0x18002afc1
mov byte [rcx + rdx + 0x30], 1
cmp dword [rbx + 0x20], eax
jne 0x18002afc9
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rbx + 0x18], 0
jmp 0x18002afc9
cmp dword [rbx + 0x20], eax
je 0x18002afc9
mov dword [rbx + 0x1c], eax
inc r8d
add rcx, 0x38
cmp r8d, dword [rbx]
jl 0x18002af90
test r15b, r15b
jne 0x18002b03b
mov rdi, qword [0x180316360]
movsxd rax, dword [rdi + 0x49a8]
cmp eax, 1
jl 0x18002b013
mov rcx, qword [rdi + 0x49b0]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, rax
movups xmmword [rdi + rax*8 + 0x39b8], xmm0
dec dword [rdi + 0x49a8]
movsxd rcx, dword [rdi + 0x49e8]
lea eax, [rcx - 1]
mov dword [rdi + 0x49e8], eax
mov rax, qword [rdi + 0x49f0]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rdi + 0x48b8], ecx
jmp 0x18002b042
mov r12, qword [rsp + 0x40]
mov rdi, qword [0x180316360]
movsxd rax, dword [r12 + 0x128]
lea rcx, str.TITLEBAR
mov r8, qword [r12 + 0x130]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.18000a1d0
mov rcx, qword [r12]
mov r15d, eax
movaps xmm9, xmmword [rsp + 0x1a0]
movaps xmm8, xmmword [rsp + 0x1b0]
movaps xmm7, xmmword [rsp + 0x1c0]
movaps xmm6, xmmword [rsp + 0x1d0]
cmp dword [rcx + 0x4080], eax
jne 0x18002b0b0
lea r8, str.TITLEBAR
mov edx, 0xb
mov ecx, eax
call fcn.180030250
mov rdi, qword [0x180316360]
mov eax, dword [r13 + 0x4084]
test eax, eax
je 0x18002b0cd
cmp eax, r15d
je 0x18002b0cd
cmp dword [r13 + 0x4098], r15d
jne 0x18002b28d
cmp dword [rdi + 0x4098], r15d
jne 0x18002b0dd
mov dword [rdi + 0x409c], r15d
cmp dword [rdi + 0x40c8], r15d
jne 0x18002b0ed
mov byte [rdi + 0x40cc], 1
lea r9, [rbp - 0x28]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x18]
mov edx, r15d
call fcn.180049a90
cmp dword [r13 + 0x4084], r15d
jne 0x18002b118
mov dword [r13 + 0x48d8], r15d
cmp byte [rbp - 0x28], 0
je 0x18002b28d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18001a480
test al, al
je 0x18002b138
mov eax, dword [rbx + 0x18]
mov dword [rbp - 0x20], eax
mov edx, dword [rbx + 0x18]
test edx, edx
je 0x18002b28d
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x18002b28d
mov rcx, qword [rbx + 8]
cmp dword [rcx], edx
je 0x18002b16a
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x18002b156
jmp 0x18002b28d
cdqe
imul r15, rax, 0x38
add r15, qword [rbx + 8]
je 0x18002b28d
mov r15, qword [r15 + 8]
test r15, r15
jne 0x18002b18a
mov r15, qword [rsi + 0x88]
mov rax, qword [rsi + 0x90]
xor dil, dil
mov r11, qword [0x180316360]
test rax, rax
je 0x18002b1e5
test byte [rax + 0x14], 4
jne 0x18002b1e5
mov rax, qword [rsi + 0x18]
mov rcx, rsi
test rax, rax
je 0x18002b1be
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x18002b1b2
cmp qword [rcx + 0xa0], rsi
jne 0x18002b1d1
cmp qword [rcx + 0x98], 0
je 0x18002b1e5
mov eax, dword [rcx + 0x10]
shr eax, 0xa
test al, 1
movzx edi, dil
mov eax, 1
cmovne edi, eax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18001a480
cmp byte [r11 + 0xe10], 0
jne 0x18002b1ff
xor cl, cl
jmp 0x18002b22c
movss xmm0, dword [r11 + 0x74]
movaps xmm1, xmm0
mulss xmm1, dword [0x1803042e8]
comiss xmm11, xmm1
jbe 0x18002b219
movaps xmm1, xmm0
movss xmm0, dword [r11 + 0x37d0]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae cl
test dil, dil
je 0x18002b274
test cl, cl
je 0x18002b28d
lea rcx, [r11 + 0x5df8]
mov qword [rbp - 0x50], r14
lea rdx, [rbp - 0x80]
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x60], 0xffffffff
mov dword [rbp - 0x5c], 0x3f000000
mov byte [rbp - 0x58], 0
mov dword [rbp - 0x80], 2
mov qword [rbp - 0x48], rsi
call fcn.1800310f0
jmp 0x18002b28d
test al, al
jne 0x18002b27c
test cl, cl
je 0x18002b28d
cmp qword [r11 + 0x4050], r15
je 0x18002b28d
mov rcx, r15
call fcn.18000f160
mov edx, dword [rbx + 0x1c]
test edx, edx
movaps xmm11, xmmword [rsp + 0x180]
cmove edx, dword [rbp - 0x20]
mov r15, qword [rsp + 0x1e0]
test edx, edx
je 0x18002b2f8
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x18002b2f8
mov rcx, qword [rbx + 8]
nop word [rax + rax]
cmp dword [rcx], edx
je 0x18002b2d1
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x18002b2c0
jmp 0x18002b2f8
cdqe
imul rdi, rax, 0x38
add rdi, qword [rbx + 8]
je 0x18002b2f8
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x18002b2f8
xor edx, edx
call fcn.180018fa0
mov rcx, qword [rdi + 8]
xor edx, edx
call fcn.18001fa90
call fcn.18005d010
mov rax, qword [0x180316360]
mov rbx, qword [rsp + 0x230]
mov rcx, qword [rax + 0x4038]
dec dword [rcx + 0x128]
mov eax, dword [rsi + 0x10]
shr eax, 0xa
test al, 1
jne 0x18002b338
movzx eax, byte [rsp + 0x32]
mov byte [r12 + 0xf0], al
mov dword [r12 + 0x190], r14d
mov r12, qword [rsp + 0x1e8]
mov rdi, qword [rsp + 0x1f0]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1800a9a10
add rsp, 0x1f8
pop r14
pop r13
pop rsi
pop rbp
ret
cmp dword [rsi + 0x30], 0
jle 0x18002b36f
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 + 0xcc], al
test dil, dil
je 0x18002b399
mov eax, dword [r13 + 0x3f90]
mov dword [rsi + 0xb4], eax
test r14, r14
je 0x18002b340
test dil, dil
jne 0x18002b3ad
cmp qword [r8 + 0x90], 0
jne 0x18002b3b4
mov qword [r8 + 0x90], r14
mov rdx, qword [rsi + 0x40]
test rdx, rdx
je 0x18002b340
mov rax, qword [rsi + 0x90]
mov ecx, dword [rax + 0xb0]
mov dword [rdx + 0x20], ecx
jmp 0x18002b340