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

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x180358080]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov eax, dword [rcx + 0xb0]
mov rsi, rcx
mov r14, qword [0x18035ba60]
inc eax
mov r8, rdx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x70], eax
movzx edx, byte [rsi + 0xcc]
mov ecx, dword [r14 + 0x40d8]
mov dword [rsp + 0x6c], ecx
test dl, 0x40
je 0x18002e654
mov byte [rsp + 0x31], 1
cmp eax, ecx
je 0x18002e659
mov byte [rsp + 0x31], 0
xor r13d, r13d
lea r12d, [r13 + 1]
cmp dword [rsi + 0xc0], r13d
je 0x18002e672
mov dword [rsp + 0x40], r12d
cmp eax, ecx
je 0x18002e677
mov dword [rsp + 0x40], r13d
and dl, 0xbf
mov dword [rsi + 0xc0], r13d
mov byte [rsi + 0xcc], dl
mov r9, rsi
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x58], rsi
test rax, rax
je 0x18002e6b3
nop dword [rax + rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x18002e6a0
mov r9, qword [rsp + 0x58]
mov rax, qword [r14 + 0x4f38]
mov qword [rsp + 0x1d0], rbx
test rax, rax
je 0x18002e6d6
cmp qword [rax + 0x468], rsi
sete bl
jmp 0x18002e786
mov rcx, qword [r14 + 0x4d40]
test rcx, rcx
je 0x18002e784
mov eax, dword [rsi]
cmp dword [r9 + 0xb8], eax
jne 0x18002e784
mov rcx, qword [rcx + 0x3d0]
test dword [rcx + 0x1c], 0x10000000
je 0x18002e727
nop word [rax + rax]
mov rax, qword [rcx + 0x3c0]
mov rcx, qword [rax + 0x3d0]
test dword [rcx + 0x1c], 0x10000000
jne 0x18002e710
mov rax, qword [rcx + 0x470]
test rax, rax
jne 0x18002e740
mov rax, qword [rcx + 0x468]
test rax, rax
je 0x18002e784
nop
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x18002e75c
nop dword [rax]
mov rax, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x18002e750
cmp rax, r9
je 0x18002e889
mov rax, qword [rax + 0x88]
test rax, rax
je 0x18002e784
mov rax, qword [rax + 0x3d0]
mov rax, qword [rax + 0x468]
test rax, rax
jne 0x18002e740
xor bl, bl
mov eax, dword [rsi + 0x10]
mov byte [rsp + 0x30], bl
test eax, 0x3000
jne 0x18002f6aa
movzx ecx, byte [r8 + 0x100]
mov qword [rsp + 0x188], rdi
mov qword [rsp + 0x180], r15
movaps xmmword [rsp + 0x170], xmm6
movaps xmmword [rsp + 0x160], xmm7
shr eax, 0xa
movaps xmmword [rsp + 0x150], xmm8
movaps xmmword [rsp + 0x140], xmm9
mov byte [rsp + 0x32], cl
test r12b, al
jne 0x18002e7ec
mov byte [r8 + 0x100], r13b
mov dword [r8 + 0x1a4], r12d
mov ecx, dword [rsi]
call fcn.18001e2f0
mov rax, qword [rsi + 0x40]
mov qword [rsp + 0x48], rax
mov rdi, rax
test rax, rax
jne 0x18002e810
mov rcx, rsi
call fcn.18002f740
mov rdi, qword [rsi + 0x40]
and byte [rsi + 0xcc], 0xfd
movzx eax, bl
add al, al
mov dword [rsp + 0x34], r13d
or byte [rsi + 0xcc], al
xorps xmm6, xmm6
test dword [rsi + 0x10], 0x4000
jne 0x18002e972
cmp dword [r14 + 0x3a20], 0xffffffff
je 0x18002e972
call fcn.180022520
test al, al
je 0x18002e979
mov rbx, qword [0x18035ba60]
mov r15d, dword [rdi + 0x1c]
movss xmm1, dword [rsi + 0x48]
movss xmm0, dword [rbx + 0x3a38]
addss xmm0, xmm0
addss xmm0, dword [rbx + 0x3eb8]
addss xmm0, dword [rsi + 0x4c]
cmp dword [rbx + 0x3a20], r13d
jne 0x18002e892
xorps xmm2, xmm2
jmp 0x18002e89f
movzx ebx, r12b
jmp 0x18002e786
addss xmm1, dword [rsi + 0x50]
movss xmm2, dword [0x18033ffe0]
or dword [rbx + 0x4b80], r12d
movss dword [rbx + 0x4b94], xmm1
movss dword [rbx + 0x4b98], xmm0
movss dword [rbx + 0x4b9c], xmm2
movss dword [rbx + 0x4ba0], xmm6
mov dword [rbx + 0x4b84], r12d
mov byte [rbx + 0x4bc0], r12b
call fcn.180022cc0
test al, al
je 0x18002e94a
or byte [rsi + 0xcc], 2
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call qword [rbx + 0x61d0]
mov rbx, qword [0x18035ba60]
mov rcx, qword [rbx + 0x4180]
cmp qword [rbx + 0x4d40], rcx
jne 0x18002e92e
cmp byte [rbx + 0x4de9], r13b
je 0x18002e92e
cmp dword [rbx + 0x4d90], r13d
jne 0x18002e92e
mov eax, dword [rbx + 0x4dec]
and eax, 0xfffffff2
or eax, 2
mov dword [rbx + 0x4dec], eax
test dword [rcx + 0x1c], 0x1000000
je 0x18002e93e
mov byte [rbx + 0x40ea], r12b
call fcn.18001d310
mov byte [rbx + 0x40ea], r13b
mov eax, dword [rdi + 0x1c]
test eax, eax
je 0x18002e960
cmp eax, r15d
mov r8d, r13d
cmovne r8d, eax
mov dword [rsp + 0x34], r8d
movzx eax, byte [rsi + 0xcc]
shr al, 1
and al, r12b
or byte [rsp + 0x30], al
jmp 0x18002e979
xor r12b, r12b
mov byte [rsp + 0x30], bl
mov rcx, qword [0x18035ba60]
movss xmm8, dword [rsi + 0x4c]
movss xmm9, dword [rsi + 0x48]
movaps xmm0, xmm8
movzx edx, byte [rsi + 0xcc]
movaps xmm7, xmm9
movss xmm6, dword [rcx + 0x3a38]
movss dword [rbp - 0x74], xmm8
addss xmm6, xmm6
mov qword [rsp + 0x60], r13
addss xmm0, dword [rcx + 0x3eb8]
movss dword [rbp - 0x60], xmm9
movss dword [rbp - 0x5c], xmm8
addss xmm7, dword [rsi + 0x50]
addss xmm6, xmm0
movss dword [rbp - 0x58], xmm7
movaps xmm4, xmm7
movss dword [rbp - 0x54], xmm6
movss xmm1, dword [rcx + 0x3a34]
movss xmm0, dword [rcx + 0x3a0c]
movss xmm3, dword [rcx + 0x3eb8]
movaps xmm2, xmm0
movss dword [rbp - 0x6c], xmm6
addss xmm2, xmm9
subss xmm4, xmm0
addss xmm2, xmm1
subss xmm4, xmm1
movaps xmm1, xmm8
addss xmm1, dword [rcx + 0x3a38]
movss dword [rbp - 0x78], xmm2
movss dword [rbp - 0x70], xmm4
test dl, 8
je 0x18002ea4f
movaps xmm0, xmm4
movss dword [rsp + 0x64], xmm1
subss xmm0, xmm3
movss dword [rsp + 0x60], xmm0
movaps xmm0, xmm3
addss xmm0, dword [rcx + 0x3a4c]
subss xmm4, xmm0
movss dword [rbp - 0x70], xmm4
test dl, 0x10
je 0x18002ea91
cmp dword [rcx + 0x3a20], r13d
jne 0x18002ea70
addss xmm3, dword [rcx + 0x3a4c]
addss xmm3, xmm2
movss dword [rbp - 0x78], xmm3
jmp 0x18002ea91
cmp dword [rcx + 0x3a20], 1
jne 0x18002ea91
movaps xmm2, xmm4
subss xmm2, xmm3
addss xmm3, dword [rcx + 0x3a4c]
subss xmm4, xmm3
movss dword [rbp - 0x70], xmm4
mov r15d, r13d
mov eax, dword [rdi]
movups xmm0, xmmword [rbp - 0x78]
mov dword [rsp + 0x68], eax
movss dword [rbp - 0x78], xmm2
movups xmmword [rbp - 0x50], xmm0
movss dword [rbp - 0x74], xmm1
cmp dword [rsi + 0x30], r13d
jle 0x18002eb38
mov rbx, r13
nop dword [rax]
mov rax, qword [rsi + 0x38]
mov r9, qword [rbx + rax]
mov r8d, dword [r9 + 0xc0]
test r8d, r8d
je 0x18002eafe
mov edx, dword [rdi]
mov eax, r13d
test edx, edx
jle 0x18002eafe
mov rcx, qword [rdi + 8]
cmp dword [rcx], r8d
je 0x18002eaf2
inc eax
add rcx, 0x38
cmp eax, edx
jl 0x18002eae1
jmp 0x18002eafe
cdqe
imul rcx, rax, 0x38
add rcx, qword [rdi + 8]
jne 0x18002eb0e
mov r8, r9
mov edx, 0x400000
mov rcx, rdi
call fcn.18005be20
inc r15d
add rbx, 8
cmp r15d, dword [rsi + 0x30]
jl 0x18002eac0
movss xmm6, dword [rbp - 0x54]
movss xmm7, dword [rbp - 0x58]
movss xmm8, dword [rbp - 0x5c]
movss xmm9, dword [rbp - 0x60]
mov rcx, qword [0x18035ba60]
movzx edx, byte [rsp + 0x30]
test dl, dl
je 0x18002eb4e
mov eax, dword [r14 + 0x40d8]
mov dword [rsi + 0xb4], eax
mov r15, qword [rsp + 0x38]
cmp byte [r15 + 0xfe], r13b
je 0x18002eb63
mov eax, 0xc
jmp 0x18002eb6f
test dl, dl
mov rax, r13
setne al
add rax, 0xa
add rax, rax
movups xmm0, xmmword [rcx + rax*8 + 0x3ae0]
movups xmmword [rsp + 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rcx + 0x39f8]
lea rcx, [rsp + 0x78]
movss dword [rbp - 0x7c], xmm0
call fcn.18000dff0
movss xmm3, dword [r14 + 0x3acc]
mov r10d, eax
movss xmm1, dword [r15 + 0x60]
movss xmm2, dword [r15 + 0x64]
movaps xmm0, xmm1
addss xmm1, dword [r15 + 0x68]
addss xmm0, xmm3
subss xmm1, xmm3
comiss xmm0, xmm9
movaps xmm9, xmmword [rsp + 0x140]
movaps xmm0, xmm2
addss xmm2, dword [r15 + 0x6c]
setae cl
addss xmm0, xmm3
comiss xmm7, xmm1
movaps xmm7, xmmword [rsp + 0x160]
subss xmm2, xmm3
setae r9b
comiss xmm0, xmm8
movaps xmm8, xmmword [rsp + 0x150]
setae dl
comiss xmm6, xmm2
setae al
test dl, dl
je 0x18002ec19
test cl, cl
je 0x18002ec19
mov r8d, 0x10
jmp 0x18002ec20
mov r8d, r13d
test dl, dl
je 0x18002ec2a
mov edx, 0x20
test r9b, r9b
jne 0x18002ec2d
mov edx, r13d
test al, al
je 0x18002ec3c
test cl, cl
je 0x18002ec3c
mov ecx, 0x40
jmp 0x18002ec43
mov ecx, r13d
test al, al
je 0x18002ec4d
mov eax, 0x180
test r9b, r9b
jne 0x18002ec52
mov eax, 0x100
movss xmm0, dword [r15 + 0x98]
or eax, r8d
or eax, edx
lea r8, [rbp - 0x58]
or eax, ecx
lea rdx, [rbp - 0x60]
mov rcx, qword [r15 + 0x2f0]
mov r9d, r10d
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm0
call fcn.180041ac0
test r12b, r12b
je 0x18002ed4d
movsxd rax, dword [r15 + 0x138]
lea rcx, str.COLLAPSE
mov r8, qword [r15 + 0x140]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.18000d990
mov rcx, qword [r15 + 8]
mov ebx, eax
cmp dword [rcx + 0x41cc], eax
jne 0x18002ecce
lea r8, str.COLLAPSE
mov edx, 0xb
mov ecx, eax
call fcn.180034990
mov r8, rsi
lea rdx, [rbp - 0x78]
mov ecx, ebx
call fcn.18004fd40
test al, al
je 0x18002ece5
call fcn.180022590
mov rax, qword [0x18035ba60]
mov ecx, dword [rax + 0x41e4]
test ecx, ecx
je 0x18002ed05
cmp ecx, dword [rax + 0x4b30]
jne 0x18002ed05
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x34], eax
mov ecx, 0x11000
call fcn.1800125a0
test al, al
je 0x18002ed4d
movss xmm0, dword [r14 + 0x41dc]
comiss xmm0, dword [0x18033ff9c]
jbe 0x18002ed4d
mov rax, qword [0x18035ba60]
lea rdx, str.Missing_Text
mov rcx, qword [rax + 0x6288]
test rcx, rcx
cmovne rdx, rcx
lea rcx, [0x1802f96f4]
call fcn.1800223e0
mov ebx, dword [rdi]
lea ecx, [rbx - 1]
test ecx, ecx
js 0x18002ed83
movsxd rax, ecx
imul rdx, rax, 0x38
nop dword [rax]
mov r8, qword [rdi + 8]
mov eax, dword [r8 + rdx + 4]
bt eax, 0x16
jae 0x18002ed83
btr eax, 0x16
mov ebx, ecx
mov dword [r8 + rdx + 4], eax
sub rdx, 0x38
sub ecx, 1
jns 0x18002ed60
mov r8d, dword [rdi]
cmp r8d, ebx
jle 0x18002ee90
test dword [r14 + 0x62d4], 0x100
je 0x18002edc5
mov edx, dword [rsi]
lea eax, [rbx + 1]
cmp r8d, eax
lea rcx, str.__will_sort_
lea r9, [0x1802f70ed]
cmovg r9, rcx
sub r8d, ebx
lea rcx, str._docking__In_node_0x_08X:__d_new_appearing_tabs:_s_n
call fcn.1800345b0
mov r12d, ebx
cmp ebx, dword [rdi]
jge 0x18002ee25
movsxd rax, ebx
imul r15, rax, 0x38
mov rdx, qword [rdi + 8]
add rdx, r15
test dword [r14 + 0x62d4], 0x100
je 0x18002ee19
mov rax, qword [rdx + 8]
test rax, rax
je 0x18002edfa
movsx r9d, word [rax + 0x44e]
jmp 0x18002ee00
mov r9d, 0xffffffff
mov rcx, rdi
call fcn.18005bdf0
mov edx, dword [rdx]
lea rcx, str._docking____Tab_0x_08X__s_Order__d_n
mov r8, rax
call fcn.1800345b0
inc r12d
add r15, 0x38
cmp r12d, dword [rdi]
jl 0x18002edd3
test dword [r14 + 0x62d4], 0x100
je 0x18002ee5f
mov rax, qword [r14 + 0x4d40]
test rax, rax
je 0x18002ee47
mov r8d, dword [rax + 0xc0]
jmp 0x18002ee4d
mov r8d, 0xffffffff
mov edx, dword [rsi + 0xbc]
lea rcx, str._docking__SelectedTabId__0x_08X__NavWindow__TabId__0x_08X_n
call fcn.1800345b0
mov ecx, dword [rdi]
lea eax, [rbx + 1]
cmp ecx, eax
jle 0x18002ee90
sub ecx, ebx
movsxd rdx, ecx
cmp rdx, 1
jbe 0x18002ee90
movsxd rax, ebx
lea r9, [0x18002e470]
imul rcx, rax, 0x38
mov r8d, 0x38
add rcx, qword [rdi + 8]
call fcn.1800ad8d0
mov rax, qword [r14 + 0x4d40]
test rax, rax
je 0x18002eeb5
mov rax, qword [rax + 0x3d0]
cmp qword [rax + 0x468], rsi
jne 0x18002eeb5
mov eax, dword [rax + 0xc0]
mov dword [rdi + 0x18], eax
cmp qword [rsp + 0x48], r13
jne 0x18002eee8
mov edx, dword [rsi + 0xbc]
test edx, edx
je 0x18002eee8
mov r8d, dword [rdi]
mov eax, r13d
test r8d, r8d
jle 0x18002eee8
mov rcx, qword [rdi + 8]
cmp dword [rcx], edx
je 0x18002f1f2
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x18002eed5
movsxd rax, dword [rdi]
cmp eax, dword [rsp + 0x68]
jle 0x18002ef0a
imul rcx, rax, 0x38
mov rax, qword [rdi + 8]
mov rcx, qword [rcx + rax - 0x30]
mov eax, dword [rcx + 0xc0]
mov dword [rdi + 0x18], eax
mov dword [rdi + 0x1c], eax
mov rax, qword [rsp + 0x38]
mov r15d, 0x500003
cmp byte [rax + 0xfe], r13b
jne 0x18002ef2c
cmp byte [rsp + 0x30], r13b
mov eax, 0x700003
cmovne r15d, eax
mov rax, qword [0x18035ba60]
lea rcx, str.TabBar
xor edx, edx
mov rbx, qword [rax + 0x4180]
movsxd rax, dword [rbx + 0x138]
mov r8, qword [rbx + 0x140]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.18000d990
mov rcx, qword [rbx + 8]
mov r12d, eax
cmp dword [rcx + 0x41cc], eax
jne 0x18002ef7d
lea r8, str.TabBar
mov edx, 0xb
mov ecx, eax
call fcn.180034990
mov rax, qword [rsp + 0x38]
lea rdx, [rbp - 0x50]
mov dword [rdi + 0x14], r12d
mov r8d, r15d
movss xmm0, dword [rsi + 0x48]
mov rcx, rdi
addss xmm0, dword [rax + 0x9c]
movss dword [rdi + 0x64], xmm0
movss xmm1, dword [rsi + 0x50]
addss xmm1, dword [rsi + 0x48]
subss xmm1, dword [rax + 0x9c]
movss dword [rdi + 0x68], xmm1
call fcn.18005a800
mov r12d, r13d
movups xmm0, xmmword [r14 + 0x3d30]
movups xmm1, xmmword [r14 + 0x3d40]
movups xmm2, xmmword [r14 + 0x3ae0]
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [r14 + 0x3d50]
movaps xmmword [rbp - 0x10], xmm1
movups xmm1, xmmword [r14 + 0x3d60]
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [r14 + 0x3d70]
mov qword [rsi + 0x90], r13
movaps xmmword [rbp - 0x30], xmm2
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm1
cmp dword [rsi + 0x30], r13d
jle 0x18002f230
movss xmm6, dword [0x18033ff4c]
lea r11, [0x1802fa380]
mov r15, r13
lea r10, [0x1802fa398]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi + 0x38]
mov rbx, qword [r15 + rax]
cmp byte [rsp + 0x31], r13b
jne 0x18002f05b
mov eax, dword [rsp + 0x40]
cmp eax, dword [rbx + 0xc0]
jne 0x18002f071
cmp byte [rbx + 0x105], r13b
je 0x18002f071
test dword [rbx + 0x1c], 0x40000
je 0x18002f21b
mov eax, dword [rbx + 0x2b0]
inc eax
cmp eax, dword [r14 + 0x40d8]
jge 0x18002f090
mov eax, dword [rsp + 0x6c]
cmp dword [rsp + 0x70], eax
je 0x18002f21b
mov edx, dword [rbx + 0x3c]
mov r8, rbx
or edx, 1
test dword [rbx + 0x1c], 0x40000
cmove edx, dword [rbx + 0x3c]
mov r9d, edx
or r9d, 4
test byte [rdi + 0x10], 8
cmove r9d, edx
mov rdx, r11
sub r8, r11
nop dword [rax]
mov ecx, dword [rdx + r8 + 0x450]
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, 0x3ae
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 + 0x48], xmm3
movups xmmword [r14 + rax*8], xmm3
cmp rdx, r10
jl 0x18002f0c0
cmp byte [rbx + 0x105], r13b
lea r8, [rbp - 0x68]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
cmove r8, r13
mov byte [rbp - 0x68], 1
mov qword [rsp + 0x20], rbx
call fcn.18005c720
cmp byte [rbp - 0x68], r13b
jne 0x18002f185
mov eax, dword [rbx + 0xc0]
mov dword [rsi + 0xc0], eax
mov eax, dword [rbx + 0xc0]
cmp dword [rdi + 0x20], eax
jne 0x18002f197
mov qword [rsi + 0x90], rbx
mov eax, dword [r14 + 0x4b38]
mov dword [rbx + 0x47c], eax
movups xmm0, xmmword [r14 + 0x4b3c]
movups xmmword [rbx + 0x480], xmm0
mov rax, qword [r14 + 0x4d40]
test rax, rax
je 0x18002f20d
cmp qword [rax + 0x3d0], rbx
jne 0x18002f20d
test byte [rbx + 0x1a8], 2
lea r10, [0x1802fa398]
lea r11, [0x1802fa380]
jne 0x18002f21b
mov rcx, qword [rsp + 0x38]
mov eax, dword [rbx + 0xc0]
mov dword [rcx + 0x40c], eax
jmp 0x18002f21b
cdqe
imul rcx, rax, 0x38
add rcx, qword [rdi + 8]
je 0x18002eee8
mov eax, dword [rsi + 0xbc]
jmp 0x18002ef04
lea r11, [0x1802fa380]
lea r10, [0x1802fa398]
inc r12d
add r15, 8
cmp r12d, dword [rsi + 0x30]
jl 0x18002f040
movaps xmm2, xmmword [rbp - 0x30]
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movaps xmm6, xmmword [rsp + 0x170]
movups xmmword [r14 + 0x3ae0], xmm2
movups xmmword [r14 + 0x3d30], xmm0
movaps xmm0, xmmword [rbp]
movups xmmword [r14 + 0x3d40], xmm1
movaps xmm1, xmmword [rbp + 0x10]
movups xmmword [r14 + 0x3d50], xmm0
movaps xmm0, xmmword [rbp + 0x20]
movups xmmword [r14 + 0x3d60], xmm1
movups xmmword [r14 + 0x3d70], xmm0
mov rax, qword [rsi + 0x90]
test rax, rax
je 0x18002f2a4
mov rcx, qword [rsp + 0x58]
cmp byte [rsp + 0x30], r13b
jne 0x18002f29d
cmp qword [rcx + 0x90], r13
jne 0x18002f2a4
mov qword [rcx + 0x90], rax
movzx eax, byte [rsi + 0xcc]
and al, 8
je 0x18002f2cc
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x18002f2cc
cmp byte [rcx + 0x105], r13b
je 0x18002f2cc
mov r15b, 1
jmp 0x18002f3b9
test al, al
je 0x18002f4d7
mov rbx, qword [0x18035ba60]
mov r12d, dword [rbx + 0x4b04]
lea r15, [rbx + 0x4c68]
or r12d, 4
mov dword [rbx + 0x4b04], r12d
mov ecx, dword [r15 + 4]
mov r8d, dword [r15]
cmp r8d, ecx
jne 0x18002f330
inc r8d
test ecx, ecx
je 0x18002f312
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002f317
mov eax, 8
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.180036370
mov rbx, qword [0x18035ba60]
movsxd rcx, dword [r15]
lea rdx, [rbp - 0x50]
mov rax, qword [r15 + 8]
mov dword [rbp - 0x50], r13d
mov dword [rax + rcx*4], r12d
lea rcx, [rbx + 0x4c28]
inc dword [r15]
movss xmm0, dword [r14 + 0x3ae0]
movss xmm1, dword [r14 + 0x3ae4]
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [r14 + 0x3ae8]
movss dword [rsp + 0x4c], xmm1
movss xmm1, dword [r14 + 0x3aec]
mulss xmm1, dword [0x18033ff88]
movss dword [rsp + 0x50], xmm0
movups xmm0, xmmword [rbx + 0x3ae0]
movss dword [rsp + 0x54], xmm1
movups xmmword [rbp - 0x4c], xmm0
call fcn.1800357b0
xor r15b, r15b
cmp dword [rbx + 0x4c24], r13d
je 0x18002f3b9
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx + 0x3ae0], xmm0
mov r12, qword [rsp + 0x38]
lea rcx, str.CLOSE
xor edx, edx
movsxd rax, dword [r12 + 0x138]
mov r8, qword [r12 + 0x140]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.18000d990
mov rcx, qword [r12 + 8]
mov ebx, eax
cmp dword [rcx + 0x41cc], eax
jne 0x18002f403
lea r8, str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.180034990
lea rdx, [rsp + 0x60]
mov ecx, ebx
call fcn.18004f990
test al, al
je 0x18002f474
or byte [rsi + 0xcc], 0x40
mov r8d, r13d
cmp dword [rdi], r13d
jle 0x18002f474
mov rcx, r13
nop word [rax + rax]
mov rdx, qword [rdi + 8]
mov eax, dword [rcx + rdx + 4]
bt eax, 0x15
jb 0x18002f468
test eax, 0x101
mov eax, dword [rcx + rdx]
jne 0x18002f460
mov byte [rcx + rdx + 0x30], 1
cmp dword [rdi + 0x20], eax
jne 0x18002f468
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rdi + 0x18], r13
jmp 0x18002f468
cmp dword [rdi + 0x20], eax
je 0x18002f468
mov dword [rdi + 0x1c], eax
inc r8d
add rcx, 0x38
cmp r8d, dword [rdi]
jl 0x18002f430
test r15b, r15b
jne 0x18002f4dc
mov rbx, qword [0x18035ba60]
movsxd rax, dword [rbx + 0x4c28]
cmp eax, 1
jl 0x18002f4b4
mov rcx, qword [rbx + 0x4c30]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, 0x3ae
add rax, rax
movups xmmword [rbx + rax*8], xmm0
dec dword [rbx + 0x4c28]
movsxd rcx, dword [rbx + 0x4c68]
lea eax, [rcx - 1]
mov dword [rbx + 0x4c68], eax
mov rax, qword [rbx + 0x4c70]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rbx + 0x4b04], ecx
jmp 0x18002f4e3
mov r12, qword [rsp + 0x38]
mov rbx, qword [0x18035ba60]
movsxd rax, dword [r12 + 0x138]
lea rcx, str.TITLEBAR
mov r8, qword [r12 + 0x140]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.18000d990
mov rcx, qword [r12 + 8]
mov r15d, eax
cmp dword [rcx + 0x41cc], eax
jne 0x18002f530
lea r8, str.TITLEBAR
mov edx, 0xb
mov ecx, eax
call fcn.180034990
mov rbx, qword [0x18035ba60]
mov eax, dword [r14 + 0x41d0]
test eax, eax
je 0x18002f54d
cmp eax, r15d
je 0x18002f54d
cmp dword [r14 + 0x41e4], r15d
jne 0x18002f608
cmp dword [rbx + 0x41e4], r15d
jne 0x18002f55d
mov dword [rbx + 0x41e8], r15d
cmp dword [rbx + 0x4214], r15d
jne 0x18002f56d
mov byte [rbx + 0x4218], 1
lea r9, [rbp - 0x68]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x60]
mov edx, r15d
call fcn.18004eb90
cmp dword [r14 + 0x41d0], r15d
jne 0x18002f598
mov dword [r14 + 0x4b30], r15d
cmp byte [rbp - 0x68], r13b
je 0x18002f608
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18001ef50
test al, al
je 0x18002f5b5
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x34], eax
mov edx, dword [rdi + 0x18]
test edx, edx
je 0x18002f608
mov r8d, dword [rdi]
mov eax, r13d
test r8d, r8d
jle 0x18002f608
mov rcx, qword [rdi + 8]
nop dword [rax + rax]
cmp dword [rcx], edx
je 0x18002f5e1
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x18002f5d0
jmp 0x18002f608
cdqe
imul rcx, rax, 0x38
add rcx, qword [rdi + 8]
je 0x18002f608
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x18002f5fd
mov rcx, qword [rsi + 0x88]
xor r8d, r8d
mov rdx, rsi
call fcn.180012dc0
mov edx, dword [rdi + 0x1c]
test edx, edx
mov r15, qword [rsp + 0x180]
cmove edx, dword [rsp + 0x34]
test edx, edx
je 0x18002f668
mov r8d, dword [rdi]
mov eax, r13d
test r8d, r8d
jle 0x18002f668
mov rcx, qword [rdi + 8]
nop dword [rax]
cmp dword [rcx], edx
je 0x18002f641
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x18002f630
jmp 0x18002f668
cdqe
imul rbx, rax, 0x38
add rbx, qword [rdi + 8]
je 0x18002f668
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18002f668
xor edx, edx
call fcn.18001d6e0
mov rcx, qword [rbx + 8]
xor edx, edx
call fcn.1800243c0
call fcn.18005ac00
mov rax, qword [0x18035ba60]
mov rdi, qword [rsp + 0x188]
mov rcx, qword [rax + 0x4180]
dec dword [rcx + 0x138]
mov eax, dword [rsi + 0x10]
shr eax, 0xa
test al, 1
jne 0x18002f712
movzx eax, byte [rsp + 0x32]
mov byte [r12 + 0x100], al
mov dword [r12 + 0x1a4], r13d
jmp 0x18002f712
cmp dword [rsi + 0x30], r13d
jle 0x18002f6b7
mov rax, qword [rsi + 0x38]
mov r13, qword [rax]
and dl, 0xfd
mov qword [rsi + 0x90], r13
movzx eax, bl
add al, al
or dl, al
mov byte [rsi + 0xcc], dl
test bl, bl
je 0x18002f6df
mov eax, dword [r14 + 0x40d8]
mov dword [rsi + 0xb4], eax
test r13, r13
je 0x18002f712
test bl, bl
jne 0x18002f6f2
cmp qword [r9 + 0x90], 0
jne 0x18002f6f9
mov qword [r9 + 0x90], r13
mov rdx, qword [rsi + 0x40]
test rdx, rdx
je 0x18002f712
mov rax, qword [rsi + 0x90]
mov ecx, dword [rax + 0xc0]
mov dword [rdx + 0x20], ecx
mov rbx, qword [rsp + 0x1d0]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1800a14e0
add rsp, 0x190
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret