Function at 0x1400210d0
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 [0x1400d9080]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r15, qword [0x1400d9f90]
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 0x140021137
mov byte [rsp + 0x31], 1
cmp eax, ecx
je 0x14002113c
mov byte [rsp + 0x31], 0
xor r14d, r14d
lea r10d, [r14 + 1]
cmp dword [rsi + 0xc0], r14d
je 0x140021155
mov dword [rsp + 0x40], r10d
cmp eax, ecx
je 0x14002115a
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 0x140021193
nop dword [rax + rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140021180
mov r8, qword [rsp + 0x50]
mov rax, qword [r15 + 0x4bb0]
mov qword [rsp + 0x1f0], rdi
test rax, rax
je 0x1400211b7
cmp qword [rax + 0x430], rsi
sete dil
jmp 0x140021267
mov rcx, qword [r15 + 0x4a40]
test rcx, rcx
je 0x140021264
mov eax, dword [rsi]
cmp dword [r8 + 0xb8], eax
jne 0x140021264
mov rcx, qword [rcx + 0x3b0]
test dword [rcx + 0xc], 0x10000000
je 0x140021207
nop word [rax + rax]
mov rax, qword [rcx + 0x3a0]
mov rcx, qword [rax + 0x3b0]
test dword [rcx + 0xc], 0x10000000
jne 0x1400211f0
mov rax, qword [rcx + 0x438]
test rax, rax
jne 0x140021220
mov rax, qword [rcx + 0x430]
test rax, rax
je 0x140021264
nop
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14002123c
nop dword [rax]
mov rax, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x140021230
cmp rax, r8
je 0x1400213bf
mov rax, qword [rax + 0x88]
test rax, rax
je 0x140021264
mov rax, qword [rax + 0x3b0]
mov rax, qword [rax + 0x430]
test rax, rax
jne 0x140021220
xor dil, dil
mov eax, dword [rsi + 0x10]
mov byte [rsp + 0x30], dil
test eax, 0x3000
jne 0x1400221fe
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 0x1400212e9
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 0x14002130a
xor r8d, r8d
lea edx, [r8 + 0xd]
call fcn.140027250
lea rcx, [rbx + 0x120]
lea rdx, [rbp - 0x20]
call fcn.140028360
mov rax, qword [rsi + 0x40]
mov r12d, 0xffffffff
mov qword [rbp - 0x40], rax
mov rbx, rax
test rax, rax
jne 0x1400213cf
mov rax, qword [0x1400d9f90]
test rax, rax
je 0x140021346
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 0x1400213c8
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 0x1400213cb
movzx edi, r10b
jmp 0x140021267
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 0x140021431
cmp dword [r15 + 0x3918], r12d
je 0x140021431
mov r13b, 1
call fcn.140015190
test al, al
je 0x140021439
mov rdx, rbx
mov rcx, rsi
call fcn.140020ee0
test eax, eax
je 0x140021419
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 0x140021439
xor r13b, r13b
mov byte [rsp + 0x30], dil
mov r10, qword [0x1400d9f90]
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]
movss xmm2, dword [r10 + 0x3d50]
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]
movaps xmm3, xmm0
addss xmm3, xmm10
movss dword [rbp - 0x10], xmm9
movaps xmm1, xmm9
subss xmm1, xmm0
movss dword [rbp - 0x2c], xmm8
movss dword [rbp - 0xc], xmm8
movaps xmm5, xmm3
addss xmm5, xmm4
subss xmm1, xmm4
movss dword [rbp - 0x38], xmm5
movss dword [rbp - 0x30], xmm1
test al, 8
je 0x140021508
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 0x14002155d
cmp dword [r10 + 0x3918], 0
jne 0x14002152a
addss xmm2, dword [r10 + 0x3944]
addss xmm2, xmm5
movss dword [rbp - 0x38], xmm2
jmp 0x14002155d
cmp dword [r10 + 0x3918], 1
jne 0x14002155d
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 0x140021664
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 0x1400215de
mov edx, dword [rbx]
mov eax, r14d
test edx, edx
jle 0x1400215de
mov rcx, qword [rbx + 8]
cmp dword [rcx], r8d
je 0x1400215d2
inc eax
add rcx, 0x38
cmp eax, edx
jl 0x1400215c1
jmp 0x1400215de
cdqe
imul rcx, rax, 0x38
add rcx, qword [rbx + 8]
jne 0x140021649
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 0x14002162c
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.140047cd0
mov r10, qword [0x1400d9f90]
mov r11d, 0x400000
inc r12d
add rdi, 8
cmp r12d, dword [rsi + 0x30]
jl 0x1400215a0
mov r15, qword [rsp + 0x70]
movzx edi, byte [rsp + 0x30]
test dil, dil
je 0x140021676
mov eax, dword [r15 + 0x3f70]
mov dword [rsi + 0xb4], eax
mov r12, qword [rsp + 0x48]
cmp byte [r12 + 0xe6], 0
je 0x14002168d
mov eax, listen
jmp 0x14002169a
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.140003770
movss xmm2, dword [0x1400c8bf8]
mov r11d, 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 r10b
comiss xmm0, xmm7
setae dl
comiss xmm8, xmm3
setae r9b
test dl, dl
je 0x140021737
test cl, cl
je 0x140021737
mov eax, reloc.WS2_32.dll_recv
jmp 0x14002173e
mov eax, r14d
test dl, dl
je 0x140021749
mov r8d, reloc.WLDAP32.dll_Ordinal_32
test r10b, r10b
jne 0x14002174c
mov r8d, r14d
test r9b, r9b
je 0x14002175c
test cl, cl
je 0x14002175c
mov edx, 0x40
jmp 0x140021764
mov edx, r14d
test r9b, r9b
je 0x14002176e
mov ecx, 0x180
test r10b, r10b
jne 0x140021773
mov ecx, 0x100
movss xmm0, dword [r12 + 0x80]
or eax, ecx
mov rcx, qword [r12 + 0x2d0]
or eax, r8d
or eax, edx
lea r8, [rbp - 0x10]
mov dword [rsp + 0x28], eax
lea rdx, [rbp - 0x18]
mov r9d, r11d
movss dword [rsp + 0x20], xmm0
call fcn.140033cc0
test r13b, r13b
je 0x140021829
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.1400032a0
mov rcx, qword [0x1400d9f90]
mov edi, eax
cmp dword [rcx + 0x4038], eax
jne 0x1400217f2
lea r8, str.COLLAPSE
mov edx, listen
mov ecx, eax
call fcn.140027250
mov r8, rsi
lea rdx, [rsp + 0x38]
mov ecx, edi
call fcn.1400409d0
test al, al
je 0x14002180a
call fcn.140015200
mov rax, qword [0x1400d9f90]
mov ecx, dword [rax + 0x4050]
test ecx, ecx
je 0x140021829
cmp ecx, dword [rax + 0x488c]
jne 0x140021829
mov eax, dword [rbx + 0x18]
mov dword [rbp - 0x20], eax
mov edi, dword [rbx]
lea ecx, [rdi - 1]
test ecx, ecx
js 0x140021863
movsxd rax, ecx
imul rdx, rax, 0x38
nop dword [rax]
mov r8, qword [rbx + 8]
mov eax, dword [rdx + r8 + 4]
bt eax, 0x16
jae 0x140021863
btr eax, 0x16
mov edi, ecx
mov dword [rdx + r8 + 4], eax
sub rdx, 0x38
sub ecx, 1
jns 0x140021840
mov r8d, dword [rbx]
cmp r8d, edi
jle 0x14002191f
test byte [r15 + 0x5e64], 0x40
je 0x1400218a2
mov edx, dword [rsi]
lea eax, [rdi + 1]
cmp r8d, eax
lea rcx, str.__will_sort_
lea r9, [0x1400c24a6]
cmovg r9, rcx
sub r8d, edi
lea rcx, str._docking__In_node_0x_08X:__d_new_appearing_tabs:_s_n
call fcn.140026e80
mov ecx, dword [rbx]
mov r13d, edi
cmp edi, ecx
jge 0x1400218ef
movsxd rax, edi
imul r12, rax, 0x38
test byte [r15 + 0x5e64], 0x40
je 0x1400218dc
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.140026e80
mov ecx, dword [rbx]
inc r13d
add r12, 0x38
cmp r13d, ecx
jl 0x1400218b2
mov r12, qword [rsp + 0x48]
lea eax, [rdi + 1]
cmp ecx, eax
jle 0x14002191f
sub ecx, edi
movsxd rdx, ecx
cmp rdx, 1
jbe 0x14002191f
movsxd rax, edi
lea r9, [0x140020e90]
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 0x140021944
mov rax, qword [rax + 0x3b0]
cmp qword [rax + 0x430], rsi
jne 0x140021944
mov eax, dword [rax + 0xa8]
mov dword [rbx + 0x18], eax
cmp qword [rbp - 0x40], 0
jne 0x140021977
mov edx, dword [rsi + 0xbc]
test edx, edx
je 0x140021977
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x140021977
mov rcx, qword [rbx + 8]
cmp dword [rcx], edx
je 0x140021bea
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140021964
movsxd rax, dword [rbx]
cmp eax, dword [rsp + 0x60]
jle 0x140021999
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 0x1400219b8
cmp byte [rsp + 0x30], 0
mov eax, 0x700003
cmovne r8d, eax
mov r9, rsi
lea rdx, [rbp - 8]
mov rcx, rbx
call fcn.1400447c0
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 0x140021c30
movss xmm6, dword [0x1400c8b50]
lea r11, [0x1400c4230]
mov r12, r14
lea r10, [0x1400c4248]
nop dword [rax]
cmp byte [rsp + 0x31], 0
mov rax, qword [rsi + 0x38]
mov rdi, qword [r12 + rax]
jne 0x140021a5b
mov eax, dword [rsp + 0x40]
cmp eax, dword [rdi + 0xa8]
jne 0x140021a71
cmp byte [rdi + 0xed], 0
je 0x140021a71
test dword [rdi + 0xc], 0x100000
je 0x140021c13
mov eax, dword [rdi + 0x290]
inc eax
cmp eax, dword [r15 + 0x3f70]
jge 0x140021a90
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x68], eax
je 0x140021c13
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 0x140021ac0
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.1400463a0
cmp byte [rbp - 0x28], 0
jne 0x140021b7d
mov eax, dword [rdi + 0xa8]
mov dword [rsi + 0xc0], eax
mov eax, dword [rdi + 0xa8]
cmp dword [rbx + 0x20], eax
jne 0x140021b8f
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 0x140021c05
cmp qword [rax + 0x3b0], rdi
jne 0x140021c05
test byte [rdi + 0x18c], 2
lea r10, [0x1400c4248]
lea r11, [0x1400c4230]
jne 0x140021c13
mov rcx, qword [rsp + 0x48]
mov eax, dword [rdi + 0xa8]
mov dword [rcx + 0x3e4], eax
jmp 0x140021c13
cdqe
imul rcx, rax, 0x38
add rcx, qword [rbx + 8]
je 0x140021977
mov dword [rbx + 0x1c], edx
mov dword [rbx + 0x18], edx
jmp 0x140021999
lea r11, [0x1400c4230]
lea r10, [0x1400c4248]
inc r13d
add r12, 8
cmp r13d, dword [rsi + 0x30]
jl 0x140021a40
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 0x140021c9d
cmp byte [rsp + 0x30], 0
mov rcx, qword [rsp + 0x50]
jne 0x140021c96
cmp qword [rcx + 0x90], 0
jne 0x140021c9d
mov qword [rcx + 0x90], rax
movzx eax, byte [rsi + 0xc8]
and al, 8
je 0x140021cc5
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x140021cc5
cmp byte [rcx + 0xed], 0
je 0x140021cc5
mov r12b, 1
jmp 0x140021db6
test al, al
je 0x140021ec8
mov rdi, qword [0x1400d9f90]
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 0x140021d2b
inc r8d
test ecx, ecx
je 0x140021d0d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140021d12
mov eax, 8
cmp eax, r8d
mov rcx, r12
cmovg r8d, eax
mov edx, r8d
call fcn.140028c00
mov rdi, qword [0x1400d9f90]
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 [0x1400c8b84]
movups xmmword [rbp - 4], xmm0
call fcn.140027d90
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.1400032a0
mov rcx, qword [0x1400d9f90]
mov edi, eax
cmp dword [rcx + 0x4038], eax
jne 0x140021e00
lea r8, str.CLOSE
mov edx, listen
mov ecx, eax
call fcn.140027250
lea rdx, [rsp + 0x58]
mov ecx, edi
call fcn.140040600
test al, al
je 0x140021e67
or byte [rsi + 0xc8], 0x40
mov r8d, r14d
cmp dword [rbx], 0
jle 0x140021e67
mov rcx, r14
mov rdx, qword [rbx + 8]
mov eax, dword [rcx + rdx + 4]
bt eax, 0x15
jb 0x140021e5b
test al, 1
mov eax, dword [rcx + rdx]
jne 0x140021e53
mov byte [rcx + rdx + 0x30], 1
cmp dword [rbx + 0x20], eax
jne 0x140021e5b
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rbx + 0x18], 0
jmp 0x140021e5b
cmp dword [rbx + 0x20], eax
je 0x140021e5b
mov dword [rbx + 0x1c], eax
inc r8d
add rcx, 0x38
cmp r8d, dword [rbx]
jl 0x140021e22
test r12b, r12b
jne 0x140021ecd
mov rdi, qword [0x1400d9f90]
movsxd rax, dword [rdi + 0x4958]
cmp eax, 1
jl 0x140021ea5
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 0x140021ed4
mov r13, qword [rsp + 0x48]
mov rdi, qword [0x1400d9f90]
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.1400032a0
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 0x140021f35
lea r8, str.TITLEBAR
mov edx, listen
mov ecx, eax
call fcn.140027250
mov eax, dword [r15 + 0x403c]
test eax, eax
je 0x140021f52
cmp eax, r12d
je 0x140021f52
cmp dword [r15 + 0x4050], r12d
jne 0x14002212c
lea r9, [rbp - 0x28]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x18]
mov edx, r12d
call fcn.14003f890
mov r9, qword [0x1400d9f90]
cmp dword [r15 + 0x403c], r12d
jne 0x140021fad
mov dword [r15 + 0x488c], r12d
mov eax, dword [r9 + 0x488c]
cmp dword [r9 + 0x403c], eax
jne 0x140021f9c
mov byte [r9 + 0x4044], 1
cmp dword [r9 + 0x4050], eax
jne 0x140021fad
mov byte [r9 + 0x405d], 1
cmp byte [rbp - 0x28], 0
je 0x14002212c
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140012420
test al, al
je 0x140021fcd
mov eax, dword [rbx + 0x18]
mov dword [rbp - 0x20], eax
mov edx, dword [rbx + 0x18]
test edx, edx
je 0x14002212c
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x14002212c
mov rcx, qword [rbx + 8]
nop dword [rax + rax]
cmp dword [rcx], edx
je 0x140022004
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140021ff0
jmp 0x14002212c
cdqe
imul rdi, rax, 0x38
add rdi, qword [rbx + 8]
je 0x14002212c
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x140022024
mov rdi, qword [rsi + 0x88]
mov rax, qword [rsi + 0x90]
xor r11b, r11b
test rax, rax
je 0x140022084
test byte [rax + 0xc], 4
jne 0x140022084
mov rax, qword [rsi + 0x18]
mov rcx, rsi
test rax, rax
je 0x14002205c
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140022050
cmp qword [rcx + 0xa0], rsi
jne 0x14002206f
cmp qword [rcx + 0x98], 0
je 0x140022084
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.140012420
cmp byte [r9 + 0xe0c], 0
jne 0x14002209e
xor cl, cl
jmp 0x1400220cb
movss xmm0, dword [r9 + 0x38]
movaps xmm1, xmm0
mulss xmm1, dword [0x1400c8be8]
comiss xmm11, xmm1
jbe 0x1400220b8
movaps xmm1, xmm0
movss xmm0, dword [r9 + 0x37c8]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae cl
test r11b, r11b
je 0x140022113
test cl, cl
je 0x14002212c
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.140027f20
jmp 0x14002212c
test al, al
jne 0x14002211b
test cl, cl
je 0x14002212c
cmp qword [r9 + 0x4008], rdi
je 0x14002212c
mov rcx, rdi
call fcn.140007c00
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 0x140022196
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x140022196
mov rcx, qword [rbx + 8]
nop dword [rax]
cmp dword [rcx], edx
je 0x140022171
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140022160
jmp 0x140022196
cdqe
imul rdi, rax, 0x38
add rdi, qword [rbx + 8]
je 0x140022196
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140022196
call fcn.140011760
mov rcx, qword [rdi + 8]
xor edx, edx
call fcn.1400170a0
call fcn.140044bb0
mov rax, qword [0x1400d9f90]
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 0x1400221d4
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.1400afd10
add rsp, 0x1f8
pop r15
pop r14
pop rsi
pop rbp
ret
cmp dword [rsi + 0x30], 0
jle 0x14002220b
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 0x140022235
mov eax, dword [r15 + 0x3f70]
mov dword [rsi + 0xb4], eax
test r14, r14
je 0x1400221dc
test dil, dil
jne 0x140022249
cmp qword [r8 + 0x90], 0
jne 0x140022250
mov qword [r8 + 0x90], r14
mov rdx, qword [rsi + 0x40]
test rdx, rdx
je 0x1400221dc
mov rax, qword [rsi + 0x90]
mov ecx, dword [rax + 0xa8]
mov dword [rdx + 0x20], ecx
jmp 0x1400221dc