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

Disassembly:
push rbp
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x48]
sub rsp, 0x148
mov rax, qword [0x140056040]
xor rax, rsp
mov qword [rbp - 0x50], rax
mov eax, dword [rcx + 0xa8]
mov rdi, rcx
mov r15, qword [0x140056bc0]
inc eax
movzx ecx, byte [rcx + 0xc0]
mov r13, rdx
mov dword [rsp + 0x50], eax
mov edx, dword [r15 + 0x1ca8]
mov dword [rsp + 0x70], edx
test cl, 0x20
je 0x14001e28d
mov byte [rsp + 0x30], 1
cmp eax, edx
je 0x14001e292
mov byte [rsp + 0x30], 0
xor r14d, r14d
lea r9d, [r14 + 1]
cmp dword [rdi + 0xb8], r14d
je 0x14001e2ab
mov dword [rsp + 0x54], r9d
cmp eax, edx
je 0x14001e2b0
mov dword [rsp + 0x54], r14d
and cl, 0xdf
mov dword [rdi + 0xb8], r14d
xor sil, sil
mov byte [rdi + 0xc0], cl
mov rax, qword [rdi + 0x18]
mov rdx, rdi
mov dword [rsp + 0x34], esi
mov qword [rsp + 0x58], rdx
test rax, rax
je 0x14001e2f7
nop dword [rax + rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14001e2e0
mov esi, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x58]
mov rax, qword [r15 + 0x2100]
test rax, rax
je 0x14001e310
cmp qword [rax + 0x400], rdi
sete sil
jmp 0x14001e33c
mov r8, qword [r15 + 0x1f98]
test r8, r8
je 0x14001e340
mov rax, qword [r13 + 0x390]
cmp qword [r8 + 0x398], rax
jne 0x14001e340
mov eax, dword [rdi]
cmp dword [rdx + 0xb0], eax
movzx esi, sil
cmove esi, r9d
mov dword [rsp + 0x34], esi
mov eax, dword [rdi + 0x10]
test eax, 0x3000
jne 0x14001f20e
movzx ecx, byte [r13 + 0xcc]
mov qword [rsp + 0x190], rbx
mov qword [rsp + 0x140], r12
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x120], xmm7
movaps xmmword [rsp + 0x110], xmm8
movaps xmmword [rsp + 0x100], xmm9
movaps xmmword [rsp + 0xf0], xmm10
movaps xmmword [rsp + 0xe0], xmm11
shr eax, 0xa
movaps xmmword [rsp + 0xd0], xmm12
movaps xmmword [rsp + 0xc0], xmm13
mov byte [rsp + 0x31], cl
test r9b, al
jne 0x14001e3c6
mov byte [r13 + 0xcc], r14b
mov dword [r13 + 0x15c], r9d
mov ecx, dword [rdi]
call fcn.140011a60
mov rax, qword [rdi + 0x40]
mov qword [rbp - 0x78], rax
mov rbx, rax
test rax, rax
jne 0x14001e3e9
mov rcx, rdi
call fcn.14001f2a0
mov rbx, qword [rdi + 0x40]
and byte [rdi + 0xc0], 0xfd
movzx eax, sil
add al, al
mov dword [rsp + 0x38], r14d
or byte [rdi + 0xc0], al
test dword [rdi + 0x10], 0x4000
jne 0x14001e44b
cmp dword [r15 + 0x1678], 0xffffffff
je 0x14001e44b
mov byte [rbp - 0x58], 1
call fcn.140012a20
test al, al
je 0x14001e44f
mov rdx, rbx
mov rcx, rdi
call fcn.14001e060
test eax, eax
je 0x14001e437
mov dword [rbx + 0x1c], eax
mov dword [rsp + 0x38], eax
movzx eax, byte [rdi + 0xc0]
shr al, 1
and al, 1
or sil, al
mov dword [rsp + 0x34], esi
jmp 0x14001e44f
mov byte [rbp - 0x58], r14b
mov rcx, qword [0x140056bc0]
xorps xmm13, xmm13
movss xmm2, dword [rdi + 0x48]
movss xmm5, dword [rdi + 0x4c]
movaps xmm3, xmm2
addss xmm3, dword [rdi + 0x50]
movss xmm1, dword [rcx + 0x1690]
movss xmm4, dword [rcx + 0x1a98]
addss xmm1, xmm1
movzx eax, byte [rdi + 0xc0]
movaps xmm0, xmm4
movss dword [rsp + 0x78], xmm2
addss xmm0, xmm5
movss dword [rbp - 0x80], xmm3
movss dword [rsp + 0x44], xmm5
movss dword [rsp + 0x7c], xmm5
mov qword [rsp + 0x60], r14
addss xmm1, xmm0
movss xmm0, dword [rcx + 0x1664]
subss xmm3, xmm0
movss dword [rsp + 0x4c], xmm1
movss dword [rbp - 0x7c], xmm1
movaps xmm1, xmm0
addss xmm1, xmm2
movss xmm2, dword [rcx + 0x168c]
subss xmm3, xmm2
movaps xmm6, xmm1
movss dword [rsp + 0x48], xmm3
addss xmm6, xmm2
movss dword [rsp + 0x40], xmm6
test al, 4
je 0x14001e50c
subss xmm3, xmm4
movss dword [rsp + 0x64], xmm5
movaps xmm0, xmm3
movss dword [rsp + 0x48], xmm3
subss xmm0, xmm2
movss dword [rsp + 0x60], xmm0
test al, 8
je 0x14001e560
cmp dword [rcx + 0x1678], r14d
jne 0x14001e52d
addss xmm4, dword [rcx + 0x16a4]
addss xmm4, xmm6
movss dword [rsp + 0x40], xmm4
jmp 0x14001e560
cmp dword [rcx + 0x1678], 1
jne 0x14001e560
addss xmm4, xmm2
subss xmm3, xmm4
movaps xmm0, xmm3
movss dword [rsp + 0x48], xmm3
unpcklps xmm0, xmm5
movaps xmm1, xmm0
movsd qword [rsp + 0x68], xmm0
shufps xmm1, xmm1, 0x55
movaps xmm5, xmm1
movss xmm1, dword [rsp + 0x68]
mov r12d, r14d
mov eax, dword [rbx]
movups xmm0, xmmword [rsp + 0x40]
mov dword [rsp + 0x3c], eax
movss dword [rsp + 0x68], xmm1
movups xmmword [rbp - 0x70], xmm0
movss dword [rsp + 0x6c], xmm5
cmp dword [rdi + 0x30], r14d
jle 0x14001e5f9
mov rsi, r14
nop word [rax + rax]
mov rax, qword [rdi + 0x38]
mov r9, qword [rsi + rax]
mov r8d, dword [r9 + 8]
test r8d, r8d
je 0x14001e5d1
mov edx, dword [rbx]
mov eax, r14d
test edx, edx
jle 0x14001e5d1
mov rcx, qword [rbx + 8]
nop
cmp dword [rcx], r8d
je 0x14001e5c1
inc eax
add rcx, 0x30
cmp eax, edx
jl 0x14001e5b0
jmp 0x14001e5d1
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rbx + 8]
jne 0x14001e5e1
mov r8, r9
mov edx, 0x400000
mov rcx, rbx
call fcn.140044550
inc r12d
add rsi, 8
cmp r12d, dword [rdi + 0x30]
jl 0x14001e590
mov rcx, qword [0x140056bc0]
mov esi, dword [rsp + 0x34]
test sil, sil
je 0x14001e60b
mov eax, dword [r15 + 0x1ca8]
mov dword [rdi + 0xac], eax
cmp byte [r13 + 0xca], r14b
je 0x14001e61b
mov eax, 0xc
jmp 0x14001e628
test sil, sil
mov rax, r14
setne al
add rax, 0xa
add rax, rax
movups xmm0, xmmword [rcx + rax*8 + 0x1718]
movups xmmword [rsp + 0x40], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rcx + 0x1650]
lea rcx, [rsp + 0x40]
movss dword [rsp + 0x4c], xmm0
call fcn.140002ee0
movss xmm0, dword [r13 + 0x80]
lea r8, [rbp - 0x80]
mov rcx, qword [r13 + 0x2a8]
lea rdx, [rsp + 0x78]
mov r9d, eax
mov dword [rsp + 0x28], 0x30
movss dword [rsp + 0x20], xmm0
call fcn.14002fb80
cmp byte [rbp - 0x58], r14b
je 0x14001e72e
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.140002950
mov r12d, eax
mov rax, qword [0x140056bc0]
cmp dword [rax + 0x1d7c], r12d
jne 0x14001e6c8
mov dword [rax + 0x1d80], r12d
cmp dword [rax + 0x1db8], r12d
jne 0x14001e6d8
mov byte [rax + 0x1dbc], 1
cmp dword [rax + 0x1d64], r12d
jne 0x14001e6f5
lea r8, str.COLLAPSE
mov edx, 0xb
mov ecx, r12d
call fcn.140023810
mov r8, rdi
lea rdx, [rsp + 0x68]
mov ecx, r12d
call fcn.14003c050
test al, al
je 0x14001e70e
call fcn.140012ab0
mov rax, qword [0x140056bc0]
mov ecx, dword [rax + 0x1d7c]
test ecx, ecx
je 0x14001e72e
cmp ecx, dword [rax + 0x1de8]
jne 0x14001e72e
mov eax, dword [rbx + 0x18]
mov dword [rsp + 0x38], eax
mov r9d, dword [rbx]
lea ecx, [r9 - 1]
test ecx, ecx
js 0x14001e774
movsxd rax, ecx
lea rdx, [rax + rax*2]
shl rdx, 4
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx + 8]
mov eax, dword [rdx + r8 + 4]
bt eax, 0x16
jae 0x14001e774
btr eax, 0x16
mov r9d, ecx
mov dword [rdx + r8 + 4], eax
sub rdx, 0x30
sub ecx, 1
jns 0x14001e750
mov ecx, dword [rbx]
cmp ecx, r9d
jle 0x14001e7ab
lea eax, [r9 + 1]
cmp ecx, eax
jle 0x14001e7ab
sub ecx, r9d
movsxd rax, r9d
movsxd rdx, ecx
lea r9, [0x14001e010]
mov r8d, 0x30
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 [r15 + 0x1f98]
test rax, rax
je 0x14001e7cd
mov rax, qword [rax + 0x380]
cmp qword [rax + 0x400], rdi
jne 0x14001e7cd
mov eax, dword [rax + 8]
mov dword [rbx + 0x18], eax
cmp qword [rbp - 0x78], r14
jne 0x14001e803
mov edx, dword [rdi + 0xb4]
test edx, edx
je 0x14001e803
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x14001e803
mov rcx, qword [rbx + 8]
nop dword [rax]
cmp dword [rcx], edx
je 0x14001ecf9
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14001e7f0
movsxd rax, dword [rbx]
cmp eax, dword [rsp + 0x3c]
jle 0x14001e825
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
add rcx, rcx
mov rcx, qword [rax + rcx*8 - 0x28]
mov eax, dword [rcx + 8]
mov dword [rbx + 0x1c], eax
mov dword [rbx + 0x18], eax
mov r8d, 0x500003
cmp byte [r13 + 0xca], r14b
jne 0x14001e840
test sil, sil
mov eax, 0x700003
cmovne r8d, eax
mov r9, rdi
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.140043180
movups xmm7, xmmword [r15 + 0x1718]
mov dword [rsp + 0x3c], 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 [rdi + 0x88], r14
cmp dword [rdi + 0x30], r14d
jle 0x14001ec60
movss xmm6, dword [0x14004f1c4]
mov r12, r14
mov rax, qword [rdi + 0x38]
mov rsi, qword [r12 + rax]
cmp byte [rsp + 0x30], r14b
jne 0x14001e8b8
mov eax, dword [rsp + 0x54]
cmp eax, dword [rsi + 8]
jne 0x14001e8ce
cmp byte [rsi + 0xd0], r14b
je 0x14001e8ce
test dword [rsi + 0xc], 0x100000
je 0x14001ec43
mov eax, dword [rsi + 0x268]
inc eax
cmp eax, dword [r15 + 0x1ca8]
jge 0x14001e8ed
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x50], eax
je 0x14001ec43
mov ecx, dword [rsi + 0x3e4]
xorps xmm0, xmm0
mov r8d, dword [rsi + 0x24]
mov edx, dword [rbx + 0x10]
or r8d, 1
test dword [rsi + 0xc], 0x100000
movzx eax, cl
cmove r8d, dword [rsi + 0x24]
cvtsi2ss xmm0, rax
mov eax, ecx
shr eax, 8
movzx eax, al
mulss xmm0, xmm6
movss dword [r15 + 0x1718], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
mulss xmm0, xmm6
movss dword [r15 + 0x171c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov eax, ecx
mulss xmm0, xmm6
movss dword [r15 + 0x1720], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm6
movss dword [r15 + 0x1724], xmm0
xorps xmm0, xmm0
mov ecx, dword [rsi + 0x3e8]
movzx eax, cl
cvtsi2ss xmm0, rax
mov eax, ecx
shr eax, 8
movzx eax, al
mulss xmm0, xmm6
movss dword [r15 + 0x1928], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
mulss xmm0, xmm6
movss dword [r15 + 0x192c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov eax, ecx
mulss xmm0, xmm6
movss dword [r15 + 0x1930], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm6
movss dword [r15 + 0x1934], xmm0
xorps xmm0, xmm0
mov ecx, dword [rsi + 0x3ec]
movzx eax, cl
cvtsi2ss xmm0, rax
mov eax, ecx
shr eax, 8
movzx eax, al
mulss xmm0, xmm6
movss dword [r15 + 0x1938], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov eax, ecx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
mulss xmm0, xmm6
movss dword [r15 + 0x193c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov eax, ecx
mulss xmm0, xmm6
movss dword [r15 + 0x1940], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm6
movss dword [r15 + 0x1944], xmm0
xorps xmm0, xmm0
mov ecx, dword [rsi + 0x3f0]
movzx eax, cl
cvtsi2ss xmm0, rax
mov eax, ecx
shr eax, 8
movzx eax, al
mulss xmm0, xmm6
movss dword [r15 + 0x1948], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
mulss xmm0, xmm6
movss dword [r15 + 0x194c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov eax, ecx
mulss xmm0, xmm6
movss dword [r15 + 0x1950], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm6
movss dword [r15 + 0x1954], xmm0
xorps xmm0, xmm0
mov ecx, dword [rsi + 0x3f4]
movzx eax, cl
cvtsi2ss xmm0, rax
mov eax, ecx
shr eax, 8
movzx eax, al
mulss xmm0, xmm6
movss dword [r15 + 0x1958], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
mulss xmm0, xmm6
movss dword [r15 + 0x195c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov eax, ecx
mulss xmm0, xmm6
movss dword [r15 + 0x1960], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm6
movss dword [r15 + 0x1964], xmm0
xorps xmm0, xmm0
mov ecx, dword [rsi + 0x3f8]
movzx eax, cl
cvtsi2ss xmm0, rax
mov eax, ecx
shr eax, 8
movzx eax, al
mulss xmm0, xmm6
movss dword [r15 + 0x1968], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov eax, ecx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
mulss xmm0, xmm6
movss dword [r15 + 0x196c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov eax, ecx
mulss xmm0, xmm6
movss dword [r15 + 0x1970], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm6
movss dword [r15 + 0x1974], xmm0
mov byte [rbp - 0x58], 1
mov r9d, r8d
mov qword [rsp + 0x20], rsi
or r9d, 4
mov rcx, rbx
test dl, 8
mov rdx, qword [rsi]
cmove r9d, r8d
cmp byte [rsi + 0xd0], r14b
lea r8, [rbp - 0x58]
cmove r8, r14
call fcn.140044e70
cmp byte [rbp - 0x58], r14b
jne 0x14001ebf0
mov eax, dword [rsi + 8]
mov dword [rdi + 0xb8], eax
mov eax, dword [rsi + 8]
cmp dword [rbx + 0x20], eax
jne 0x14001ebff
mov qword [rdi + 0x88], rsi
mov eax, dword [r15 + 0x1df0]
mov dword [rsi + 0x414], eax
movups xmm0, xmmword [r15 + 0x1df4]
movups xmmword [rsi + 0x418], xmm0
mov rax, qword [r15 + 0x1f98]
test rax, rax
je 0x14001ec43
cmp qword [rax + 0x380], rsi
jne 0x14001ec43
test byte [rsi + 0x160], 2
jne 0x14001ec43
mov eax, dword [rsi + 8]
mov dword [r13 + 0x3b4], eax
mov eax, dword [rsp + 0x3c]
add r12, 8
inc eax
mov dword [rsp + 0x3c], eax
cmp eax, dword [rdi + 0x30]
jl 0x14001e8a0
mov esi, dword [rsp + 0x34]
nop
movups xmmword [r15 + 0x1718], xmm7
movups xmmword [r15 + 0x1928], xmm8
movups xmmword [r15 + 0x1938], xmm9
movups xmmword [r15 + 0x1948], xmm10
movaps xmm10, xmmword [rsp + 0xf0]
movups xmmword [r15 + 0x1958], xmm11
movaps xmm11, xmmword [rsp + 0xe0]
movups xmmword [r15 + 0x1968], xmm12
mov rcx, qword [rdi + 0x88]
movaps xmm12, xmmword [rsp + 0xd0]
test rcx, rcx
je 0x14001ecd1
mov rax, qword [rsp + 0x58]
test sil, sil
jne 0x14001ecca
cmp qword [rax + 0x88], r14
jne 0x14001ecd1
mov qword [rax + 0x88], rcx
movzx eax, byte [rdi + 0xc0]
and al, 4
je 0x14001ed18
mov rcx, qword [rdi + 0x88]
test rcx, rcx
je 0x14001ed18
cmp byte [rcx + 0xd0], r14b
je 0x14001ed18
mov r12b, 1
jmp 0x14001ee0d
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rbx + 8]
je 0x14001e803
mov dword [rbx + 0x1c], edx
mov dword [rbx + 0x18], edx
jmp 0x14001e825
test al, al
je 0x14001ef27
mov rsi, qword [0x140056bc0]
mov eax, dword [rsi + 0x1dd0]
lea r12, [rsi + 0x1ef8]
or eax, 4
mov dword [rsi + 0x1dd0], eax
mov ecx, dword [r12 + 4]
mov r8d, dword [r12]
mov dword [rsp + 0x50], eax
cmp r8d, ecx
jne 0x14001ed7f
inc r8d
test ecx, ecx
je 0x14001ed61
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14001ed66
mov eax, 8
cmp eax, r8d
mov rcx, r12
cmovg r8d, eax
mov edx, r8d
call fcn.1400249b0
mov rsi, qword [0x140056bc0]
movsxd rcx, dword [r12]
mov rax, qword [r12 + 8]
mov edx, dword [rsp + 0x50]
mov dword [rbp - 0x70], r14d
mov dword [rax + rcx*4], edx
lea rcx, [rsi + 0x1eb8]
inc dword [r12]
lea rdx, [rbp - 0x70]
movups xmm0, xmmword [rsi + 0x1718]
movss xmm8, dword [r15 + 0x1724]
movss xmm9, dword [r15 + 0x1718]
movss xmm6, dword [r15 + 0x171c]
movss xmm7, dword [r15 + 0x1720]
mulss xmm8, dword [0x14004f1f8]
movups xmmword [rbp - 0x6c], xmm0
call fcn.140024310
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 [rsi + 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.140002950
mov esi, eax
mov rax, qword [0x140056bc0]
cmp dword [rax + 0x1d7c], esi
jne 0x14001ee45
mov dword [rax + 0x1d80], esi
cmp dword [rax + 0x1db8], esi
jne 0x14001ee54
mov byte [rax + 0x1dbc], 1
cmp dword [rax + 0x1d64], esi
jne 0x14001ee6f
lea r8, str.CLOSE
mov edx, 0xb
mov ecx, esi
call fcn.140023810
lea rdx, [rsp + 0x60]
mov ecx, esi
call fcn.14003bc80
test al, al
je 0x14001eecb
or byte [rdi + 0xc0], 0x20
mov r8d, r14d
cmp dword [rbx], r14d
jle 0x14001eecb
mov rcx, r14
mov rdx, qword [rbx + 8]
test byte [rcx + rdx + 4], 1
mov eax, dword [rcx + rdx]
jne 0x14001eeb7
mov byte [rcx + rdx + 0x2c], 1
cmp dword [rbx + 0x20], eax
jne 0x14001eebf
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rbx + 0x18], r14
jmp 0x14001eebf
cmp dword [rbx + 0x20], eax
je 0x14001eebf
mov dword [rbx + 0x1c], eax
inc r8d
add rcx, 0x30
cmp r8d, dword [rbx]
jl 0x14001ee91
test r12b, r12b
jne 0x14001ef27
mov rsi, qword [0x140056bc0]
mov rcx, qword [rsi + 0x1ec0]
movsxd rax, dword [rsi + 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 [rsi + rax*8 + 0x1718], xmm0
dec dword [rsi + 0x1eb8]
movsxd rcx, dword [rsi + 0x1ef8]
lea eax, [rcx - 1]
mov dword [rsi + 0x1ef8], eax
mov rax, qword [rsi + 0x1f00]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rsi + 0x1dd0], ecx
jmp 0x14001ef2e
mov rsi, qword [0x140056bc0]
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.140002950
mov r12d, eax
movaps xmm9, xmmword [rsp + 0x100]
movaps xmm8, xmmword [rsp + 0x110]
movaps xmm7, xmmword [rsp + 0x120]
movaps xmm6, xmmword [rsp + 0x130]
cmp dword [rsi + 0x1d7c], eax
jne 0x14001ef82
mov dword [rsi + 0x1d80], eax
cmp dword [rsi + 0x1db8], r12d
jne 0x14001ef92
mov byte [rsi + 0x1dbc], 1
cmp dword [rsi + 0x1d64], r12d
jne 0x14001efaf
lea r8, str.TITLEBAR
mov edx, 0xb
mov ecx, r12d
call fcn.140023810
mov eax, dword [r15 + 0x1d68]
test eax, eax
je 0x14001efcc
cmp eax, r12d
je 0x14001efcc
cmp dword [r15 + 0x1d7c], r12d
jne 0x14001f094
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rsp + 0x78]
mov edx, r12d
call fcn.14003adc0
mov rax, qword [0x140056bc0]
cmp dword [r15 + 0x1d68], r12d
jne 0x14001f024
mov dword [r15 + 0x1de8], r12d
mov ecx, dword [rax + 0x1de8]
cmp dword [rax + 0x1d68], ecx
jne 0x14001f015
mov byte [rax + 0x1d70], 1
cmp dword [rax + 0x1d7c], ecx
jne 0x14001f024
mov byte [rax + 0x1d89], 1
cmp byte [rsp + 0x30], r14b
je 0x14001f094
movss xmm0, dword [rax + 0x450]
ucomiss xmm0, xmm13
jp 0x14001f042
jne 0x14001f042
mov eax, dword [rbx + 0x18]
mov dword [rsp + 0x38], eax
mov edx, dword [rbx + 0x18]
test edx, edx
je 0x14001f094
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x14001f094
mov rcx, qword [rbx + 8]
cmp dword [rcx], edx
je 0x14001f069
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14001f058
jmp 0x14001f094
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rbx + 8]
je 0x14001f094
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x14001f089
mov rcx, qword [rdi + 0x80]
xor r8d, r8d
mov rdx, rdi
call fcn.140005c10
mov edx, dword [rbx + 0x1c]
test edx, edx
movaps xmm13, xmmword [rsp + 0xc0]
cmove edx, dword [rsp + 0x38]
mov r12, qword [rsp + 0x140]
test edx, edx
je 0x14001f1ce
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x14001f1ce
mov rcx, qword [rbx + 8]
nop word [rax + rax]
cmp dword [rcx], edx
je 0x14001f0e4
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14001f0d0
jmp 0x14001f1ce
cdqe
lea rsi, [rax + rax*2]
shl rsi, 4
add rsi, qword [rbx + 8]
je 0x14001f1ce
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14001f1ce
call fcn.1400112d0
mov rax, qword [rsi + 8]
mov rdx, qword [0x140056bc0]
mov ecx, dword [rax + 0xc]
bt ecx, 0x12
jae 0x14001f12a
mov qword [rdx + 0x1fa0], r14
jmp 0x14001f1ce
cmp rax, qword [rax + 0x380]
je 0x14001f152
bt ecx, 0x1a
jb 0x14001f152
mov ecx, dword [rax + 0x3b0]
test ecx, ecx
je 0x14001f152
mov dword [rdx + 0x1fa0], ecx
mov dword [rdx + 0x1fa4], r14d
jmp 0x14001f1ce
movsxd rax, dword [rdx + 0x1fd4]
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]
mov qword [rax + rcx*8 + 0x3b8], r14
mov qword [rax + rcx*8 + 0x3c0], r14
mov word [rdx + 0x1fdd], 1
mov qword [rdx + 0x1fe0], r14
mov qword [rdx + 0x1fe8], r14
mov dword [rdx + 0x1ff0], r14d
cmp byte [rdx + 0x1ff5], r14b
jne 0x14001f1c6
cmp byte [rdx + 0x1fdd], r14b
jne 0x14001f1c6
xor al, al
jmp 0x14001f1c8
mov al, 1
mov byte [rdx + 0x1fdc], al
call fcn.140043590
mov rax, qword [0x140056bc0]
mov rbx, qword [rsp + 0x190]
mov rcx, qword [rax + 0x1d28]
dec dword [rcx + 0x100]
mov eax, dword [rdi + 0x10]
shr eax, 0xa
test al, 1
jne 0x14001f276
movzx eax, byte [rsp + 0x31]
mov byte [r13 + 0xcc], al
mov dword [r13 + 0x15c], r14d
jmp 0x14001f276
cmp dword [rdi + 0x30], r14d
jle 0x14001f21b
mov rax, qword [rdi + 0x38]
mov r14, qword [rax]
and cl, 0xfd
mov qword [rdi + 0x88], r14
movzx eax, sil
add al, al
or cl, al
mov byte [rdi + 0xc0], cl
test sil, sil
je 0x14001f245
mov eax, dword [r15 + 0x1ca8]
mov dword [rdi + 0xac], eax
test r14, r14
je 0x14001f276
test sil, sil
jne 0x14001f259
cmp qword [rdx + 0x88], 0
jne 0x14001f260
mov qword [rdx + 0x88], r14
mov rdx, qword [rdi + 0x40]
test rdx, rdx
je 0x14001f276
mov rax, qword [rdi + 0x88]
mov ecx, dword [rax + 8]
mov dword [rdx + 0x20], ecx
mov rcx, qword [rbp - 0x50]
xor rcx, rsp
call fcn.1400488d0
add rsp, 0x148
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret