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

Disassembly:
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1400f4028]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov eax, dword [rcx + 0xb0]
mov r14, rcx
mov r13, qword [0x1400f90d8]
inc eax
movzx ecx, byte [rcx + 0xc8]
mov r8, rdx
mov qword [rsp + 0x50], rdx
mov dword [rbp - 0x80], eax
mov edx, dword [r13 + 0x3f60]
mov dword [rsp + 0x7c], edx
test cl, 0x40
je 0x14002c842
mov byte [rsp + 0x30], 1
cmp eax, edx
je 0x14002c847
mov byte [rsp + 0x30], 0
xor edi, edi
lea r10d, [rdi + 1]
cmp dword [r14 + 0xc0], edi
je 0x14002c85f
mov dword [rsp + 0x48], r10d
cmp eax, edx
je 0x14002c863
mov dword [rsp + 0x48], edi
and cl, 0xbf
mov dword [r14 + 0xc0], edi
xor sil, sil
mov byte [r14 + 0xc8], cl
mov rax, qword [r14 + 0x18]
mov r9, r14
mov dword [rsp + 0x34], esi
mov qword [rsp + 0x68], r14
test rax, rax
je 0x14002c8a3
nop dword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14002c890
mov r9, qword [rsp + 0x68]
mov rax, qword [r13 + 0x43d0]
test rax, rax
je 0x14002c8bc
cmp qword [rax + 0x418], r14
sete sil
jmp 0x14002c8ea
mov rdx, qword [r13 + 0x4268]
test rdx, rdx
je 0x14002c8ee
mov rax, qword [r8 + 0x3a8]
cmp qword [rdx + 0x3b0], rax
jne 0x14002c8ee
mov eax, dword [r14]
cmp dword [r9 + 0xb8], eax
movzx esi, sil
cmove esi, r10d
mov dword [rsp + 0x34], esi
mov eax, dword [r14 + 0x10]
test eax, 0x3000
jne 0x14002d79e
movzx ecx, byte [r8 + 0xd0]
mov qword [rsp + 0x1f0], rbx
mov qword [rsp + 0x1a8], r12
mov qword [rsp + 0x1a0], r15
movaps xmmword [rsp + 0x190], xmm6
movaps xmmword [rsp + 0x180], xmm7
movaps xmmword [rsp + 0x170], xmm8
movaps xmmword [rsp + 0x160], xmm9
shr eax, 0xa
movaps xmmword [rsp + 0x150], xmm10
movaps xmmword [rsp + 0x140], xmm11
mov byte [rsp + 0x38], cl
test r10b, al
jne 0x14002c96b
mov byte [r8 + 0xd0], dil
mov dword [r8 + 0x16c], r10d
mov ecx, dword [r14]
call fcn.14001df40
mov rax, qword [r14 + 0x40]
mov r15d, 0xffffffff
mov qword [rsp + 0x58], rax
mov rbx, rax
test rax, rax
jne 0x14002ca18
mov rax, qword [0x1400f90d8]
test rax, rax
je 0x14002c9a0
inc dword [rax + 0xf4]
mov ecx, 0x98
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14002ca11
mov qword [rax + 0x30], rdi
xorps xmm0, xmm0
mov dword [rax + 0x38], edi
mov dword [rax + 0x7c], edi
mov dword [rax + 0x84], edi
mov dword [rax + 0x8c], edi
mov qword [rax + 0x90], rdi
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 0x14002ca14
mov rbx, rdi
mov qword [r14 + 0x40], rbx
and byte [r14 + 0xc8], 0xfd
movzx eax, sil
add al, al
mov dword [rsp + 0x3c], edi
or byte [r14 + 0xc8], al
test dword [r14 + 0x10], 0x4000
jne 0x14002cab7
cmp dword [r13 + 0x3930], r15d
je 0x14002cab7
mov rax, qword [0x1400f90d8]
lea rdx, str.WindowMenu
mov r12b, 1
mov rcx, qword [rax + 0x3fe0]
call fcn.140010940
mov r8, qword [0x1400f90d8]
movsxd rcx, dword [r8 + 0x41f0]
cmp dword [r8 + 0x41e0], ecx
jle 0x14002caba
lea rdx, [rcx + rcx*2]
mov rcx, qword [r8 + 0x41e8]
add rdx, rdx
cmp dword [rcx + rdx*8], eax
jne 0x14002caba
mov rdx, rbx
mov rcx, r14
call fcn.14002c5d0
test eax, eax
je 0x14002caa1
mov dword [rbx + 0x1c], eax
mov dword [rsp + 0x3c], eax
movzx eax, byte [r14 + 0xc8]
shr al, 1
and al, r12b
or sil, al
mov dword [rsp + 0x34], esi
jmp 0x14002caba
xor r12b, r12b
mov rax, qword [0x1400f90d8]
xorps xmm11, xmm11
movss xmm7, dword [r14 + 0x4c]
movss xmm10, dword [r14 + 0x48]
movaps xmm6, xmm7
movzx ecx, byte [r14 + 0xc8]
movaps xmm9, xmm10
movss xmm3, dword [rax + 0x3944]
movss xmm2, dword [rax + 0x3d50]
movaps xmm5, xmm3
movss xmm8, dword [rax + 0x3948]
movaps xmm0, xmm2
movss dword [rbp - 0x74], xmm7
addss xmm0, xmm7
movss dword [rbp - 0x60], xmm10
addss xmm8, xmm8
movss dword [rbp - 0x5c], xmm7
mov qword [rsp + 0x70], rdi
addss xmm9, dword [r14 + 0x50]
addss xmm8, xmm0
movss xmm0, dword [rax + 0x391c]
movaps xmm4, xmm0
addss xmm4, xmm10
movss dword [rbp - 0x58], xmm9
movaps xmm1, xmm9
subss xmm1, xmm0
movss dword [rbp - 0x6c], xmm8
movss dword [rbp - 0x54], xmm8
addss xmm5, xmm4
subss xmm1, xmm3
movss dword [rbp - 0x78], xmm5
movss dword [rbp - 0x70], xmm1
test cl, 8
je 0x14002cb85
subss xmm1, xmm2
movss dword [rsp + 0x74], xmm7
movaps xmm0, xmm1
movss dword [rbp - 0x70], xmm1
subss xmm0, xmm3
movss dword [rsp + 0x70], xmm0
test cl, 0x10
je 0x14002cbd1
cmp dword [rax + 0x3930], edi
jne 0x14002cba5
addss xmm2, dword [rax + 0x395c]
addss xmm2, xmm5
movss dword [rbp - 0x78], xmm2
jmp 0x14002cbd1
cmp dword [rax + 0x3930], 1
jne 0x14002cbd1
addss xmm3, xmm2
subss xmm1, xmm3
movss dword [rbp - 0x70], xmm1
unpcklps xmm1, xmm7
movaps xmm0, xmm1
movsd qword [rsp + 0x40], xmm1
shufps xmm0, xmm0, 0x55
movaps xmm4, xmm1
movaps xmm6, xmm0
mov r15d, edi
mov eax, dword [rbx]
movups xmm0, xmmword [rbp - 0x78]
mov dword [rsp + 0x78], eax
movss dword [rsp + 0x40], xmm4
movups xmmword [rbp - 0x50], xmm0
movss dword [rsp + 0x44], xmm6
cmp dword [r14 + 0x30], edi
jle 0x14002cc64
mov rsi, rdi
nop word [rax + rax]
mov rax, qword [r14 + 0x38]
mov r10, qword [rsi + rax]
mov r8d, dword [r10 + 0x90]
test r8d, r8d
je 0x14002cc43
mov edx, dword [rbx]
mov eax, edi
test edx, edx
jle 0x14002cc43
mov r9, qword [rbx + 8]
mov rcx, r9
cmp dword [rcx], r8d
je 0x14002cc34
inc eax
add rcx, 0x30
cmp eax, edx
jl 0x14002cc23
jmp 0x14002cc43
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
jne 0x14002cc53
mov r8, r10
mov edx, 0x400000
mov rcx, rbx
call fcn.1400a2230
inc r15d
add rsi, 8
cmp r15d, dword [r14 + 0x30]
jl 0x14002cc00
mov esi, dword [rsp + 0x34]
test sil, sil
je 0x14002cc77
mov eax, dword [r13 + 0x3f60]
mov dword [r14 + 0xb4], eax
mov r15, qword [rsp + 0x50]
cmp byte [r15 + 0xce], dil
je 0x14002cc8c
mov ecx, 0xc
jmp 0x14002cc99
test sil, sil
mov rcx, rdi
setne cl
add rcx, 0xa
mov rax, qword [0x1400f90d8]
add rcx, rcx
movups xmm0, xmmword [rax + rcx*8 + 0x39d0]
lea rcx, [rbp - 0x78]
movups xmmword [rbp - 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x3908]
movss dword [rbp - 0x6c], xmm0
call fcn.14000c2e0
movss xmm2, dword [0x1400e59a0]
mov r11d, 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 + 0x150]
movaps xmm0, xmm3
addss xmm3, dword [r15 + 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 0x14002cd37
test cl, cl
je 0x14002cd37
mov eax, 0x10
jmp 0x14002cd3d
mov eax, edi
test dl, dl
je 0x14002cd48
mov r8d, 0x20
test r10b, r10b
jne 0x14002cd4b
mov r8d, edi
test r9b, r9b
je 0x14002cd5b
test cl, cl
je 0x14002cd5b
mov edx, 0x40
jmp 0x14002cd62
mov edx, edi
test r9b, r9b
je 0x14002cd6c
mov ecx, 0x180
test r10b, r10b
jne 0x14002cd71
mov ecx, 0x100
movss xmm0, dword [r15 + 0x80]
or eax, r8d
or eax, edx
lea r8, [rbp - 0x58]
or eax, ecx
lea rdx, [rbp - 0x60]
mov rcx, qword [r15 + 0x2b8]
mov r9d, r11d
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm0
call fcn.140071840
test r12b, r12b
je 0x14002ce67
movsxd rcx, dword [r15 + 0x108]
xor edx, edx
mov rax, qword [r15 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.COLLAPSE
call fcn.14000bd50
mov esi, eax
mov rax, qword [0x1400f90d8]
cmp dword [rax + 0x4034], esi
jne 0x14002cde3
mov dword [rax + 0x4038], esi
cmp dword [rax + 0x4080], esi
jne 0x14002cdf2
mov byte [rax + 0x4084], 1
cmp dword [rax + 0x401c], esi
jne 0x14002ce0d
lea r8, str.COLLAPSE
mov edx, 0xb
mov ecx, esi
call fcn.14003a8a0
mov r8, r14
lea rdx, [rsp + 0x40]
mov ecx, esi
call fcn.140089220
test al, al
je 0x14002ce43
mov rax, qword [0x1400f90d8]
lea rdx, str.WindowMenu
mov rcx, qword [rax + 0x3fe0]
call fcn.140010940
mov ecx, eax
xor edx, edx
call fcn.1400203e0
mov rax, qword [0x1400f90d8]
mov esi, dword [rsp + 0x34]
mov ecx, dword [rax + 0x4034]
test ecx, ecx
je 0x14002ce67
cmp ecx, dword [rax + 0x40b0]
jne 0x14002ce67
mov eax, dword [rbx + 0x18]
mov dword [rsp + 0x3c], eax
mov r9d, dword [rbx]
lea edx, [r9 - 1]
test edx, edx
js 0x14002cea4
movsxd rax, edx
lea rcx, [rax + rax*2]
shl rcx, 4
nop dword [rax]
mov r8, qword [rbx + 8]
mov eax, dword [rcx + r8 + 4]
bt eax, 0x16
jae 0x14002cea4
btr eax, 0x16
mov r9d, edx
mov dword [rcx + r8 + 4], eax
sub rcx, 0x30
sub edx, 1
jns 0x14002ce80
mov ecx, dword [rbx]
cmp ecx, r9d
jle 0x14002cee1
lea eax, [r9 + 1]
cmp ecx, eax
jle 0x14002cee1
sub ecx, r9d
movsxd rdx, ecx
cmp rdx, 1
jbe 0x14002cee1
movsxd rax, r9d
mov r8d, 0x30
lea r9, [0x14002c580]
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov rax, qword [r13 + 0x4268]
test rax, rax
je 0x14002cf03
mov rcx, qword [rax + 0x398]
cmp qword [rcx + 0x418], r14
jne 0x14002cf03
mov eax, dword [rcx + 8]
mov dword [rbx + 0x18], eax
cmp qword [rsp + 0x58], rdi
jne 0x14002cf39
mov edx, dword [r14 + 0xbc]
test edx, edx
je 0x14002cf39
mov r8d, dword [rbx]
mov eax, edi
test r8d, r8d
jle 0x14002cf39
mov r9, qword [rbx + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x14002d1ce
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14002cf26
movsxd rax, dword [rbx]
cmp eax, dword [rsp + 0x78]
jle 0x14002cf5e
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
add rcx, rcx
mov rcx, qword [rax + rcx*8 - 0x28]
mov eax, dword [rcx + 0x90]
mov dword [rbx + 0x1c], eax
mov dword [rbx + 0x18], eax
mov r8d, 0x500003
cmp byte [r15 + 0xce], dil
jne 0x14002cf79
test sil, sil
mov eax, 0x700003
cmovne r8d, eax
mov r9, r14
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.1400a0ef0
mov ecx, 6
lea rax, [rbp - 0x28]
mov qword [rax - 8], rdi
mov qword [rax], rdi
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x14002cf91
mov r12d, edi
movups xmm1, xmmword [r13 + 0x39d0]
movaps xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [r13 + 0x3be0]
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [r13 + 0x3bf0]
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [r13 + 0x3c00]
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [r13 + 0x3c10]
movaps xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [r13 + 0x3c20]
mov qword [r14 + 0x90], rdi
movaps xmmword [rbp + 0x20], xmm0
cmp dword [r14 + 0x30], edi
jle 0x14002d210
movss xmm6, dword [0x1400e589c]
lea r11, [0x1400cdec8]
mov r15, rdi
lea r10, [0x1400cdee0]
nop word [rax + rax]
mov rax, qword [r14 + 0x38]
mov rsi, qword [r15 + rax]
cmp byte [rsp + 0x30], dil
jne 0x14002d03b
mov eax, dword [rsp + 0x48]
cmp eax, dword [rsi + 0x90]
jne 0x14002d051
cmp byte [rsi + 0xd5], dil
je 0x14002d051
test dword [rsi + 0xc], 0x100000
je 0x14002d1fa
mov eax, dword [rsi + 0x278]
inc eax
cmp eax, dword [r13 + 0x3f60]
jge 0x14002d06f
mov eax, dword [rsp + 0x7c]
cmp dword [rbp - 0x80], eax
je 0x14002d1fa
mov edx, dword [rsi + 0x24]
mov r8, rsi
or edx, 1
test dword [rsi + 0xc], 0x100000
cmove edx, dword [rsi + 0x24]
mov r9d, edx
or r9d, 4
test byte [rbx + 0x10], 8
cmove r9d, edx
mov rdx, r11
sub r8, r11
nop dword [rax + rax]
mov ecx, dword [r8 + rdx + 0x3fc]
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, 0x39d
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], xmm3
cmp rdx, r10
jl 0x14002d0a0
cmp byte [rsi + 0xd5], dil
lea r8, [rbp - 0x68]
mov rdx, qword [rsi]
mov rcx, rbx
cmove r8, rdi
mov byte [rbp - 0x68], 1
mov qword [rsp + 0x20], rsi
call fcn.1400a2c90
cmp byte [rbp - 0x68], dil
jne 0x14002d161
mov eax, dword [rsi + 0x90]
mov dword [r14 + 0xc0], eax
mov eax, dword [rsi + 0x90]
cmp dword [rbx + 0x20], eax
jne 0x14002d173
mov qword [r14 + 0x90], rsi
mov eax, dword [r13 + 0x40b8]
mov dword [rsi + 0x42c], eax
movups xmm0, xmmword [r13 + 0x40bc]
movups xmmword [rsi + 0x430], xmm0
mov rax, qword [r13 + 0x4268]
test rax, rax
je 0x14002d1ec
cmp qword [rax + 0x398], rsi
jne 0x14002d1ec
test byte [rsi + 0x170], 2
lea r10, [0x1400cdee0]
lea r11, [0x1400cdec8]
jne 0x14002d1fa
mov rcx, qword [rsp + 0x50]
mov eax, dword [rsi + 0x90]
mov dword [rcx + 0x3cc], eax
jmp 0x14002d1fa
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x14002cf39
mov dword [rbx + 0x1c], edx
mov dword [rbx + 0x18], edx
jmp 0x14002cf5e
lea r11, [0x1400cdec8]
lea r10, [0x1400cdee0]
inc r12d
add r15, 8
cmp r12d, dword [r14 + 0x30]
jl 0x14002d020
movaps xmm1, xmmword [rbp - 0x30]
nop
movups xmmword [r13 + 0x39d0], xmm1
movaps xmm0, xmmword [rbp - 0x20]
movups xmmword [r13 + 0x3be0], xmm0
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [r13 + 0x3bf0], xmm1
movaps xmm0, xmmword [rbp]
movups xmmword [r13 + 0x3c00], xmm0
movaps xmm1, xmmword [rbp + 0x10]
movups xmmword [r13 + 0x3c10], xmm1
movaps xmm0, xmmword [rbp + 0x20]
movups xmmword [r13 + 0x3c20], xmm0
mov rax, qword [r14 + 0x90]
test rax, rax
je 0x14002d27c
mov rcx, qword [rsp + 0x68]
cmp byte [rsp + 0x34], dil
jne 0x14002d275
cmp qword [rcx + 0x90], rdi
jne 0x14002d27c
mov qword [rcx + 0x90], rax
movzx eax, byte [r14 + 0xc8]
and al, 8
je 0x14002d2a5
mov rcx, qword [r14 + 0x90]
test rcx, rcx
je 0x14002d2a5
cmp byte [rcx + 0xd5], dil
je 0x14002d2a5
mov r15b, 1
jmp 0x14002d390
test al, al
je 0x14002d4b8
mov rsi, qword [0x1400f90d8]
mov r12d, dword [rsi + 0x4098]
lea r15, [rsi + 0x41c0]
or r12d, 4
mov dword [rsi + 0x4098], r12d
mov ecx, dword [r15 + 4]
mov r8d, dword [r15]
cmp r8d, ecx
jne 0x14002d309
inc r8d
test ecx, ecx
je 0x14002d2eb
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14002d2f0
mov eax, 8
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.14003c680
mov rsi, qword [0x1400f90d8]
movsxd rcx, dword [r15]
lea rdx, [rbp - 0x50]
mov rax, qword [r15 + 8]
mov dword [rbp - 0x50], edi
mov dword [rax + rcx*4], r12d
lea rcx, [rsi + 0x4180]
inc dword [r15]
movups xmm0, xmmword [rsi + 0x39d0]
movss xmm8, dword [r13 + 0x39dc]
movss xmm9, dword [r13 + 0x39d0]
movss xmm6, dword [r13 + 0x39d4]
movss xmm7, dword [r13 + 0x39d8]
mulss xmm8, dword [0x1400e58f4]
movups xmmword [rbp - 0x4c], xmm0
call fcn.14003be70
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 [rsi + 0x39d0], xmm9
mov r12, qword [rsp + 0x50]
xor edx, edx
movsxd rcx, dword [r12 + 0x108]
mov rax, qword [r12 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.CLOSE
call fcn.14000bd50
mov esi, eax
mov rax, qword [0x1400f90d8]
cmp dword [rax + 0x4034], esi
jne 0x14002d3cf
mov dword [rax + 0x4038], esi
cmp dword [rax + 0x4080], esi
jne 0x14002d3de
mov byte [rax + 0x4084], 1
cmp dword [rax + 0x401c], esi
jne 0x14002d3f9
lea r8, str.CLOSE
mov edx, 0xb
mov ecx, esi
call fcn.14003a8a0
lea rdx, [rsp + 0x70]
mov ecx, esi
call fcn.140088e40
test al, al
je 0x14002d45a
or byte [r14 + 0xc8], 0x40
mov r8d, edi
cmp dword [rbx], edi
jle 0x14002d45a
mov rcx, rdi
nop dword [rax + rax]
mov rdx, qword [rbx + 8]
test byte [rcx + rdx + 4], 1
mov eax, dword [rcx + rdx]
jne 0x14002d446
mov byte [rcx + rdx + 0x2c], 1
cmp dword [rbx + 0x20], eax
jne 0x14002d44e
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rbx + 0x18], rdi
jmp 0x14002d44e
cmp dword [rbx + 0x20], eax
je 0x14002d44e
mov dword [rbx + 0x1c], eax
inc r8d
add rcx, 0x30
cmp r8d, dword [rbx]
jl 0x14002d420
test r15b, r15b
jne 0x14002d4bd
mov rsi, qword [0x1400f90d8]
mov rcx, qword [rsi + 0x4188]
movsxd rax, dword [rsi + 0x4180]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, 0x39d
add rax, rax
movups xmmword [rsi + rax*8], xmm0
dec dword [rsi + 0x4180]
movsxd rcx, dword [rsi + 0x41c0]
lea eax, [rcx - 1]
mov dword [rsi + 0x41c0], eax
mov rax, qword [rsi + 0x41c8]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rsi + 0x4098], ecx
jmp 0x14002d4c4
mov r12, qword [rsp + 0x50]
mov rsi, qword [0x1400f90d8]
movsxd rcx, dword [r12 + 0x108]
xor edx, edx
mov rax, qword [r12 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.TITLEBAR
call fcn.14000bd50
mov r15d, eax
movaps xmm9, xmmword [rsp + 0x160]
movaps xmm8, xmmword [rsp + 0x170]
movaps xmm7, xmmword [rsp + 0x180]
movaps xmm6, xmmword [rsp + 0x190]
cmp dword [rsi + 0x4034], eax
jne 0x14002d51a
mov dword [rsi + 0x4038], eax
cmp dword [rsi + 0x4080], r15d
jne 0x14002d52a
mov byte [rsi + 0x4084], 1
cmp dword [rsi + 0x401c], r15d
jne 0x14002d547
lea r8, str.TITLEBAR
mov edx, 0xb
mov ecx, r15d
call fcn.14003a8a0
mov eax, dword [r13 + 0x4020]
test eax, eax
je 0x14002d564
cmp eax, r15d
je 0x14002d564
cmp dword [r13 + 0x4034], r15d
jne 0x14002d62b
lea r9, [rbp - 0x68]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x60]
mov edx, r15d
call fcn.140087fa0
mov rax, qword [0x1400f90d8]
cmp dword [r13 + 0x4020], r15d
jne 0x14002d5ba
mov dword [r13 + 0x40b0], r15d
mov ecx, dword [rax + 0x40b0]
cmp dword [rax + 0x4020], ecx
jne 0x14002d5ab
mov byte [rax + 0x4028], 1
cmp dword [rax + 0x4034], ecx
jne 0x14002d5ba
mov byte [rax + 0x4041], 1
cmp byte [rbp - 0x68], dil
je 0x14002d62b
movss xmm0, dword [rax + 0x36f0]
ucomiss xmm0, xmm11
jp 0x14002d5d7
jne 0x14002d5d7
mov eax, dword [rbx + 0x18]
mov dword [rsp + 0x3c], eax
mov edx, dword [rbx + 0x18]
test edx, edx
je 0x14002d62b
mov r8d, dword [rbx]
mov eax, edi
test r8d, r8d
jle 0x14002d62b
mov r9, qword [rbx + 8]
mov rcx, r9
nop
cmp dword [rcx], edx
je 0x14002d601
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14002d5f0
jmp 0x14002d62b
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x14002d62b
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x14002d620
mov rcx, qword [r14 + 0x88]
xor r8d, r8d
mov rdx, r14
call fcn.140011560
mov edx, dword [rbx + 0x1c]
test edx, edx
movaps xmm11, xmmword [rsp + 0x140]
cmove edx, dword [rsp + 0x3c]
mov r15, qword [rsp + 0x1a0]
test edx, edx
je 0x14002d73a
mov r8d, dword [rbx]
mov eax, edi
test r8d, r8d
jle 0x14002d73a
mov r9, qword [rbx + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x14002d677
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14002d663
jmp 0x14002d73a
cdqe
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, r9
je 0x14002d73a
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14002d73a
call fcn.14001d0a0
mov rax, qword [rbx + 8]
mov rdx, qword [0x1400f90d8]
mov ecx, dword [rax + 0xc]
bt ecx, 0x12
jae 0x14002d6bc
mov qword [rdx + 0x4270], rdi
jmp 0x14002d73a
cmp rax, qword [rax + 0x398]
je 0x14002d6e3
bt ecx, 0x1a
jb 0x14002d6e3
mov ecx, dword [rax + 0x3c8]
test ecx, ecx
je 0x14002d6e3
mov dword [rdx + 0x4270], ecx
mov dword [rdx + 0x4274], edi
jmp 0x14002d73a
movsxd rax, dword [rdx + 0x42a4]
xorps xmm0, xmm0
mov dword [rdx + 0x42a4], eax
mov rcx, rax
mov rax, qword [rdx + 0x4268]
mov qword [rdx + 0x4270], rdi
mov dword [rax + rcx*4 + 0x3c8], edi
add rcx, 0x3d
mov rax, qword [rdx + 0x4268]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
mov word [rdx + 0x42ad], 1
mov dword [rdx + 0x42b0], edi
movups xmmword [rdx + 0x42b4], xmm0
mov byte [rdx + 0x42ac], 1
call fcn.1400a12b0
mov rax, qword [0x1400f90d8]
mov rbx, qword [rsp + 0x1f0]
mov rcx, qword [rax + 0x3fe0]
dec dword [rcx + 0x108]
mov eax, dword [r14 + 0x10]
shr eax, 0xa
test al, 1
jne 0x14002d77b
movzx eax, byte [rsp + 0x38]
mov byte [r12 + 0xd0], al
mov dword [r12 + 0x16c], edi
mov r12, qword [rsp + 0x1a8]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400ac100
add rsp, 0x1b0
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
cmp dword [r14 + 0x30], edi
jle 0x14002d7ab
mov rax, qword [r14 + 0x38]
mov rdi, qword [rax]
and cl, 0xfd
mov qword [r14 + 0x90], rdi
movzx eax, sil
add al, al
or cl, al
mov byte [r14 + 0xc8], cl
test sil, sil
je 0x14002d7d7
mov eax, dword [r13 + 0x3f60]
mov dword [r14 + 0xb4], eax
test rdi, rdi
je 0x14002d783
test sil, sil
jne 0x14002d7eb
cmp qword [r9 + 0x90], 0
jne 0x14002d7f2
mov qword [r9 + 0x90], rdi
mov rdx, qword [r14 + 0x40]
test rdx, rdx
je 0x14002d783
mov rax, qword [r14 + 0x90]
mov ecx, dword [rax + 0x90]
mov dword [rdx + 0x20], ecx
jmp 0x14002d783