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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push r13
push r14
push r15
lea rbp, [rsp - 0xc8]
sub rsp, 0x1c8
mov eax, dword [rcx + 0xb0]
mov rsi, rcx
mov r15, qword [0x1400d2e90]
inc eax
movzx ecx, byte [rcx + 0xc8]
mov r13, rdx
mov dword [rsp + 0x78], eax
mov edx, dword [r15 + 0x3f60]
mov dword [rsp + 0x74], edx
test cl, 0x40
je 0x140020978
mov byte [rbp + 0x110], 1
cmp eax, edx
je 0x14002097f
mov byte [rbp + 0x110], 0
xor r14d, r14d
mov r9d, 1
cmp dword [rsi + 0xc0], r14d
je 0x14002099a
mov dword [rsp + 0x58], r9d
cmp eax, edx
je 0x14002099f
mov dword [rsp + 0x58], r14d
and cl, 0xbf
mov dword [rsi + 0xc0], r14d
xor bl, bl
mov byte [rsi + 0xc8], cl
mov rax, qword [rsi + 0x18]
mov rdx, rsi
mov dword [rsp + 0x44], ebx
mov qword [rsp + 0x60], rdx
test rax, rax
je 0x1400209e7
nop word [rax + rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x1400209d0
mov ebx, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x60]
mov rax, qword [r15 + 0x43d0]
test rax, rax
je 0x1400209ff
cmp qword [rax + 0x420], rsi
sete bl
jmp 0x140020a2a
mov r8, qword [r15 + 0x4268]
test r8, r8
je 0x140020a2e
mov rax, qword [r13 + 0x3b0]
cmp qword [r8 + 0x3b8], rax
jne 0x140020a2e
mov eax, dword [rsi]
cmp dword [rdx + 0xb8], eax
movzx ebx, bl
cmove ebx, r9d
mov dword [rsp + 0x44], ebx
mov r8d, dword [rsi + 0x10]
mov eax, r8d
shr eax, 0xd
test r9b, al
jne 0x140021c80
mov eax, r8d
shr eax, 0xc
test r9b, al
jne 0x140021c80
movzx eax, byte [r13 + 0xd0]
mov qword [rsp + 0x1c0], rdi
mov qword [rsp + 0x1b8], r12
movaps xmmword [rsp + 0x1a0], xmm6
movaps xmmword [rsp + 0x190], xmm7
movaps xmmword [rsp + 0x180], xmm8
movaps xmmword [rsp + 0x170], xmm9
shr r8d, 0xa
movaps xmmword [rsp + 0x160], xmm10
movaps xmmword [rsp + 0x150], xmm11
mov byte [rbp + 0x118], al
test r9b, r8b
jne 0x140020ab9
mov byte [r13 + 0xd0], r14b
mov dword [r13 + 0x170], r9d
mov ecx, dword [rsi]
mov rdi, qword [r15 + 0x3fe0]
mov dword [rbp + 0x100], ecx
cmp dword [r15 + 0x401c], ecx
jne 0x140020ade
xor r8d, r8d
mov edx, 0xd
call fcn.140026820
lea rcx, [rdi + 0x108]
lea rdx, [rbp + 0x100]
call fcn.1400272e0
mov rax, qword [rsi + 0x40]
mov r12d, 0xffffffff
mov qword [rbp - 0x30], rax
mov rdi, rax
test rax, rax
jne 0x140020b98
mov rax, qword [0x1400d2e90]
test rax, rax
je 0x140020b1d
inc dword [rax + 0xf4]
mov ecx, 0x98
call fcn.14008cc00
mov rdi, rax
test rax, rax
je 0x140020b91
mov qword [rax + 0x30], r14
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 [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x50], xmm0
movups xmmword [rdi + 0x60], xmm0
movups xmmword [rdi + 0x70], xmm0
movups xmmword [rdi + 0x80], xmm0
mov qword [rdi + 0x90], rax
mov qword [rdi + 0x24], 0xffffffffffffffff
mov word [rdi + 0x70], r12w
jmp 0x140020b94
mov rdi, r14
mov qword [rsi + 0x40], rdi
movzx r12d, byte [rsi + 0xc8]
movzx eax, bl
and r12b, 0xfd
mov dword [rsp + 0x48], r14d
add al, al
or r12b, al
test dword [rsi + 0x10], 0x4000
mov byte [rsi + 0xc8], r12b
jne 0x140020c8e
cmp dword [r15 + 0x3930], 0xffffffff
je 0x140020c8e
mov rbx, qword [0x1400d2e90]
lea rcx, str.WindowMenu
xor edx, edx
mov byte [rbp + 0x100], 1
mov r8, qword [rbx + 0x3fe0]
movsxd rax, dword [r8 + 0x108]
mov r8, qword [r8 + 0x110]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140003cd0
mov r9d, eax
mov dword [rsp + 0x40], eax
cmp dword [rbx + 0x401c], eax
jne 0x140020c3f
lea r8, str.WindowMenu
mov edx, 0xb
mov ecx, eax
call fcn.140026820
mov r9d, dword [rsp + 0x40]
movzx r12d, byte [rsi + 0xc8]
mov rbx, qword [0x1400d2e90]
movsxd rax, dword [rbx + 0x41f0]
cmp dword [rbx + 0x41e0], eax
jle 0x140020c9c
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x41e8]
add rcx, rcx
cmp dword [rax + rcx*8], r9d
jne 0x140020c9c
mov rdx, rdi
mov rcx, rsi
call fcn.140020750
test eax, eax
je 0x140020c78
mov dword [rdi + 0x1c], eax
mov dword [rsp + 0x48], eax
movzx r12d, byte [rsi + 0xc8]
movzx eax, r12b
shr al, 1
and al, 1
or byte [rsp + 0x44], al
jmp 0x140020c95
mov byte [rbp + 0x100], r14b
mov rbx, qword [0x1400d2e90]
movss xmm7, dword [rsi + 0x4c]
xorps xmm11, xmm11
movss xmm10, dword [rsi + 0x48]
movaps xmm9, xmm7
movss xmm3, dword [rbx + 0x3944]
movaps xmm8, xmm10
movss xmm2, dword [rbx + 0x3d50]
movss xmm6, dword [rbx + 0x3948]
movaps xmm0, xmm2
movss dword [rsp + 0x34], xmm7
addss xmm0, xmm7
movss dword [rbp - 0x80], xmm10
addss xmm6, xmm6
movss dword [rbp - 0x7c], xmm7
mov qword [rsp + 0x68], r14
addss xmm8, dword [rsi + 0x50]
addss xmm6, xmm0
movss xmm0, dword [rbx + 0x391c]
movaps xmm4, xmm0
addss xmm4, xmm10
movss dword [rbp - 0x78], xmm8
movaps xmm1, xmm8
subss xmm1, xmm0
movss dword [rsp + 0x3c], xmm6
movss dword [rbp - 0x74], xmm6
movaps xmm5, xmm4
addss xmm5, xmm3
subss xmm1, xmm3
movss dword [rsp + 0x30], xmm5
movss dword [rsp + 0x38], xmm1
test r12b, 8
je 0x140020d59
subss xmm1, xmm2
movss dword [rsp + 0x6c], xmm7
movaps xmm0, xmm1
movss dword [rsp + 0x38], xmm1
subss xmm0, xmm3
movss dword [rsp + 0x68], xmm0
test r12b, 0x10
je 0x140020db0
cmp dword [rbx + 0x3930], r14d
jne 0x140020d7c
addss xmm2, dword [rbx + 0x395c]
addss xmm2, xmm5
movss dword [rsp + 0x30], xmm2
jmp 0x140020db0
cmp dword [rbx + 0x3930], 1
jne 0x140020db0
addss xmm3, xmm2
subss xmm1, xmm3
movaps xmm0, xmm1
movss dword [rsp + 0x38], xmm1
unpcklps xmm0, xmm7
movaps xmm1, xmm0
movsd qword [rsp + 0x50], xmm0
movss xmm4, dword [rsp + 0x50]
shufps xmm1, xmm1, 0x55
movaps xmm9, xmm1
mov r10d, 0x400000
mov eax, dword [rdi]
movups xmm0, xmmword [rsp + 0x30]
mov dword [rsp + 0x70], eax
movss dword [rsp + 0x50], xmm4
movups xmmword [rbp - 0x28], xmm0
mov dword [rsp + 0x40], r14d
movss dword [rsp + 0x54], xmm9
cmp dword [rsi + 0x30], r14d
jle 0x140020eb2
mov r12, r14
mov r13d, 0xffffffff
nop word [rax + rax]
mov rax, qword [rsi + 0x38]
mov r9, qword [r12 + rax]
mov r8d, dword [r9 + 0x90]
test r8d, r8d
je 0x140020e32
mov edx, dword [rdi]
mov eax, r14d
test edx, edx
jle 0x140020e32
mov rcx, qword [rdi + 8]
cmp dword [rcx], r8d
je 0x140020e22
inc eax
add rcx, 0x30
cmp eax, edx
jl 0x140020e11
jmp 0x140020e32
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 8]
jne 0x140020e94
cmp byte [r9 + 0xd5], r14b
mov eax, 0x500000
mov qword [rbp - 0x58], r14
cmovne eax, r10d
mov dword [rbp - 0x50], r14d
mov dword [rbp - 0x6c], eax
mov eax, dword [rdi + 0x24]
mov dword [rbp - 0x44], r14d
mov dword [rbp - 0x5c], r13d
mov qword [rbp - 0x4c], 0xffffffffffffffff
mov dword [rbp - 0x70], r8d
mov dword [rbp - 0x60], eax
cmp eax, r13d
jne 0x140020e77
mov eax, dword [rbx + 0x3f60]
dec eax
mov dword [rbp - 0x60], eax
lea rdx, [rbp - 0x70]
mov qword [rbp - 0x68], r9
mov rcx, rdi
call fcn.14004b8c0
mov rbx, qword [0x1400d2e90]
mov r10d, 0x400000
mov ecx, dword [rsp + 0x40]
add r12, 8
inc ecx
mov dword [rsp + 0x40], ecx
cmp ecx, dword [rsi + 0x30]
jl 0x140020df0
mov r13, qword [rbp + 0x108]
mov r12d, dword [rsp + 0x44]
test r12b, r12b
je 0x140020ec9
mov eax, dword [r15 + 0x3f60]
mov dword [rsi + 0xb4], eax
cmp byte [r13 + 0xce], r14b
je 0x140020ed9
mov eax, 0xc
jmp 0x140020ee6
test r12b, r12b
mov rax, r14
setne al
add rax, 0xa
add rax, rax
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rbx + rax*8 + 0x39d0]
movups xmmword [rsp + 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rbx + 0x3908]
movss dword [rsp + 0x3c], xmm0
call fcn.140004260
movss xmm2, dword [0x1400c0fc8]
mov r11d, eax
movss xmm1, dword [r13 + 0x48]
movss xmm3, dword [r13 + 0x4c]
movaps xmm0, xmm1
addss xmm1, dword [r13 + 0x50]
addss xmm0, xmm2
subss xmm1, xmm2
comiss xmm0, xmm10
movaps xmm10, xmmword [rsp + 0x160]
movaps xmm0, xmm3
addss xmm3, dword [r13 + 0x54]
setae cl
addss xmm0, xmm2
comiss xmm8, xmm1
subss xmm3, xmm2
setae r10b
comiss xmm0, xmm7
setae dl
comiss xmm6, xmm3
setae r9b
test dl, dl
je 0x140020f7f
test cl, cl
je 0x140020f7f
mov eax, 0x10
jmp 0x140020f86
mov eax, r14d
test dl, dl
je 0x140020f91
mov r8d, 0x20
test r10b, r10b
jne 0x140020f94
mov r8d, r14d
test r9b, r9b
je 0x140020fa4
test cl, cl
je 0x140020fa4
mov edx, 0x40
jmp 0x140020fac
mov edx, r14d
test r9b, r9b
je 0x140020fb6
mov ecx, 0x180
test r10b, r10b
jne 0x140020fbb
mov ecx, 0x100
movss xmm0, dword [r13 + 0x80]
or eax, ecx
mov rcx, qword [r13 + 0x2c0]
or eax, r8d
or eax, edx
lea r8, [rbp - 0x78]
mov dword [rsp + 0x28], eax
lea rdx, [rbp - 0x80]
mov r9d, r11d
movss dword [rsp + 0x20], xmm0
call fcn.1400334b0
cmp byte [rbp + 0x100], r14b
je 0x1400210ce
movsxd rax, dword [r13 + 0x108]
lea rcx, str.COLLAPSE
mov r8, qword [r13 + 0x110]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140003cd0
mov rcx, qword [0x1400d2e90]
mov ebx, eax
cmp dword [rcx + 0x401c], eax
jne 0x14002103e
lea r8, str.COLLAPSE
mov edx, 0xb
mov ecx, eax
call fcn.140026820
mov r8, rsi
lea rdx, [rsp + 0x50]
mov ecx, ebx
call fcn.140040520
test al, al
je 0x1400210ae
mov rbx, qword [0x1400d2e90]
lea rcx, str.WindowMenu
xor edx, edx
mov r8, qword [rbx + 0x3fe0]
movsxd rax, dword [r8 + 0x108]
mov r8, qword [r8 + 0x110]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140003cd0
mov dword [rbp + 0x100], eax
cmp dword [rbx + 0x401c], eax
jne 0x1400210a7
lea r8, str.WindowMenu
mov edx, 0xb
mov ecx, eax
call fcn.140026820
mov eax, dword [rbp + 0x100]
mov ecx, eax
call fcn.140014b30
mov rax, qword [0x1400d2e90]
mov ecx, dword [rax + 0x4034]
test ecx, ecx
je 0x1400210ce
cmp ecx, dword [rax + 0x40b0]
jne 0x1400210ce
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x48], eax
mov r9d, dword [rdi]
lea ecx, [r9 - 1]
test ecx, ecx
js 0x140021114
movsxd rax, ecx
lea rdx, [rax + rax*2]
shl rdx, 4
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rdi + 8]
mov eax, dword [rdx + r8 + 4]
bt eax, 0x16
jae 0x140021114
btr eax, 0x16
mov r9d, ecx
mov dword [rdx + r8 + 4], eax
sub rdx, 0x30
sub ecx, 1
jns 0x1400210f0
mov ecx, dword [rdi]
cmp ecx, r9d
jle 0x140021150
lea eax, [r9 + 1]
cmp ecx, eax
jle 0x140021150
sub ecx, r9d
movsxd rdx, ecx
cmp rdx, 1
jbe 0x140021150
movsxd rax, r9d
mov r8d, 0x30
lea r9, [0x140020700]
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 8]
call fcn.14008de10
mov rax, qword [r15 + 0x4268]
test rax, rax
je 0x140021172
mov rax, qword [rax + 0x3a0]
cmp qword [rax + 0x420], rsi
jne 0x140021172
mov eax, dword [rax + 8]
mov dword [rdi + 0x18], eax
cmp qword [rbp - 0x30], r14
jne 0x1400211a4
mov edx, dword [rsi + 0xbc]
test edx, edx
je 0x1400211a4
mov r8d, dword [rdi]
mov eax, r14d
test r8d, r8d
jle 0x1400211a4
mov rcx, qword [rdi + 8]
cmp dword [rcx], edx
je 0x1400216d7
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x140021191
movsxd rax, dword [rdi]
cmp eax, dword [rsp + 0x70]
jle 0x1400211c9
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
add rcx, rcx
mov rcx, qword [rax + rcx*8 - 0x28]
mov eax, dword [rcx + 0x90]
mov dword [rdi + 0x1c], eax
mov dword [rdi + 0x18], eax
mov r8d, 0x500003
cmp byte [r13 + 0xce], r14b
jne 0x1400211e4
test r12b, r12b
mov eax, 0x700003
cmovne r8d, eax
mov r9, rsi
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.140048330
movups xmm0, xmmword [r15 + 0x3be0]
mov dword [rsp + 0x40], r14d
movups xmm1, xmmword [r15 + 0x39d0]
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [r15 + 0x3bf0]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [r15 + 0x3c00]
movaps xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [r15 + 0x3c10]
movaps xmmword [rbp + 0x30], xmm0
movups xmm0, xmmword [r15 + 0x3c20]
mov qword [rsi + 0x90], r14
movaps xmmword [rbp + 0x40], xmm0
cmp dword [rsi + 0x30], r14d
jle 0x140021645
movss xmm6, dword [0x1400c0f18]
mov rbx, r14
mov qword [rsp + 0x50], rbx
mov rax, qword [rsi + 0x38]
mov rbx, qword [rbx + rax]
cmp byte [rbp + 0x110], r14b
jne 0x14002127e
mov eax, dword [rsp + 0x58]
cmp eax, dword [rbx + 0x90]
jne 0x140021294
cmp byte [rbx + 0xd5], r14b
je 0x140021294
test dword [rbx + 0xc], 0x100000
je 0x14002161b
mov eax, dword [rbx + 0x280]
inc eax
cmp eax, dword [r15 + 0x3f60]
jge 0x1400212b3
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x78], eax
je 0x14002161b
mov ecx, dword [rbx + 0x404]
xorps xmm3, xmm3
mov r8d, dword [rbx + 0x24]
xorps xmm2, xmm2
mov edx, dword [rdi + 0x10]
xorps xmm1, xmm1
movzx eax, cl
xorps xmm0, xmm0
or r8d, 1
test dword [rbx + 0xc], 0x100000
cvtsi2ss xmm3, rax
cmove r8d, dword [rbx + 0x24]
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
cvtsi2ss xmm0, rax
shufps xmm3, xmm3, 0xe1
mulss xmm2, xmm6
mulss xmm1, xmm6
movss xmm3, xmm2
mulss xmm0, xmm6
shufps xmm3, xmm3, 0xc6
xorps xmm2, xmm2
movss xmm3, xmm1
xorps xmm1, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
xorps xmm0, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r15 + 0x39d0], xmm3
mov ecx, dword [rbx + 0x408]
xorps xmm3, xmm3
movzx eax, cl
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
mulss xmm2, xmm6
mulss xmm1, xmm6
movss xmm3, xmm2
mulss xmm0, xmm6
shufps xmm3, xmm3, 0xc6
xorps xmm2, xmm2
movss xmm3, xmm1
xorps xmm1, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r15 + 0x3be0], xmm3
mov ecx, dword [rbx + 0x40c]
movzx eax, cl
xorps xmm3, xmm3
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
movzx eax, al
cvtsi2ss xmm2, rax
mov eax, ecx
shr eax, 0x10
movzx eax, al
mulss xmm3, xmm6
cvtsi2ss xmm1, rax
mulss xmm2, xmm6
shufps xmm3, xmm3, 0xe1
xorps xmm0, xmm0
movss xmm3, xmm2
shr ecx, 0x18
shufps xmm3, xmm3, 0xc6
xorps xmm2, xmm2
mov eax, ecx
mulss xmm1, xmm6
cvtsi2ss xmm0, rax
movss xmm3, xmm1
xorps xmm1, xmm1
shufps xmm3, xmm3, 0x27
mulss xmm0, xmm6
movss xmm3, xmm0
xorps xmm0, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r15 + 0x3bf0], xmm3
mov ecx, dword [rbx + 0x410]
xorps xmm3, xmm3
movzx eax, cl
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
movzx eax, al
mulss xmm3, xmm6
cvtsi2ss xmm2, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
shufps xmm3, xmm3, 0xe1
cvtsi2ss xmm1, rax
mov eax, ecx
cvtsi2ss xmm0, rax
mulss xmm2, xmm6
mulss xmm1, xmm6
movss xmm3, xmm2
mulss xmm0, xmm6
shufps xmm3, xmm3, 0xc6
xorps xmm2, xmm2
movss xmm3, xmm1
xorps xmm1, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
xorps xmm0, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r15 + 0x3c00], xmm3
mov ecx, dword [rbx + 0x414]
xorps xmm3, xmm3
movzx eax, cl
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
movzx eax, al
mulss xmm3, xmm6
cvtsi2ss xmm2, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
shufps xmm3, xmm3, 0xe1
cvtsi2ss xmm1, rax
mov eax, ecx
cvtsi2ss xmm0, rax
mulss xmm2, xmm6
mulss xmm1, xmm6
movss xmm3, xmm2
mulss xmm0, xmm6
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r15 + 0x3c10], xmm3
mov ecx, dword [rbx + 0x418]
movzx eax, cl
xorps xmm3, xmm3
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
mulss xmm3, xmm6
shufps xmm3, xmm3, 0xe1
mov r9d, r8d
movzx eax, al
or r9d, 4
xorps xmm2, xmm2
mov qword [rsp + 0x20], rbx
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2ss xmm2, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
test dl, 8
movzx eax, al
cmove r9d, r8d
lea r8, [rbp + 0x100]
cvtsi2ss xmm1, rax
mov eax, ecx
mov rcx, rdi
cvtsi2ss xmm0, rax
mulss xmm2, xmm6
mulss xmm1, xmm6
movss xmm3, xmm2
mulss xmm0, xmm6
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r15 + 0x3c20], xmm3
cmp byte [rbx + 0xd5], r14b
mov rdx, qword [rbx]
cmove r8, r14
mov byte [rbp + 0x100], 1
call fcn.140049e50
cmp byte [rbp + 0x100], r14b
jne 0x1400215c2
mov eax, dword [rbx + 0x90]
mov dword [rsi + 0xc0], eax
mov eax, dword [rbx + 0x90]
cmp dword [rdi + 0x20], eax
jne 0x1400215d4
mov qword [rsi + 0x90], rbx
mov eax, dword [r15 + 0x40b8]
mov dword [rbx + 0x434], eax
movups xmm0, xmmword [r15 + 0x40bc]
movups xmmword [rbx + 0x438], xmm0
mov rax, qword [r15 + 0x4268]
test rax, rax
je 0x14002161b
cmp qword [rax + 0x3a0], rbx
jne 0x14002161b
test byte [rbx + 0x174], 2
jne 0x14002161b
mov eax, dword [rbx + 0x90]
mov dword [r13 + 0x3d4], eax
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
inc eax
add rbx, 8
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x50], rbx
cmp eax, dword [rsi + 0x30]
jl 0x140021261
movaps xmm1, xmmword [rbp - 0x10]
mov r12d, dword [rsp + 0x44]
movaps xmm0, xmmword [rbp]
movups xmmword [r15 + 0x39d0], xmm1
movaps xmm1, xmmword [rbp + 0x10]
movups xmmword [r15 + 0x3be0], xmm0
movaps xmm0, xmmword [rbp + 0x20]
movups xmmword [r15 + 0x3bf0], xmm1
movaps xmm1, xmmword [rbp + 0x30]
movups xmmword [r15 + 0x3c00], xmm0
movaps xmm0, xmmword [rbp + 0x40]
movups xmmword [r15 + 0x3c10], xmm1
movups xmmword [r15 + 0x3c20], xmm0
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x1400216af
mov rax, qword [rsp + 0x60]
test r12b, r12b
jne 0x1400216a8
cmp qword [rax + 0x90], r14
jne 0x1400216af
mov qword [rax + 0x90], rcx
movzx eax, byte [rsi + 0xc8]
and al, 8
je 0x1400216f6
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x1400216f6
cmp byte [rcx + 0xd5], r14b
je 0x1400216f6
mov r12b, 1
jmp 0x1400217ae
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 8]
je 0x1400211a4
mov dword [rdi + 0x1c], edx
mov dword [rdi + 0x18], edx
jmp 0x1400211c9
test al, al
je 0x1400218b8
mov rcx, qword [0x1400d2e90]
lea rdx, [rbp + 0x110]
mov eax, dword [rcx + 0x4098]
or eax, 4
mov dword [rcx + 0x4098], eax
add rcx, 0x41c0
mov dword [rbp + 0x110], eax
call fcn.1400272e0
mov rbx, qword [0x1400d2e90]
lea rdx, [rbp - 0x28]
movss xmm8, dword [r15 + 0x39dc]
movss xmm9, dword [r15 + 0x39d0]
movss xmm6, dword [r15 + 0x39d4]
movups xmm0, xmmword [rbx + 0x39d0]
lea rcx, [rbx + 0x4180]
mov dword [rbp - 0x28], r14d
movss xmm7, dword [r15 + 0x39d8]
mulss xmm8, dword [0x1400c0f4c]
movups xmmword [rbp - 0x24], xmm0
call fcn.1400274a0
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 [rbx + 0x39d0], xmm9
movsxd rax, dword [r13 + 0x108]
lea rcx, str.CLOSE
mov r8, qword [r13 + 0x110]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140003cd0
mov rcx, qword [0x1400d2e90]
mov ebx, eax
cmp dword [rcx + 0x401c], eax
jne 0x1400217f3
lea r8, str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.140026820
lea rdx, [rsp + 0x68]
mov ecx, ebx
call fcn.140040170
test al, al
je 0x14002185a
or byte [rsi + 0xc8], 0x40
mov r8d, r14d
cmp dword [rdi], r14d
jle 0x14002185a
mov rcx, r14
nop word [rax + rax]
mov rdx, qword [rdi + 8]
test byte [rcx + rdx + 4], 1
mov eax, dword [rcx + rdx]
jne 0x140021846
mov byte [rcx + rdx + 0x2c], 1
cmp dword [rdi + 0x20], eax
jne 0x14002184e
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rdi + 0x18], r14
jmp 0x14002184e
cmp dword [rdi + 0x20], eax
je 0x14002184e
mov dword [rdi + 0x1c], eax
inc r8d
add rcx, 0x30
cmp r8d, dword [rdi]
jl 0x140021820
test r12b, r12b
jne 0x1400218b8
mov rbx, qword [0x1400d2e90]
mov rcx, qword [rbx + 0x4188]
movsxd rax, dword [rbx + 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 [rbx + rax*8], xmm0
dec dword [rbx + 0x4180]
movsxd rcx, dword [rbx + 0x41c0]
lea eax, [rcx - 1]
mov dword [rbx + 0x41c0], eax
mov rax, qword [rbx + 0x41c8]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rbx + 0x4098], ecx
jmp 0x1400218bf
mov rbx, qword [0x1400d2e90]
movsxd rax, dword [r13 + 0x108]
lea rcx, str.TITLEBAR
mov r8, qword [r13 + 0x110]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140003cd0
mov r12d, eax
movaps xmm9, xmmword [rsp + 0x170]
movaps xmm8, xmmword [rsp + 0x180]
movaps xmm7, xmmword [rsp + 0x190]
movaps xmm6, xmmword [rsp + 0x1a0]
cmp dword [rbx + 0x401c], eax
jne 0x140021920
lea r8, str.TITLEBAR
mov edx, 0xb
mov ecx, eax
call fcn.140026820
mov eax, dword [r15 + 0x4020]
test eax, eax
je 0x14002193d
cmp eax, r12d
je 0x14002193d
cmp dword [r15 + 0x4034], r12d
jne 0x140021b1a
lea r9, [rbp + 0x100]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x80]
mov edx, r12d
call fcn.14003f4d0
mov rdx, qword [0x1400d2e90]
cmp dword [r15 + 0x4020], r12d
jne 0x140021996
mov dword [r15 + 0x40b0], r12d
mov eax, dword [rdx + 0x40b0]
cmp dword [rdx + 0x4020], eax
jne 0x140021987
mov byte [rdx + 0x4028], 1
cmp dword [rdx + 0x4034], eax
jne 0x140021996
mov byte [rdx + 0x4041], 1
cmp byte [rbp + 0x100], r14b
je 0x140021b1a
movss xmm0, dword [rdx + 0x36f0]
ucomiss xmm0, xmm11
jp 0x1400219ba
jne 0x1400219ba
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x48], eax
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x140021b1a
mov r9d, dword [rdi]
mov eax, r14d
test r9d, r9d
jle 0x140021b1a
mov rcx, qword [rdi + 8]
nop word [rax + rax]
cmp dword [rcx], r8d
je 0x1400219f5
inc eax
add rcx, 0x30
cmp eax, r9d
jl 0x1400219e0
jmp 0x140021b1a
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 8]
je 0x140021b1a
mov r9, qword [rcx + 8]
test r9, r9
jne 0x140021a19
mov r9, qword [rsi + 0x88]
mov rax, qword [rsi + 0x90]
xor r8b, r8b
test rax, rax
je 0x140021a73
test byte [rax + 0xc], 4
jne 0x140021a73
mov rax, qword [rsi + 0x18]
mov rcx, rsi
test rax, rax
je 0x140021a4c
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140021a40
cmp qword [rcx + 0xa0], rsi
jne 0x140021a5e
cmp qword [rcx + 0x98], r14
je 0x140021a73
mov eax, dword [rcx + 0x10]
shr eax, 0xa
test al, 1
movzx r8d, r8b
mov eax, 1
cmovne r8d, eax
ucomiss xmm0, xmm11
jp 0x140021a7f
jne 0x140021a7f
mov cl, 1
jmp 0x140021a81
xor cl, cl
cmp byte [rdx + 0xda4], r14b
jne 0x140021a8e
xor al, al
jmp 0x140021ab9
movss xmm0, dword [rdx + 0x38]
movaps xmm1, xmm0
mulss xmm1, dword [0x1400c0fbc]
comiss xmm11, xmm1
jbe 0x140021aa7
movaps xmm1, xmm0
movss xmm0, dword [rdx + 0x3740]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test r8b, r8b
je 0x140021b01
test al, al
je 0x140021b1a
lea rcx, [rdx + 0x5540]
mov qword [rbp - 0x40], r14
lea rdx, [rbp - 0x70]
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
mov dword [rbp - 0x50], 0xffffffff
mov dword [rbp - 0x4c], 0x3f000000
mov byte [rbp - 0x48], r14b
mov dword [rbp - 0x70], 2
mov qword [rbp - 0x38], rsi
call fcn.140027620
jmp 0x140021b1a
test cl, cl
jne 0x140021b09
test al, al
je 0x140021b1a
cmp qword [rdx + 0x4000], r9
je 0x140021b1a
mov rcx, r9
call fcn.140007520
mov edx, dword [rdi + 0x1c]
test edx, edx
movaps xmm11, xmmword [rsp + 0x150]
cmove edx, dword [rsp + 0x48]
mov r12, qword [rsp + 0x1b8]
test edx, edx
je 0x140021c2b
mov r8d, dword [rdi]
mov eax, r14d
test r8d, r8d
jle 0x140021c2b
mov rcx, qword [rdi + 8]
cmp dword [rcx], edx
je 0x140021b64
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x140021b50
jmp 0x140021c2b
cdqe
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [rdi + 8]
je 0x140021c2b
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140021c2b
call fcn.140012800
mov rax, qword [rbx + 8]
mov rdx, qword [0x1400d2e90]
mov ecx, dword [rax + 0xc]
bt ecx, 0x12
jae 0x140021baa
mov qword [rdx + 0x4270], r14
jmp 0x140021c2b
cmp rax, qword [rax + 0x3a0]
je 0x140021bd2
bt ecx, 0x1a
jb 0x140021bd2
mov ecx, dword [rax + 0x3d0]
test ecx, ecx
je 0x140021bd2
mov dword [rdx + 0x4270], ecx
mov dword [rdx + 0x4274], r14d
jmp 0x140021c2b
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], r14
mov dword [rax + rcx*4 + 0x3d0], r14d
add rcx, rcx
mov rax, qword [rdx + 0x4268]
movups xmmword [rax + rcx*8 + 0x3d8], xmm0
mov word [rdx + 0x42ad], 1
mov dword [rdx + 0x42b0], r14d
movups xmmword [rdx + 0x42b4], xmm0
mov byte [rdx + 0x42ac], 1
call fcn.140048740
mov rax, qword [0x1400d2e90]
mov rdi, qword [rsp + 0x1c0]
mov rcx, qword [rax + 0x3fe0]
dec dword [rcx + 0x108]
mov eax, dword [rsi + 0x10]
shr eax, 0xa
test al, 1
jne 0x140021ce8
movzx eax, byte [rbp + 0x118]
mov byte [r13 + 0xd0], al
mov dword [r13 + 0x170], r14d
add rsp, 0x1c8
pop r15
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret
cmp dword [rsi + 0x30], r14d
jle 0x140021c8d
mov rax, qword [rsi + 0x38]
mov r14, qword [rax]
and cl, 0xfd
mov qword [rsi + 0x90], r14
movzx eax, bl
add al, al
or cl, al
mov byte [rsi + 0xc8], cl
test bl, bl
je 0x140021cb5
mov eax, dword [r15 + 0x3f60]
mov dword [rsi + 0xb4], eax
test r14, r14
je 0x140021ce8
test bl, bl
jne 0x140021cc8
cmp qword [rdx + 0x90], 0
jne 0x140021ccf
mov qword [rdx + 0x90], r14
mov rdx, qword [rsi + 0x40]
test rdx, rdx
je 0x140021ce8
mov rax, qword [rsi + 0x90]
mov ecx, dword [rax + 0x90]
mov dword [rdx + 0x20], ecx
add rsp, 0x1c8
pop r15
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret