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

Disassembly:
push rbp
push rsi
push r14
push r15
lea rbp, [rsp - 0xf8]
sub rsp, 0x1f8
mov rax, qword [0x1400b3080]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r15, qword [0x1400b3a30]
mov rsi, rcx
mov eax, dword [rcx + 0xb0]
mov r9, rdx
inc eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x70], r15
movzx edx, byte [rsi + 0xc8]
mov ecx, dword [r15 + 0x3f70]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x64], ecx
test dl, 0x40
je 0x140021537
mov byte [rsp + 0x31], 1
cmp eax, ecx
je 0x14002153c
mov byte [rsp + 0x31], 0
xor r14d, r14d
lea r10d, [r14 + 1]
cmp dword [rsi + 0xc0], r14d
je 0x140021555
mov dword [rsp + 0x40], r10d
cmp eax, ecx
je 0x14002155a
mov dword [rsp + 0x40], r14d
and dl, 0xbf
mov dword [rsi + 0xc0], r14d
mov byte [rsi + 0xc8], dl
mov r8, rsi
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x50], rsi
test rax, rax
je 0x140021593
nop dword [rax + rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140021580
mov r8, qword [rsp + 0x50]
mov rax, qword [r15 + 0x4bb0]
mov qword [rsp + 0x1f0], rdi
test rax, rax
je 0x1400215b7
cmp qword [rax + 0x430], rsi
sete dil
jmp 0x140021667
mov rcx, qword [r15 + 0x4a40]
test rcx, rcx
je 0x140021664
mov eax, dword [rsi]
cmp dword [r8 + 0xb8], eax
jne 0x140021664
mov rcx, qword [rcx + 0x3b0]
test dword [rcx + 0xc], 0x10000000
je 0x140021607
nop word [rax + rax]
mov rax, qword [rcx + 0x3a0]
mov rcx, qword [rax + 0x3b0]
test dword [rcx + 0xc], 0x10000000
jne 0x1400215f0
mov rax, qword [rcx + 0x438]
test rax, rax
jne 0x140021620
mov rax, qword [rcx + 0x430]
test rax, rax
je 0x140021664
nop
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14002163c
nop dword [rax]
mov rax, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x140021630
cmp rax, r8
je 0x1400217bf
mov rax, qword [rax + 0x88]
test rax, rax
je 0x140021664
mov rax, qword [rax + 0x3b0]
mov rax, qword [rax + 0x430]
test rax, rax
jne 0x140021620
xor dil, dil
mov eax, dword [rsi + 0x10]
mov byte [rsp + 0x30], dil
test eax, 0x3000
jne 0x1400225fe
movzx ecx, byte [r9 + 0xe8]
mov qword [rsp + 0x230], rbx
mov qword [rsp + 0x1e8], r12
mov qword [rsp + 0x1e0], r13
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 0x1400216e9
mov byte [r9 + 0xe8], 0
mov dword [r9 + 0x188], r10d
mov ecx, dword [rsi]
mov rbx, qword [r15 + 0x3ff0]
mov dword [rbp - 0x20], ecx
cmp dword [r15 + 0x4038], ecx
jne 0x14002170a
xor r8d, r8d
lea edx, [r8 + 0xd]
call fcn.1400273a0
lea rcx, [rbx + 0x120]
lea rdx, [rbp - 0x20]
call fcn.1400284b0
mov rax, qword [rsi + 0x40]
mov r12d, 0xffffffff
mov qword [rbp - 0x40], rax
mov rbx, rax
test rax, rax
jne 0x1400217cf
mov rax, qword [0x1400b3a30]
test rax, rax
je 0x140021746
inc dword [rax + 0xfc]
mov ecx, 0x98
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x1400217c8
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], r12w
jmp 0x1400217cb
movzx edi, r10b
jmp 0x140021667
mov rbx, r14
mov qword [rsi + 0x40], rbx
and byte [rsi + 0xc8], 0xfd
movzx eax, dil
add al, al
mov dword [rbp - 0x20], r14d
or byte [rsi + 0xc8], al
test dword [rsi + 0x10], 0x4000
jne 0x140021831
cmp dword [r15 + 0x3918], r12d
je 0x140021831
mov r13b, 1
call fcn.1400155b0
test al, al
je 0x140021839
mov rdx, rbx
mov rcx, rsi
call fcn.1400212e0
test eax, eax
je 0x140021819
mov dword [rbx + 0x1c], eax
mov dword [rbp - 0x20], eax
movzx eax, byte [rsi + 0xc8]
shr al, 1
and al, r13b
or al, dil
movzx edi, al
mov byte [rsp + 0x30], al
jmp 0x140021839
xor r13b, r13b
mov byte [rsp + 0x30], dil
mov r10, qword [0x1400b3a30]
xorps xmm11, xmm11
movss xmm7, dword [rsi + 0x4c]
movss xmm10, dword [rsi + 0x48]
movaps xmm6, xmm7
movzx eax, byte [rsi + 0xc8]
movaps xmm9, xmm10
movss xmm4, dword [r10 + 0x392c]
movaps xmm3, xmm10
movss xmm2, dword [r10 + 0x3d50]
movaps xmm5, xmm4
movss xmm8, dword [r10 + 0x3930]
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 + 0x3904]
addss xmm3, xmm0
movss dword [rbp - 0x10], xmm9
movaps xmm1, xmm9
subss xmm1, xmm0
movss dword [rbp - 0x2c], xmm8
movss dword [rbp - 0xc], xmm8
addss xmm5, xmm3
subss xmm1, xmm4
movss dword [rbp - 0x38], xmm5
movss dword [rbp - 0x30], xmm1
test al, 8
je 0x140021908
subss xmm1, xmm2
movss dword [rsp + 0x5c], xmm7
movaps xmm0, xmm1
movss dword [rbp - 0x30], xmm1
subss xmm0, xmm4
movss dword [rsp + 0x58], xmm0
test al, 0x10
je 0x14002195d
cmp dword [r10 + 0x3918], 0
jne 0x14002192a
addss xmm2, dword [r10 + 0x3944]
addss xmm2, xmm5
movss dword [rbp - 0x38], xmm2
jmp 0x14002195d
cmp dword [r10 + 0x3918], 1
jne 0x14002195d
addss xmm2, xmm4
subss xmm1, xmm2
movaps xmm0, xmm1
movss dword [rbp - 0x30], xmm1
unpcklps xmm0, xmm7
movaps xmm1, xmm0
movsd qword [rsp + 0x38], xmm0
movss xmm3, dword [rsp + 0x38]
shufps xmm1, xmm1, 0x55
movaps xmm6, xmm1
cmp dword [rsi + 0x30], 0
mov r12d, r14d
movups xmm0, xmmword [rbp - 0x38]
mov eax, dword [rbx]
mov r11d, 0x400000
movss dword [rsp + 0x38], xmm3
movups xmmword [rbp - 8], xmm0
mov dword [rsp + 0x60], eax
movss dword [rsp + 0x3c], xmm6
jle 0x140021a64
mov rdi, r14
mov r15d, 0xffffffff
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi + 0x38]
mov r9, qword [rdi + rax]
mov r8d, dword [r9 + 0xa8]
test r8d, r8d
je 0x1400219de
mov edx, dword [rbx]
mov eax, r14d
test edx, edx
jle 0x1400219de
mov rcx, qword [rbx + 8]
cmp dword [rcx], r8d
je 0x1400219d2
inc eax
add rcx, 0x38
cmp eax, edx
jl 0x1400219c1
jmp 0x1400219de
cdqe
imul rcx, rax, 0x38
add rcx, qword [rbx + 8]
jne 0x140021a49
cmp byte [r9 + 0xed], 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], r15d
mov qword [rbp - 0x5c], 0xffffffffbf800000
mov dword [rbp - 0x54], 0xffffffff
mov dword [rbp - 0x80], r8d
mov dword [rbp - 0x70], eax
cmp eax, r15d
jne 0x140021a2c
mov eax, dword [r10 + 0x3f70]
dec eax
mov dword [rbp - 0x70], eax
lea rdx, [rbp - 0x80]
mov qword [rbp - 0x78], r9
mov rcx, rbx
call fcn.1400484f0
mov r10, qword [0x1400b3a30]
mov r11d, 0x400000
inc r12d
add rdi, 8
cmp r12d, dword [rsi + 0x30]
jl 0x1400219a0
mov r15, qword [rsp + 0x70]
movzx edi, byte [rsp + 0x30]
test dil, dil
je 0x140021a76
mov eax, dword [r15 + 0x3f70]
mov dword [rsi + 0xb4], eax
mov r12, qword [rsp + 0x48]
cmp byte [r12 + 0xe6], 0
je 0x140021a8d
mov eax, ntohs
jmp 0x140021a9a
test dil, dil
mov rax, r14
setne al
add rax, 0xa
add rax, rax
lea rcx, [rbp - 0x38]
movups xmm0, xmmword [r10 + rax*8 + 0x39cc]
movups xmmword [rbp - 0x38], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r10 + 0x38f0]
movss dword [rbp - 0x2c], xmm0
call fcn.140003aa0
movss xmm2, dword [0x1400a6280]
mov r10d, eax
movss xmm1, dword [r12 + 0x48]
movss xmm3, dword [r12 + 0x4c]
movaps xmm0, xmm1
addss xmm1, dword [r12 + 0x50]
addss xmm0, xmm2
subss xmm1, xmm2
comiss xmm0, xmm10
movaps xmm10, xmmword [rsp + 0x190]
movaps xmm0, xmm3
addss xmm3, dword [r12 + 0x54]
setae cl
addss xmm0, xmm2
comiss xmm9, xmm1
subss xmm3, xmm2
setae r9b
comiss xmm0, xmm7
setae dl
comiss xmm8, xmm3
setae al
test dl, dl
je 0x140021b37
test cl, cl
je 0x140021b37
mov r8d, reloc.WS2_32.dll_recv
jmp 0x140021b3e
mov r8d, r14d
test dl, dl
je 0x140021b48
mov edx, reloc.WLDAP32.dll_Ordinal_32
test r9b, r9b
jne 0x140021b4b
mov edx, r14d
test al, al
je 0x140021b5a
test cl, cl
je 0x140021b5a
mov ecx, 0x40
jmp 0x140021b61
mov ecx, r14d
test al, al
je 0x140021b6b
mov eax, 0x180
test r9b, r9b
jne 0x140021b70
mov eax, 0x100
movss xmm0, dword [r12 + 0x80]
or eax, r8d
or eax, edx
lea r8, [rbp - 0x10]
or eax, ecx
lea rdx, [rbp - 0x18]
mov rcx, qword [r12 + 0x2d0]
mov r9d, r10d
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm0
call fcn.140033e10
test r13b, r13b
je 0x140021c26
movsxd rax, dword [r12 + 0x120]
lea rcx, str.COLLAPSE
mov r8, qword [r12 + 0x128]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400035d0
mov rcx, qword [0x1400b3a30]
mov edi, eax
cmp dword [rcx + 0x4038], eax
jne 0x140021bef
lea r8, str.COLLAPSE
mov edx, ntohs
mov ecx, eax
call fcn.1400273a0
mov r8, rsi
lea rdx, [rsp + 0x38]
mov ecx, edi
call fcn.140040b40
test al, al
je 0x140021c07
call fcn.140015620
mov rax, qword [0x1400b3a30]
mov ecx, dword [rax + 0x4050]
test ecx, ecx
je 0x140021c26
cmp ecx, dword [rax + 0x488c]
jne 0x140021c26
mov eax, dword [rbx + 0x18]
mov dword [rbp - 0x20], eax
mov edi, dword [rbx]
lea ecx, [rdi - 1]
test ecx, ecx
js 0x140021c63
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 0x140021c63
btr eax, 0x16
mov edi, ecx
mov dword [rdx + r8 + 4], eax
sub rdx, 0x38
sub ecx, 1
jns 0x140021c40
mov r8d, dword [rbx]
cmp r8d, edi
jle 0x140021d1f
test byte [r15 + 0x5e64], 0x40
je 0x140021ca2
mov edx, dword [rsi]
lea eax, [rdi + 1]
cmp r8d, eax
lea rcx, str.__will_sort_
lea r9, [0x14009f8c6]
cmovg r9, rcx
sub r8d, edi
lea rcx, str._docking__In_node_0x_08X:__d_new_appearing_tabs:_s_n
call fcn.140026fd0
mov ecx, dword [rbx]
mov r13d, edi
cmp edi, ecx
jge 0x140021cef
movsxd rax, edi
imul r12, rax, 0x38
test byte [r15 + 0x5e64], 0x40
je 0x140021cdc
mov rax, qword [rbx + 8]
lea rcx, str._docking____Tab__s_Order__d_n
mov rdx, qword [rax + r12 + 8]
movsx r8d, word [rdx + 0x416]
mov rdx, qword [rdx]
call fcn.140026fd0
mov ecx, dword [rbx]
inc r13d
add r12, 0x38
cmp r13d, ecx
jl 0x140021cb2
mov r12, qword [rsp + 0x48]
lea eax, [rdi + 1]
cmp ecx, eax
jle 0x140021d1f
sub ecx, edi
movsxd rdx, ecx
cmp rdx, 1
jbe 0x140021d1f
movsxd rax, edi
lea r9, [0x140021290]
imul rcx, rax, 0x38
mov r8d, Ordinal_60
add rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov rax, qword [r15 + 0x4a40]
test rax, rax
je 0x140021d44
mov rax, qword [rax + 0x3b0]
cmp qword [rax + 0x430], rsi
jne 0x140021d44
mov eax, dword [rax + 0xa8]
mov dword [rbx + 0x18], eax
cmp qword [rbp - 0x40], 0
jne 0x140021d77
mov edx, dword [rsi + 0xbc]
test edx, edx
je 0x140021d77
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x140021d77
mov rcx, qword [rbx + 8]
cmp dword [rcx], edx
je 0x140021fea
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140021d64
movsxd rax, dword [rbx]
cmp eax, dword [rsp + 0x60]
jle 0x140021d99
imul rcx, rax, 0x38
mov rax, qword [rbx + 8]
mov rcx, qword [rcx + rax - 0x30]
mov eax, dword [rcx + 0xa8]
mov dword [rbx + 0x1c], eax
mov dword [rbx + 0x18], eax
cmp byte [r12 + 0xe6], 0
mov r8d, 0x500003
jne 0x140021db8
cmp byte [rsp + 0x30], 0
mov eax, 0x700003
cmovne r8d, eax
mov r9, rsi
lea rdx, [rbp - 8]
mov rcx, rbx
call fcn.140044ef0
cmp dword [rsi + 0x30], 0
mov r13d, r14d
movups xmm0, xmmword [r15 + 0x3bdc]
movups xmm1, xmmword [r15 + 0x3bec]
movups xmm2, xmmword [r15 + 0x39cc]
movaps xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [r15 + 0x3bfc]
movaps xmmword [rbp + 0x30], xmm1
movups xmm1, xmmword [r15 + 0x3c0c]
movaps xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [r15 + 0x3c1c]
mov qword [rsi + 0x90], r14
movaps xmmword [rbp + 0x10], xmm2
movaps xmmword [rbp + 0x60], xmm0
movaps xmmword [rbp + 0x50], xmm1
jle 0x140022030
movss xmm6, dword [0x1400a61d8]
lea r11, [0x1400a1650]
mov r12, r14
lea r10, [0x1400a1668]
nop dword [rax]
cmp byte [rsp + 0x31], 0
mov rax, qword [rsi + 0x38]
mov rdi, qword [r12 + rax]
jne 0x140021e5b
mov eax, dword [rsp + 0x40]
cmp eax, dword [rdi + 0xa8]
jne 0x140021e71
cmp byte [rdi + 0xed], 0
je 0x140021e71
test dword [rdi + 0xc], 0x100000
je 0x140022013
mov eax, dword [rdi + 0x290]
inc eax
cmp eax, dword [r15 + 0x3f70]
jge 0x140021e90
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x68], eax
je 0x140022013
mov edx, dword [rdi + 0x24]
mov r8, rdi
or edx, 1
test dword [rdi + 0xc], 0x100000
cmove edx, dword [rdi + 0x24]
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 + 0x418]
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 [r15 + rax*8 + 0x39cc], xmm3
cmp rdx, r10
jl 0x140021ec0
cmp byte [rdi + 0xed], 0
lea r8, [rbp - 0x28]
mov rdx, qword [rdi]
mov rcx, rbx
cmove r8, r14
mov byte [rbp - 0x28], 1
mov qword [rsp + 0x20], rdi
call fcn.140046bc0
cmp byte [rbp - 0x28], 0
jne 0x140021f7d
mov eax, dword [rdi + 0xa8]
mov dword [rsi + 0xc0], eax
mov eax, dword [rdi + 0xa8]
cmp dword [rbx + 0x20], eax
jne 0x140021f8f
mov qword [rsi + 0x90], rdi
mov eax, dword [r15 + 0x4894]
mov dword [rdi + 0x444], eax
movups xmm0, xmmword [r15 + 0x4898]
movups xmmword [rdi + 0x448], xmm0
mov rax, qword [r15 + 0x4a40]
test rax, rax
je 0x140022005
cmp qword [rax + 0x3b0], rdi
jne 0x140022005
test byte [rdi + 0x18c], 2
lea r10, [0x1400a1668]
lea r11, [0x1400a1650]
jne 0x140022013
mov rcx, qword [rsp + 0x48]
mov eax, dword [rdi + 0xa8]
mov dword [rcx + 0x3e4], eax
jmp 0x140022013
cdqe
imul rcx, rax, 0x38
add rcx, qword [rbx + 8]
je 0x140021d77
mov dword [rbx + 0x1c], edx
mov dword [rbx + 0x18], edx
jmp 0x140021d99
lea r11, [0x1400a1650]
lea r10, [0x1400a1668]
inc r13d
add r12, 8
cmp r13d, dword [rsi + 0x30]
jl 0x140021e40
movaps xmm2, xmmword [rbp + 0x10]
nop dword [rax + rax]
movaps xmm0, xmmword [rbp + 0x20]
movaps xmm1, xmmword [rbp + 0x30]
movups xmmword [r15 + 0x39cc], xmm2
movups xmmword [r15 + 0x3bdc], xmm0
movaps xmm0, xmmword [rbp + 0x40]
movups xmmword [r15 + 0x3bec], xmm1
movaps xmm1, xmmword [rbp + 0x50]
movups xmmword [r15 + 0x3bfc], xmm0
movaps xmm0, xmmword [rbp + 0x60]
movups xmmword [r15 + 0x3c0c], xmm1
movups xmmword [r15 + 0x3c1c], xmm0
mov rax, qword [rsi + 0x90]
test rax, rax
je 0x14002209d
cmp byte [rsp + 0x30], 0
mov rcx, qword [rsp + 0x50]
jne 0x140022096
cmp qword [rcx + 0x90], 0
jne 0x14002209d
mov qword [rcx + 0x90], rax
movzx eax, byte [rsi + 0xc8]
and al, 8
je 0x1400220c5
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x1400220c5
cmp byte [rcx + 0xed], 0
je 0x1400220c5
mov r12b, 1
jmp 0x1400221b6
test al, al
je 0x1400222c8
mov rdi, qword [0x1400b3a30]
mov r13d, dword [rdi + 0x4870]
lea r12, [rdi + 0x4998]
or r13d, 4
mov dword [rdi + 0x4870], r13d
mov ecx, dword [r12 + 4]
mov r8d, dword [r12]
cmp r8d, ecx
jne 0x14002212b
inc r8d
test ecx, ecx
je 0x14002210d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140022112
mov eax, 8
cmp eax, r8d
mov rcx, r12
cmovg r8d, eax
mov edx, r8d
call fcn.140028d50
mov rdi, qword [0x1400b3a30]
movsxd rcx, dword [r12]
lea rdx, [rbp - 8]
mov rax, qword [r12 + 8]
mov dword [rbp - 8], r14d
mov dword [rax + rcx*4], r13d
lea rcx, [rdi + 0x4958]
inc dword [r12]
movups xmm0, xmmword [rdi + 0x39cc]
movss xmm8, dword [r15 + 0x39d8]
movss xmm9, dword [r15 + 0x39cc]
movss xmm6, dword [r15 + 0x39d0]
movss xmm7, dword [r15 + 0x39d4]
mulss xmm8, dword [0x1400a620c]
movups xmmword [rbp - 4], xmm0
call fcn.140027ee0
shufps xmm9, xmm9, 0xe1
xor r12b, r12b
movss xmm9, xmm6
shufps xmm9, xmm9, 0xc6
movss xmm9, xmm7
shufps xmm9, xmm9, 0x27
movss xmm9, xmm8
shufps xmm9, xmm9, 0x39
movups xmmword [rdi + 0x39cc], xmm9
mov r13, qword [rsp + 0x48]
lea rcx, str.CLOSE
xor edx, edx
movsxd rax, dword [r13 + 0x120]
mov r8, qword [r13 + 0x128]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400035d0
mov rcx, qword [0x1400b3a30]
mov edi, eax
cmp dword [rcx + 0x4038], eax
jne 0x140022200
lea r8, str.CLOSE
mov edx, ntohs
mov ecx, eax
call fcn.1400273a0
lea rdx, [rsp + 0x58]
mov ecx, edi
call fcn.140040770
test al, al
je 0x140022267
or byte [rsi + 0xc8], 0x40
mov r8d, r14d
cmp dword [rbx], 0
jle 0x140022267
mov rcx, r14
mov rdx, qword [rbx + 8]
mov eax, dword [rcx + rdx + 4]
bt eax, 0x15
jb 0x14002225b
test al, 1
mov eax, dword [rcx + rdx]
jne 0x140022253
mov byte [rcx + rdx + 0x30], 1
cmp dword [rbx + 0x20], eax
jne 0x14002225b
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rbx + 0x18], 0
jmp 0x14002225b
cmp dword [rbx + 0x20], eax
je 0x14002225b
mov dword [rbx + 0x1c], eax
inc r8d
add rcx, 0x38
cmp r8d, dword [rbx]
jl 0x140022222
test r12b, r12b
jne 0x1400222cd
mov rdi, qword [0x1400b3a30]
movsxd rax, dword [rdi + 0x4958]
cmp eax, 1
jl 0x1400222a5
mov rcx, qword [rdi + 0x4960]
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 + 0x39cc], xmm0
dec dword [rdi + 0x4958]
movsxd rcx, dword [rdi + 0x4998]
lea eax, [rcx - 1]
mov dword [rdi + 0x4998], eax
mov rax, qword [rdi + 0x49a0]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rdi + 0x4870], ecx
jmp 0x1400222d4
mov r13, qword [rsp + 0x48]
mov rdi, qword [0x1400b3a30]
movsxd rax, dword [r13 + 0x120]
lea rcx, str.TITLEBAR
mov r8, qword [r13 + 0x128]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400035d0
mov r12d, eax
movaps xmm9, xmmword [rsp + 0x1a0]
movaps xmm8, xmmword [rsp + 0x1b0]
movaps xmm7, xmmword [rsp + 0x1c0]
movaps xmm6, xmmword [rsp + 0x1d0]
cmp dword [rdi + 0x4038], eax
jne 0x140022335
lea r8, str.TITLEBAR
mov edx, ntohs
mov ecx, eax
call fcn.1400273a0
mov eax, dword [r15 + 0x403c]
test eax, eax
je 0x140022352
cmp eax, r12d
je 0x140022352
cmp dword [r15 + 0x4050], r12d
jne 0x14002252c
lea r9, [rbp - 0x28]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x18]
mov edx, r12d
call fcn.14003fa10
mov r9, qword [0x1400b3a30]
cmp dword [r15 + 0x403c], r12d
jne 0x1400223ad
mov dword [r15 + 0x488c], r12d
mov eax, dword [r9 + 0x488c]
cmp dword [r9 + 0x403c], eax
jne 0x14002239c
mov byte [r9 + 0x4044], 1
cmp dword [r9 + 0x4050], eax
jne 0x1400223ad
mov byte [r9 + 0x405d], 1
cmp byte [rbp - 0x28], 0
je 0x14002252c
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400127c0
test al, al
je 0x1400223cd
mov eax, dword [rbx + 0x18]
mov dword [rbp - 0x20], eax
mov edx, dword [rbx + 0x18]
test edx, edx
je 0x14002252c
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x14002252c
mov rcx, qword [rbx + 8]
nop dword [rax + rax]
cmp dword [rcx], edx
je 0x140022404
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x1400223f0
jmp 0x14002252c
cdqe
imul rdi, rax, 0x38
add rdi, qword [rbx + 8]
je 0x14002252c
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x140022424
mov rdi, qword [rsi + 0x88]
mov rax, qword [rsi + 0x90]
xor r11b, r11b
test rax, rax
je 0x140022484
test byte [rax + 0xc], 4
jne 0x140022484
mov rax, qword [rsi + 0x18]
mov rcx, rsi
test rax, rax
je 0x14002245c
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140022450
cmp qword [rcx + 0xa0], rsi
jne 0x14002246f
cmp qword [rcx + 0x98], 0
je 0x140022484
mov eax, dword [rcx + 0x10]
shr eax, 0xa
test al, 1
movzx r11d, r11b
mov eax, 1
cmovne r11d, eax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400127c0
cmp byte [r9 + 0xe0c], 0
jne 0x14002249e
xor cl, cl
jmp 0x1400224cb
movss xmm0, dword [r9 + 0x38]
movaps xmm1, xmm0
mulss xmm1, dword [0x1400a6270]
comiss xmm11, xmm1
jbe 0x1400224b8
movaps xmm1, xmm0
movss xmm0, dword [r9 + 0x37c8]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae cl
test r11b, r11b
je 0x140022513
test cl, cl
je 0x14002252c
lea rcx, [r9 + 0x5d58]
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.140028070
jmp 0x14002252c
test al, al
jne 0x14002251b
test cl, cl
je 0x14002252c
cmp qword [r9 + 0x4008], rdi
je 0x14002252c
mov rcx, rdi
call fcn.140007ec0
mov edx, dword [rbx + 0x1c]
test edx, edx
movaps xmm11, xmmword [rsp + 0x180]
cmove edx, dword [rbp - 0x20]
mov r12, qword [rsp + 0x1e8]
test edx, edx
je 0x140022596
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x140022596
mov rcx, qword [rbx + 8]
nop dword [rax]
cmp dword [rcx], edx
je 0x140022571
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140022560
jmp 0x140022596
cdqe
imul rdi, rax, 0x38
add rdi, qword [rbx + 8]
je 0x140022596
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140022596
call fcn.1400119d0
mov rcx, qword [rdi + 8]
xor edx, edx
call fcn.1400174c0
call fcn.1400452e0
mov rax, qword [0x1400b3a30]
mov rbx, qword [rsp + 0x230]
mov rcx, qword [rax + 0x3ff0]
dec dword [rcx + 0x120]
mov eax, dword [rsi + 0x10]
shr eax, 0xa
test al, 1
jne 0x1400225d4
movzx eax, byte [rsp + 0x32]
mov byte [r13 + 0xe8], al
mov dword [r13 + 0x188], r14d
mov r13, qword [rsp + 0x1e0]
mov rdi, qword [rsp + 0x1f0]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140090360
add rsp, 0x1f8
pop r15
pop r14
pop rsi
pop rbp
ret
cmp dword [rsi + 0x30], 0
jle 0x14002260b
mov rax, qword [rsi + 0x38]
mov r14, qword [rax]
and dl, 0xfd
mov qword [rsi + 0x90], r14
movzx eax, dil
add al, al
or dl, al
mov byte [rsi + 0xc8], dl
test dil, dil
je 0x140022635
mov eax, dword [r15 + 0x3f70]
mov dword [rsi + 0xb4], eax
test r14, r14
je 0x1400225dc
test dil, dil
jne 0x140022649
cmp qword [r8 + 0x90], 0
jne 0x140022650
mov qword [r8 + 0x90], r14
mov rdx, qword [rsi + 0x40]
test rdx, rdx
je 0x1400225dc
mov rax, qword [rsi + 0x90]
mov ecx, dword [rax + 0xa8]
mov dword [rdx + 0x20], ecx
jmp 0x1400225dc