Function at 0x140021a70
Capabilities:
Encode data using xor
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov eax, dword [rcx + 0xa4]
mov rdi, rcx
mov r13, qword [0x1400694a0]
inc eax
movzx ecx, byte [rcx + 0xbc]
mov r8, rdx
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x38], eax
mov edx, dword [r13 + 0x1c90]
mov dword [rsp + 0x6c], edx
test cl, 0x10
je 0x140021ad4
mov byte [rsp + 0x30], 1
cmp eax, edx
je 0x140021ad9
mov byte [rsp + 0x30], 0
xor r15d, r15d
lea r10d, [r15 + 1]
cmp dword [rdi + 0xb4], r15d
je 0x140021af2
mov dword [rsp + 0x50], r10d
cmp eax, edx
je 0x140021af7
mov dword [rsp + 0x50], r15d
and cl, 0xef
mov dword [rdi + 0xb4], r15d
xor r12b, r12b
mov byte [rdi + 0xbc], cl
mov rax, qword [rdi + 0x10]
mov r9, rdi
mov dword [rsp + 0x34], r12d
mov qword [rsp + 0x60], rdi
test rax, rax
je 0x140021b33
mov qword [rsp + 0x60], rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140021b20
mov r9, qword [rsp + 0x60]
mov rax, qword [r13 + 0x2080]
test rax, rax
je 0x140021b4c
cmp qword [rax + 0x448], rdi
sete r12b
jmp 0x140021b79
mov rdx, qword [r13 + 0x1f50]
test rdx, rdx
je 0x140021b7e
mov rax, qword [r8 + 0x3d8]
cmp qword [rdx + 0x3e0], rax
jne 0x140021b7e
mov eax, dword [rdi]
cmp dword [r9 + 0xac], eax
movzx r12d, r12b
cmove r12d, r10d
mov dword [rsp + 0x34], r12d
mov eax, dword [rdi + 8]
test eax, 0x3000
jne 0x14002293e
movzx ecx, byte [r8 + 0xd4]
mov qword [rsp + 0x1f0], rbx
mov qword [rsp + 0x1a8], rsi
mov qword [rsp + 0x1a0], r14
movaps xmmword [rsp + 0x150], xmm10
shr eax, 0xa
movaps xmmword [rsp + 0x140], xmm11
movaps xmmword [rsp + 0x130], xmm12
mov byte [rsp + 0x31], cl
test r10b, al
jne 0x140021be1
mov byte [r8 + 0xd4], r15b
mov dword [r8 + 0x18c], r10d
mov ecx, dword [rdi]
call fcn.140015ee0
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0x70], rax
mov rsi, rax
test rax, rax
jne 0x140021c05
mov rcx, rdi
call fcn.1400229d0
mov rsi, qword [rdi + 0x38]
movzx ebx, byte [rdi + 0xbc]
movzx eax, r12b
add al, al
mov dword [rsp + 0x40], r15d
and bl, 0xfd
or bl, al
mov eax, dword [rdi + 4]
or eax, dword [rdi + 8]
mov byte [rdi + 0xbc], bl
bt eax, 0xe
jb 0x140021cdd
cmp dword [r13 + 0x165c], 0xffffffff
je 0x140021cdd
mov r14, qword [0x1400694a0]
xor edx, edx
mov byte [rbp - 0x78], 1
mov rax, qword [r14 + 0x1d18]
movsxd rcx, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.WindowMenu
call fcn.1400077e0
cmp dword [r14 + 0x1d6c], eax
jne 0x140021c8a
mov dword [r14 + 0x1d70], eax
movzx ebx, byte [rdi + 0xbc]
cmp dword [r14 + 0x1da8], eax
jne 0x140021ca2
mov byte [r14 + 0x1dac], 1
movzx ebx, byte [rdi + 0xbc]
xor edx, edx
mov ecx, eax
call fcn.140017110
test al, al
je 0x140021ce8
mov rdx, rsi
mov rcx, rdi
call fcn.1400218a0
test eax, eax
je 0x140021cc5
mov dword [rsi + 0x1c], eax
mov dword [rsp + 0x40], eax
movzx ebx, byte [rdi + 0xbc]
movzx eax, bl
shr al, 1
and al, 1
or r12b, al
mov dword [rsp + 0x34], r12d
jmp 0x140021ce1
mov byte [rbp - 0x78], r15b
mov r14, qword [0x1400694a0]
movss xmm11, dword [rdi + 0x44]
movss xmm4, dword [rdi + 0x40]
movaps xmm5, xmm11
movss xmm1, dword [r14 + 0x1674]
movaps xmm12, xmm4
movss xmm2, dword [r14 + 0x1670]
addss xmm1, xmm1
movss xmm3, dword [r14 + 0x1a80]
movss dword [rsp + 0x7c], xmm11
movaps xmm0, xmm3
movss dword [rbp - 0x70], xmm4
addss xmm0, xmm11
movss dword [rbp - 0x6c], xmm11
addss xmm12, dword [rdi + 0x48]
addss xmm1, xmm0
movss dword [rbp - 0x68], xmm12
movaps xmm0, xmm12
subss xmm0, xmm2
movss dword [rbp - 0x7c], xmm1
movss dword [rbp - 0x64], xmm1
movaps xmm1, xmm4
addss xmm1, xmm2
movss dword [rbp - 0x80], xmm0
movss dword [rsp + 0x78], xmm1
test bl, 4
je 0x140021d76
subss xmm0, xmm3
movss dword [rbp - 0x80], xmm0
test bl, 8
je 0x140021dc4
cmp dword [r14 + 0x165c], r15d
jne 0x140021d90
addss xmm1, xmm3
movss dword [rsp + 0x78], xmm1
jmp 0x140021dc4
cmp dword [r14 + 0x165c], 1
jne 0x140021dc4
addss xmm2, xmm3
subss xmm0, xmm2
movaps xmm1, xmm0
movss dword [rbp - 0x80], xmm0
unpcklps xmm1, xmm11
movaps xmm0, xmm1
movsd qword [rsp + 0x48], xmm1
movss xmm4, dword [rsp + 0x48]
shufps xmm0, xmm0, 0x55
movaps xmm5, xmm0
mov r12d, r15d
mov eax, dword [rsi]
movups xmm0, xmmword [rsp + 0x78]
mov dword [rsp + 0x68], eax
movss dword [rsp + 0x48], xmm4
movups xmmword [rbp - 0x60], xmm0
movss dword [rsp + 0x4c], xmm5
cmp dword [rdi + 0x28], r15d
jle 0x140021e55
mov rbx, r15
nop dword [rax + rax]
mov rax, qword [rdi + 0x30]
mov r10, qword [rbx + rax]
mov r8d, dword [r10 + 8]
test r8d, r8d
je 0x140021e31
mov edx, dword [rsi]
mov eax, r15d
test edx, edx
jle 0x140021e31
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], r8d
je 0x140021e22
inc eax
add rcx, 0x30
cmp eax, edx
jl 0x140021e11
jmp 0x140021e31
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
jne 0x140021e41
mov r8, r10
mov edx, 0x400000
mov rcx, rsi
call fcn.140042eb0
inc r12d
add rbx, 8
cmp r12d, dword [rdi + 0x28]
jl 0x140021df0
mov r14, qword [0x1400694a0]
mov ebx, dword [rsp + 0x34]
test bl, bl
je 0x140021e6a
mov eax, dword [r13 + 0x1c90]
mov dword [rdi + 0xa8], eax
mov r12, qword [rsp + 0x58]
cmp byte [r12 + 0xd2], r15b
je 0x140021e80
mov eax, 0xc
jmp 0x140021e8c
test bl, bl
mov rax, r15
setne al
add rax, 0xa
add rax, rax
lea rcx, [rsp + 0x78]
movups xmm0, xmmword [r14 + rax*8 + 0x16fc]
movups xmmword [rsp + 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r14 + 0x1638]
movss dword [rbp - 0x7c], xmm0
call fcn.140007cc0
movss xmm0, dword [r12 + 0x88]
lea r8, [rbp - 0x68]
mov rcx, qword [r12 + 0x2f8]
lea rdx, [rbp - 0x70]
mov r9d, eax
mov dword [rsp + 0x28], 0x30
movss dword [rsp + 0x20], xmm0
call fcn.1400324c0
cmp byte [rbp - 0x78], r15b
je 0x140021fcb
movsxd rcx, dword [r12 + 0x108]
xor edx, edx
mov rax, qword [r12 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.COLLAPSE
call fcn.1400077e0
mov rcx, qword [0x1400694a0]
cmp dword [rcx + 0x1d6c], eax
jne 0x140021f2b
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x140021f3a
mov byte [rcx + 0x1dac], 1
mov r8, rdi
lea rdx, [rsp + 0x48]
mov ecx, eax
call fcn.14003e910
test al, al
je 0x140021fa4
mov rbx, qword [0x1400694a0]
lea rcx, str.WindowMenu
mov rax, qword [rbx + 0x1d18]
movsxd rdx, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + rdx*4 - 4]
xor edx, edx
call fcn.1400077e0
cmp dword [rbx + 0x1d6c], eax
jne 0x140021f8a
mov dword [rbx + 0x1d70], eax
cmp dword [rbx + 0x1da8], eax
jne 0x140021f99
mov byte [rbx + 0x1dac], 1
mov ecx, eax
call fcn.140017190
mov ebx, dword [rsp + 0x34]
mov rax, qword [0x1400694a0]
mov ecx, dword [rax + 0x1d6c]
test ecx, ecx
je 0x140021fcb
mov rax, qword [rax + 0x1d18]
cmp ecx, dword [rax + 0x164]
jne 0x140021fcb
mov eax, dword [rsi + 0x18]
mov dword [rsp + 0x40], eax
mov r9d, dword [rsi]
lea edx, [r9 - 1]
test edx, edx
js 0x140022005
movsxd rax, edx
lea rcx, [rax + rax*2]
shl rcx, 4
mov r8, qword [rsi + 8]
mov eax, dword [r8 + rcx + 4]
bt eax, 0x16
jae 0x140022005
btr eax, 0x16
mov r9d, edx
mov dword [r8 + rcx + 4], eax
sub rcx, 0x30
sub edx, 1
jns 0x140021fe1
mov ecx, dword [rsi]
cmp ecx, r9d
jle 0x14002203c
lea eax, [r9 + 1]
cmp ecx, eax
jle 0x14002203c
sub ecx, r9d
movsxd rax, r9d
movsxd rdx, ecx
lea r9, [0x140021850]
mov r8d, 0x30
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rsi + 8]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov rax, qword [r13 + 0x1f50]
test rax, rax
je 0x14002205e
mov rcx, qword [rax + 0x3d0]
cmp qword [rcx + 0x448], rdi
jne 0x14002205e
mov eax, dword [rcx + 8]
mov dword [rsi + 0x18], eax
cmp qword [rsp + 0x70], r15
jne 0x140022094
mov edx, dword [rdi + 0xb0]
test edx, edx
je 0x140022094
mov r8d, dword [rsi]
mov eax, r15d
test r8d, r8d
jle 0x140022094
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x14002231f
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x140022081
movsxd rax, dword [rsi]
cmp eax, dword [rsp + 0x68]
jle 0x1400220b6
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
add rcx, rcx
mov rcx, qword [rax + rcx*8 - 0x28]
mov eax, dword [rcx + 8]
mov dword [rsi + 0x1c], eax
mov dword [rsi + 0x18], eax
mov r8d, 0x500003
cmp byte [r12 + 0xd2], r15b
jne 0x1400220d1
test bl, bl
mov eax, 0x700003
cmovne r8d, eax
mov r9, rdi
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.140041c30
lea rbx, [rbp - 0x40]
mov r14d, 6
nop word [rax + rax]
mov rcx, rbx
call fcn.140005e50
add rbx, 0x10
sub r14, 1
jne 0x1400220f0
mov r12d, r15d
movaps xmmword [rsp + 0x190], xmm6
movups xmm1, xmmword [r13 + 0x16fc]
movaps xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [r13 + 0x190c]
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [r13 + 0x191c]
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [r13 + 0x192c]
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [r13 + 0x193c]
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [r13 + 0x194c]
mov qword [rdi + 0x88], r15
movaps xmmword [rbp + 0x10], xmm0
cmp dword [rdi + 0x28], r15d
jle 0x140022360
movss xmm6, dword [0x14005b890]
lea r11, [0x140057208]
mov r14, r15
lea r10, [0x140057220]
nop
mov rax, qword [rdi + 0x30]
mov rbx, qword [r14 + rax]
cmp byte [rsp + 0x30], r15b
jne 0x140022198
mov eax, dword [rsp + 0x50]
cmp eax, dword [rbx + 8]
jne 0x1400221ae
cmp byte [rbx + 0xd8], r15b
je 0x1400221ae
test dword [rbx + 0xc], 0x100000
je 0x14002234b
mov eax, dword [rbx + 0x2b8]
inc eax
cmp eax, dword [r13 + 0x1c90]
jge 0x1400221cd
mov eax, dword [rsp + 0x6c]
cmp dword [rsp + 0x38], eax
je 0x14002234b
mov edx, dword [rbx + 0x24]
mov r8, rbx
mov eax, dword [rbx + 0xc]
or edx, 1
and eax, 0x100000
mov eax, dword [rsi + 0x10]
cmove edx, dword [rbx + 0x24]
mov r9d, edx
or r9d, 4
and al, 8
cmove r9d, edx
mov rdx, r11
sub r8, r11
nop dword [rax + rax]
mov ecx, dword [r8 + rdx + 0x42c]
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 + 0x16fc], xmm3
cmp rdx, r10
jl 0x140022200
cmp byte [rbx + 0xd8], r15b
lea r8, [rbp - 0x78]
mov rdx, qword [rbx]
mov rcx, rsi
cmove r8, r15
mov byte [rbp - 0x78], 1
mov qword [rsp + 0x20], rbx
call fcn.140043920
cmp byte [rbp - 0x78], r15b
jne 0x1400222ba
mov eax, dword [rbx + 8]
mov dword [rdi + 0xb4], eax
mov eax, dword [rbx + 8]
cmp dword [rsi + 0x20], eax
jne 0x1400222c9
mov qword [rdi + 0x88], rbx
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + 0x168]
mov dword [rbx + 0x45c], eax
movups xmm0, xmmword [rcx + 0x16c]
movups xmmword [rbx + 0x460], xmm0
mov rax, qword [r13 + 0x1f50]
test rax, rax
je 0x14002233d
cmp qword [rax + 0x3d0], rbx
jne 0x14002233d
test byte [rbx + 0x190], 2
lea r10, [0x140057220]
lea r11, [0x140057208]
jne 0x14002234b
mov eax, dword [rbx + 8]
mov dword [rcx + 0x3fc], eax
jmp 0x14002234b
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x140022094
mov dword [rsi + 0x1c], edx
mov dword [rsi + 0x18], edx
jmp 0x1400220b6
lea r11, [0x140057208]
lea r10, [0x140057220]
inc r12d
add r14, 8
cmp r12d, dword [rdi + 0x28]
jl 0x140022180
movaps xmm1, xmmword [rbp - 0x40]
movups xmmword [r13 + 0x16fc], xmm1
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [r13 + 0x190c], xmm0
movaps xmm1, xmmword [rbp - 0x20]
movups xmmword [r13 + 0x191c], xmm1
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [r13 + 0x192c], xmm0
movaps xmm1, xmmword [rbp]
movups xmmword [r13 + 0x193c], xmm1
movaps xmm0, xmmword [rbp + 0x10]
movups xmmword [r13 + 0x194c], xmm0
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x1400223cc
mov rcx, qword [rsp + 0x60]
cmp byte [rsp + 0x34], r15b
jne 0x1400223c5
cmp qword [rcx + 0x88], r15
jne 0x1400223cc
mov qword [rcx + 0x88], rax
movzx eax, byte [rdi + 0xbc]
xorps xmm10, xmm10
and al, 4
je 0x1400223f7
mov rcx, qword [rdi + 0x88]
test rcx, rcx
je 0x1400223f7
cmp byte [rcx + 0xd8], r15b
je 0x1400223f7
mov bl, 1
jmp 0x140022519
test al, al
je 0x140022691
mov rbx, qword [0x1400694a0]
movaps xmmword [rsp + 0x180], xmm7
movaps xmmword [rsp + 0x170], xmm8
movaps xmmword [rsp + 0x160], xmm9
mov r12d, dword [rbx + 0x1d54]
lea r14, [rbx + 0x1eb0]
or r12d, 4
mov dword [rbx + 0x1d54], r12d
mov ecx, dword [r14 + 4]
mov eax, dword [r14]
cmp eax, ecx
jne 0x140022478
lea r8d, [rax + 1]
test ecx, ecx
je 0x140022457
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14002245c
mov eax, 8
cmp eax, r8d
mov rcx, r14
cmovg r8d, eax
mov edx, r8d
call fcn.140027be0
mov eax, dword [r14]
mov rbx, qword [0x1400694a0]
movsxd rcx, eax
lea rdx, [rbp - 0x60]
mov rax, qword [r14 + 8]
mov dword [rbp - 0x60], r15d
mov dword [rax + rcx*4], r12d
lea rcx, [rbx + 0x1e70]
inc dword [r14]
movups xmm0, xmmword [rbx + 0x16fc]
movss xmm8, dword [r13 + 0x1708]
movss xmm9, dword [r13 + 0x16fc]
movss xmm6, dword [r13 + 0x1700]
movss xmm7, dword [r13 + 0x1704]
mulss xmm8, dword [0x14005b8d0]
movups xmmword [rbp - 0x5c], xmm0
call fcn.140027650
shufps xmm9, xmm9, 0xe1
movss xmm9, xmm6
shufps xmm9, xmm9, 0xc6
movss xmm9, xmm7
movaps xmm7, xmmword [rsp + 0x180]
shufps xmm9, xmm9, 0x27
movss xmm9, xmm8
movaps xmm8, xmmword [rsp + 0x170]
shufps xmm9, xmm9, 0x39
movups xmmword [rbx + 0x16fc], xmm9
xor bl, bl
movaps xmm9, xmmword [rsp + 0x160]
movss xmm0, dword [r13 + 0x1670]
addss xmm11, xmm10
xorps xmm0, xmmword [0x14005bf60]
mov rcx, r15
addss xmm0, xmm0
mov dword [rsp + 0x38], 0xd4d6dabb
mov dword [rsp + 0x3c], 0x100d8cf
movss dword [rsp + 0x4c], xmm11
subss xmm0, dword [r13 + 0x1a80]
addss xmm0, xmm12
movss dword [rsp + 0x48], xmm0
lea eax, [rcx - 0x68]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 6
jb 0x140022560
mov r12, qword [rsp + 0x58]
xor edx, edx
mov byte [rsp + 0x3f], r15b
movsxd rcx, dword [r12 + 0x108]
mov rax, qword [r12 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x38]
call fcn.1400077e0
mov rcx, qword [0x1400694a0]
cmp dword [rcx + 0x1d6c], eax
jne 0x1400225b0
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x1400225bf
mov byte [rcx + 0x1dac], 1
lea rdx, [rsp + 0x48]
mov ecx, eax
call fcn.14003e560
test al, al
je 0x140022636
mov edx, dword [rsi + 0x20]
test edx, edx
je 0x140022636
mov r8d, dword [rsi]
mov eax, r15d
test r8d, r8d
jle 0x140022636
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x1400225f9
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x1400225e8
jmp 0x140022636
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x140022636
mov eax, dword [rcx]
mov dword [rdi + 0xb4], eax
test byte [rcx + 4], 1
mov eax, dword [rcx]
jne 0x14002262e
mov byte [rcx + 0x2a], 1
cmp dword [rsi + 0x20], eax
jne 0x140022636
mov dword [rcx + 0x10], 0xffffffff
mov qword [rsi + 0x18], r15
jmp 0x140022636
cmp dword [rsi + 0x20], eax
je 0x140022636
mov dword [rsi + 0x1c], eax
test bl, bl
jne 0x140022696
mov rbx, qword [0x1400694a0]
mov rcx, qword [rbx + 0x1e78]
movsxd rax, dword [rbx + 0x1e70]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, rax
movups xmmword [rbx + rax*8 + 0x16fc], xmm0
dec dword [rbx + 0x1e70]
movsxd rcx, dword [rbx + 0x1eb0]
lea eax, [rcx - 1]
mov dword [rbx + 0x1eb0], eax
mov rax, qword [rbx + 0x1eb8]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rbx + 0x1d54], ecx
jmp 0x14002269d
mov r12, qword [rsp + 0x58]
mov rbx, qword [0x1400694a0]
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.1400077e0
mov r14d, eax
movaps xmm12, xmmword [rsp + 0x130]
movaps xmm11, xmmword [rsp + 0x140]
movaps xmm6, xmmword [rsp + 0x190]
cmp dword [rbx + 0x1d6c], eax
jne 0x1400226eb
mov dword [rbx + 0x1d70], eax
cmp dword [rbx + 0x1da8], r14d
jne 0x1400226fb
mov byte [rbx + 0x1dac], 1
mov eax, dword [r13 + 0x1d58]
test eax, eax
je 0x140022718
cmp eax, r14d
je 0x140022718
cmp dword [r13 + 0x1d6c], r14d
jne 0x1400227ed
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x70]
mov edx, r14d
call fcn.14003d210
mov rcx, qword [0x1400694a0]
cmp dword [r13 + 0x1d58], r14d
jne 0x140022777
mov dword [r12 + 0x164], r14d
mov rax, qword [rcx + 0x1d18]
mov edx, dword [rax + 0x164]
cmp dword [rcx + 0x1d58], edx
jne 0x140022768
mov byte [rcx + 0x1d60], 1
cmp dword [rcx + 0x1d6c], edx
jne 0x140022777
mov byte [rcx + 0x1d79], 1
cmp byte [rsp + 0x30], r15b
je 0x1400227ed
movss xmm0, dword [rcx + 0x434]
ucomiss xmm0, xmm10
jp 0x140022799
jne 0x140022799
mov eax, dword [rsi + 0x18]
mov edx, eax
mov dword [rsp + 0x40], eax
jmp 0x14002279c
mov edx, dword [rsi + 0x18]
test edx, edx
je 0x1400227ed
mov r8d, dword [rsi]
mov eax, r15d
test r8d, r8d
jle 0x1400227ed
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x1400227c3
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x1400227b2
jmp 0x1400227ed
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x1400227ed
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x1400227e2
mov rcx, qword [rdi + 0x80]
xor r8d, r8d
mov rdx, rdi
call fcn.14000a580
mov edx, dword [rsi + 0x1c]
test edx, edx
movaps xmm10, xmmword [rsp + 0x150]
cmove edx, dword [rsp + 0x40]
mov r14, qword [rsp + 0x1a0]
test edx, edx
je 0x1400228f4
mov r8d, dword [rsi]
mov eax, r15d
test r8d, r8d
jle 0x1400228f4
mov r9, qword [rsi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x14002283a
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x140022826
jmp 0x1400228f4
cdqe
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, r9
je 0x1400228f4
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400228f4
call fcn.140015740
mov rax, qword [rbx + 8]
mov rdx, qword [0x1400694a0]
mov ecx, dword [rax + 0xc]
bt ecx, 0x12
jae 0x14002287c
mov qword [rdx + 0x1f58], r15
jmp 0x1400228f4
cmp rax, qword [rax + 0x3d0]
je 0x1400228a4
bt ecx, 0x1a
jb 0x1400228a4
mov ecx, dword [rax + 0x3f8]
test ecx, ecx
je 0x1400228a4
mov dword [rdx + 0x1f58], ecx
mov dword [rdx + 0x1f5c], r15d
jmp 0x1400228f4
movsxd rcx, dword [rdx + 0x1f9c]
xorps xmm0, xmm0
mov rax, qword [rdx + 0x1f50]
mov qword [rdx + 0x1f58], r15
mov dword [rax + rcx*4 + 0x3f8], r15d
add rcx, 0x40
mov rax, qword [rdx + 0x1f50]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
mov word [rdx + 0x1fa9], 1
mov dword [rdx + 0x1fac], r15d
movups xmmword [rdx + 0x1fb0], xmm0
mov byte [rdx + 0x1fa8], 1
call fcn.140041f30
mov rax, qword [0x1400694a0]
mov rsi, qword [rsp + 0x1a8]
mov rbx, qword [rsp + 0x1f0]
mov rcx, qword [rax + 0x1d18]
dec dword [rcx + 0x108]
mov eax, dword [rdi + 8]
shr eax, 0xa
test al, 1
jne 0x1400229a6
movzx eax, byte [rsp + 0x31]
mov byte [r12 + 0xd4], al
mov dword [r12 + 0x18c], r15d
jmp 0x1400229a6
cmp dword [rdi + 0x28], r15d
jle 0x14002294b
mov rax, qword [rdi + 0x30]
mov r15, qword [rax]
and cl, 0xfd
mov qword [rdi + 0x88], r15
movzx eax, r12b
add al, al
or cl, al
mov byte [rdi + 0xbc], cl
test r12b, r12b
je 0x140022975
mov eax, dword [r13 + 0x1c90]
mov dword [rdi + 0xa8], eax
test r15, r15
je 0x1400229a6
test r12b, r12b
jne 0x140022989
cmp qword [r9 + 0x88], 0
jne 0x140022990
mov qword [r9 + 0x88], r15
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x1400229a6
mov rax, qword [rdi + 0x88]
mov ecx, dword [rax + 8]
mov dword [rdx + 0x20], ecx
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140052570
add rsp, 0x1b0
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret