Function at 0x140021c00
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 [0x1407ddd00]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r15, qword [0x1407e5d20]
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 0x140021c67
mov byte [rsp + 0x31], 1
cmp eax, ecx
je 0x140021c6c
mov byte [rsp + 0x31], 0
xor r14d, r14d
lea r10d, [r14 + 1]
cmp dword [rsi + 0xc0], r14d
je 0x140021c85
mov dword [rsp + 0x40], r10d
cmp eax, ecx
je 0x140021c8a
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 0x140021cc3
nop dword [rax + rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140021cb0
mov r8, qword [rsp + 0x50]
mov rax, qword [r15 + 0x4bb0]
mov qword [rsp + 0x1f0], rdi
test rax, rax
je 0x140021ce7
cmp qword [rax + 0x430], rsi
sete dil
jmp 0x140021d97
mov rcx, qword [r15 + 0x4a40]
test rcx, rcx
je 0x140021d94
mov eax, dword [rsi]
cmp dword [r8 + 0xb8], eax
jne 0x140021d94
mov rcx, qword [rcx + 0x3b0]
test dword [rcx + 0xc], 0x10000000
je 0x140021d37
nop word [rax + rax]
mov rax, qword [rcx + 0x3a0]
mov rcx, qword [rax + 0x3b0]
test dword [rcx + 0xc], 0x10000000
jne 0x140021d20
mov rax, qword [rcx + 0x438]
test rax, rax
jne 0x140021d50
mov rax, qword [rcx + 0x430]
test rax, rax
je 0x140021d94
nop
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140021d6c
nop dword [rax]
mov rax, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x140021d60
cmp rax, r8
je 0x140021eef
mov rax, qword [rax + 0x88]
test rax, rax
je 0x140021d94
mov rax, qword [rax + 0x3b0]
mov rax, qword [rax + 0x430]
test rax, rax
jne 0x140021d50
xor dil, dil
mov eax, dword [rsi + 0x10]
mov byte [rsp + 0x30], dil
test eax, 0x3000
jne 0x140022d1e
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 0x140021e19
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 0x140021e3a
xor r8d, r8d
lea edx, [r8 + 0xd]
call fcn.140027aa0
lea rcx, [rbx + 0x120]
lea rdx, [rbp - 0x20]
call fcn.140028bc0
mov rax, qword [rsi + 0x40]
mov r12d, 0xffffffff
mov qword [rbp - 0x40], rax
mov rbx, rax
test rax, rax
jne 0x140021eff
mov rax, qword [0x1407e5d20]
test rax, rax
je 0x140021e76
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 0x140021ef8
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 0x140021efb
movzx edi, r10b
jmp 0x140021d97
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 0x140021f61
cmp dword [r15 + 0x3918], r12d
je 0x140021f61
mov r13b, 1
call fcn.140015d30
test al, al
je 0x140021f69
mov rdx, rbx
mov rcx, rsi
call fcn.140021a10
test eax, eax
je 0x140021f49
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 0x140021f69
xor r13b, r13b
mov byte [rsp + 0x30], dil
mov r10, qword [0x1407e5d20]
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 0x140022038
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 0x14002208a
cmp dword [r10 + 0x3918], 0
jne 0x14002205a
addss xmm2, dword [r10 + 0x3944]
addss xmm2, xmm5
movss dword [rbp - 0x38], xmm2
jmp 0x14002208a
cmp dword [r10 + 0x3918], 1
jne 0x14002208a
addss xmm2, xmm4
subss xmm1, xmm2
movss dword [rbp - 0x30], xmm1
unpcklps xmm1, xmm7
movaps xmm0, xmm1
movsd qword [rsp + 0x38], xmm1
movss xmm3, dword [rsp + 0x38]
shufps xmm0, xmm0, 0x55
movaps xmm6, xmm0
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 0x140022184
mov rdi, r14
mov r15d, 0xffffffff
mov rax, qword [rsi + 0x38]
mov r9, qword [rdi + rax]
mov r8d, dword [r9 + 0xa8]
test r8d, r8d
je 0x1400220fe
mov edx, dword [rbx]
mov eax, r14d
test edx, edx
jle 0x1400220fe
mov rcx, qword [rbx + 8]
cmp dword [rcx], r8d
je 0x1400220f2
inc eax
add rcx, 0x38
cmp eax, edx
jl 0x1400220e1
jmp 0x1400220fe
cdqe
imul rcx, rax, 0x38
add rcx, qword [rbx + 8]
jne 0x140022169
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 0x14002214c
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.14004d1c0
mov r10, qword [0x1407e5d20]
mov r11d, 0x400000
inc r12d
add rdi, 8
cmp r12d, dword [rsi + 0x30]
jl 0x1400220c0
mov r15, qword [rsp + 0x70]
movzx edi, byte [rsp + 0x30]
test dil, dil
je 0x140022196
mov eax, dword [r15 + 0x3f70]
mov dword [rsi + 0xb4], eax
mov r12, qword [rsp + 0x48]
cmp byte [r12 + 0xe6], 0
je 0x1400221ad
mov eax, ntohs
jmp 0x1400221ba
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.140003e60
movss xmm2, dword [0x1404e88c8]
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 0x140022257
test cl, cl
je 0x140022257
mov r8d, reloc.WS2_32.dll_recv
jmp 0x14002225e
mov r8d, r14d
test dl, dl
je 0x140022268
mov edx, reloc.WLDAP32.dll_Ordinal_32
test r9b, r9b
jne 0x14002226b
mov edx, r14d
test al, al
je 0x14002227a
test cl, cl
je 0x14002227a
mov ecx, 0x40
jmp 0x140022281
mov ecx, r14d
test al, al
je 0x14002228b
mov eax, 0x180
test r9b, r9b
jne 0x140022290
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.140034f20
test r13b, r13b
je 0x140022346
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.1400038d0
mov rcx, qword [0x1407e5d20]
mov edi, eax
cmp dword [rcx + 0x4038], eax
jne 0x14002230f
lea r8, str.COLLAPSE
mov edx, ntohs
mov ecx, eax
call fcn.140027aa0
mov r8, rsi
lea rdx, [rsp + 0x38]
mov ecx, edi
call fcn.140041c60
test al, al
je 0x140022327
call fcn.140015da0
mov rax, qword [0x1407e5d20]
mov ecx, dword [rax + 0x4050]
test ecx, ecx
je 0x140022346
cmp ecx, dword [rax + 0x488c]
jne 0x140022346
mov eax, dword [rbx + 0x18]
mov dword [rbp - 0x20], eax
mov edi, dword [rbx]
lea ecx, [rdi - 1]
test ecx, ecx
js 0x140022383
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 0x140022383
btr eax, 0x16
mov edi, ecx
mov dword [rdx + r8 + 4], eax
sub rdx, 0x38
sub ecx, 1
jns 0x140022360
mov r8d, dword [rbx]
cmp r8d, edi
jle 0x14002243f
test byte [r15 + 0x5e64], 0x40
je 0x1400223c2
mov edx, dword [rsi]
lea eax, [rdi + 1]
cmp r8d, eax
lea rcx, str.__will_sort_
lea r9, [0x1404df8b6]
cmovg r9, rcx
sub r8d, edi
lea rcx, str._docking__In_node_0x_08X:__d_new_appearing_tabs:_s_n
call fcn.1400276d0
mov ecx, dword [rbx]
mov r13d, edi
cmp edi, ecx
jge 0x14002240f
movsxd rax, edi
imul r12, rax, 0x38
test byte [r15 + 0x5e64], 0x40
je 0x1400223fc
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.1400276d0
mov ecx, dword [rbx]
inc r13d
add r12, 0x38
cmp r13d, ecx
jl 0x1400223d2
mov r12, qword [rsp + 0x48]
lea eax, [rdi + 1]
cmp ecx, eax
jle 0x14002243f
sub ecx, edi
movsxd rdx, ecx
cmp rdx, 1
jbe 0x14002243f
movsxd rax, edi
lea r9, [0x1400219c0]
imul rcx, rax, 0x38
mov r8d, gethostname
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 0x140022464
mov rax, qword [rax + 0x3b0]
cmp qword [rax + 0x430], rsi
jne 0x140022464
mov eax, dword [rax + 0xa8]
mov dword [rbx + 0x18], eax
cmp qword [rbp - 0x40], 0
jne 0x140022497
mov edx, dword [rsi + 0xbc]
test edx, edx
je 0x140022497
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x140022497
mov rcx, qword [rbx + 8]
cmp dword [rcx], edx
je 0x14002270a
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140022484
movsxd rax, dword [rbx]
cmp eax, dword [rsp + 0x60]
jle 0x1400224b9
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 0x1400224d8
cmp byte [rsp + 0x30], 0
mov eax, 0x700003
cmovne r8d, eax
mov r9, rsi
lea rdx, [rbp - 8]
mov rcx, rbx
call fcn.140049bc0
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 0x140022750
movss xmm6, dword [0x1404e882c]
lea r11, [0x1404e1640]
mov r12, r14
lea r10, sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
nop dword [rax]
cmp byte [rsp + 0x31], 0
mov rax, qword [rsi + 0x38]
mov rdi, qword [r12 + rax]
jne 0x14002257b
mov eax, dword [rsp + 0x40]
cmp eax, dword [rdi + 0xa8]
jne 0x140022591
cmp byte [rdi + 0xed], 0
je 0x140022591
test dword [rdi + 0xc], 0x100000
je 0x140022733
mov eax, dword [rdi + 0x290]
inc eax
cmp eax, dword [r15 + 0x3f70]
jge 0x1400225b0
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x68], eax
je 0x140022733
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 0x1400225e0
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.14004b890
cmp byte [rbp - 0x28], 0
jne 0x14002269d
mov eax, dword [rdi + 0xa8]
mov dword [rsi + 0xc0], eax
mov eax, dword [rdi + 0xa8]
cmp dword [rbx + 0x20], eax
jne 0x1400226af
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 0x140022725
cmp qword [rax + 0x3b0], rdi
jne 0x140022725
test byte [rdi + 0x18c], 2
lea r10, sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
lea r11, [0x1404e1640]
jne 0x140022733
mov rcx, qword [rsp + 0x48]
mov eax, dword [rdi + 0xa8]
mov dword [rcx + 0x3e4], eax
jmp 0x140022733
cdqe
imul rcx, rax, 0x38
add rcx, qword [rbx + 8]
je 0x140022497
mov dword [rbx + 0x1c], edx
mov dword [rbx + 0x18], edx
jmp 0x1400224b9
lea r11, [0x1404e1640]
lea r10, sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
inc r13d
add r12, 8
cmp r13d, dword [rsi + 0x30]
jl 0x140022560
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 0x1400227bd
cmp byte [rsp + 0x30], 0
mov rcx, qword [rsp + 0x50]
jne 0x1400227b6
cmp qword [rcx + 0x90], 0
jne 0x1400227bd
mov qword [rcx + 0x90], rax
movzx eax, byte [rsi + 0xc8]
and al, 8
je 0x1400227e5
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x1400227e5
cmp byte [rcx + 0xed], 0
je 0x1400227e5
mov r12b, 1
jmp 0x1400228d6
test al, al
je 0x1400229e8
mov rdi, qword [0x1407e5d20]
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 0x14002284b
inc r8d
test ecx, ecx
je 0x14002282d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140022832
mov eax, 8
cmp eax, r8d
mov rcx, r12
cmovg r8d, eax
mov edx, r8d
call fcn.140029460
mov rdi, qword [0x1407e5d20]
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 [0x1404e8860]
movups xmmword [rbp - 4], xmm0
call fcn.1400285f0
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.1400038d0
mov rcx, qword [0x1407e5d20]
mov edi, eax
cmp dword [rcx + 0x4038], eax
jne 0x140022920
lea r8, str.CLOSE
mov edx, ntohs
mov ecx, eax
call fcn.140027aa0
lea rdx, [rsp + 0x58]
mov ecx, edi
call fcn.140041890
test al, al
je 0x140022987
or byte [rsi + 0xc8], 0x40
mov r8d, r14d
cmp dword [rbx], 0
jle 0x140022987
mov rcx, r14
mov rdx, qword [rbx + 8]
mov eax, dword [rcx + rdx + 4]
bt eax, 0x15
jb 0x14002297b
test al, 1
mov eax, dword [rcx + rdx]
jne 0x140022973
mov byte [rcx + rdx + 0x30], 1
cmp dword [rbx + 0x20], eax
jne 0x14002297b
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rbx + 0x18], 0
jmp 0x14002297b
cmp dword [rbx + 0x20], eax
je 0x14002297b
mov dword [rbx + 0x1c], eax
inc r8d
add rcx, 0x38
cmp r8d, dword [rbx]
jl 0x140022942
test r12b, r12b
jne 0x1400229ed
mov rdi, qword [0x1407e5d20]
movsxd rax, dword [rdi + 0x4958]
cmp eax, 1
jl 0x1400229c5
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 0x1400229f4
mov r13, qword [rsp + 0x48]
mov rdi, qword [0x1407e5d20]
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.1400038d0
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 0x140022a55
lea r8, str.TITLEBAR
mov edx, ntohs
mov ecx, eax
call fcn.140027aa0
mov eax, dword [r15 + 0x403c]
test eax, eax
je 0x140022a72
cmp eax, r12d
je 0x140022a72
cmp dword [r15 + 0x4050], r12d
jne 0x140022c4c
lea r9, [rbp - 0x28]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x18]
mov edx, r12d
call fcn.140040b20
mov r9, qword [0x1407e5d20]
cmp dword [r15 + 0x403c], r12d
jne 0x140022acd
mov dword [r15 + 0x488c], r12d
mov eax, dword [r9 + 0x488c]
cmp dword [r9 + 0x403c], eax
jne 0x140022abc
mov byte [r9 + 0x4044], 1
cmp dword [r9 + 0x4050], eax
jne 0x140022acd
mov byte [r9 + 0x405d], 1
cmp byte [rbp - 0x28], 0
je 0x140022c4c
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140012e40
test al, al
je 0x140022aed
mov eax, dword [rbx + 0x18]
mov dword [rbp - 0x20], eax
mov edx, dword [rbx + 0x18]
test edx, edx
je 0x140022c4c
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x140022c4c
mov rcx, qword [rbx + 8]
nop dword [rax + rax]
cmp dword [rcx], edx
je 0x140022b24
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140022b10
jmp 0x140022c4c
cdqe
imul rdi, rax, 0x38
add rdi, qword [rbx + 8]
je 0x140022c4c
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x140022b44
mov rdi, qword [rsi + 0x88]
mov rax, qword [rsi + 0x90]
xor r11b, r11b
test rax, rax
je 0x140022ba4
test byte [rax + 0xc], 4
jne 0x140022ba4
mov rax, qword [rsi + 0x18]
mov rcx, rsi
test rax, rax
je 0x140022b7c
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140022b70
cmp qword [rcx + 0xa0], rsi
jne 0x140022b8f
cmp qword [rcx + 0x98], 0
je 0x140022ba4
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.140012e40
cmp byte [r9 + 0xe0c], 0
jne 0x140022bbe
xor cl, cl
jmp 0x140022beb
movss xmm0, dword [r9 + 0x38]
movaps xmm1, xmm0
mulss xmm1, dword [0x1404e88c4]
comiss xmm11, xmm1
jbe 0x140022bd8
movaps xmm1, xmm0
movss xmm0, dword [r9 + 0x37c8]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae cl
test r11b, r11b
je 0x140022c33
test cl, cl
je 0x140022c4c
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.140028780
jmp 0x140022c4c
test al, al
jne 0x140022c3b
test cl, cl
je 0x140022c4c
cmp qword [r9 + 0x4008], rdi
je 0x140022c4c
mov rcx, rdi
call fcn.140008480
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 0x140022cb6
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x140022cb6
mov rcx, qword [rbx + 8]
nop dword [rax]
cmp dword [rcx], edx
je 0x140022c91
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140022c80
jmp 0x140022cb6
cdqe
imul rdi, rax, 0x38
add rdi, qword [rbx + 8]
je 0x140022cb6
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140022cb6
call fcn.140011f90
mov rcx, qword [rdi + 8]
xor edx, edx
call fcn.140017c40
call fcn.140049fb0
mov rax, qword [0x1407e5d20]
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 0x140022cf4
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.1401db8e0
add rsp, 0x1f8
pop r15
pop r14
pop rsi
pop rbp
ret
cmp dword [rsi + 0x30], 0
jle 0x140022d2b
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 0x140022d55
mov eax, dword [r15 + 0x3f70]
mov dword [rsi + 0xb4], eax
test r14, r14
je 0x140022cfc
test dil, dil
jne 0x140022d69
cmp qword [r8 + 0x90], 0
jne 0x140022d70
mov qword [r8 + 0x90], r14
mov rdx, qword [rsi + 0x40]
test rdx, rdx
je 0x140022cfc
mov rax, qword [rsi + 0x90]
mov ecx, dword [rax + 0xa8]
mov dword [rdx + 0x20], ecx
jmp 0x140022cfc