Function at 0x140037640
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 [0x14009e010]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r12, qword [0x14009e918]
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 + 0xcc]
mov ecx, dword [r12 + 0x3f70]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x74], ecx
test dl, 0x40
je 0x1400376aa
mov byte [rsp + 0x31], 1
cmp eax, ecx
je 0x1400376af
mov byte [rsp + 0x31], 0
xor r14d, r14d
lea r10d, [r14 + 1]
cmp dword [rsi + 0xc0], r14d
je 0x1400376c8
mov dword [rsp + 0x48], r10d
cmp eax, ecx
je 0x1400376cd
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 + 0x60], rsi
test rax, rax
je 0x140037703
nop
mov qword [rsp + 0x60], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x1400376f0
mov r8, qword [rsp + 0x60]
mov rax, qword [r12 + 0x4c10]
mov qword [rsp + 0x200], rdi
test rax, rax
je 0x140037728
cmp qword [rax + 0x448], rsi
sete dil
jmp 0x1400377d7
mov rcx, qword [r12 + 0x4a88]
test rcx, rcx
je 0x1400377d4
mov eax, dword [rsi]
cmp dword [r8 + 0xb8], eax
jne 0x1400377d4
mov rcx, qword [rcx + 0x3b8]
test dword [rcx + 0x14], 0x10000000
je 0x140037777
nop dword [rax + rax]
mov rax, qword [rcx + 0x3a8]
mov rcx, qword [rax + 0x3b8]
test dword [rcx + 0x14], 0x10000000
jne 0x140037760
mov rax, qword [rcx + 0x450]
test rax, rax
jne 0x140037790
mov rax, qword [rcx + 0x448]
test rax, rax
je 0x1400377d4
nop
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1400377ac
nop dword [rax]
mov rax, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1400377a0
cmp rax, r8
je 0x14003792d
mov rax, qword [rax + 0x88]
test rax, rax
je 0x1400377d4
mov rax, qword [rax + 0x3b8]
mov rax, qword [rax + 0x448]
test rax, rax
jne 0x140037790
xor dil, dil
mov eax, dword [rsi + 0x10]
mov byte [rsp + 0x30], dil
test eax, 0x3000
jne 0x140038892
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 0x140037858
mov byte [r9 + 0xf0], r14b
mov dword [r9 + 0x190], r10d
mov ecx, dword [rsi]
mov rbx, qword [r12 + 0x4018]
mov dword [rbp - 0x18], ecx
cmp dword [r12 + 0x4060], ecx
jne 0x14003787b
xor r8d, r8d
lea edx, [r8 + 0xd]
call fcn.14003d670
lea rcx, [rbx + 0x128]
lea rdx, [rbp - 0x18]
call fcn.14003e5b0
mov rax, qword [rsi + 0x40]
mov r15d, 0xffffffff
mov qword [rsp + 0x50], rax
mov rbx, rax
test rax, rax
jne 0x14003793d
mov rax, qword [0x14009e918]
test rax, rax
je 0x1400378b8
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 0x140037936
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 0x140037939
movzx edi, r10b
jmp 0x1400377d7
mov rbx, r14
mov qword [rsi + 0x40], rbx
and byte [rsi + 0xcc], 0xfd
movzx eax, dil
add al, al
mov dword [rbp - 0x18], r14d
or byte [rsi + 0xcc], al
xorps xmm11, xmm11
test dword [rsi + 0x10], 0x4000
jne 0x140037aa2
cmp dword [r12 + 0x3900], r15d
je 0x140037aa2
mov r13b, 1
mov byte [rbp - 0x20], r13b
call fcn.14002b1d0
test al, al
je 0x140037aae
mov rdi, qword [0x14009e918]
mov eax, 1
mov r15d, dword [rbx + 0x1c]
xorps xmm2, xmm2
movss xmm1, dword [rsi + 0x48]
movss xmm0, dword [rdi + 0x3918]
addss xmm0, xmm0
addss xmm0, dword [rdi + 0x3d50]
addss xmm0, dword [rsi + 0x4c]
cmp dword [rdi + 0x3900], r14d
jne 0x1400379c6
xorps xmm3, xmm3
jmp 0x1400379d3
addss xmm1, dword [rsi + 0x50]
movss xmm3, dword [0x14009453c]
or dword [rdi + 0x48f8], 1
movss dword [rdi + 0x490c], xmm1
movss dword [rdi + 0x4910], xmm0
movss dword [rdi + 0x4914], xmm3
movss dword [rdi + 0x4918], xmm2
mov dword [rdi + 0x48fc], eax
mov byte [rdi + 0x4934], r13b
call fcn.14002b9d0
test al, al
je 0x140037a7d
or byte [rsi + 0xcc], 2
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call qword [rdi + 0x5e00]
mov rdi, qword [0x14009e918]
mov rcx, qword [rdi + 0x4018]
cmp qword [rdi + 0x4a88], rcx
jne 0x140037a61
cmp byte [rdi + 0x4b01], r14b
je 0x140037a61
cmp dword [rdi + 0x4ac0], r14d
jne 0x140037a61
mov eax, dword [rdi + 0x4b04]
and eax, 0xfffffff2
or eax, 2
mov dword [rdi + 0x4b04], eax
test dword [rcx + 0x14], 0x1000000
je 0x140037a71
mov byte [rdi + 0x3f82], r13b
call fcn.140026c50
mov byte [rdi + 0x3f82], r14b
mov eax, dword [rbx + 0x1c]
test eax, eax
je 0x140037a90
cmp eax, r15d
mov ecx, r14d
cmovne ecx, eax
mov dword [rbp - 0x18], ecx
movzx eax, byte [rsi + 0xcc]
shr al, 1
and al, r13b
or byte [rsp + 0x30], al
jmp 0x140037aae
xor r13b, r13b
mov byte [rsp + 0x30], dil
mov byte [rbp - 0x20], r13b
mov r11, qword [0x14009e918]
movss xmm7, dword [rsi + 0x4c]
movss xmm10, dword [rsi + 0x48]
movaps xmm6, xmm7
movzx eax, byte [rsi + 0xcc]
movaps xmm9, xmm10
movss xmm3, dword [r11 + 0x3914]
movaps xmm4, xmm10
movss xmm2, dword [r11 + 0x3d50]
movaps xmm5, xmm3
movss xmm8, dword [r11 + 0x3918]
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 + 0x38ec]
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 0x140037b75
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 0x140037bc6
cmp dword [r11 + 0x3900], r14d
jne 0x140037b96
addss xmm2, dword [r11 + 0x392c]
addss xmm2, xmm5
movss dword [rbp - 0x30], xmm2
jmp 0x140037bc6
cmp dword [r11 + 0x3900], 1
jne 0x140037bc6
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 0x140037cbe
mov rdi, r14
mov r12d, 0x400000
mov r13d, 0xffffffff
nop dword [rax]
mov rax, qword [rsi + 0x38]
mov r9, qword [rdi + rax]
mov edx, dword [r9 + 0xb0]
test edx, edx
je 0x140037c41
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x140037c41
mov r10, qword [rbx + 8]
mov rcx, r10
cmp dword [rcx], edx
je 0x140037c36
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140037c25
jmp 0x140037c41
cdqe
imul rcx, rax, 0x38
add rcx, r10
jne 0x140037ca4
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 0x140037c8d
mov eax, dword [r11 + 0x3f70]
dec eax
mov dword [rbp - 0x60], eax
lea rdx, [rbp - 0x70]
mov qword [rbp - 0x68], r9
mov rcx, rbx
call fcn.140063c70
mov r11, qword [0x14009e918]
inc r15d
add rdi, 8
cmp r15d, dword [rsi + 0x30]
jl 0x140037c00
mov r12, qword [rbp - 0x80]
movzx r13d, byte [rbp - 0x20]
movzx r15d, byte [rsp + 0x30]
test r15b, r15b
je 0x140037cd7
mov eax, dword [r12 + 0x3f70]
mov dword [rsi + 0xb4], eax
mov rdi, qword [rsp + 0x40]
cmp byte [rdi + 0xee], r14b
je 0x140037cec
mov eax, 0xc
jmp 0x140037cf9
test r15b, r15b
mov rax, r14
setne al
add rax, 0xa
add rax, 0xe
lea rcx, [rbp - 0x30]
add rax, rax
movups xmm0, xmmword [r11 + rax*8 + 0x38d8]
movups xmmword [rbp - 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r11 + 0x38d8]
movss dword [rbp - 0x24], xmm0
call fcn.140018640
movss xmm3, dword [r12 + 0x39a4]
mov r11d, 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 + 0x1a0]
movaps xmm0, xmm2
addss xmm2, dword [rdi + 0x5c]
setae cl
addss xmm0, xmm3
comiss xmm9, xmm1
subss xmm2, xmm3
setae r10b
comiss xmm0, xmm7
setae al
comiss xmm8, xmm2
setae r9b
test al, al
je 0x140037d95
test cl, cl
je 0x140037d95
mov r8d, 0x10
jmp 0x140037d9c
mov r8d, r14d
test al, al
je 0x140037da6
mov edx, 0x20
test r10b, r10b
jne 0x140037da9
mov edx, r14d
test r9b, r9b
je 0x140037db9
test cl, cl
je 0x140037db9
mov ecx, 0x40
jmp 0x140037dc1
mov ecx, r14d
test r9b, r9b
je 0x140037dcb
mov eax, 0x180
test r10b, r10b
jne 0x140037dd0
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.14004b540
test r13b, r13b
je 0x140037e82
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.1400180b0
mov edi, eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
cmp dword [rcx + 0x4060], edi
jne 0x140037e4b
lea r8, str.COLLAPSE
mov edx, 0xb
mov ecx, edi
call fcn.14003d670
mov r8, rsi
lea rdx, [rsp + 0x38]
mov ecx, edi
call fcn.140058b50
test al, al
je 0x140037e63
call fcn.14002b240
mov rax, qword [0x14009e918]
mov ecx, dword [rax + 0x4078]
test ecx, ecx
je 0x140037e82
cmp ecx, dword [rax + 0x48b8]
jne 0x140037e82
mov eax, dword [rbx + 0x18]
mov dword [rbp - 0x18], eax
mov r13d, dword [rbx]
lea ecx, [r13 - 1]
test ecx, ecx
js 0x140037ec4
movsxd rax, ecx
imul rdx, rax, 0x38
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx + 8]
mov eax, dword [rdx + r8 + 4]
bt eax, 0x16
jae 0x140037ec4
btr eax, 0x16
mov r13d, ecx
mov dword [rdx + r8 + 4], eax
sub rdx, 0x38
sub ecx, 1
jns 0x140037ea0
mov r8d, dword [rbx]
cmp r8d, r13d
jle 0x140037f93
test byte [r12 + 0x5ef4], 0x80
lea eax, [r13 + 1]
je 0x140037f05
mov edx, dword [rsi]
lea rcx, str.__will_sort_
cmp r8d, eax
lea r9, [0x1400698e8]
cmovg r9, rcx
sub r8d, r13d
lea rcx, str._docking__In_node_0x_08X:__d_new_appearing_tabs:_s_n
call fcn.14003d3d0
mov ecx, dword [rbx]
mov r15d, r13d
movsxd rax, r13d
imul r8, rax, 0x38
mov qword [rsp + 0x38], r8
cmp r13d, ecx
jge 0x140037f5f
mov rdi, r8
nop
test byte [r12 + 0x5ef4], 0x80
je 0x140037f4c
mov rax, qword [rbx + 8]
lea rcx, str._docking____Tab__s_Order__d_n
mov rdx, qword [rdi + rax + 8]
movsx r8d, word [rdx + 0x42e]
mov rdx, qword [rdx + 8]
call fcn.14003d3d0
mov ecx, dword [rbx]
inc r15d
add rdi, 0x38
cmp r15d, ecx
jl 0x140037f20
mov r8, qword [rsp + 0x38]
lea eax, [r13 + 1]
cmp ecx, eax
jle 0x140037f8d
sub ecx, r13d
movsxd rdx, ecx
cmp rdx, 1
jbe 0x140037f8d
mov rcx, qword [rbx + 8]
lea r9, [0x1400374c0]
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 + 0x4a88]
test rax, rax
je 0x140037fb9
mov rax, qword [rax + 0x3b8]
cmp qword [rax + 0x448], rsi
jne 0x140037fb9
mov eax, dword [rax + 0xb0]
mov dword [rbx + 0x18], eax
cmp qword [rsp + 0x50], r14
jne 0x140037ff3
mov edx, dword [rsi + 0xbc]
test edx, edx
je 0x140037ff3
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x140037ff3
mov r9, qword [rbx + 8]
mov rcx, r9
nop dword [rax]
cmp dword [rcx], edx
je 0x14003826e
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140037fe0
movsxd rax, dword [rbx]
cmp eax, dword [rsp + 0x70]
jle 0x140038015
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 0x140038035
test r15b, r15b
mov eax, 0x700003
cmovne r8d, eax
mov r9, rsi
lea rdx, [rbp]
mov rcx, rbx
call fcn.1400605b0
mov r13d, r14d
movups xmm0, xmmword [r12 + 0x3bc8]
movups xmm1, xmmword [r12 + 0x39b8]
movaps xmmword [rbp + 0x30], xmm0
movups xmm0, xmmword [r12 + 0x3bd8]
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [r12 + 0x3be8]
movaps xmmword [rbp + 0x50], xmm0
movups xmm0, xmmword [r12 + 0x3bf8]
movaps xmmword [rbp + 0x60], xmm0
movups xmm0, xmmword [r12 + 0x3c08]
mov qword [rsi + 0x90], r14
movaps xmmword [rbp + 0x70], xmm0
cmp dword [rsi + 0x30], r14d
jle 0x1400382b0
movss xmm6, dword [0x1400943dc]
lea r11, [0x14006c530]
mov r15, r14
lea r10, [0x14006c548]
nop
mov rax, qword [rsi + 0x38]
mov rdi, qword [r15 + rax]
cmp byte [rsp + 0x31], r14b
jne 0x1400380db
mov eax, dword [rsp + 0x48]
cmp eax, dword [rdi + 0xb0]
jne 0x1400380f1
cmp byte [rdi + 0xf5], r14b
je 0x1400380f1
test dword [rdi + 0x14], 0x100000
je 0x140038296
mov eax, dword [rdi + 0x298]
inc eax
cmp eax, dword [r12 + 0x3f70]
jge 0x140038111
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x78], eax
je 0x140038296
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 + 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 [r12 + rax*8 + 0x39b8], xmm3
cmp rdx, r10
jl 0x140038140
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.140062350
cmp byte [rbp - 0x20], r14b
jne 0x1400381fe
mov eax, dword [rdi + 0xb0]
mov dword [rsi + 0xc0], eax
mov eax, dword [rdi + 0xb0]
cmp dword [rbx + 0x20], eax
jne 0x140038210
mov qword [rsi + 0x90], rdi
mov eax, dword [r12 + 0x48c0]
mov dword [rdi + 0x45c], eax
movups xmm0, xmmword [r12 + 0x48c4]
movups xmmword [rdi + 0x460], xmm0
mov rax, qword [r12 + 0x4a88]
test rax, rax
je 0x140038288
cmp qword [rax + 0x3b8], rdi
jne 0x140038288
test byte [rdi + 0x194], 2
lea r10, [0x14006c548]
lea r11, [0x14006c530]
jne 0x140038296
mov rcx, qword [rsp + 0x40]
mov eax, dword [rdi + 0xb0]
mov dword [rcx + 0x3ec], eax
jmp 0x140038296
cdqe
imul rcx, rax, 0x38
add rcx, r9
je 0x140037ff3
mov dword [rbx + 0x1c], edx
mov dword [rbx + 0x18], edx
jmp 0x140038015
lea r11, [0x14006c530]
lea r10, [0x14006c548]
inc r13d
add r15, 8
cmp r13d, dword [rsi + 0x30]
jl 0x1400380c0
movaps xmm1, xmmword [rbp + 0x20]
nop dword [rax + rax]
movaps xmm0, xmmword [rbp + 0x30]
movups xmmword [r12 + 0x39b8], xmm1
movaps xmm1, xmmword [rbp + 0x40]
movups xmmword [r12 + 0x3bc8], xmm0
movaps xmm0, xmmword [rbp + 0x50]
movups xmmword [r12 + 0x3bd8], xmm1
movaps xmm1, xmmword [rbp + 0x60]
movups xmmword [r12 + 0x3be8], xmm0
movaps xmm0, xmmword [rbp + 0x70]
movups xmmword [r12 + 0x3bf8], xmm1
movups xmmword [r12 + 0x3c08], xmm0
mov rax, qword [rsi + 0x90]
test rax, rax
je 0x140038322
mov rcx, qword [rsp + 0x60]
cmp byte [rsp + 0x30], r14b
jne 0x14003831b
cmp qword [rcx + 0x90], r14
jne 0x140038322
mov qword [rcx + 0x90], rax
movzx eax, byte [rsi + 0xcc]
and al, 8
je 0x14003834a
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x14003834a
cmp byte [rcx + 0xf5], r14b
je 0x14003834a
mov r15b, 1
jmp 0x14003843e
test al, al
je 0x140038552
mov rdi, qword [0x14009e918]
mov r12d, dword [rdi + 0x4898]
lea r15, [rdi + 0x49c8]
or r12d, 4
mov dword [rdi + 0x4898], r12d
mov ecx, dword [r15 + 4]
mov r8d, dword [r15]
cmp r8d, ecx
jne 0x1400383ae
inc r8d
test ecx, ecx
je 0x140038390
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140038395
mov eax, 8
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.14003ef10
mov rdi, qword [0x14009e918]
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 + 0x4988]
inc dword [r15]
mov r12, qword [rbp - 0x80]
movups xmm0, xmmword [rdi + 0x39b8]
movss xmm8, dword [r12 + 0x39c4]
mulss xmm8, dword [0x140094464]
movss xmm9, dword [r12 + 0x39b8]
movss xmm6, dword [r12 + 0x39bc]
movss xmm7, dword [r12 + 0x39c0]
movups xmmword [rbp + 4], xmm0
call fcn.14003e190
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 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.1400180b0
mov rcx, qword [r13]
mov edi, eax
cmp dword [rcx + 0x4060], eax
jne 0x140038485
lea r8, str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.14003d670
lea rdx, [rsp + 0x68]
mov ecx, edi
call fcn.140058780
test al, al
je 0x1400384f1
or byte [rsi + 0xcc], 0x40
mov r8d, r14d
cmp dword [rbx], r14d
jle 0x1400384f1
mov rcx, r14
nop word [rax + rax]
mov rdx, qword [rbx + 8]
mov eax, dword [rcx + rdx + 4]
bt eax, 0x15
jb 0x1400384e5
test al, 1
mov eax, dword [rcx + rdx]
jne 0x1400384dd
mov byte [rcx + rdx + 0x30], 1
cmp dword [rbx + 0x20], eax
jne 0x1400384e5
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rbx + 0x18], r14
jmp 0x1400384e5
cmp dword [rbx + 0x20], eax
je 0x1400384e5
mov dword [rbx + 0x1c], eax
inc r8d
add rcx, 0x38
cmp r8d, dword [rbx]
jl 0x1400384b0
test r15b, r15b
jne 0x140038557
mov rdi, qword [0x14009e918]
movsxd rax, dword [rdi + 0x4988]
cmp eax, 1
jl 0x14003852f
mov rcx, qword [rdi + 0x4990]
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 + 0x4988]
movsxd rcx, dword [rdi + 0x49c8]
lea eax, [rcx - 1]
mov dword [rdi + 0x49c8], eax
mov rax, qword [rdi + 0x49d0]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rdi + 0x4898], ecx
jmp 0x14003855e
mov r13, qword [rsp + 0x40]
mov rdi, qword [0x14009e918]
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.1400180b0
mov rcx, qword [r13]
mov r15d, eax
movaps xmm9, xmmword [rsp + 0x1b0]
movaps xmm8, xmmword [rsp + 0x1c0]
movaps xmm7, xmmword [rsp + 0x1d0]
movaps xmm6, xmmword [rsp + 0x1e0]
cmp dword [rcx + 0x4060], eax
jne 0x1400385ca
lea r8, str.TITLEBAR
mov edx, 0xb
mov ecx, eax
call fcn.14003d670
mov rdi, qword [0x14009e918]
mov eax, dword [r12 + 0x4064]
test eax, eax
je 0x1400385e9
cmp eax, r15d
je 0x1400385e9
cmp dword [r12 + 0x4078], r15d
jne 0x1400387b9
cmp dword [rdi + 0x4078], r15d
jne 0x1400385f9
mov dword [rdi + 0x407c], r15d
cmp dword [rdi + 0x40a8], r15d
jne 0x140038609
mov byte [rdi + 0x40ac], 1
lea r9, [rsp + 0x31]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x10]
mov edx, r15d
call fcn.140057990
cmp dword [r12 + 0x4064], r15d
jne 0x140038637
mov dword [r12 + 0x48b8], r15d
cmp byte [rsp + 0x31], r14b
je 0x1400387b9
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140028260
test al, al
je 0x140038658
mov eax, dword [rbx + 0x18]
mov dword [rbp - 0x18], eax
mov edx, dword [rbx + 0x18]
test edx, edx
je 0x1400387b9
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x1400387b9
mov r9, qword [rbx + 8]
mov rcx, r9
nop dword [rax]
cmp dword [rcx], edx
je 0x140038694
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140038680
jmp 0x1400387b9
cdqe
imul r15, rax, 0x38
add r15, r9
je 0x1400387b9
mov r15, qword [r15 + 8]
test r15, r15
jne 0x1400386b3
mov r15, qword [rsi + 0x88]
mov rax, qword [rsi + 0x90]
xor dil, dil
mov r11, qword [0x14009e918]
test rax, rax
je 0x140038712
test byte [rax + 0x14], 4
jne 0x140038712
mov rax, qword [rsi + 0x18]
mov rcx, rsi
test rax, rax
je 0x1400386ec
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x1400386e0
cmp qword [rcx + 0xa0], rsi
jne 0x1400386fe
cmp qword [rcx + 0x98], r14
je 0x140038712
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.140028260
cmp byte [r11 + 0xe10], r14b
jne 0x14003872b
xor cl, cl
jmp 0x140038758
movss xmm0, dword [r11 + 0x74]
movaps xmm1, xmm0
mulss xmm1, dword [0x140094554]
comiss xmm11, xmm1
jbe 0x140038745
movaps xmm1, xmm0
movss xmm0, dword [r11 + 0x37d0]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae cl
test dil, dil
je 0x1400387a0
test cl, cl
je 0x1400387b9
lea rcx, [r11 + 0x5dd8]
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.14003e320
jmp 0x1400387b9
test al, al
jne 0x1400387a8
test cl, cl
je 0x1400387b9
cmp qword [r11 + 0x4030], r15
je 0x1400387b9
mov rcx, r15
call fcn.14001ce00
mov edx, dword [rbx + 0x1c]
test edx, edx
movaps xmm11, xmmword [rsp + 0x190]
cmove edx, dword [rbp - 0x18]
mov r15, qword [rsp + 0x1f0]
test edx, edx
je 0x140038827
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x140038827
mov r9, qword [rbx + 8]
mov rcx, r9
nop dword [rax]
cmp dword [rcx], edx
je 0x140038801
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x1400387f0
jmp 0x140038827
cdqe
imul rbx, rax, 0x38
add rbx, r9
je 0x140038827
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140038827
xor edx, edx
call fcn.140027010
mov rcx, qword [rbx + 8]
xor edx, edx
call fcn.14002d2b0
call fcn.1400609b0
mov rax, qword [0x14009e918]
mov rbx, qword [rsp + 0x240]
mov rcx, qword [rax + 0x4018]
dec dword [rcx + 0x128]
mov eax, dword [rsi + 0x10]
shr eax, 0xa
test al, 1
jne 0x140038865
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.140066c00
add rsp, 0x208
pop r14
pop r12
pop rsi
pop rbp
ret
cmp dword [rsi + 0x30], r14d
jle 0x14003889f
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 0x1400388ca
mov eax, dword [r12 + 0x3f70]
mov dword [rsi + 0xb4], eax
test r14, r14
je 0x14003886d
test dil, dil
jne 0x1400388de
cmp qword [r8 + 0x90], 0
jne 0x1400388e5
mov qword [r8 + 0x90], r14
mov rdx, qword [rsi + 0x40]
test rdx, rdx
je 0x14003886d
mov rax, qword [rsi + 0x90]
mov ecx, dword [rax + 0xb0]
mov dword [rdx + 0x20], ecx
jmp 0x14003886d