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

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1401eb040]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov eax, dword [rcx + 0xb0]
mov rsi, rcx
mov r14, qword [0x1401f26f8]
inc eax
mov r13, rdx
mov dword [rsp + 0x68], eax
movzx r8d, byte [rsi + 0xcc]
mov ecx, dword [r14 + 0x4098]
mov dword [rbp - 0x80], ecx
test r8b, 0x40
je 0x1401066bc
mov byte [rbp - 0x7b], 1
cmp eax, ecx
je 0x1401066c0
mov byte [rbp - 0x7b], 0
xor r12d, r12d
mov r9d, 1
cmp dword [rsi + 0xc0], r12d
je 0x1401066db
mov dword [rsp + 0x6c], r9d
cmp eax, ecx
je 0x1401066e0
mov dword [rsp + 0x6c], r12d
and r8b, 0xbf
mov dword [rsi + 0xc0], r12d
mov byte [rsi + 0xcc], r8b
mov rdx, rsi
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x78], rdx
test rax, rax
je 0x140106723
nop dword [rax]
nop word [rax + rax]
mov qword [rsp + 0x78], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140106710
mov rdx, qword [rsp + 0x78]
mov rax, qword [r14 + 0x4ef8]
mov qword [rsp + 0x180], rbx
test rax, rax
je 0x140106746
cmp qword [rax + 0x458], rsi
sete bl
jmp 0x1401067f6
mov rcx, qword [r14 + 0x4d00]
test rcx, rcx
je 0x1401067f4
mov eax, dword [rsi]
cmp dword [rdx + 0xb8], eax
jne 0x1401067f4
mov rcx, qword [rcx + 0x3c0]
test dword [rcx + 0x14], 0x10000000
je 0x140106797
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx + 0x3b0]
mov rcx, qword [rax + 0x3c0]
test dword [rcx + 0x14], 0x10000000
jne 0x140106780
mov rax, qword [rcx + 0x460]
test rax, rax
jne 0x1401067b0
mov rax, qword [rcx + 0x458]
test rax, rax
je 0x1401067f4
nop
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1401067cc
nop dword [rax]
mov rax, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1401067c0
cmp rax, rdx
je 0x140106973
mov rax, qword [rax + 0x88]
test rax, rax
je 0x1401067f4
mov rax, qword [rax + 0x3c0]
mov rax, qword [rax + 0x458]
test rax, rax
jne 0x1401067b0
xor bl, bl
mov ecx, dword [rsi + 0x10]
mov eax, ecx
shr eax, 0xd
mov byte [rsp + 0x30], bl
test r9b, al
jne 0x14010792c
mov eax, ecx
shr eax, 0xc
test r9b, al
jne 0x14010792c
movzx eax, byte [r13 + 0xf8]
mov qword [rsp + 0x138], rdi
shr ecx, 0xa
mov qword [rsp + 0x130], r15
movaps xmmword [rsp + 0x120], xmm6
mov byte [rsp + 0x31], al
test r9b, cl
jne 0x140106853
mov byte [r13 + 0xf8], r12b
mov dword [r13 + 0x198], r9d
mov ecx, dword [rsi]
call fcn.1400f5310
mov rax, qword [rsi + 0x40]
mov qword [rsp + 0x38], rax
mov rdi, rax
test rax, rax
jne 0x140106877
mov rcx, rsi
call fcn.1401079c0
mov rdi, qword [rsi + 0x40]
and byte [rsi + 0xcc], 0xfd
movzx eax, bl
add al, al
mov dword [rsp + 0x48], r12d
or byte [rsi + 0xcc], al
xorps xmm6, xmm6
test dword [rsi + 0x10], 0x4000
jne 0x140106a87
cmp dword [r14 + 0x3a20], 0xffffffff
je 0x140106a87
mov rax, qword [0x1401f26f8]
lea rcx, str.WindowMenu
xor edx, edx
mov byte [rbp - 0x7c], 1
mov rbx, qword [rax + 0x4140]
movsxd rax, dword [rbx + 0x130]
mov r8, qword [rbx + 0x138]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400e2b40
mov rcx, qword [rbx]
mov r9d, eax
mov dword [rsp + 0x58], eax
cmp dword [rcx + 0x418c], eax
jne 0x140106909
lea r8, str.WindowMenu
mov edx, 0xb
mov ecx, eax
call fcn.140118110
mov r9d, dword [rsp + 0x58]
mov r15, qword [0x1401f26f8]
movsxd rax, dword [r15 + 0x4c58]
cmp dword [r15 + 0x4c48], eax
jle 0x140106a80
imul rcx, rax, 0x38
mov rax, qword [r15 + 0x4c50]
cmp dword [rcx + rax], r9d
jne 0x140106a80
mov eax, 1
movss xmm0, dword [r15 + 0x3a38]
addss xmm0, xmm0
mov ecx, dword [rdi + 0x1c]
movss xmm1, dword [rsi + 0x48]
mov dword [rsp + 0x58], ecx
addss xmm0, dword [r15 + 0x3e78]
addss xmm0, dword [rsi + 0x4c]
cmp dword [r15 + 0x3a20], r12d
jne 0x14010697c
xorps xmm2, xmm2
jmp 0x140106989
movzx ebx, r9b
jmp 0x1401067f6
addss xmm1, dword [rsi + 0x50]
movss xmm2, dword [0x1401cd20c]
or dword [r15 + 0x4b40], 1
movss dword [r15 + 0x4b54], xmm1
movss dword [r15 + 0x4b58], xmm0
movss dword [r15 + 0x4b5c], xmm2
movss dword [r15 + 0x4b60], xmm6
mov dword [r15 + 0x4b44], eax
mov byte [r15 + 0x4b80], 1
mov eax, dword [r15 + 0x4c58]
cmp dword [r15 + 0x4c48], eax
jg 0x1401069dd
mov dword [r15 + 0x4b40], r12d
jmp 0x140106a5b
mov rbx, qword [r15 + 0x4140]
lea rcx, str.WindowMenu
xor edx, edx
movsxd rax, dword [rbx + 0x130]
mov r8, qword [rbx + 0x138]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400e2b40
mov rcx, qword [rbx]
mov dword [rsp + 0x4c], eax
cmp dword [rcx + 0x418c], eax
jne 0x140106a2b
lea r8, str.WindowMenu
mov edx, 0xb
mov ecx, eax
call fcn.140118110
mov eax, dword [rsp + 0x4c]
mov edx, 0x141
mov ecx, eax
call fcn.1400fa240
test al, al
je 0x140106a57
or byte [rsi + 0xcc], 2
mov r8, rdi
mov rdx, rsi
mov rcx, r15
call qword [r15 + 0x6190]
call fcn.1400fa560
mov ecx, dword [rsp + 0x58]
mov eax, dword [rdi + 0x1c]
test eax, eax
je 0x140106a6e
cmp eax, ecx
mov edx, r12d
cmovne edx, eax
mov dword [rsp + 0x48], edx
movzx ebx, byte [rsi + 0xcc]
shr bl, 1
and bl, 1
or byte [rsp + 0x30], bl
jmp 0x140106a8f
movzx ebx, byte [rsp + 0x30]
jmp 0x140106a8b
mov byte [rbp - 0x7c], r12b
mov byte [rsp + 0x30], bl
xorps xmm0, xmm0
mov qword [rsp + 0x50], r12
xorps xmm1, xmm1
mov qword [rsp + 0x70], r12
lea rax, [rsp + 0x70]
mov rcx, rsi
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x78]
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm1
call fcn.140107c70
mov r15d, r12d
mov eax, dword [rdi]
mov dword [rsp + 0x4c], eax
cmp dword [rsi + 0x30], r12d
jle 0x140106b3d
mov rbx, r12
nop dword [rax + rax]
mov rax, qword [rsi + 0x38]
mov r10, qword [rbx + rax]
mov r8d, dword [r10 + 0xb8]
test r8d, r8d
je 0x140106b20
mov edx, dword [rdi]
mov eax, r12d
test edx, edx
jle 0x140106b20
mov r9, qword [rdi + 8]
mov rcx, r9
cmp dword [rcx], r8d
je 0x140106b15
inc eax
add rcx, 0x38
cmp eax, edx
jl 0x140106b04
jmp 0x140106b20
cdqe
imul rcx, rax, 0x38
add rcx, r9
jne 0x140106b30
mov r8, r10
mov edx, 0x400000
mov rcx, rdi
call fcn.1400d6d00
inc r15d
add rbx, 8
cmp r15d, dword [rsi + 0x30]
jl 0x140106ae0
movzx eax, byte [rsp + 0x30]
test al, al
je 0x140106b58
mov eax, dword [r14 + 0x4098]
mov dword [rsi + 0xb4], eax
movzx eax, byte [rsp + 0x30]
cmp byte [r13 + 0xf6], r12b
je 0x140106b68
mov ecx, 0xc
jmp 0x140106b74
test al, al
mov rcx, r12
setne cl
add rcx, 0xa
mov rax, qword [0x1401f26f8]
add rcx, rcx
movups xmm0, xmmword [rax + rcx*8 + 0x3ae0]
lea rcx, [rsp + 0x58]
movups xmmword [rsp + 0x58], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x39f8]
movss dword [rsp + 0x64], xmm0
call fcn.1400e31b0
movss xmm2, dword [r14 + 0x3acc]
mov r10d, eax
movss xmm1, dword [r13 + 0x58]
movss xmm3, dword [r13 + 0x5c]
movaps xmm0, xmm1
addss xmm1, dword [r13 + 0x60]
addss xmm0, xmm2
subss xmm1, xmm2
comiss xmm0, dword [rbp - 0x78]
movss xmm0, dword [rbp - 0x70]
setae cl
comiss xmm0, xmm1
movss xmm0, dword [rbp - 0x6c]
movaps xmm1, xmm3
addss xmm3, dword [r13 + 0x64]
setae r9b
addss xmm1, xmm2
subss xmm3, xmm2
comiss xmm1, dword [rbp - 0x74]
setae dl
comiss xmm0, xmm3
setae al
test dl, dl
je 0x140106c16
test cl, cl
je 0x140106c16
mov r8d, 0x10
jmp 0x140106c1d
mov r8d, r12d
test dl, dl
je 0x140106c27
mov edx, 0x20
test r9b, r9b
jne 0x140106c2a
mov edx, r12d
test al, al
je 0x140106c39
test cl, cl
je 0x140106c39
mov ecx, 0x40
jmp 0x140106c40
mov ecx, r12d
test al, al
je 0x140106c4a
mov eax, 0x180
test r9b, r9b
jne 0x140106c4f
mov eax, pe_nt_image_headers64
movss xmm0, dword [r13 + 0x90]
or eax, r8d
or eax, edx
lea r8, [rbp - 0x70]
or eax, ecx
lea rdx, [rbp - 0x78]
mov rcx, qword [r13 + 0x2e0]
mov r9d, r10d
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm0
call fcn.1400abcc0
cmp byte [rbp - 0x7c], r12b
je 0x140106dce
movsxd rax, dword [r13 + 0x130]
lea rcx, str.COLLAPSE
mov r8, qword [r13 + 0x138]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400e2b40
mov rcx, qword [r13]
mov ebx, eax
cmp dword [rcx + 0x418c], eax
jne 0x140106ccc
lea r8, str.COLLAPSE
mov edx, 0xb
mov ecx, eax
call fcn.140118110
mov r8, rsi
lea rdx, [rsp + 0x50]
mov ecx, ebx
call fcn.1400bbd20
test al, al
je 0x140106d66
mov rax, qword [0x1401f26f8]
lea rcx, str.WindowMenu
mov qword [rsp + 0x50], rax
xor edx, edx
mov rbx, qword [rax + 0x4140]
movsxd rax, dword [rbx + 0x130]
mov r8, qword [rbx + 0x138]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400e2b40
mov rcx, qword [rbx]
mov r15d, eax
cmp dword [rcx + 0x418c], eax
jne 0x140106d38
lea r8, str.WindowMenu
mov edx, 0xb
mov ecx, eax
call fcn.140118110
mov rax, qword [rsp + 0x50]
test byte [rax + 0x6294], 4
je 0x140106d5c
mov r8d, r15d
lea rdx, str.WindowMenu
lea rcx, str._popup__OpenPopup___s_____0x_08X__n
call fcn.1401171b0
xor edx, edx
mov ecx, r15d
call fcn.1400f9cd0
mov rax, qword [0x1401f26f8]
mov ecx, dword [rax + 0x41a4]
test ecx, ecx
je 0x140106d86
cmp ecx, dword [rax + 0x4af0]
jne 0x140106d86
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x48], eax
mov ecx, 0x11000
call fcn.1400e8ea0
test al, al
je 0x140106dce
movss xmm0, dword [r14 + 0x419c]
comiss xmm0, dword [0x1401cd1c0]
jbe 0x140106dce
mov rax, qword [0x1401f26f8]
lea rdx, str.Missing_Text
mov rcx, qword [rax + 0x6248]
test rcx, rcx
cmovne rdx, rcx
lea rcx, [0x1401b8630]
call fcn.1400f9ae0
mov r15d, dword [rdi]
lea ecx, [r15 - 1]
test ecx, ecx
js 0x140106e04
movsxd rax, ecx
imul rdx, rax, 0x38
mov r8, qword [rdi + 8]
mov eax, dword [r8 + rdx + 4]
bt eax, 0x16
jae 0x140106e04
btr eax, 0x16
mov r15d, ecx
mov dword [r8 + rdx + 4], eax
sub rdx, 0x38
sub ecx, 1
jns 0x140106de0
mov r8d, dword [rdi]
cmp r8d, r15d
jle 0x140106f3b
test dword [r14 + 0x6294], 0x100
je 0x140106e47
mov edx, dword [rsi]
lea eax, [r15 + 1]
cmp r8d, eax
lea rcx, str.__will_sort_
lea r9, [0x14017acf8]
cmovg r9, rcx
sub r8d, r15d
lea rcx, str._docking__In_node_0x_08X:__d_new_appearing_tabs:_s_n
call fcn.1401171b0
mov ecx, r15d
mov dword [rsp + 0x58], ecx
cmp r15d, dword [rdi]
jge 0x140106ecd
movsxd rax, r15d
imul rbx, rax, 0x38
nop word [rax + rax]
test dword [r14 + 0x6294], 0x100
mov rdx, qword [rdi + 8]
je 0x140106ebf
mov rax, qword [rbx + rdx + 8]
test rax, rax
je 0x140106e89
mov r8, qword [rax + 8]
movsx r9d, word [rax + 0x43e]
jmp 0x140106eac
movsxd rax, dword [rbx + rdx + 0x28]
mov r9d, 0xffffffff
cmp eax, r9d
jne 0x140106ea2
lea r8, [0x1401b693c]
jmp 0x140106eac
mov r8, rax
add r8, qword [rdi + 0x98]
mov edx, dword [rbx + rdx]
lea rcx, str._docking____Tab_0x_08X__s_Order__d_n
call fcn.1401171b0
mov ecx, dword [rsp + 0x58]
inc ecx
add rbx, 0x38
mov dword [rsp + 0x58], ecx
cmp ecx, dword [rdi]
jl 0x140106e60
test dword [r14 + 0x6294], 0x100
je 0x140106f07
mov rax, qword [r14 + 0x4d00]
test rax, rax
je 0x140106eef
mov r8d, dword [rax + 0xb8]
jmp 0x140106ef5
mov r8d, 0xffffffff
mov edx, dword [rsi + 0xbc]
lea rcx, str._docking__SelectedTabId__0x_08X__NavWindow__TabId__0x_08X_n
call fcn.1401171b0
mov ecx, dword [rdi]
lea eax, [r15 + 1]
cmp ecx, eax
jle 0x140106f3b
sub ecx, r15d
movsxd rdx, ecx
cmp rdx, 1
jbe 0x140106f3b
movsxd rax, r15d
lea r9, [0x1401064d0]
imul rcx, rax, 0x38
mov r8d, 0x38
add rcx, qword [rdi + 8]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov rax, qword [r14 + 0x4d00]
test rax, rax
je 0x140106f60
mov rax, qword [rax + 0x3c0]
cmp qword [rax + 0x458], rsi
jne 0x140106f60
mov eax, dword [rax + 0xb8]
mov dword [rdi + 0x18], eax
cmp qword [rsp + 0x38], r12
jne 0x140106f93
mov edx, dword [rsi + 0xbc]
test edx, edx
je 0x140106f93
mov r8d, dword [rdi]
mov eax, r12d
test r8d, r8d
jle 0x140106f93
mov rcx, qword [rdi + 8]
cmp dword [rcx], edx
je 0x140107546
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140106f80
movsxd rax, dword [rdi]
cmp eax, dword [rsp + 0x4c]
jle 0x140106fb5
imul rcx, rax, 0x38
mov rax, qword [rdi + 8]
mov rcx, qword [rcx + rax - 0x30]
mov eax, dword [rcx + 0xb8]
mov dword [rdi + 0x1c], eax
mov dword [rdi + 0x18], eax
mov r15d, 0x500003
cmp byte [r13 + 0xf6], r12b
jne 0x140106fd2
cmp byte [rsp + 0x30], r12b
mov eax, 0x700003
cmovne r15d, eax
mov rax, qword [0x1401f26f8]
lea rcx, [0x1401b8648]
xor edx, edx
mov rbx, qword [rax + 0x4140]
movsxd rax, dword [rbx + 0x130]
mov r8, qword [rbx + 0x138]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400e2b40
mov rcx, qword [rbx]
mov dword [rsp + 0x4c], eax
cmp dword [rcx + 0x418c], eax
jne 0x140107027
lea r8, [0x1401b8648]
mov edx, 0xb
mov ecx, eax
call fcn.140118110
mov eax, dword [rsp + 0x4c]
mov dword [rdi + 0x14], eax
lea rdx, [rbp - 0x68]
movss xmm0, dword [rsi + 0x48]
mov r8d, r15d
addss xmm0, dword [r13 + 0x94]
mov rcx, rdi
movss dword [rdi + 0x64], xmm0
movss xmm1, dword [rsi + 0x50]
addss xmm1, dword [rsi + 0x48]
subss xmm1, dword [r13 + 0x94]
movss dword [rdi + 0x68], xmm1
call fcn.1400d57a0
movups xmm0, xmmword [r14 + 0x3cf0]
mov dword [rsp + 0x58], r12d
movups xmm1, xmmword [r14 + 0x3ae0]
movaps xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [r14 + 0x3d00]
movaps xmmword [rbp - 0x50], xmm1
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [r14 + 0x3d10]
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [r14 + 0x3d20]
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [r14 + 0x3d30]
mov qword [rsi + 0x90], r12
movaps xmmword [rbp], xmm0
cmp dword [rsi + 0x30], r12d
jle 0x1401074aa
movss xmm6, dword [0x1401cd150]
mov rbx, r12
mov qword [rsp + 0x50], rbx
mov rax, qword [rsi + 0x38]
mov rbx, qword [rbx + rax]
cmp byte [rbp - 0x7b], r12b
jne 0x1401070ec
mov eax, dword [rsp + 0x6c]
cmp eax, dword [rbx + 0xb8]
jne 0x140107102
cmp byte [rbx + 0xfd], r12b
je 0x140107102
test dword [rbx + 0x14], 0x40000
je 0x140107485
mov eax, dword [rbx + 0x2a0]
inc eax
cmp eax, dword [r14 + 0x4098]
jge 0x140107120
mov eax, dword [rbp - 0x80]
cmp dword [rsp + 0x68], eax
je 0x140107485
mov ecx, dword [rbx + 0x440]
xorps xmm3, xmm3
mov r8d, dword [rbx + 0x34]
xorps xmm2, xmm2
mov edx, dword [rdi + 0x10]
xorps xmm1, xmm1
movzx eax, cl
xorps xmm0, xmm0
or r8d, 1
test dword [rbx + 0x14], 0x40000
cvtsi2ss xmm3, rax
cmove r8d, dword [rbx + 0x34]
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
cvtsi2ss xmm0, rax
shufps xmm3, xmm3, 0xe1
mulss xmm2, xmm6
mulss xmm1, xmm6
movss xmm3, xmm2
mulss xmm0, xmm6
shufps xmm3, xmm3, 0xc6
xorps xmm2, xmm2
movss xmm3, xmm1
xorps xmm1, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
xorps xmm0, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r14 + 0x3ae0], xmm3
mov ecx, dword [rbx + 0x444]
xorps xmm3, xmm3
movzx eax, cl
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
mulss xmm2, xmm6
mulss xmm1, xmm6
movss xmm3, xmm2
mulss xmm0, xmm6
shufps xmm3, xmm3, 0xc6
xorps xmm2, xmm2
movss xmm3, xmm1
xorps xmm1, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r14 + 0x3cf0], xmm3
mov ecx, dword [rbx + 0x448]
movzx eax, cl
xorps xmm3, xmm3
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
movzx eax, al
cvtsi2ss xmm2, rax
mov eax, ecx
shr eax, 0x10
movzx eax, al
mulss xmm3, xmm6
cvtsi2ss xmm1, rax
mulss xmm2, xmm6
shufps xmm3, xmm3, 0xe1
xorps xmm0, xmm0
movss xmm3, xmm2
shr ecx, 0x18
shufps xmm3, xmm3, 0xc6
xorps xmm2, xmm2
mov eax, ecx
mulss xmm1, xmm6
cvtsi2ss xmm0, rax
movss xmm3, xmm1
xorps xmm1, xmm1
shufps xmm3, xmm3, 0x27
mulss xmm0, xmm6
movss xmm3, xmm0
xorps xmm0, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r14 + 0x3d00], xmm3
mov ecx, dword [rbx + 0x44c]
xorps xmm3, xmm3
movzx eax, cl
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
movzx eax, al
mulss xmm3, xmm6
cvtsi2ss xmm2, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
shufps xmm3, xmm3, 0xe1
cvtsi2ss xmm1, rax
mov eax, ecx
cvtsi2ss xmm0, rax
mulss xmm2, xmm6
mulss xmm1, xmm6
movss xmm3, xmm2
mulss xmm0, xmm6
shufps xmm3, xmm3, 0xc6
xorps xmm2, xmm2
movss xmm3, xmm1
xorps xmm1, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
xorps xmm0, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r14 + 0x3d10], xmm3
mov ecx, dword [rbx + 0x450]
xorps xmm3, xmm3
movzx eax, cl
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
movzx eax, al
mulss xmm3, xmm6
cvtsi2ss xmm2, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
shufps xmm3, xmm3, 0xe1
cvtsi2ss xmm1, rax
mov eax, ecx
cvtsi2ss xmm0, rax
mulss xmm2, xmm6
mulss xmm1, xmm6
movss xmm3, xmm2
mulss xmm0, xmm6
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r14 + 0x3d20], xmm3
mov ecx, dword [rbx + 0x454]
movzx eax, cl
xorps xmm3, xmm3
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
mulss xmm3, xmm6
shufps xmm3, xmm3, 0xe1
mov r9d, r8d
movzx eax, al
or r9d, 4
xorps xmm2, xmm2
mov qword [rsp + 0x20], rbx
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2ss xmm2, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
test dl, 8
movzx eax, al
cmove r9d, r8d
lea r8, [rbp - 0x7c]
cvtsi2ss xmm1, rax
mov eax, ecx
mov rcx, rdi
cvtsi2ss xmm0, rax
mulss xmm2, xmm6
mulss xmm1, xmm6
movss xmm3, xmm2
mulss xmm0, xmm6
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r14 + 0x3d30], xmm3
cmp byte [rbx + 0xfd], r12b
mov rdx, qword [rbx + 8]
cmove r8, r12
mov byte [rbp - 0x7c], 1
movups xmmword [rsp + 0x38], xmm3
call fcn.1400d76c0
cmp byte [rbp - 0x7c], r12b
jne 0x14010742c
mov eax, dword [rbx + 0xb8]
mov dword [rsi + 0xc0], eax
mov eax, dword [rbx + 0xb8]
cmp dword [rdi + 0x20], eax
jne 0x14010743e
mov qword [rsi + 0x90], rbx
mov eax, dword [r14 + 0x4af8]
mov dword [rbx + 0x46c], eax
movups xmm0, xmmword [r14 + 0x4afc]
movups xmmword [rbx + 0x470], xmm0
mov rax, qword [r14 + 0x4d00]
test rax, rax
je 0x140107485
cmp qword [rax + 0x3c0], rbx
jne 0x140107485
test byte [rbx + 0x19c], 2
jne 0x140107485
mov eax, dword [rbx + 0xb8]
mov dword [r13 + 0x3fc], eax
mov eax, dword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
inc eax
add rbx, 8
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x50], rbx
cmp eax, dword [rsi + 0x30]
jl 0x1401070d2
movaps xmm1, xmmword [rbp - 0x50]
movaps xmm0, xmmword [rbp - 0x40]
movaps xmm6, xmmword [rsp + 0x120]
movups xmmword [r14 + 0x3ae0], xmm1
movaps xmm1, xmmword [rbp - 0x30]
movups xmmword [r14 + 0x3cf0], xmm0
movaps xmm0, xmmword [rbp - 0x20]
movups xmmword [r14 + 0x3d00], xmm1
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [r14 + 0x3d10], xmm0
movaps xmm0, xmmword [rbp]
movups xmmword [r14 + 0x3d20], xmm1
movups xmmword [r14 + 0x3d30], xmm0
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x14010751e
mov rax, qword [rsp + 0x78]
cmp byte [rsp + 0x30], r12b
jne 0x140107517
cmp qword [rax + 0x90], r12
jne 0x14010751e
mov qword [rax + 0x90], rcx
movzx eax, byte [rsi + 0xcc]
and al, 8
je 0x140107561
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x140107561
cmp byte [rcx + 0xfd], r12b
je 0x140107561
mov r15b, 1
jmp 0x140107652
cdqe
imul rcx, rax, 0x38
add rcx, qword [rdi + 8]
je 0x140106f93
mov dword [rdi + 0x1c], edx
mov dword [rdi + 0x18], edx
jmp 0x140106fb5
test al, al
je 0x140107767
mov rbx, qword [0x1401f26f8]
mov eax, dword [rbx + 0x4ac4]
lea r15, [rbx + 0x4c28]
or eax, 4
mov dword [rbx + 0x4ac4], eax
mov ecx, dword [r15 + 4]
mov r8d, dword [r15]
mov dword [rsp + 0x68], eax
cmp r8d, ecx
jne 0x1401075c6
inc r8d
test ecx, ecx
je 0x1401075a8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1401075ad
mov eax, 8
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.1400b31b0
mov rbx, qword [0x1401f26f8]
movsxd rcx, dword [r15]
mov rax, qword [r15 + 8]
mov edx, dword [rsp + 0x68]
mov dword [rbp - 0x68], r12d
mov dword [rax + rcx*4], edx
lea rcx, [rbx + 0x4be8]
inc dword [r15]
lea rdx, [rbp - 0x68]
movss xmm0, dword [r14 + 0x3ae0]
movss xmm1, dword [r14 + 0x3ae4]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [r14 + 0x3ae8]
movss dword [rsp + 0x3c], xmm1
movss xmm1, dword [r14 + 0x3aec]
mulss xmm1, dword [0x1401cd1ac]
movss dword [rsp + 0x40], xmm0
movups xmm0, xmmword [rbx + 0x3ae0]
movss dword [rsp + 0x44], xmm1
movups xmmword [rbp - 0x64], xmm0
call fcn.140119870
xor r15b, r15b
cmp dword [rbx + 0x4be4], r12d
je 0x140107652
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx + 0x3ae0], xmm0
movsxd rax, dword [r13 + 0x130]
lea rcx, str.CLOSE
mov r8, qword [r13 + 0x138]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400e2b40
mov rcx, qword [r13]
mov ebx, eax
cmp dword [rcx + 0x418c], eax
jne 0x140107694
lea r8, str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.140118110
lea rdx, [rsp + 0x70]
mov ecx, ebx
call fcn.1400bb980
test al, al
je 0x140107704
or byte [rsi + 0xcc], 0x40
mov r8d, r12d
cmp dword [rdi], r12d
jle 0x140107704
mov rcx, r12
nop word [rax + rax]
mov rdx, qword [rdi + 8]
mov eax, dword [rcx + rdx + 4]
bt eax, 0x15
jb 0x1401076f8
test eax, 0x101
mov eax, dword [rcx + rdx]
jne 0x1401076f0
mov byte [rcx + rdx + 0x30], 1
cmp dword [rdi + 0x20], eax
jne 0x1401076f8
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rdi + 0x18], r12
jmp 0x1401076f8
cmp dword [rdi + 0x20], eax
je 0x1401076f8
mov dword [rdi + 0x1c], eax
inc r8d
add rcx, 0x38
cmp r8d, dword [rdi]
jl 0x1401076c0
test r15b, r15b
jne 0x140107767
mov rbx, qword [0x1401f26f8]
movsxd rax, dword [rbx + 0x4be8]
cmp eax, 1
jl 0x140107744
mov rcx, qword [rbx + 0x4bf0]
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 + 0x4be8]
movsxd rcx, dword [rbx + 0x4c28]
lea eax, [rcx - 1]
mov dword [rbx + 0x4c28], eax
mov rax, qword [rbx + 0x4c30]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rbx + 0x4ac4], ecx
jmp 0x14010776e
mov rbx, qword [0x1401f26f8]
movsxd rax, dword [r13 + 0x130]
lea rcx, str.TITLEBAR
mov r8, qword [r13 + 0x138]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400e2b40
mov rcx, qword [r13]
mov r15d, eax
cmp dword [rcx + 0x418c], eax
jne 0x1401077b8
lea r8, str.TITLEBAR
mov edx, 0xb
mov ecx, eax
call fcn.140118110
mov rbx, qword [0x1401f26f8]
mov eax, dword [r14 + 0x4190]
test eax, eax
je 0x1401077d5
cmp eax, r15d
je 0x1401077d5
cmp dword [r14 + 0x41a4], r15d
jne 0x14010788b
cmp dword [rbx + 0x41a4], r15d
jne 0x1401077e5
mov dword [rbx + 0x41a8], r15d
cmp dword [rbx + 0x41d4], r15d
jne 0x1401077f5
mov byte [rbx + 0x41d8], 1
lea r9, [rbp - 0x7b]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x78]
mov edx, r15d
call fcn.1400baa10
cmp dword [r14 + 0x4190], r15d
jne 0x140107820
mov dword [r14 + 0x4af0], r15d
cmp byte [rbp - 0x7b], r12b
je 0x14010788b
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400f6030
test al, al
je 0x14010783d
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x48], eax
mov edx, dword [rdi + 0x18]
test edx, edx
je 0x14010788b
mov r8d, dword [rdi]
mov eax, r12d
test r8d, r8d
jle 0x14010788b
mov rcx, qword [rdi + 8]
cmp dword [rcx], edx
je 0x140107864
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140107853
jmp 0x14010788b
cdqe
imul rcx, rax, 0x38
add rcx, qword [rdi + 8]
je 0x14010788b
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x140107880
mov rcx, qword [rsi + 0x88]
xor r8d, r8d
mov rdx, rsi
call fcn.1400e9600
mov edx, dword [rdi + 0x1c]
test edx, edx
mov r15, qword [rsp + 0x130]
cmove edx, dword [rsp + 0x48]
test edx, edx
je 0x1401078e8
mov r8d, dword [rdi]
mov eax, r12d
test r8d, r8d
jle 0x1401078e8
mov rcx, qword [rdi + 8]
cmp dword [rcx], edx
je 0x1401078c1
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x1401078b0
jmp 0x1401078e8
cdqe
imul rbx, rax, 0x38
add rbx, qword [rdi + 8]
je 0x1401078e8
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1401078e8
xor edx, edx
call fcn.1400f3ff0
mov rcx, qword [rbx + 8]
xor edx, edx
call fcn.1400fbe50
call fcn.1400d5ba0
mov rax, qword [0x1401f26f8]
mov rdi, qword [rsp + 0x138]
mov rcx, qword [rax + 0x4140]
dec dword [rcx + 0x130]
mov eax, dword [rsi + 0x10]
shr eax, 0xa
test al, 1
jne 0x140107996
movzx eax, byte [rsp + 0x31]
mov byte [r13 + 0xf8], al
mov dword [r13 + 0x198], r12d
jmp 0x140107996
cmp dword [rsi + 0x30], r12d
jle 0x140107939
mov rax, qword [rsi + 0x38]
mov r12, qword [rax]
and r8b, 0xfd
mov qword [rsi + 0x90], r12
movzx eax, bl
add al, al
or al, r8b
mov byte [rsi + 0xcc], al
test bl, bl
je 0x140107963
mov eax, dword [r14 + 0x4098]
mov dword [rsi + 0xb4], eax
test r12, r12
je 0x140107996
test bl, bl
jne 0x140107976
cmp qword [rdx + 0x90], 0
jne 0x14010797d
mov qword [rdx + 0x90], r12
mov rdx, qword [rsi + 0x40]
test rdx, rdx
je 0x140107996
mov rax, qword [rsi + 0x90]
mov ecx, dword [rax + 0xb8]
mov dword [rdx + 0x20], ecx
mov rbx, qword [rsp + 0x180]
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14016ff10
add rsp, 0x140
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret