Function at 0x140021390
Capabilities:
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0xe8]
sub rsp, 0x1e8
mov rax, qword [0x1400fe080]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov eax, dword [rcx + 0xa4]
mov rdi, rcx
mov r12, qword [0x140102580]
inc eax
movzx ecx, byte [rcx + 0xbc]
mov rbx, rdx
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x64], eax
mov edx, dword [r12 + 0x1c90]
mov dword [rsp + 0x60], edx
test cl, 0x10
je 0x1400213f6
mov byte [rsp + 0x30], 1
cmp eax, edx
je 0x1400213fb
mov byte [rsp + 0x30], 0
xor r15d, r15d
lea r9d, [r15 + 1]
cmp dword [rdi + 0xb4], r15d
je 0x140021414
mov dword [rsp + 0x50], r9d
cmp eax, edx
je 0x140021419
mov dword [rsp + 0x50], r15d
and cl, 0xef
mov dword [rdi + 0xb4], r15d
xor r13b, r13b
mov byte [rdi + 0xbc], cl
mov rax, qword [rdi + 0x10]
mov r8, rdi
mov dword [rsp + 0x3c], r13d
mov qword [rsp + 0x58], rdi
test rax, rax
je 0x140021455
mov qword [rsp + 0x58], rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140021442
mov r8, qword [rsp + 0x58]
mov rax, qword [r12 + 0x2080]
test rax, rax
je 0x14002146f
cmp qword [rax + 0x448], rdi
sete r13b
jmp 0x14002149d
mov rdx, qword [r12 + 0x1f50]
test rdx, rdx
je 0x1400214a2
mov rax, qword [rbx + 0x3d8]
cmp qword [rdx + 0x3e0], rax
jne 0x1400214a2
mov eax, dword [rdi]
cmp dword [r8 + 0xac], eax
movzx r13d, r13b
cmove r13d, r9d
mov dword [rsp + 0x3c], r13d
mov eax, dword [rdi + 8]
test eax, 0x3000
jne 0x14002223a
movzx ecx, byte [rbx + 0xd4]
mov qword [rsp + 0x230], rsi
mov qword [rsp + 0x1e0], r14
movaps xmmword [rsp + 0x190], xmm10
shr eax, 0xa
movaps xmmword [rsp + 0x180], xmm11
movaps xmmword [rsp + 0x170], xmm12
mov byte [rsp + 0x38], cl
test r9b, al
jne 0x1400214fc
mov byte [rbx + 0xd4], r15b
mov dword [rbx + 0x18c], r9d
mov rcx, qword [r12 + 0x1d18]
lea rdx, [rbp - 0x38]
mov eax, dword [rdi]
add rcx, 0x108
mov dword [rbp - 0x38], eax
call fcn.140028b40
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0x68], rax
mov rsi, rax
test rax, rax
jne 0x140021536
mov rcx, rdi
call fcn.1400222b0
mov rsi, qword [rdi + 0x38]
and byte [rdi + 0xbc], 0xfd
movzx eax, r13b
add al, al
mov dword [rbp - 0x38], r15d
or byte [rdi + 0xbc], al
mov eax, dword [rdi + 4]
or eax, dword [rdi + 8]
bt eax, 0xe
jb 0x14002159b
cmp dword [r12 + 0x165c], 0xffffffff
je 0x14002159b
mov byte [rbp - 0x40], 1
call fcn.140014050
test al, al
je 0x14002159f
mov rdx, rsi
mov rcx, rdi
call fcn.140021180
test eax, eax
je 0x140021586
mov dword [rsi + 0x1c], eax
mov dword [rbp - 0x38], eax
movzx eax, byte [rdi + 0xbc]
shr al, 1
and al, 1
or r13b, al
mov dword [rsp + 0x3c], r13d
jmp 0x14002159f
mov byte [rbp - 0x40], r15b
movss xmm11, dword [rdi + 0x44]
mov rcx, qword [0x140102580]
movaps xmm5, xmm11
movss xmm3, dword [rdi + 0x40]
movzx eax, byte [rdi + 0xbc]
movaps xmm12, xmm3
movss dword [rbp - 0x4c], xmm11
movss xmm1, dword [rcx + 0x1674]
movss xmm2, dword [rcx + 0x1a80]
addss xmm1, xmm1
movss dword [rbp - 0x30], xmm3
movaps xmm0, xmm2
movss dword [rbp - 0x2c], xmm11
addss xmm0, xmm11
addss xmm12, dword [rdi + 0x48]
addss xmm1, xmm0
movss dword [rbp - 0x28], xmm12
movaps xmm0, xmm12
movss dword [rbp - 0x44], xmm1
movss dword [rbp - 0x24], xmm1
movss xmm1, dword [rcx + 0x1670]
subss xmm0, xmm1
movaps xmm4, xmm1
addss xmm4, xmm3
movss dword [rbp - 0x48], xmm0
movss dword [rbp - 0x50], xmm4
test al, 4
je 0x140021635
subss xmm0, xmm2
movss dword [rbp - 0x48], xmm0
test al, 8
je 0x14002167d
cmp dword [rcx + 0x165c], r15d
jne 0x14002164d
addss xmm2, xmm4
movss dword [rbp - 0x50], xmm2
jmp 0x14002167d
cmp dword [rcx + 0x165c], 1
jne 0x14002167d
addss xmm1, xmm2
subss xmm0, xmm1
movaps xmm1, xmm0
movss dword [rbp - 0x48], xmm0
unpcklps xmm1, xmm11
movaps xmm0, xmm1
movsd qword [rsp + 0x48], xmm1
shufps xmm0, xmm0, 0x55
movaps xmm3, xmm1
movaps xmm5, xmm0
mov eax, dword [rsi]
mov r14d, r15d
movups xmm0, xmmword [rbp - 0x50]
mov dword [rsp + 0x34], eax
mov eax, dword [rdi + 0x28]
movss dword [rsp + 0x48], xmm3
movss dword [rsp + 0x4c], xmm5
movups xmmword [rbp - 0x20], xmm0
test eax, eax
jle 0x14002170b
mov rbx, r15
test rbx, rbx
js 0x1400216ae
cmp r14d, eax
jl 0x1400216c8
mov r8d, 0x6cb
lea rdx, [0x1400e03c0]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x30]
mov rcx, rsi
mov r13, qword [rax + rbx*8]
mov edx, dword [r13 + 8]
call fcn.14004c170
test rax, rax
jne 0x1400216f1
mov r8, r13
mov edx, 0x400000
mov rcx, rsi
call fcn.14004c230
mov eax, dword [rdi + 0x28]
inc r14d
inc rbx
cmp r14d, eax
jl 0x1400216a4
mov rcx, qword [0x140102580]
mov r13d, dword [rsp + 0x3c]
test r13b, r13b
je 0x14002171e
mov eax, dword [r12 + 0x1c90]
mov dword [rdi + 0xa8], eax
mov r14, qword [rsp + 0x40]
cmp byte [r14 + 0xd2], r15b
je 0x140021733
mov eax, listen
jmp 0x140021740
test r13b, r13b
mov rax, r15
setne al
add rax, 0xa
add rax, rax
movups xmm0, xmmword [rcx + rax*8 + 0x16fc]
movups xmmword [rbp - 0x50], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rcx + 0x1638]
lea rcx, [rbp - 0x50]
movss dword [rbp - 0x44], xmm0
call fcn.1400031d0
movss xmm0, dword [r14 + 0x88]
lea r8, [rbp - 0x28]
mov rcx, qword [r14 + 0x2f8]
lea rdx, [rbp - 0x30]
mov r9d, eax
mov dword [rsp + 0x28], Ordinal_50
movss dword [rsp + 0x20], xmm0
call fcn.140034c70
cmp byte [rbp - 0x40], r15b
je 0x140021847
cmp dword [r14 + 0x108], r15d
jg 0x1400217c4
mov r8d, 0x6d5
lea rdx, [0x1400e03c0]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, dword [r14 + 0x108]
xor edx, edx
mov rax, qword [r14 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.COLLAPSE
call fcn.140002c60
mov rcx, qword [0x140102580]
cmp dword [rcx + 0x1d6c], eax
jne 0x1400217fa
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x140021809
mov byte [rcx + 0x1dac], 1
mov r8, rdi
lea rdx, [rsp + 0x48]
mov ecx, eax
call fcn.140043cb0
test al, al
je 0x140021821
call fcn.1400140f0
mov rax, qword [0x140102580]
mov ecx, dword [rax + 0x1d6c]
test ecx, ecx
je 0x140021847
mov rax, qword [rax + 0x1d18]
cmp ecx, dword [rax + 0x164]
jne 0x140021847
mov eax, dword [rsi + 0x18]
mov dword [rbp - 0x38], eax
mov r13d, dword [rsi]
lea ebx, [r13 - 1]
test ebx, ebx
js 0x1400218d1
movsxd rax, ebx
lea r14, [rax + rax*2]
shl r14, 4
nop dword [rax]
test ebx, ebx
js 0x140021868
cmp ebx, dword [rsi]
jl 0x140021882
mov r8d, 0x6cb
lea rdx, [0x1400e03c0]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 8]
test dword [r14 + rax + 4], 0x400000
je 0x1400218cc
test ebx, ebx
js 0x140021899
cmp ebx, dword [rsi]
jl 0x1400218b3
mov r8d, 0x6cb
lea rdx, [0x1400e03c0]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 8]
mov r13d, ebx
and dword [r14 + rax + 4], 0xffbfffff
sub r14, 0x30
sub ebx, 1
jns 0x140021860
mov r14, qword [rsp + 0x40]
mov ecx, dword [rsi]
cmp ecx, r13d
jle 0x140021908
lea eax, [r13 + 1]
cmp ecx, eax
jle 0x140021908
sub ecx, r13d
movsxd rax, r13d
movsxd rdx, ecx
lea r9, [0x140021130]
mov r8d, Ordinal_50
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 [r12 + 0x1f50]
test rax, rax
je 0x14002192b
mov rcx, qword [rax + 0x3d0]
cmp qword [rcx + 0x448], rdi
jne 0x14002192b
mov eax, dword [rcx + 8]
mov dword [rsi + 0x18], eax
cmp qword [rsp + 0x68], r15
jne 0x14002194d
mov edx, dword [rdi + 0xb0]
mov rcx, rsi
call fcn.14004c170
test rax, rax
je 0x14002194d
mov eax, dword [rdi + 0xb0]
jmp 0x140021989
mov eax, dword [rsi]
cmp eax, dword [rsp + 0x34]
jle 0x14002198f
test eax, eax
jg 0x140021973
mov r8d, 0x6d5
lea rdx, [0x1400e03c0]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [rsi]
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 + 0x18], eax
mov dword [rsi + 0x1c], eax
mov r8d, 0x500003
cmp byte [r14 + 0xd2], r15b
jne 0x1400219ac
cmp byte [rsp + 0x3c], r15b
mov eax, 0x700003
cmovne r8d, eax
mov r9, rdi
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.14004adb0
mov ecx, 6
lea rax, [rbp + 8]
nop dword [rax]
nop dword [rax + rax]
mov qword [rax], r15
mov qword [rax - 8], r15
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x1400219d0
movups xmm1, xmmword [r12 + 0x16fc]
mov eax, dword [rdi + 0x28]
mov ecx, r15d
movaps xmmword [rsp + 0x1d0], xmm6
movaps xmmword [rbp], xmm1
mov dword [rsp + 0x34], ecx
movups xmm0, xmmword [r12 + 0x190c]
movaps xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [r12 + 0x191c]
movaps xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [r12 + 0x192c]
movaps xmmword [rbp + 0x30], xmm0
movups xmm0, xmmword [r12 + 0x193c]
movaps xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [r12 + 0x194c]
mov qword [rdi + 0x88], r15
movaps xmmword [rbp + 0x50], xmm0
test eax, eax
jle 0x140021c60
movss xmm6, dword [0x1400edda4]
lea r11, [0x1400e6588]
mov r13, r15
lea r10, [0x1400e65a0]
nop dword [rax]
test r13, r13
js 0x140021a79
cmp ecx, eax
jl 0x140021aa5
mov r8d, 0x6cb
lea rdx, [0x1400e03c0]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [rsp + 0x34]
lea r10, [0x1400e65a0]
lea r11, [0x1400e6588]
mov rax, qword [rdi + 0x30]
mov rbx, qword [rax + r13*8]
cmp byte [rsp + 0x30], r15b
jne 0x140021abd
mov eax, dword [rsp + 0x50]
cmp eax, dword [rbx + 8]
jne 0x140021ad3
cmp byte [rbx + 0xd8], r15b
je 0x140021ad3
test dword [rbx + 0xc], 0x100000
je 0x140021c38
mov eax, dword [rbx + 0x2b8]
inc eax
cmp eax, dword [r12 + 0x1c90]
jge 0x140021af3
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x64], eax
je 0x140021c38
mov edx, dword [rbx + 0x24]
mov r8, rbx
or edx, 1
test dword [rbx + 0xc], 0x100000
cmove edx, dword [rbx + 0x24]
mov r9d, edx
or r9d, 4
test byte [rsi + 0x10], 8
cmove r9d, edx
mov rdx, r11
sub r8, r11
nop dword [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 [r12 + rax*8 + 0x16fc], xmm3
cmp rdx, r10
jl 0x140021b20
cmp byte [rbx + 0xd8], r15b
lea r8, [rbp - 0x40]
mov rdx, qword [rbx]
mov rcx, rsi
cmove r8, r15
mov byte [rbp - 0x40], 1
mov qword [rsp + 0x20], rbx
call fcn.14004cb90
cmp byte [rbp - 0x40], r15b
jne 0x140021bda
mov eax, dword [rbx + 8]
mov dword [rdi + 0xb4], eax
mov eax, dword [rbx + 8]
cmp dword [rsi + 0x20], eax
jne 0x140021be9
mov qword [rdi + 0x88], rbx
mov eax, dword [r14 + 0x168]
mov dword [rbx + 0x45c], eax
movups xmm0, xmmword [r14 + 0x16c]
movups xmmword [rbx + 0x460], xmm0
mov rax, qword [r12 + 0x1f50]
test rax, rax
je 0x140021c34
cmp qword [rax + 0x3d0], rbx
jne 0x140021c34
test byte [rbx + 0x190], 2
mov ecx, dword [rsp + 0x34]
jne 0x140021c38
mov eax, dword [rbx + 8]
mov dword [r14 + 0x3fc], eax
jmp 0x140021c38
mov ecx, dword [rsp + 0x34]
mov eax, dword [rdi + 0x28]
lea r10, [0x1400e65a0]
inc ecx
lea r11, [0x1400e6588]
inc r13
mov dword [rsp + 0x34], ecx
cmp ecx, eax
jl 0x140021a70
movaps xmm1, xmmword [rbp]
nop
movups xmmword [r12 + 0x16fc], xmm1
movaps xmm0, xmmword [rbp + 0x10]
movups xmmword [r12 + 0x190c], xmm0
movaps xmm1, xmmword [rbp + 0x20]
movups xmmword [r12 + 0x191c], xmm1
movaps xmm0, xmmword [rbp + 0x30]
movups xmmword [r12 + 0x192c], xmm0
movaps xmm1, xmmword [rbp + 0x40]
movups xmmword [r12 + 0x193c], xmm1
movaps xmm0, xmmword [rbp + 0x50]
movups xmmword [r12 + 0x194c], xmm0
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x140021cd2
mov rcx, qword [rsp + 0x58]
cmp byte [rsp + 0x3c], r15b
jne 0x140021ccb
cmp qword [rcx + 0x88], r15
jne 0x140021cd2
mov qword [rcx + 0x88], rax
movzx eax, byte [rdi + 0xbc]
xorps xmm10, xmm10
and al, 4
je 0x140021cfe
mov rcx, qword [rdi + 0x88]
test rcx, rcx
je 0x140021cfe
cmp byte [rcx + 0xd8], r15b
je 0x140021cfe
mov r14b, 1
jmp 0x140021dc9
test al, al
je 0x140021eff
movaps xmmword [rsp + 0x1c0], xmm7
mov ecx, 4
movaps xmmword [rsp + 0x1b0], xmm8
movaps xmmword [rsp + 0x1a0], xmm9
call fcn.140012300
mov rbx, qword [0x140102580]
lea rdx, [rbp - 0x20]
movss xmm8, dword [r12 + 0x1708]
movss xmm9, dword [r12 + 0x16fc]
movss xmm6, dword [r12 + 0x1700]
movups xmm0, xmmword [rbx + 0x16fc]
lea rcx, [rbx + 0x1e70]
mov dword [rbp - 0x20], r15d
movss xmm7, dword [r12 + 0x1704]
mulss xmm8, dword [0x1400edde0]
movups xmmword [rbp - 0x1c], xmm0
call fcn.140028570
shufps xmm9, xmm9, 0xe1
xor r14b, r14b
movss xmm9, xmm6
shufps xmm9, xmm9, 0xc6
movss xmm9, xmm7
movaps xmm7, xmmword [rsp + 0x1c0]
shufps xmm9, xmm9, 0x27
movss xmm9, xmm8
movaps xmm8, xmmword [rsp + 0x1b0]
shufps xmm9, xmm9, 0x39
movups xmmword [rbx + 0x16fc], xmm9
movaps xmm9, xmmword [rsp + 0x1a0]
movss xmm0, dword [r12 + 0x1670]
addss xmm11, xmm10
xorps xmm0, xmmword [0x1400ee530]
mov rbx, qword [rsp + 0x40]
addss xmm0, xmm0
movss dword [rsp + 0x4c], xmm11
subss xmm0, dword [r12 + 0x1a80]
addss xmm0, xmm12
movss dword [rsp + 0x48], xmm0
cmp dword [rbx + 0x108], r15d
jg 0x140021e27
mov r8d, 0x6d5
lea rdx, [0x1400e03c0]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, dword [rbx + 0x108]
xor edx, edx
mov rax, qword [rbx + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.CLOSE
call fcn.140002c60
mov rcx, qword [0x140102580]
cmp dword [rcx + 0x1d6c], eax
jne 0x140021e5d
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x140021e6c
mov byte [rcx + 0x1dac], 1
lea rdx, [rsp + 0x48]
mov ecx, eax
call fcn.1400438d0
test al, al
je 0x140021ee0
mov edx, dword [rsi + 0x20]
mov rcx, rsi
call fcn.14004c170
mov rbx, rax
test rax, rax
je 0x140021ee0
mov ecx, dword [rax]
mov dword [rdi + 0xb4], ecx
test dword [rax + 4], 0x200000
je 0x140021eba
mov r8d, 0x1d63
lea rdx, [0x1400ec670]
lea rcx, str.__tab__Flags__ImGuiTabItemFlags_Button_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test byte [rbx + 4], 1
mov eax, dword [rbx]
jne 0x140021ed8
mov byte [rbx + 0x2a], 1
cmp dword [rsi + 0x20], eax
jne 0x140021ee0
mov dword [rbx + 0x10], 0xffffffff
mov qword [rsi + 0x18], r15
jmp 0x140021ee0
cmp dword [rsi + 0x20], eax
je 0x140021ee0
mov dword [rsi + 0x1c], eax
mov r13d, 1
test r14b, r14b
jne 0x140021ef8
mov ecx, r13d
call fcn.140003670
call fcn.1400123d0
mov r14, qword [rsp + 0x40]
jmp 0x140021f05
mov r13d, 1
movaps xmm12, xmmword [rsp + 0x170]
movaps xmm11, xmmword [rsp + 0x180]
movaps xmm6, xmmword [rsp + 0x1d0]
cmp dword [r14 + 0x108], r15d
jg 0x140021f42
mov r8d, 0x6d5
lea rdx, [0x1400e03c0]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, dword [r14 + 0x108]
xor edx, edx
mov rax, qword [r14 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.TITLEBAR
call fcn.140002c60
mov ebx, eax
mov rax, qword [0x140102580]
cmp dword [rax + 0x1d6c], ebx
jne 0x140021f7a
mov dword [rax + 0x1d70], ebx
cmp dword [rax + 0x1da8], ebx
jne 0x140021f89
mov byte [rax + 0x1dac], 1
mov eax, dword [r12 + 0x1d58]
test eax, eax
je 0x140021fa7
cmp eax, ebx
je 0x140021fa7
cmp dword [r12 + 0x1d6c], ebx
jne 0x140022152
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x30]
mov edx, ebx
call fcn.1400419c0
mov rcx, qword [0x140102580]
cmp dword [r12 + 0x1d58], ebx
jne 0x140022005
mov dword [r14 + 0x164], ebx
mov rax, qword [rcx + 0x1d18]
mov edx, dword [rax + 0x164]
cmp dword [rcx + 0x1d58], edx
jne 0x140021ff6
mov byte [rcx + 0x1d60], 1
cmp dword [rcx + 0x1d6c], edx
jne 0x140022005
mov byte [rcx + 0x1d79], 1
cmp byte [rsp + 0x30], r15b
je 0x140022152
movss xmm0, dword [rcx + 0x434]
ucomiss xmm0, xmm10
jp 0x140022026
jne 0x140022026
mov eax, dword [rsi + 0x18]
mov dword [rbp - 0x38], eax
mov edx, dword [rsi + 0x18]
mov rcx, rsi
call fcn.14004c170
test rax, rax
je 0x140022152
mov r9, qword [rax + 8]
test r9, r9
jne 0x14002204a
mov r9, qword [rdi + 0x80]
mov rax, qword [rdi + 0x88]
xor r8b, r8b
mov rdx, qword [0x140102580]
test rax, rax
je 0x1400220a0
test byte [rax + 0xc], 4
jne 0x1400220a0
mov rax, qword [rdi + 0x10]
mov rcx, rdi
test rax, rax
je 0x14002207e
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140022072
cmp qword [rcx + 0x98], rdi
jne 0x140022090
cmp qword [rcx + 0x90], r15
je 0x1400220a0
mov eax, dword [rcx + 8]
shr eax, 0xa
test al, 1
movzx r8d, r8b
cmovne r8d, r13d
movss xmm0, dword [rdx + 0x434]
ucomiss xmm0, xmm10
jp 0x1400220b4
jne 0x1400220b4
mov cl, 1
jmp 0x1400220b6
xor cl, cl
cmp byte [rdx + 0x128], r15b
jne 0x1400220c3
xor al, al
jmp 0x1400220ee
movss xmm0, dword [rdx + 0x38]
movaps xmm1, xmm0
mulss xmm1, dword [0x1400ede48]
comiss xmm10, xmm1
jbe 0x1400220dc
movaps xmm1, xmm0
movss xmm0, dword [rdx + 0x484]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test r8b, r8b
je 0x140022139
test al, al
je 0x140022152
lea rcx, [rdx + 0x31d0]
mov qword [rbp - 0x60], r15
lea rdx, [rsp + 0x70]
mov qword [rbp - 0x78], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x70], 0xffffffff
mov dword [rbp - 0x6c], 0x3f000000
mov byte [rbp - 0x68], r15b
mov dword [rsp + 0x70], 2
mov qword [rbp - 0x58], rdi
call fcn.140028700
jmp 0x140022152
test cl, cl
jne 0x140022141
test al, al
je 0x140022152
cmp qword [rdx + 0x1d38], r9
je 0x140022152
mov rcx, r9
call fcn.1400063c0
mov edx, dword [rsi + 0x1c]
test edx, edx
movaps xmm10, xmmword [rsp + 0x190]
cmove edx, dword [rbp - 0x38]
test edx, edx
je 0x140022191
mov rcx, rsi
call fcn.14004c170
mov rbx, rax
test rax, rax
je 0x140022191
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140022191
call fcn.140011ce0
mov rcx, qword [rbx + 8]
xor edx, edx
call fcn.140015ea0
call fcn.14004b0e0
mov rax, qword [0x140102580]
mov rsi, qword [rsp + 0x230]
mov rbx, qword [rax + 0x1d18]
cmp dword [rbx + 0x108], 1
jg 0x1400221cf
mov r8d, 0x1df7
lea rdx, [0x1400e0630]
lea rcx, str.window__IDStack.Size___1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [rbx + 0x108], r15d
jg 0x1400221f2
mov r8d, 0x6e1
lea rdx, [0x1400e03c0]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
dec dword [rbx + 0x108]
mov eax, dword [rdi + 8]
shr eax, 0xa
test al, 1
jne 0x140022215
movzx eax, byte [rsp + 0x38]
mov byte [r14 + 0xd4], al
mov dword [r14 + 0x18c], r15d
mov r14, qword [rsp + 0x1e0]
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400cdf90
add rsp, 0x1e8
pop r15
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
cmp dword [rdi + 0x28], r15d
jle 0x140022247
mov rax, qword [rdi + 0x30]
mov r15, qword [rax]
and cl, 0xfd
mov qword [rdi + 0x88], r15
movzx eax, r13b
add al, al
or cl, al
mov byte [rdi + 0xbc], cl
test r13b, r13b
je 0x140022272
mov eax, dword [r12 + 0x1c90]
mov dword [rdi + 0xa8], eax
test r15, r15
je 0x14002221d
test r13b, r13b
jne 0x140022286
cmp qword [r8 + 0x88], 0
jne 0x14002228d
mov qword [r8 + 0x88], r15
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x14002221d
mov rax, qword [rdi + 0x88]
mov ecx, dword [rax + 8]
mov dword [rdx + 0x20], ecx
jmp 0x14002221d