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

Disassembly:
push rbp
push rbx
push rsi
push r13
push r14
push r15
lea rbp, [rsp - 0x98]
sub rsp, 0x198
mov rax, qword [0x1400ee240]
xor rax, rsp
mov qword [rbp + 8], rax
mov eax, dword [rcx + 0xa8]
mov rsi, rcx
mov r15, qword [0x1400f4a40]
inc eax
movzx ecx, byte [rcx + 0xc0]
mov r13, rdx
mov qword [rbp - 0x30], rdx
mov dword [rsp + 0x54], eax
mov edx, dword [r15 + 0x1ca8]
mov dword [rsp + 0x78], edx
test cl, 0x20
je 0x140040984
mov byte [rsp + 0x30], 1
cmp eax, edx
je 0x140040989
mov byte [rsp + 0x30], 0
xor r14d, r14d
mov r9d, 1
cmp dword [rsi + 0xb8], r14d
je 0x1400409a4
mov dword [rsp + 0x60], r9d
cmp eax, edx
je 0x1400409a9
mov dword [rsp + 0x60], r14d
and cl, 0xdf
mov dword [rsi + 0xb8], r14d
xor bl, bl
mov byte [rsi + 0xc0], cl
mov rax, qword [rsi + 0x18]
mov rdx, rsi
mov dword [rsp + 0x4c], ebx
mov qword [rsp + 0x68], rdx
test rax, rax
je 0x1400409e7
mov qword [rsp + 0x68], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x1400409d0
mov ebx, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x68]
mov rax, qword [r15 + 0x2100]
test rax, rax
je 0x1400409ff
cmp qword [rax + 0x400], rsi
sete bl
jmp 0x140040a2a
mov r8, qword [r15 + 0x1f98]
test r8, r8
je 0x140040a2e
mov rax, qword [r13 + 0x390]
cmp qword [r8 + 0x398], rax
jne 0x140040a2e
mov eax, dword [rsi]
cmp dword [rdx + 0xb0], eax
movzx ebx, bl
cmove ebx, r9d
mov dword [rsp + 0x4c], ebx
mov r8d, dword [rsi + 0x10]
mov eax, r8d
shr eax, 0xd
test r9b, al
jne 0x140041a4b
mov eax, r8d
shr eax, 0xc
test r9b, al
jne 0x140041a4b
movzx eax, byte [r13 + 0xcc]
mov qword [rsp + 0x1e0], rdi
mov qword [rsp + 0x190], r12
movaps xmmword [rsp + 0x180], xmm6
movaps xmmword [rsp + 0x170], xmm7
movaps xmmword [rsp + 0x160], xmm8
movaps xmmword [rsp + 0x150], xmm9
movaps xmmword [rsp + 0x140], xmm10
movaps xmmword [rsp + 0x130], xmm11
shr r8d, 0xa
movaps xmmword [rsp + 0x120], xmm12
movaps xmmword [rsp + 0x110], xmm13
mov byte [rsp + 0x48], al
test r9b, r8b
jne 0x140040ac9
mov byte [r13 + 0xcc], r14b
mov dword [r13 + 0x15c], r9d
mov ecx, dword [rsi]
mov rdi, qword [r15 + 0x1d28]
mov dword [rbp], ecx
cmp dword [r15 + 0x1d64], ecx
jne 0x140040aeb
xor r8d, r8d
mov edx, recv
call fcn.140046200
lea rcx, [rdi + 0x100]
lea rdx, [rbp]
call fcn.140046b70
mov rax, qword [rsi + 0x40]
mov qword [rbp - 0x28], rax
mov rdi, rax
test rax, rax
jne 0x140040b17
mov rcx, rsi
call fcn.140041ad0
mov rdi, qword [rsi + 0x40]
and byte [rsi + 0xc0], 0xfd
movzx eax, bl
add al, al
mov dword [rsp + 0x50], r14d
or byte [rsi + 0xc0], al
test dword [rsi + 0x10], 0x4000
jne 0x140040b77
cmp dword [r15 + 0x1678], 0xffffffff
je 0x140040b77
mov byte [rbp - 8], 1
call fcn.1400350d0
test al, al
je 0x140040b7b
mov rdx, rdi
mov rcx, rsi
call fcn.140040750
test eax, eax
je 0x140040b64
mov dword [rdi + 0x1c], eax
mov dword [rsp + 0x50], eax
movzx eax, byte [rsi + 0xc0]
shr al, 1
and al, 1
or bl, al
mov dword [rsp + 0x4c], ebx
jmp 0x140040b7b
mov byte [rbp - 8], r14b
mov r10, qword [0x1400f4a40]
xorps xmm13, xmm13
movss xmm2, dword [rsi + 0x48]
movss xmm5, dword [rsi + 0x4c]
movaps xmm3, xmm2
addss xmm3, dword [rsi + 0x50]
movss xmm1, dword [r10 + 0x1690]
movss xmm4, dword [r10 + 0x1a98]
addss xmm1, xmm1
movzx eax, byte [rsi + 0xc0]
movaps xmm0, xmm4
movss dword [rbp - 0x80], xmm2
addss xmm0, xmm5
movss dword [rbp - 0x78], xmm3
movss dword [rsp + 0x3c], xmm5
movss dword [rbp - 0x7c], xmm5
mov qword [rsp + 0x70], r14
addss xmm1, xmm0
movss xmm0, dword [r10 + 0x1664]
subss xmm3, xmm0
movaps xmm6, xmm0
addss xmm6, xmm2
movss dword [rsp + 0x44], xmm1
movss dword [rbp - 0x74], xmm1
movss xmm1, dword [r10 + 0x168c]
subss xmm3, xmm1
movaps xmm2, xmm1
addss xmm2, xmm6
movss dword [rsp + 0x40], xmm3
movss dword [rsp + 0x38], xmm2
test al, 4
je 0x140040c3a
subss xmm3, xmm4
movss dword [rsp + 0x74], xmm5
movaps xmm0, xmm3
movss dword [rsp + 0x40], xmm3
subss xmm0, xmm1
movss dword [rsp + 0x70], xmm0
test al, 8
je 0x140040c90
cmp dword [r10 + 0x1678], r14d
jne 0x140040c5c
addss xmm4, dword [r10 + 0x16a4]
addss xmm4, xmm2
movss dword [rsp + 0x38], xmm4
jmp 0x140040c90
cmp dword [r10 + 0x1678], 1
jne 0x140040c90
addss xmm1, xmm4
subss xmm3, xmm1
movaps xmm0, xmm3
movss dword [rsp + 0x40], xmm3
unpcklps xmm0, xmm5
movaps xmm1, xmm0
movsd qword [rsp + 0x58], xmm0
movss xmm6, dword [rsp + 0x58]
shufps xmm1, xmm1, 0x55
movaps xmm5, xmm1
mov r12d, r14d
mov eax, dword [rdi]
mov r11d, 0xffffffff
movss dword [rsp + 0x58], xmm6
movups xmm0, xmmword [rsp + 0x38]
mov dword [rbp], eax
movss dword [rsp + 0x5c], xmm5
movups xmmword [rbp - 0x20], xmm0
cmp dword [rsi + 0x30], r14d
jle 0x140040d8d
mov rbx, r14
mov r13d, 0x400000
nop word [rax + rax]
mov rax, qword [rsi + 0x38]
mov r9, qword [rbx + rax]
mov r8d, dword [r9 + 8]
test r8d, r8d
je 0x140040d11
mov edx, dword [rdi]
mov eax, r14d
test edx, edx
jle 0x140040d11
mov rcx, qword [rdi + 8]
nop
cmp dword [rcx], r8d
je 0x140040d01
inc eax
add rcx, 0x30
cmp eax, edx
jl 0x140040cf0
jmp 0x140040d11
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 8]
jne 0x140040d74
cmp byte [r9 + 0xd0], r14b
mov eax, 0x500000
mov qword [rbp - 0x58], r14
cmovne eax, r13d
mov dword [rbp - 0x50], r14d
mov dword [rbp - 0x6c], eax
mov eax, dword [rdi + 0x24]
mov dword [rbp - 0x44], r14d
mov dword [rbp - 0x5c], r11d
mov qword [rbp - 0x4c], 0xffffffffffffffff
mov dword [rbp - 0x70], r8d
mov dword [rbp - 0x60], eax
cmp eax, 0xffffffff
jne 0x140040d57
mov eax, dword [r10 + 0x1ca8]
dec eax
mov dword [rbp - 0x60], eax
lea rdx, [rbp - 0x70]
mov qword [rbp - 0x68], r9
mov rcx, rdi
call fcn.140068c80
mov r10, qword [0x1400f4a40]
mov r11d, 0xffffffff
inc r12d
add rbx, 8
cmp r12d, dword [rsi + 0x30]
jl 0x140040cd0
mov r13, qword [rbp - 0x30]
mov ebx, dword [rsp + 0x4c]
test bl, bl
je 0x140040d9e
mov eax, dword [r15 + 0x1ca8]
mov dword [rsi + 0xac], eax
cmp byte [r13 + 0xca], r14b
je 0x140040dae
mov eax, recv
jmp 0x140040dba
test bl, bl
mov rax, r14
setne al
add rax, 0xa
add rax, rax
lea rcx, [rsp + 0x38]
movups xmm0, xmmword [r10 + rax*8 + 0x1718]
movups xmmword [rsp + 0x38], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r10 + 0x1650]
movss dword [rsp + 0x44], xmm0
call fcn.140025c80
movss xmm0, dword [r13 + 0x80]
lea r8, [rbp - 0x78]
mov rcx, qword [r13 + 0x2a8]
lea rdx, [rbp - 0x80]
mov r9d, eax
mov dword [rsp + 0x28], 0x30
movss dword [rsp + 0x20], xmm0
call fcn.140052330
cmp byte [rbp - 8], r14b
je 0x140040ec1
movsxd rax, dword [r13 + 0x100]
lea rcx, str.COLLAPSE
mov r8, qword [r13 + 0x108]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140025700
mov r12d, eax
mov rax, qword [0x1400f4a40]
cmp dword [rax + 0x1d7c], r12d
jne 0x140040e5b
mov dword [rax + 0x1d80], r12d
cmp dword [rax + 0x1db8], r12d
jne 0x140040e6b
mov byte [rax + 0x1dbc], 1
cmp dword [rax + 0x1d64], r12d
jne 0x140040e88
lea r8, str.COLLAPSE
mov edx, 0xb
mov ecx, r12d
call fcn.140046200
mov r8, rsi
lea rdx, [rsp + 0x58]
mov ecx, r12d
call fcn.14005e800
test al, al
je 0x140040ea1
call fcn.140035160
mov rax, qword [0x1400f4a40]
mov ecx, dword [rax + 0x1d7c]
test ecx, ecx
je 0x140040ec1
cmp ecx, dword [rax + 0x1de8]
jne 0x140040ec1
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x50], eax
mov r9d, dword [rdi]
lea ecx, [r9 - 1]
test ecx, ecx
js 0x140040f04
movsxd rax, ecx
lea rdx, [rax + rax*2]
shl rdx, 4
nop word [rax + rax]
mov r8, qword [rdi + 8]
mov eax, dword [rdx + r8 + 4]
bt eax, 0x16
jae 0x140040f04
btr eax, 0x16
mov r9d, ecx
mov dword [rdx + r8 + 4], eax
sub rdx, 0x30
sub ecx, 1
jns 0x140040ee0
mov ecx, dword [rdi]
cmp ecx, r9d
jle 0x140040f3a
lea eax, [r9 + 1]
cmp ecx, eax
jle 0x140040f3a
sub ecx, r9d
movsxd rax, r9d
movsxd rdx, ecx
lea r9, [0x140040700]
mov r8d, 0x30
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 8]
call fcn.14009e120
mov rax, qword [r15 + 0x1f98]
test rax, rax
je 0x140040f5c
mov rax, qword [rax + 0x380]
cmp qword [rax + 0x400], rsi
jne 0x140040f5c
mov eax, dword [rax + 8]
mov dword [rdi + 0x18], eax
cmp qword [rbp - 0x28], r14
jne 0x140040f93
mov edx, dword [rsi + 0xb4]
test edx, edx
je 0x140040f93
mov r8d, dword [rdi]
mov eax, r14d
test r8d, r8d
jle 0x140040f93
mov rcx, qword [rdi + 8]
nop dword [rax + rax]
cmp dword [rcx], edx
je 0x140041497
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x140040f80
movsxd rax, dword [rdi]
cmp eax, dword [rbp]
jle 0x140040fb4
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
add rcx, rcx
mov rcx, qword [rax + rcx*8 - 0x28]
mov eax, dword [rcx + 8]
mov dword [rdi + 0x1c], eax
mov dword [rdi + 0x18], eax
mov r8d, 0x500003
cmp byte [r13 + 0xca], r14b
jne 0x140040fce
test bl, bl
mov eax, 0x700003
cmovne r8d, eax
mov r9, rsi
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.1400655f0
movups xmm7, xmmword [r15 + 0x1718]
mov dword [rbp], r14d
movups xmm8, xmmword [r15 + 0x1928]
movups xmm9, xmmword [r15 + 0x1938]
movups xmm10, xmmword [r15 + 0x1948]
movups xmm11, xmmword [r15 + 0x1958]
movups xmm12, xmmword [r15 + 0x1968]
mov qword [rsi + 0x88], r14
cmp dword [rsi + 0x30], r14d
jle 0x1400413ff
movss xmm6, dword [0x1400d7e9c]
mov rbx, r14
mov qword [rsp + 0x58], rbx
mov rax, qword [rsi + 0x38]
mov rbx, qword [rbx + rax]
lea r12, [rbx + 8]
cmp byte [rsp + 0x30], r14b
jne 0x14004104f
mov eax, dword [rsp + 0x60]
cmp eax, dword [r12]
jne 0x140041065
cmp byte [rbx + 0xd0], r14b
je 0x140041065
test dword [rbx + 0xc], 0x100000
je 0x1400413dc
mov eax, dword [rbx + 0x268]
inc eax
cmp eax, dword [r15 + 0x1ca8]
jge 0x140041084
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x54], eax
je 0x1400413dc
mov ecx, dword [rbx + 0x3e4]
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 + 0x1718], xmm3
mov ecx, dword [rbx + 0x3e8]
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 + 0x1928], xmm3
mov ecx, dword [rbx + 0x3ec]
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 + 0x1938], xmm3
mov ecx, dword [rbx + 0x3f0]
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 + 0x1948], xmm3
mov ecx, dword [rbx + 0x3f4]
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 + 0x1958], xmm3
mov ecx, dword [rbx + 0x3f8]
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 - 8]
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 + 0x1968], xmm3
cmp byte [rbx + 0xd0], r14b
mov rdx, qword [rbx]
cmove r8, r14
mov byte [rbp - 8], 1
call fcn.1400671f0
cmp byte [rbp - 8], r14b
jne 0x140041388
mov eax, dword [r12]
mov dword [rsi + 0xb8], eax
mov eax, dword [r12]
cmp dword [rdi + 0x20], eax
jne 0x140041398
mov qword [rsi + 0x88], rbx
mov eax, dword [r15 + 0x1df0]
mov dword [rbx + 0x414], eax
movups xmm0, xmmword [r15 + 0x1df4]
movups xmmword [rbx + 0x418], xmm0
mov rax, qword [r15 + 0x1f98]
test rax, rax
je 0x1400413dc
cmp qword [rax + 0x380], rbx
jne 0x1400413dc
test byte [rbx + 0x160], 2
jne 0x1400413dc
mov eax, dword [rbx + 8]
mov dword [r13 + 0x3b4], eax
mov eax, dword [rbp]
mov rbx, qword [rsp + 0x58]
inc eax
add rbx, 8
mov dword [rbp], eax
mov qword [rsp + 0x58], rbx
cmp eax, dword [rsi + 0x30]
jl 0x140041032
mov ebx, dword [rsp + 0x4c]
movups xmmword [r15 + 0x1718], xmm7
movups xmmword [r15 + 0x1928], xmm8
movups xmmword [r15 + 0x1938], xmm9
movups xmmword [r15 + 0x1948], xmm10
movaps xmm10, xmmword [rsp + 0x140]
movups xmmword [r15 + 0x1958], xmm11
movaps xmm11, xmmword [rsp + 0x130]
movups xmmword [r15 + 0x1968], xmm12
mov rcx, qword [rsi + 0x88]
movaps xmm12, xmmword [rsp + 0x120]
test rcx, rcx
je 0x14004146f
mov rax, qword [rsp + 0x68]
test bl, bl
jne 0x140041468
cmp qword [rax + 0x88], r14
jne 0x14004146f
mov qword [rax + 0x88], rcx
movzx eax, byte [rsi + 0xc0]
and al, 4
je 0x1400414b6
mov rcx, qword [rsi + 0x88]
test rcx, rcx
je 0x1400414b6
cmp byte [rcx + 0xd0], r14b
je 0x1400414b6
mov r12b, 1
jmp 0x14004156a
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 8]
je 0x140040f93
mov dword [rdi + 0x1c], edx
mov dword [rdi + 0x18], edx
jmp 0x140040fb4
test al, al
je 0x140041686
mov rcx, qword [0x1400f4a40]
lea rdx, [rsp + 0x54]
mov eax, dword [rcx + 0x1dd0]
or eax, 4
mov dword [rcx + 0x1dd0], eax
add rcx, 0x1ef8
mov dword [rsp + 0x54], eax
call fcn.140046b70
mov rbx, qword [0x1400f4a40]
lea rdx, [rbp - 0x20]
movss xmm8, dword [r15 + 0x1724]
movss xmm9, dword [r15 + 0x1718]
movss xmm6, dword [r15 + 0x171c]
movups xmm0, xmmword [rbx + 0x1718]
lea rcx, [rbx + 0x1eb8]
mov dword [rbp - 0x20], r14d
movss xmm7, dword [r15 + 0x1720]
mulss xmm8, dword [0x1400d7ed0]
movups xmmword [rbp - 0x1c], xmm0
call fcn.140046d30
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 + 0x1718], xmm9
movsxd rax, dword [r13 + 0x100]
lea rcx, str.CLOSE
mov r8, qword [r13 + 0x108]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140025700
mov ebx, eax
mov rax, qword [0x1400f4a40]
cmp dword [rax + 0x1d7c], ebx
jne 0x1400415a2
mov dword [rax + 0x1d80], ebx
cmp dword [rax + 0x1db8], ebx
jne 0x1400415b1
mov byte [rax + 0x1dbc], 1
cmp dword [rax + 0x1d64], ebx
jne 0x1400415cc
lea r8, str.CLOSE
mov edx, 0xb
mov ecx, ebx
call fcn.140046200
lea rdx, [rsp + 0x70]
mov ecx, ebx
call fcn.14005e430
test al, al
je 0x14004162a
or byte [rsi + 0xc0], 0x20
mov r8d, r14d
cmp dword [rdi], r14d
jle 0x14004162a
mov rcx, r14
nop
mov rdx, qword [rdi + 8]
test byte [rcx + rdx + 4], 1
mov eax, dword [rcx + rdx]
jne 0x140041616
mov byte [rcx + rdx + 0x2c], 1
cmp dword [rdi + 0x20], eax
jne 0x14004161e
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rdi + 0x18], r14
jmp 0x14004161e
cmp dword [rdi + 0x20], eax
je 0x14004161e
mov dword [rdi + 0x1c], eax
inc r8d
add rcx, 0x30
cmp r8d, dword [rdi]
jl 0x1400415f0
test r12b, r12b
jne 0x140041686
mov rbx, qword [0x1400f4a40]
mov rcx, qword [rbx + 0x1ec0]
movsxd rax, dword [rbx + 0x1eb8]
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 + 0x1718], xmm0
dec dword [rbx + 0x1eb8]
movsxd rcx, dword [rbx + 0x1ef8]
lea eax, [rcx - 1]
mov dword [rbx + 0x1ef8], eax
mov rax, qword [rbx + 0x1f00]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rbx + 0x1dd0], ecx
jmp 0x14004168d
mov rbx, qword [0x1400f4a40]
movsxd rax, dword [r13 + 0x100]
lea rcx, str.TITLEBAR
mov r8, qword [r13 + 0x108]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140025700
mov r12d, eax
movaps xmm9, xmmword [rsp + 0x150]
movaps xmm8, xmmword [rsp + 0x160]
movaps xmm7, xmmword [rsp + 0x170]
movaps xmm6, xmmword [rsp + 0x180]
cmp dword [rbx + 0x1d7c], eax
jne 0x1400416e1
mov dword [rbx + 0x1d80], eax
cmp dword [rbx + 0x1db8], r12d
jne 0x1400416f1
mov byte [rbx + 0x1dbc], 1
cmp dword [rbx + 0x1d64], r12d
jne 0x14004170e
lea r8, str.TITLEBAR
mov edx, 0xb
mov ecx, r12d
call fcn.140046200
mov eax, dword [r15 + 0x1d68]
test eax, eax
je 0x14004172b
cmp eax, r12d
je 0x14004172b
cmp dword [r15 + 0x1d7c], r12d
jne 0x1400418fa
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x80]
mov edx, r12d
call fcn.14005d570
mov rdx, qword [0x1400f4a40]
cmp dword [r15 + 0x1d68], r12d
jne 0x140041782
mov dword [r15 + 0x1de8], r12d
mov eax, dword [rdx + 0x1de8]
cmp dword [rdx + 0x1d68], eax
jne 0x140041773
mov byte [rdx + 0x1d70], 1
cmp dword [rdx + 0x1d7c], eax
jne 0x140041782
mov byte [rdx + 0x1d89], 1
cmp byte [rsp + 0x30], r14b
je 0x1400418fa
movss xmm0, dword [rdx + 0x450]
ucomiss xmm0, xmm13
jp 0x1400417a4
jne 0x1400417a4
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x50], eax
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x1400418fa
mov r9d, dword [rdi]
mov eax, r14d
test r9d, r9d
jle 0x1400418fa
mov rcx, qword [rdi + 8]
cmp dword [rcx], r8d
je 0x1400417d9
inc eax
add rcx, 0x30
cmp eax, r9d
jl 0x1400417c4
jmp 0x1400418fa
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 8]
je 0x1400418fa
mov r9, qword [rcx + 8]
test r9, r9
jne 0x1400417fd
mov r9, qword [rsi + 0x80]
mov rax, qword [rsi + 0x88]
xor r8b, r8b
test rax, rax
je 0x140041853
test byte [rax + 0xc], 4
jne 0x140041853
mov rax, qword [rsi + 0x18]
mov rcx, rsi
test rax, rax
je 0x14004182c
nop
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140041820
cmp qword [rcx + 0x98], rsi
jne 0x14004183e
cmp qword [rcx + 0x90], r14
je 0x140041853
mov eax, dword [rcx + 0x10]
shr eax, 0xa
test al, 1
movzx r8d, r8b
mov eax, 1
cmovne r8d, eax
ucomiss xmm0, xmm13
jp 0x14004185f
jne 0x14004185f
mov cl, 1
jmp 0x140041861
xor cl, cl
cmp byte [rdx + 0x128], r14b
jne 0x14004186e
xor al, al
jmp 0x140041899
movss xmm0, dword [rdx + 0x38]
movaps xmm1, xmm0
mulss xmm1, dword [0x1400d7f38]
comiss xmm13, xmm1
jbe 0x140041887
movaps xmm1, xmm0
movss xmm0, dword [rdx + 0x4a0]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test r8b, r8b
je 0x1400418e1
test al, al
je 0x1400418fa
lea rcx, [rdx + 0x3278]
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.140046eb0
jmp 0x1400418fa
test cl, cl
jne 0x1400418e9
test al, al
je 0x1400418fa
cmp qword [rdx + 0x1d48], r9
je 0x1400418fa
mov rcx, r9
call fcn.1400286d0
mov edx, dword [rdi + 0x1c]
test edx, edx
movaps xmm13, xmmword [rsp + 0x110]
cmove edx, dword [rsp + 0x50]
mov r12, qword [rsp + 0x190]
test edx, edx
je 0x140041a0b
mov r8d, dword [rdi]
mov eax, r14d
test r8d, r8d
jle 0x140041a0b
mov rcx, qword [rdi + 8]
cmp dword [rcx], edx
je 0x140041944
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x140041930
jmp 0x140041a0b
cdqe
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [rdi + 8]
je 0x140041a0b
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140041a0b
call fcn.140033b00
mov rax, qword [rbx + 8]
mov rdx, qword [0x1400f4a40]
mov ecx, dword [rax + 0xc]
bt ecx, 0x12
jae 0x14004198a
mov qword [rdx + 0x1fa0], r14
jmp 0x140041a0b
cmp rax, qword [rax + 0x380]
je 0x1400419b2
bt ecx, 0x1a
jb 0x1400419b2
mov ecx, dword [rax + 0x3b0]
test ecx, ecx
je 0x1400419b2
mov dword [rdx + 0x1fa0], ecx
mov dword [rdx + 0x1fa4], r14d
jmp 0x140041a0b
movsxd rax, dword [rdx + 0x1fd4]
xorps xmm0, xmm0
mov dword [rdx + 0x1fd4], eax
mov rcx, rax
mov rax, qword [rdx + 0x1f98]
mov qword [rdx + 0x1fa0], r14
mov dword [rax + rcx*4 + 0x3b0], r14d
add rcx, rcx
mov rax, qword [rdx + 0x1f98]
movups xmmword [rax + rcx*8 + 0x3b8], xmm0
mov word [rdx + 0x1fdd], 1
mov dword [rdx + 0x1fe0], r14d
movups xmmword [rdx + 0x1fe4], xmm0
mov byte [rdx + 0x1fdc], 1
call fcn.1400659e0
mov rax, qword [0x1400f4a40]
mov rdi, qword [rsp + 0x1e0]
mov rcx, qword [rax + 0x1d28]
dec dword [rcx + 0x100]
mov eax, dword [rsi + 0x10]
shr eax, 0xa
test al, 1
jne 0x140041ab0
movzx eax, byte [rsp + 0x48]
mov byte [r13 + 0xcc], al
mov dword [r13 + 0x15c], r14d
jmp 0x140041ab0
cmp dword [rsi + 0x30], r14d
jle 0x140041a58
mov rax, qword [rsi + 0x38]
mov r14, qword [rax]
and cl, 0xfd
mov qword [rsi + 0x88], r14
movzx eax, bl
add al, al
or cl, al
mov byte [rsi + 0xc0], cl
test bl, bl
je 0x140041a80
mov eax, dword [r15 + 0x1ca8]
mov dword [rsi + 0xac], eax
test r14, r14
je 0x140041ab0
test bl, bl
jne 0x140041a93
cmp qword [rdx + 0x88], 0
jne 0x140041a9a
mov qword [rdx + 0x88], r14
mov rdx, qword [rsi + 0x40]
test rdx, rdx
je 0x140041ab0
mov rax, qword [rsi + 0x88]
mov ecx, dword [rax + 8]
mov dword [rdx + 0x20], ecx
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140082310
add rsp, 0x198
pop r15
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret