Function at 0x14005f400
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 [0x140165440]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r15, qword [0x1402f7bf0]
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 0x14005f467
mov byte [rsp + 0x31], 1
cmp eax, ecx
je 0x14005f46c
mov byte [rsp + 0x31], 0
xor r14d, r14d
lea r10d, [r14 + 1]
cmp dword [rsi + 0xc0], r14d
je 0x14005f485
mov dword [rsp + 0x40], r10d
cmp eax, ecx
je 0x14005f48a
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 0x14005f4c3
nop dword [rax + rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14005f4b0
mov r8, qword [rsp + 0x50]
mov rax, qword [r15 + 0x4bb0]
mov qword [rsp + 0x1f0], rdi
test rax, rax
je 0x14005f4e7
cmp qword [rax + 0x430], rsi
sete dil
jmp 0x14005f597
mov rcx, qword [r15 + 0x4a40]
test rcx, rcx
je 0x14005f594
mov eax, dword [rsi]
cmp dword [r8 + 0xb8], eax
jne 0x14005f594
mov rcx, qword [rcx + 0x3b0]
test dword [rcx + 0xc], 0x10000000
je 0x14005f537
nop word [rax + rax]
mov rax, qword [rcx + 0x3a0]
mov rcx, qword [rax + 0x3b0]
test dword [rcx + 0xc], 0x10000000
jne 0x14005f520
mov rax, qword [rcx + 0x438]
test rax, rax
jne 0x14005f550
mov rax, qword [rcx + 0x430]
test rax, rax
je 0x14005f594
nop
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14005f56c
nop dword [rax]
mov rax, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x14005f560
cmp rax, r8
je 0x14005f6ef
mov rax, qword [rax + 0x88]
test rax, rax
je 0x14005f594
mov rax, qword [rax + 0x3b0]
mov rax, qword [rax + 0x430]
test rax, rax
jne 0x14005f550
xor dil, dil
mov eax, dword [rsi + 0x10]
mov byte [rsp + 0x30], dil
test eax, 0x3000
jne 0x14006052e
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 0x14005f619
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 0x14005f63a
xor r8d, r8d
lea edx, [r8 + 0xd]
call fcn.140065390
lea rcx, [rbx + 0x120]
lea rdx, [rbp - 0x20]
call fcn.1400664b0
mov rax, qword [rsi + 0x40]
mov r12d, 0xffffffff
mov qword [rbp - 0x40], rax
mov rbx, rax
test rax, rax
jne 0x14005f6ff
mov rax, qword [0x1402f7bf0]
test rax, rax
je 0x14005f676
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 0x14005f6f8
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 0x14005f6fb
movzx edi, r10b
jmp 0x14005f597
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 0x14005f761
cmp dword [r15 + 0x3918], r12d
je 0x14005f761
mov r13b, 1
call fcn.140053530
test al, al
je 0x14005f769
mov rdx, rbx
mov rcx, rsi
call fcn.14005f210
test eax, eax
je 0x14005f749
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 0x14005f769
xor r13b, r13b
mov byte [rsp + 0x30], dil
mov r10, qword [0x1402f7bf0]
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 0x14005f838
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 0x14005f88d
cmp dword [r10 + 0x3918], 0
jne 0x14005f85a
addss xmm2, dword [r10 + 0x3944]
addss xmm2, xmm5
movss dword [rbp - 0x38], xmm2
jmp 0x14005f88d
cmp dword [r10 + 0x3918], 1
jne 0x14005f88d
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 0x14005f994
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 0x14005f90e
mov edx, dword [rbx]
mov eax, r14d
test edx, edx
jle 0x14005f90e
mov rcx, qword [rbx + 8]
cmp dword [rcx], r8d
je 0x14005f902
inc eax
add rcx, 0x38
cmp eax, edx
jl 0x14005f8f1
jmp 0x14005f90e
cdqe
imul rcx, rax, 0x38
add rcx, qword [rbx + 8]
jne 0x14005f979
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 0x14005f95c
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.14008a7e0
mov r10, qword [0x1402f7bf0]
mov r11d, 0x400000
inc r12d
add rdi, 8
cmp r12d, dword [rsi + 0x30]
jl 0x14005f8d0
mov r15, qword [rsp + 0x70]
movzx edi, byte [rsp + 0x30]
test dil, dil
je 0x14005f9a6
mov eax, dword [r15 + 0x3f70]
mov dword [rsi + 0xb4], eax
mov r12, qword [rsp + 0x48]
cmp byte [r12 + 0xe6], 0
je 0x14005f9bd
mov eax, ntohs
jmp 0x14005f9ca
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.140041580
movss xmm2, dword [0x1401437b0]
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 0x14005fa67
test cl, cl
je 0x14005fa67
mov r8d, reloc.WS2_32.dll_recv
jmp 0x14005fa6e
mov r8d, r14d
test dl, dl
je 0x14005fa78
mov edx, reloc.WLDAP32.dll_Ordinal_32
test r9b, r9b
jne 0x14005fa7b
mov edx, r14d
test al, al
je 0x14005fa8a
test cl, cl
je 0x14005fa8a
mov ecx, 0x40
jmp 0x14005fa91
mov ecx, r14d
test al, al
je 0x14005fa9b
mov eax, 0x180
test r9b, r9b
jne 0x14005faa0
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.140072890
test r13b, r13b
je 0x14005fb56
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.140040ff0
mov rcx, qword [0x1402f7bf0]
mov edi, eax
cmp dword [rcx + 0x4038], eax
jne 0x14005fb1f
lea r8, str.COLLAPSE
mov edx, ntohs
mov ecx, eax
call fcn.140065390
mov r8, rsi
lea rdx, [rsp + 0x38]
mov ecx, edi
call fcn.14007f5c0
test al, al
je 0x14005fb37
call fcn.1400535a0
mov rax, qword [0x1402f7bf0]
mov ecx, dword [rax + 0x4050]
test ecx, ecx
je 0x14005fb56
cmp ecx, dword [rax + 0x488c]
jne 0x14005fb56
mov eax, dword [rbx + 0x18]
mov dword [rbp - 0x20], eax
mov edi, dword [rbx]
lea ecx, [rdi - 1]
test ecx, ecx
js 0x14005fb93
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 0x14005fb93
btr eax, 0x16
mov edi, ecx
mov dword [rdx + r8 + 4], eax
sub rdx, 0x38
sub ecx, 1
jns 0x14005fb70
mov r8d, dword [rbx]
cmp r8d, edi
jle 0x14005fc4f
test byte [r15 + 0x5e64], 0x40
je 0x14005fbd2
mov edx, dword [rsi]
lea eax, [rdi + 1]
cmp r8d, eax
lea rcx, str.__will_sort_
lea r9, [0x14013a216]
cmovg r9, rcx
sub r8d, edi
lea rcx, str._docking__In_node_0x_08X:__d_new_appearing_tabs:_s_n
call fcn.140064fc0
mov ecx, dword [rbx]
mov r13d, edi
cmp edi, ecx
jge 0x14005fc1f
movsxd rax, edi
imul r12, rax, 0x38
test byte [r15 + 0x5e64], 0x40
je 0x14005fc0c
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.140064fc0
mov ecx, dword [rbx]
inc r13d
add r12, 0x38
cmp r13d, ecx
jl 0x14005fbe2
mov r12, qword [rsp + 0x48]
lea eax, [rdi + 1]
cmp ecx, eax
jle 0x14005fc4f
sub ecx, edi
movsxd rdx, ecx
cmp rdx, 1
jbe 0x14005fc4f
movsxd rax, edi
lea r9, [0x14005f1c0]
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 0x14005fc74
mov rax, qword [rax + 0x3b0]
cmp qword [rax + 0x430], rsi
jne 0x14005fc74
mov eax, dword [rax + 0xa8]
mov dword [rbx + 0x18], eax
cmp qword [rbp - 0x40], 0
jne 0x14005fca7
mov edx, dword [rsi + 0xbc]
test edx, edx
je 0x14005fca7
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x14005fca7
mov rcx, qword [rbx + 8]
cmp dword [rcx], edx
je 0x14005ff1a
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x14005fc94
movsxd rax, dword [rbx]
cmp eax, dword [rsp + 0x60]
jle 0x14005fcc9
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 0x14005fce8
cmp byte [rsp + 0x30], 0
mov eax, 0x700003
cmovne r8d, eax
mov r9, rsi
lea rdx, [rbp - 8]
mov rcx, rbx
call fcn.1400872d0
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 0x14005ff60
movss xmm6, dword [0x140143708]
lea r11, [0x14013bfa0]
mov r12, r14
lea r10, [0x14013bfb8]
nop dword [rax]
cmp byte [rsp + 0x31], 0
mov rax, qword [rsi + 0x38]
mov rdi, qword [r12 + rax]
jne 0x14005fd8b
mov eax, dword [rsp + 0x40]
cmp eax, dword [rdi + 0xa8]
jne 0x14005fda1
cmp byte [rdi + 0xed], 0
je 0x14005fda1
test dword [rdi + 0xc], 0x100000
je 0x14005ff43
mov eax, dword [rdi + 0x290]
inc eax
cmp eax, dword [r15 + 0x3f70]
jge 0x14005fdc0
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x68], eax
je 0x14005ff43
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 0x14005fdf0
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.140088eb0
cmp byte [rbp - 0x28], 0
jne 0x14005fead
mov eax, dword [rdi + 0xa8]
mov dword [rsi + 0xc0], eax
mov eax, dword [rdi + 0xa8]
cmp dword [rbx + 0x20], eax
jne 0x14005febf
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 0x14005ff35
cmp qword [rax + 0x3b0], rdi
jne 0x14005ff35
test byte [rdi + 0x18c], 2
lea r10, [0x14013bfb8]
lea r11, [0x14013bfa0]
jne 0x14005ff43
mov rcx, qword [rsp + 0x48]
mov eax, dword [rdi + 0xa8]
mov dword [rcx + 0x3e4], eax
jmp 0x14005ff43
cdqe
imul rcx, rax, 0x38
add rcx, qword [rbx + 8]
je 0x14005fca7
mov dword [rbx + 0x1c], edx
mov dword [rbx + 0x18], edx
jmp 0x14005fcc9
lea r11, [0x14013bfa0]
lea r10, [0x14013bfb8]
inc r13d
add r12, 8
cmp r13d, dword [rsi + 0x30]
jl 0x14005fd70
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 0x14005ffcd
cmp byte [rsp + 0x30], 0
mov rcx, qword [rsp + 0x50]
jne 0x14005ffc6
cmp qword [rcx + 0x90], 0
jne 0x14005ffcd
mov qword [rcx + 0x90], rax
movzx eax, byte [rsi + 0xc8]
and al, 8
je 0x14005fff5
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x14005fff5
cmp byte [rcx + 0xed], 0
je 0x14005fff5
mov r12b, 1
jmp 0x1400600e6
test al, al
je 0x1400601f8
mov rdi, qword [0x1402f7bf0]
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 0x14006005b
inc r8d
test ecx, ecx
je 0x14006003d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140060042
mov eax, 8
cmp eax, r8d
mov rcx, r12
cmovg r8d, eax
mov edx, r8d
call fcn.140066d50
mov rdi, qword [0x1402f7bf0]
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 [0x140143740]
movups xmmword [rbp - 4], xmm0
call fcn.140065ee0
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.140040ff0
mov rcx, qword [0x1402f7bf0]
mov edi, eax
cmp dword [rcx + 0x4038], eax
jne 0x140060130
lea r8, str.CLOSE
mov edx, ntohs
mov ecx, eax
call fcn.140065390
lea rdx, [rsp + 0x58]
mov ecx, edi
call fcn.14007f1f0
test al, al
je 0x140060197
or byte [rsi + 0xc8], 0x40
mov r8d, r14d
cmp dword [rbx], 0
jle 0x140060197
mov rcx, r14
mov rdx, qword [rbx + 8]
mov eax, dword [rcx + rdx + 4]
bt eax, 0x15
jb 0x14006018b
test al, 1
mov eax, dword [rcx + rdx]
jne 0x140060183
mov byte [rcx + rdx + 0x30], 1
cmp dword [rbx + 0x20], eax
jne 0x14006018b
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rbx + 0x18], 0
jmp 0x14006018b
cmp dword [rbx + 0x20], eax
je 0x14006018b
mov dword [rbx + 0x1c], eax
inc r8d
add rcx, 0x38
cmp r8d, dword [rbx]
jl 0x140060152
test r12b, r12b
jne 0x1400601fd
mov rdi, qword [0x1402f7bf0]
movsxd rax, dword [rdi + 0x4958]
cmp eax, 1
jl 0x1400601d5
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 0x140060204
mov r13, qword [rsp + 0x48]
mov rdi, qword [0x1402f7bf0]
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.140040ff0
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 0x140060265
lea r8, str.TITLEBAR
mov edx, ntohs
mov ecx, eax
call fcn.140065390
mov eax, dword [r15 + 0x403c]
test eax, eax
je 0x140060282
cmp eax, r12d
je 0x140060282
cmp dword [r15 + 0x4050], r12d
jne 0x14006045c
lea r9, [rbp - 0x28]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x18]
mov edx, r12d
call fcn.14007e490
mov r9, qword [0x1402f7bf0]
cmp dword [r15 + 0x403c], r12d
jne 0x1400602dd
mov dword [r15 + 0x488c], r12d
mov eax, dword [r9 + 0x488c]
cmp dword [r9 + 0x403c], eax
jne 0x1400602cc
mov byte [r9 + 0x4044], 1
cmp dword [r9 + 0x4050], eax
jne 0x1400602dd
mov byte [r9 + 0x405d], 1
cmp byte [rbp - 0x28], 0
je 0x14006045c
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400506c0
test al, al
je 0x1400602fd
mov eax, dword [rbx + 0x18]
mov dword [rbp - 0x20], eax
mov edx, dword [rbx + 0x18]
test edx, edx
je 0x14006045c
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x14006045c
mov rcx, qword [rbx + 8]
nop dword [rax + rax]
cmp dword [rcx], edx
je 0x140060334
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140060320
jmp 0x14006045c
cdqe
imul rdi, rax, 0x38
add rdi, qword [rbx + 8]
je 0x14006045c
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x140060354
mov rdi, qword [rsi + 0x88]
mov rax, qword [rsi + 0x90]
xor r11b, r11b
test rax, rax
je 0x1400603b4
test byte [rax + 0xc], 4
jne 0x1400603b4
mov rax, qword [rsi + 0x18]
mov rcx, rsi
test rax, rax
je 0x14006038c
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140060380
cmp qword [rcx + 0xa0], rsi
jne 0x14006039f
cmp qword [rcx + 0x98], 0
je 0x1400603b4
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.1400506c0
cmp byte [r9 + 0xe0c], 0
jne 0x1400603ce
xor cl, cl
jmp 0x1400603fb
movss xmm0, dword [r9 + 0x38]
movaps xmm1, xmm0
mulss xmm1, dword [0x1401437a4]
comiss xmm11, xmm1
jbe 0x1400603e8
movaps xmm1, xmm0
movss xmm0, dword [r9 + 0x37c8]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae cl
test r11b, r11b
je 0x140060443
test cl, cl
je 0x14006045c
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.140066070
jmp 0x14006045c
test al, al
jne 0x14006044b
test cl, cl
je 0x14006045c
cmp qword [r9 + 0x4008], rdi
je 0x14006045c
mov rcx, rdi
call fcn.140045ca0
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 0x1400604c6
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x1400604c6
mov rcx, qword [rbx + 8]
nop dword [rax]
cmp dword [rcx], edx
je 0x1400604a1
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140060490
jmp 0x1400604c6
cdqe
imul rdi, rax, 0x38
add rdi, qword [rbx + 8]
je 0x1400604c6
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400604c6
call fcn.14004f810
mov rcx, qword [rdi + 8]
xor edx, edx
call fcn.140055440
call fcn.1400876c0
mov rax, qword [0x1402f7bf0]
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 0x140060504
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.140112960
add rsp, 0x1f8
pop r15
pop r14
pop rsi
pop rbp
ret
cmp dword [rsi + 0x30], 0
jle 0x14006053b
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 0x140060565
mov eax, dword [r15 + 0x3f70]
mov dword [rsi + 0xb4], eax
test r14, r14
je 0x14006050c
test dil, dil
jne 0x140060579
cmp qword [r8 + 0x90], 0
jne 0x140060580
mov qword [r8 + 0x90], r14
mov rdx, qword [rsi + 0x40]
test rdx, rdx
je 0x14006050c
mov rax, qword [rsi + 0x90]
mov ecx, dword [rax + 0xa8]
mov dword [rdx + 0x20], ecx
jmp 0x14006050c