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

Disassembly:
push rbp
push rsi
push r13
push r14
lea rbp, [rsp - 0xf8]
sub rsp, 0x1f8
mov rax, qword [0x1400a1040]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r13, qword [0x1400a1eb0]
mov rsi, rcx
mov eax, dword [rcx + 0xb0]
mov r9, rdx
inc eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x70], r13
movzx edx, byte [rsi + 0xc8]
mov ecx, dword [r13 + 0x3f58]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x64], ecx
test dl, 0x40
je 0x140042ea7
mov byte [rsp + 0x31], 1
cmp eax, ecx
je 0x140042eac
mov byte [rsp + 0x31], 0
xor r14d, r14d
lea r10d, [r14 + 1]
cmp dword [rsi + 0xc0], r14d
je 0x140042ec5
mov dword [rsp + 0x40], r10d
cmp eax, ecx
je 0x140042eca
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 0x140042f03
nop dword [rax + rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140042ef0
mov r8, qword [rsp + 0x50]
mov rax, qword [r13 + 0x4b98]
mov qword [rsp + 0x1f0], rdi
test rax, rax
je 0x140042f27
cmp qword [rax + 0x430], rsi
sete dil
jmp 0x140042fd7
mov rcx, qword [r13 + 0x4a28]
test rcx, rcx
je 0x140042fd4
mov eax, dword [rsi]
cmp dword [r8 + 0xb8], eax
jne 0x140042fd4
mov rcx, qword [rcx + 0x3b0]
test dword [rcx + 0xc], 0x10000000
je 0x140042f77
nop word [rax + rax]
mov rax, qword [rcx + 0x3a0]
mov rcx, qword [rax + 0x3b0]
test dword [rcx + 0xc], 0x10000000
jne 0x140042f60
mov rax, qword [rcx + 0x438]
test rax, rax
jne 0x140042f90
mov rax, qword [rcx + 0x430]
test rax, rax
je 0x140042fd4
nop
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140042fac
nop dword [rax]
mov rax, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x140042fa0
cmp rax, r8
je 0x140043105
mov rax, qword [rax + 0x88]
test rax, rax
je 0x140042fd4
mov rax, qword [rax + 0x3b0]
mov rax, qword [rax + 0x430]
test rax, rax
jne 0x140042f90
xor dil, dil
mov eax, dword [rsi + 0x10]
mov byte [rsp + 0x30], dil
test eax, 0x3000
jne 0x140043fa0
movzx ecx, byte [r9 + 0xe8]
mov qword [rsp + 0x230], rbx
mov qword [rsp + 0x1e8], r12
mov qword [rsp + 0x1e0], r15
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 0x140043059
mov byte [r9 + 0xe8], 0
mov dword [r9 + 0x188], r10d
mov ecx, dword [rsi]
call fcn.140033040
mov rax, qword [rsi + 0x40]
mov r15d, 0xffffffff
mov qword [rbp - 0x40], rax
mov rbx, rax
test rax, rax
jne 0x140043115
mov rax, qword [0x1400a1eb0]
test rax, rax
je 0x14004308c
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 0x14004310e
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], r15w
jmp 0x140043111
movzx edi, r10b
jmp 0x140042fd7
mov rbx, r14
mov qword [rsi + 0x40], rbx
and byte [rsi + 0xc8], 0xfd
movzx eax, dil
add al, al
mov dword [rsp + 0x34], r14d
or byte [rsi + 0xc8], al
test dword [rsi + 0x10], 0x4000
jne 0x140043179
cmp dword [r13 + 0x3918], r15d
je 0x140043179
mov r12b, 1
call fcn.140036c60
test al, al
je 0x140043181
mov rdx, rbx
mov rcx, rsi
call fcn.140042be0
test eax, eax
je 0x140043161
mov dword [rbx + 0x1c], eax
mov dword [rsp + 0x34], eax
movzx eax, byte [rsi + 0xc8]
shr al, 1
and al, r12b
or al, dil
movzx edi, al
mov byte [rsp + 0x30], al
jmp 0x140043181
xor r12b, r12b
mov byte [rsp + 0x30], dil
mov r10, qword [0x1400a1eb0]
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 + 0x3d38]
movss xmm8, dword [r10 + 0x3930]
movaps xmm0, xmm2
movss dword [rbp - 0x34], xmm7
addss xmm0, xmm7
movss dword [rbp - 0x20], xmm10
addss xmm8, xmm8
movss dword [rbp - 0x1c], 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 - 0x18], xmm9
movaps xmm1, xmm9
subss xmm1, xmm0
movss dword [rbp - 0x2c], xmm8
movss dword [rbp - 0x14], xmm8
movaps xmm5, xmm3
addss xmm5, xmm4
subss xmm1, xmm4
movss dword [rbp - 0x38], xmm5
movss dword [rbp - 0x30], xmm1
test al, 8
je 0x140043250
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 0x1400432a5
cmp dword [r10 + 0x3918], 0
jne 0x140043272
addss xmm2, dword [r10 + 0x3944]
addss xmm2, xmm5
movss dword [rbp - 0x38], xmm2
jmp 0x1400432a5
cmp dword [r10 + 0x3918], 1
jne 0x1400432a5
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 r15d, r14d
movups xmm0, xmmword [rbp - 0x38]
mov eax, dword [rbx]
mov r11d, 0x400000
movss dword [rsp + 0x38], xmm3
movups xmmword [rbp - 0x10], xmm0
mov dword [rsp + 0x60], eax
movss dword [rsp + 0x3c], xmm6
jle 0x1400433a4
mov rdi, r14
mov r13d, 0xffffffff
nop dword [rax + rax]
mov rax, qword [rsi + 0x38]
mov r9, qword [rdi + rax]
mov r8d, dword [r9 + 0xa8]
test r8d, r8d
je 0x14004331e
mov edx, dword [rbx]
mov eax, r14d
test edx, edx
jle 0x14004331e
mov rcx, qword [rbx + 8]
cmp dword [rcx], r8d
je 0x140043312
inc eax
add rcx, 0x38
cmp eax, edx
jl 0x140043301
jmp 0x14004331e
cdqe
imul rcx, rax, 0x38
add rcx, qword [rbx + 8]
jne 0x140043389
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], r13d
mov qword [rbp - 0x5c], 0xffffffffbf800000
mov dword [rbp - 0x54], 0xffffffff
mov dword [rbp - 0x80], r8d
mov dword [rbp - 0x70], eax
cmp eax, r13d
jne 0x14004336c
mov eax, dword [r10 + 0x3f58]
dec eax
mov dword [rbp - 0x70], eax
lea rdx, [rbp - 0x80]
mov qword [rbp - 0x78], r9
mov rcx, rbx
call fcn.14006fc30
mov r10, qword [0x1400a1eb0]
mov r11d, 0x400000
inc r15d
add rdi, 8
cmp r15d, dword [rsi + 0x30]
jl 0x1400432e0
mov r13, qword [rsp + 0x70]
movzx edi, byte [rsp + 0x30]
test dil, dil
je 0x1400433b6
mov eax, dword [r13 + 0x3f58]
mov dword [rsi + 0xb4], eax
mov r15, qword [rsp + 0x48]
cmp byte [r15 + 0xe6], 0
je 0x1400433cc
mov eax, 0xc
jmp 0x1400433d9
test dil, dil
mov rax, r14
setne al
add rax, 0xa
add rax, rax
lea rcx, [rbp - 0x38]
movups xmm0, xmmword [r10 + rax*8 + 0x39b8]
movups xmmword [rbp - 0x38], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r10 + 0x38f0]
movss dword [rbp - 0x2c], xmm0
call fcn.140023b40
movss xmm2, dword [0x140092130]
mov r10d, eax
movss xmm1, dword [r15 + 0x48]
movss xmm3, dword [r15 + 0x4c]
movaps xmm0, xmm1
addss xmm1, dword [r15 + 0x50]
addss xmm0, xmm2
subss xmm1, xmm2
comiss xmm0, xmm10
movaps xmm10, xmmword [rsp + 0x190]
movaps xmm0, xmm3
addss xmm3, dword [r15 + 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 0x140043472
test cl, cl
je 0x140043472
mov r8d, 0x10
jmp 0x140043479
mov r8d, r14d
test dl, dl
je 0x140043483
mov edx, 0x20
test r9b, r9b
jne 0x140043486
mov edx, r14d
test al, al
je 0x140043495
test cl, cl
je 0x140043495
mov ecx, 0x40
jmp 0x14004349c
mov ecx, r14d
test al, al
je 0x1400434a6
mov eax, 0x180
test r9b, r9b
jne 0x1400434ab
mov eax, 0x100
movss xmm0, dword [r15 + 0x80]
or eax, r8d
or eax, edx
lea r8, [rbp - 0x18]
or eax, ecx
lea rdx, [rbp - 0x20]
mov rcx, qword [r15 + 0x2d0]
mov r9d, r10d
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm0
call fcn.140055b90
test r12b, r12b
je 0x1400435d1
movsxd rax, dword [r15 + 0x120]
lea rcx, str.COLLAPSE
mov r8, qword [r15 + 0x128]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400235b0
mov rcx, qword [0x1400a1eb0]
mov edi, eax
cmp dword [rcx + 0x4020], eax
jne 0x14004352a
lea r8, str.COLLAPSE
mov edx, 0xb
mov ecx, eax
call fcn.140048e70
mov r8, rsi
lea rdx, [rsp + 0x38]
mov ecx, edi
call fcn.14005e610
test al, al
je 0x1400435b1
mov r15, qword [0x1400a1eb0]
lea rcx, str.WindowMenu
xor edx, edx
mov r8, qword [r15 + 0x3fd8]
movsxd rax, dword [r8 + 0x120]
mov r8, qword [r8 + 0x128]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400235b0
mov edi, eax
cmp dword [r15 + 0x4020], eax
jne 0x14004358a
lea r8, str.WindowMenu
mov edx, 0xb
mov ecx, eax
call fcn.140048e70
test byte [r15 + 0x5e44], 4
je 0x1400435aa
mov r8d, edi
lea rdx, str.WindowMenu
lea rcx, str._popup__OpenPopup___s_____0x_08X_n
call fcn.140048aa0
mov ecx, edi
call fcn.140036cd0
mov rax, qword [0x1400a1eb0]
mov ecx, dword [rax + 0x4038]
test ecx, ecx
je 0x1400435d1
cmp ecx, dword [rax + 0x4874]
jne 0x1400435d1
mov eax, dword [rbx + 0x18]
mov dword [rsp + 0x34], eax
mov edi, dword [rbx]
lea ecx, [rdi - 1]
test ecx, ecx
js 0x140043604
movsxd rax, ecx
imul rdx, rax, 0x38
mov r8, qword [rbx + 8]
mov eax, dword [rdx + r8 + 4]
bt eax, 0x16
jae 0x140043604
btr eax, 0x16
mov edi, ecx
mov dword [rdx + r8 + 4], eax
sub rdx, 0x38
sub ecx, 1
jns 0x1400435e1
mov r8d, dword [rbx]
cmp r8d, edi
jle 0x1400436bb
test byte [r13 + 0x5e44], 0x40
je 0x140043643
mov edx, dword [rsi]
lea eax, [rdi + 1]
cmp r8d, eax
lea rcx, str.__will_sort_
lea r9, [0x140088cca]
cmovg r9, rcx
sub r8d, edi
lea rcx, str._docking__In_node_0x_08X:__d_new_appearing_tabs:_s_n
call fcn.140048aa0
mov ecx, dword [rbx]
mov r12d, edi
cmp edi, ecx
jge 0x14004368b
movsxd rax, edi
imul r15, rax, 0x38
test byte [r13 + 0x5e44], 0x40
je 0x14004367d
mov rax, qword [rbx + 8]
lea rcx, str._docking____Tab__s_Order__d_n
mov rdx, qword [rax + r15 + 8]
movsx r8d, word [rdx + 0x416]
mov rdx, qword [rdx]
call fcn.140048aa0
mov ecx, dword [rbx]
inc r12d
add r15, 0x38
cmp r12d, ecx
jl 0x140043653
lea eax, [rdi + 1]
cmp ecx, eax
jle 0x1400436bb
sub ecx, edi
movsxd rdx, ecx
cmp rdx, 1
jbe 0x1400436bb
movsxd rax, edi
lea r9, [0x140042b90]
imul rcx, rax, 0x38
mov r8d, 0x38
add rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov rax, qword [r13 + 0x4a28]
test rax, rax
je 0x1400436e0
mov rax, qword [rax + 0x3b0]
cmp qword [rax + 0x430], rsi
jne 0x1400436e0
mov eax, dword [rax + 0xa8]
mov dword [rbx + 0x18], eax
cmp qword [rbp - 0x40], 0
jne 0x140043713
mov edx, dword [rsi + 0xbc]
test edx, edx
je 0x140043713
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x140043713
mov rcx, qword [rbx + 8]
cmp dword [rcx], edx
je 0x14004398a
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140043700
movsxd rax, dword [rbx]
cmp eax, dword [rsp + 0x60]
jle 0x140043735
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
mov rax, qword [rsp + 0x48]
mov r8d, 0x500003
cmp byte [rax + 0xe6], 0
jne 0x140043757
cmp byte [rsp + 0x30], 0
mov eax, 0x700003
cmovne r8d, eax
mov r9, rsi
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.14006c740
cmp dword [rsi + 0x30], 0
mov r12d, r14d
movups xmm0, xmmword [r13 + 0x3bc8]
movups xmm1, xmmword [r13 + 0x3bd8]
movups xmm2, xmmword [r13 + 0x39b8]
movaps xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [r13 + 0x3be8]
movaps xmmword [rbp + 0x30], xmm1
movups xmm1, xmmword [r13 + 0x3bf8]
movaps xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [r13 + 0x3c08]
mov qword [rsi + 0x90], r14
movaps xmmword [rbp + 0x10], xmm2
movaps xmmword [rbp + 0x60], xmm0
movaps xmmword [rbp + 0x50], xmm1
jle 0x1400439d0
movss xmm6, dword [0x14009204c]
lea r11, [0x14008bfa0]
mov r15, r14
lea r10, [0x14008bfb8]
nop dword [rax + rax]
cmp byte [rsp + 0x31], 0
mov rax, qword [rsi + 0x38]
mov rdi, qword [r15 + rax]
jne 0x1400437fb
mov eax, dword [rsp + 0x40]
cmp eax, dword [rdi + 0xa8]
jne 0x140043811
cmp byte [rdi + 0xed], 0
je 0x140043811
test dword [rdi + 0xc], 0x100000
je 0x1400439b3
mov eax, dword [rdi + 0x290]
inc eax
cmp eax, dword [r13 + 0x3f58]
jge 0x140043830
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x68], eax
je 0x1400439b3
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 [r13 + rax*8 + 0x39b8], xmm3
cmp rdx, r10
jl 0x140043860
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.14006e310
cmp byte [rbp - 0x28], 0
jne 0x14004391d
mov eax, dword [rdi + 0xa8]
mov dword [rsi + 0xc0], eax
mov eax, dword [rdi + 0xa8]
cmp dword [rbx + 0x20], eax
jne 0x14004392f
mov qword [rsi + 0x90], rdi
mov eax, dword [r13 + 0x487c]
mov dword [rdi + 0x444], eax
movups xmm0, xmmword [r13 + 0x4880]
movups xmmword [rdi + 0x448], xmm0
mov rax, qword [r13 + 0x4a28]
test rax, rax
je 0x1400439a5
cmp qword [rax + 0x3b0], rdi
jne 0x1400439a5
test byte [rdi + 0x18c], 2
lea r10, [0x14008bfb8]
lea r11, [0x14008bfa0]
jne 0x1400439b3
mov rcx, qword [rsp + 0x48]
mov eax, dword [rdi + 0xa8]
mov dword [rcx + 0x3e4], eax
jmp 0x1400439b3
cdqe
imul rcx, rax, 0x38
add rcx, qword [rbx + 8]
je 0x140043713
mov dword [rbx + 0x1c], edx
mov dword [rbx + 0x18], edx
jmp 0x140043735
lea r11, [0x14008bfa0]
lea r10, [0x14008bfb8]
inc r12d
add r15, 8
cmp r12d, dword [rsi + 0x30]
jl 0x1400437e0
movaps xmm2, xmmword [rbp + 0x10]
nop dword [rax + rax]
movaps xmm0, xmmword [rbp + 0x20]
movaps xmm1, xmmword [rbp + 0x30]
movups xmmword [r13 + 0x39b8], xmm2
movups xmmword [r13 + 0x3bc8], xmm0
movaps xmm0, xmmword [rbp + 0x40]
movups xmmword [r13 + 0x3bd8], xmm1
movaps xmm1, xmmword [rbp + 0x50]
movups xmmword [r13 + 0x3be8], xmm0
movaps xmm0, xmmword [rbp + 0x60]
movups xmmword [r13 + 0x3bf8], xmm1
movups xmmword [r13 + 0x3c08], xmm0
mov rax, qword [rsi + 0x90]
test rax, rax
je 0x140043a3d
cmp byte [rsp + 0x30], 0
mov rcx, qword [rsp + 0x50]
jne 0x140043a36
cmp qword [rcx + 0x90], 0
jne 0x140043a3d
mov qword [rcx + 0x90], rax
movzx eax, byte [rsi + 0xc8]
and al, 8
je 0x140043a65
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x140043a65
cmp byte [rcx + 0xed], 0
je 0x140043a65
mov r15b, 1
jmp 0x140043b51
test al, al
je 0x140043c66
mov rdi, qword [0x1400a1eb0]
mov r12d, dword [rdi + 0x4858]
lea r15, [rdi + 0x4980]
or r12d, 4
mov dword [rdi + 0x4858], r12d
mov ecx, dword [r15 + 4]
mov r8d, dword [r15]
cmp r8d, ecx
jne 0x140043ac9
inc r8d
test ecx, ecx
je 0x140043aab
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140043ab0
mov eax, 8
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.14004ab50
mov rdi, qword [0x1400a1eb0]
movsxd rcx, dword [r15]
lea rdx, [rbp - 0x10]
mov rax, qword [r15 + 8]
mov dword [rbp - 0x10], r14d
mov dword [rax + rcx*4], r12d
lea rcx, [rdi + 0x4940]
inc dword [r15]
movups xmm0, xmmword [rdi + 0x39b8]
movss xmm8, dword [r13 + 0x39c4]
movss xmm9, dword [r13 + 0x39b8]
movss xmm6, dword [r13 + 0x39bc]
movss xmm7, dword [r13 + 0x39c0]
mulss xmm8, dword [0x140092080]
movups xmmword [rbp - 0xc], xmm0
call fcn.140049f30
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 r12, qword [rsp + 0x48]
lea rcx, str.CLOSE
xor edx, edx
movsxd rax, dword [r12 + 0x120]
mov r8, qword [r12 + 0x128]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400235b0
mov rcx, qword [0x1400a1eb0]
mov edi, eax
cmp dword [rcx + 0x4020], eax
jne 0x140043b9d
lea r8, str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.140048e70
lea rdx, [rsp + 0x58]
mov ecx, edi
call fcn.14005e240
test al, al
je 0x140043c05
or byte [rsi + 0xc8], 0x40
mov r8d, r14d
cmp dword [rbx], 0
jle 0x140043c05
mov rcx, r14
nop
mov rdx, qword [rbx + 8]
mov eax, dword [rcx + rdx + 4]
bt eax, 0x15
jb 0x140043bf9
test al, 1
mov eax, dword [rcx + rdx]
jne 0x140043bf1
mov byte [rcx + rdx + 0x30], 1
cmp dword [rbx + 0x20], eax
jne 0x140043bf9
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rbx + 0x18], 0
jmp 0x140043bf9
cmp dword [rbx + 0x20], eax
je 0x140043bf9
mov dword [rbx + 0x1c], eax
inc r8d
add rcx, 0x38
cmp r8d, dword [rbx]
jl 0x140043bc0
test r15b, r15b
jne 0x140043c6b
mov rdi, qword [0x1400a1eb0]
movsxd rax, dword [rdi + 0x4940]
cmp eax, 1
jl 0x140043c43
mov rcx, qword [rdi + 0x4948]
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 + 0x4940]
movsxd rcx, dword [rdi + 0x4980]
lea eax, [rcx - 1]
mov dword [rdi + 0x4980], eax
mov rax, qword [rdi + 0x4988]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rdi + 0x4858], ecx
jmp 0x140043c72
mov r12, qword [rsp + 0x48]
mov rdi, qword [0x1400a1eb0]
movsxd rax, dword [r12 + 0x120]
lea rcx, str.TITLEBAR
mov r8, qword [r12 + 0x128]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400235b0
mov r15d, eax
movaps xmm9, xmmword [rsp + 0x1a0]
movaps xmm8, xmmword [rsp + 0x1b0]
movaps xmm7, xmmword [rsp + 0x1c0]
movaps xmm6, xmmword [rsp + 0x1d0]
cmp dword [rdi + 0x4020], eax
jne 0x140043cd5
lea r8, str.TITLEBAR
mov edx, 0xb
mov ecx, eax
call fcn.140048e70
mov eax, dword [r13 + 0x4024]
test eax, eax
je 0x140043cf2
cmp eax, r15d
je 0x140043cf2
cmp dword [r13 + 0x4038], r15d
jne 0x140043ecc
lea r9, [rbp - 0x28]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x20]
mov edx, r15d
call fcn.14005d490
mov r9, qword [0x1400a1eb0]
cmp dword [r13 + 0x4024], r15d
jne 0x140043d4d
mov dword [r13 + 0x4874], r15d
mov eax, dword [r9 + 0x4874]
cmp dword [r9 + 0x4024], eax
jne 0x140043d3c
mov byte [r9 + 0x402c], 1
cmp dword [r9 + 0x4038], eax
jne 0x140043d4d
mov byte [r9 + 0x4045], 1
cmp byte [rbp - 0x28], 0
je 0x140043ecc
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400337c0
test al, al
je 0x140043d6e
mov eax, dword [rbx + 0x18]
mov dword [rsp + 0x34], eax
mov edx, dword [rbx + 0x18]
test edx, edx
je 0x140043ecc
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x140043ecc
mov rcx, qword [rbx + 8]
nop dword [rax]
cmp dword [rcx], edx
je 0x140043da4
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140043d90
jmp 0x140043ecc
cdqe
imul rdi, rax, 0x38
add rdi, qword [rbx + 8]
je 0x140043ecc
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x140043dc4
mov rdi, qword [rsi + 0x88]
mov rax, qword [rsi + 0x90]
xor r11b, r11b
test rax, rax
je 0x140043e24
test byte [rax + 0xc], 4
jne 0x140043e24
mov rax, qword [rsi + 0x18]
mov rcx, rsi
test rax, rax
je 0x140043dfc
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140043df0
cmp qword [rcx + 0xa0], rsi
jne 0x140043e0f
cmp qword [rcx + 0x98], 0
je 0x140043e24
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.1400337c0
cmp byte [r9 + 0xe0c], 0
jne 0x140043e3e
xor cl, cl
jmp 0x140043e6b
movss xmm0, dword [r9 + 0x38]
movaps xmm1, xmm0
mulss xmm1, dword [0x1400920e4]
comiss xmm11, xmm1
jbe 0x140043e58
movaps xmm1, xmm0
movss xmm0, dword [r9 + 0x37c8]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae cl
test r11b, r11b
je 0x140043eb3
test cl, cl
je 0x140043ecc
lea rcx, [r9 + 0x5d38]
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.14004a020
jmp 0x140043ecc
test al, al
jne 0x140043ebb
test cl, cl
je 0x140043ecc
cmp qword [r9 + 0x3ff0], rdi
je 0x140043ecc
mov rcx, rdi
call fcn.140028270
mov edx, dword [rbx + 0x1c]
test edx, edx
movaps xmm11, xmmword [rsp + 0x180]
cmove edx, dword [rsp + 0x34]
mov r15, qword [rsp + 0x1e0]
test edx, edx
je 0x140043f36
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x140043f36
mov rcx, qword [rbx + 8]
nop word [rax + rax]
cmp dword [rcx], edx
je 0x140043f11
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x140043f00
jmp 0x140043f36
cdqe
imul rdi, rax, 0x38
add rdi, qword [rbx + 8]
je 0x140043f36
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140043f36
call fcn.140032570
mov rcx, qword [rdi + 8]
xor edx, edx
call fcn.140038cd0
call fcn.14006cb30
mov rax, qword [0x1400a1eb0]
mov rbx, qword [rsp + 0x230]
mov rcx, qword [rax + 0x3fd8]
dec dword [rcx + 0x120]
mov eax, dword [rsi + 0x10]
shr eax, 0xa
test al, 1
jne 0x140043f76
movzx eax, byte [rsp + 0x32]
mov byte [r12 + 0xe8], al
mov dword [r12 + 0x188], r14d
mov r12, qword [rsp + 0x1e8]
mov rdi, qword [rsp + 0x1f0]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400829d0
add rsp, 0x1f8
pop r14
pop r13
pop rsi
pop rbp
ret
cmp dword [rsi + 0x30], 0
jle 0x140043fad
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 0x140043fd7
mov eax, dword [r13 + 0x3f58]
mov dword [rsi + 0xb4], eax
test r14, r14
je 0x140043f7e
test dil, dil
jne 0x140043feb
cmp qword [r8 + 0x90], 0
jne 0x140043ff2
mov qword [r8 + 0x90], r14
mov rdx, qword [rsi + 0x40]
test rdx, rdx
je 0x140043f7e
mov rax, qword [rsi + 0x90]
mov ecx, dword [rax + 0xa8]
mov dword [rdx + 0x20], ecx
jmp 0x140043f7e