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

Disassembly:
push rbp
push rsi
push r12
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x1400ae040]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r15, qword [0x140211408]
mov rsi, rcx
mov eax, dword [rcx + 0xb0]
mov r9, rdx
movzx ecx, byte [rcx + 0xc8]
inc eax
mov qword [rsp + 0x50], rdx
mov edx, dword [r15 + 0x3f68]
mov dword [rsp + 0x6c], edx
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x3c], eax
test cl, 0x40
je 0x140054349
mov byte [rsp + 0x30], 1
cmp eax, edx
je 0x14005434e
mov byte [rsp + 0x30], 0
xor r14d, r14d
lea r10d, [r14 + 1]
cmp dword [rsi + 0xc0], r14d
je 0x140054367
mov dword [rsp + 0x48], r10d
cmp eax, edx
je 0x14005436c
mov dword [rsp + 0x48], r14d
and cl, 0xbf
mov dword [rsi + 0xc0], r14d
xor r12b, r12b
mov byte [rsi + 0xc8], cl
mov rax, qword [rsi + 0x18]
mov r8, rsi
mov dword [rsp + 0x34], r12d
mov qword [rsp + 0x58], rsi
test rax, rax
je 0x1400543b8
nop word [rax + rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x1400543a0
mov r12d, dword [rsp + 0x34]
mov r8, qword [rsp + 0x58]
mov rax, qword [r15 + 0x43d8]
test rax, rax
je 0x1400543d1
cmp qword [rax + 0x420], rsi
sete r12b
jmp 0x1400543fe
mov rdx, qword [r15 + 0x4270]
test rdx, rdx
je 0x140054403
mov rax, qword [r9 + 0x3b0]
cmp qword [rdx + 0x3b8], rax
jne 0x140054403
mov eax, dword [rsi]
cmp dword [r8 + 0xb8], eax
movzx r12d, r12b
cmove r12d, r10d
mov dword [rsp + 0x34], r12d
mov eax, dword [rsi + 0x10]
test eax, 0x3000
jne 0x1400553ba
movzx ecx, byte [r9 + 0xd0]
mov qword [rsp + 0x230], rbx
mov qword [rsp + 0x1e8], rdi
mov qword [rsp + 0x1e0], r13
movaps xmmword [rsp + 0x1d0], xmm6
movaps xmmword [rsp + 0x1c0], xmm7
movaps xmmword [rsp + 0x1b0], xmm8
movaps xmmword [rsp + 0x1a0], xmm9
shr eax, 0xa
movaps xmmword [rsp + 0x190], xmm10
movaps xmmword [rsp + 0x180], xmm11
mov byte [rsp + 0x38], cl
test r10b, al
jne 0x14005447f
mov byte [r9 + 0xd0], r14b
mov dword [r9 + 0x170], r10d
mov ecx, dword [rsi]
mov rbx, qword [r15 + 0x3fe8]
mov dword [rbp - 0x20], ecx
cmp dword [r15 + 0x4024], ecx
jne 0x1400544a0
xor r8d, r8d
lea edx, [r8 + 0xd]
call fcn.14005a030
lea rcx, [rbx + 0x108]
lea rdx, [rbp - 0x20]
call fcn.14005aa90
mov rax, qword [rsi + 0x40]
mov ebx, 0xffffffff
mov qword [rbp - 0x40], rax
mov rdi, rax
test rax, rax
jne 0x140054556
mov rax, qword [0x140211408]
test rax, rax
je 0x1400544db
inc dword [rax + 0xf4]
mov ecx, 0x98
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14005454f
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], bx
jmp 0x140054552
mov rdi, r14
mov qword [rsi + 0x40], rdi
and byte [rsi + 0xc8], 0xfd
movzx eax, r12b
add al, al
mov dword [rbp - 0x20], r14d
or byte [rsi + 0xc8], al
test dword [rsi + 0x10], 0x4000
jne 0x1400545b6
cmp dword [r15 + 0x3930], ebx
je 0x1400545b6
mov r13b, 1
call fcn.140048780
test al, al
je 0x1400545b9
mov rdx, rdi
mov rcx, rsi
call fcn.140054110
test eax, eax
je 0x1400545a0
mov dword [rdi + 0x1c], eax
mov dword [rbp - 0x20], eax
movzx eax, byte [rsi + 0xc8]
shr al, 1
and al, r13b
or r12b, al
mov dword [rsp + 0x34], r12d
jmp 0x1400545b9
xor r13b, r13b
mov r10, qword [0x140211408]
xorps xmm11, xmm11
movss xmm7, dword [rsi + 0x4c]
movss xmm10, dword [rsi + 0x48]
movaps xmm6, xmm7
movzx eax, byte [rsi + 0xc8]
movaps xmm9, xmm10
movss xmm4, dword [r10 + 0x3944]
movss xmm2, dword [r10 + 0x3d58]
movss xmm8, dword [r10 + 0x3948]
movaps xmm0, xmm2
movss dword [rbp - 0x34], xmm7
addss xmm0, xmm7
movss dword [rbp - 0x18], xmm10
addss xmm8, xmm8
movss dword [rbp - 0x14], xmm7
mov qword [rsp + 0x60], r14
addss xmm9, dword [rsi + 0x50]
addss xmm8, xmm0
movss xmm0, dword [r10 + 0x391c]
movaps xmm3, xmm0
addss xmm3, xmm10
movss dword [rbp - 0x10], xmm9
movaps xmm1, xmm9
subss xmm1, xmm0
movss dword [rbp - 0x2c], xmm8
movss dword [rbp - 0xc], xmm8
movaps xmm5, xmm3
addss xmm5, xmm4
subss xmm1, xmm4
movss dword [rbp - 0x38], xmm5
movss dword [rbp - 0x30], xmm1
test al, 8
je 0x140054684
subss xmm1, xmm2
movss dword [rsp + 0x64], xmm7
movaps xmm0, xmm1
movss dword [rbp - 0x30], xmm1
subss xmm0, xmm4
movss dword [rsp + 0x60], xmm0
test al, 0x10
je 0x1400546d8
cmp dword [r10 + 0x3930], r14d
jne 0x1400546a5
addss xmm2, dword [r10 + 0x395c]
addss xmm2, xmm5
movss dword [rbp - 0x38], xmm2
jmp 0x1400546d8
cmp dword [r10 + 0x3930], 1
jne 0x1400546d8
addss xmm2, xmm4
subss xmm1, xmm2
movaps xmm0, xmm1
movss dword [rbp - 0x30], xmm1
unpcklps xmm0, xmm7
movaps xmm1, xmm0
movsd qword [rsp + 0x40], xmm0
movss xmm3, dword [rsp + 0x40]
shufps xmm1, xmm1, 0x55
movaps xmm6, xmm1
mov r12d, r14d
mov eax, dword [rdi]
mov r11d, 0x400000
movss dword [rsp + 0x40], xmm3
movups xmm0, xmmword [rbp - 0x38]
mov dword [rsp + 0x68], eax
movss dword [rsp + 0x44], xmm6
movups xmmword [rbp - 8], xmm0
cmp dword [rsi + 0x30], r14d
jle 0x1400547cb
mov rbx, r14
mov r15d, 0xffffffff
nop
mov rax, qword [rsi + 0x38]
mov r9, qword [rbx + rax]
mov r8d, dword [r9 + 0x90]
test r8d, r8d
je 0x140054752
mov edx, dword [rdi]
mov eax, r14d
test edx, edx
jle 0x140054752
mov rcx, qword [rdi + 8]
cmp dword [rcx], r8d
je 0x140054742
inc eax
add rcx, 0x30
cmp eax, edx
jl 0x140054731
jmp 0x140054752
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 8]
jne 0x1400547b5
cmp byte [r9 + 0xd5], r14b
mov eax, 0x500000
mov qword [rbp - 0x68], r14
cmovne eax, r11d
mov dword [rbp - 0x60], r14d
mov dword [rbp - 0x7c], eax
mov eax, dword [rdi + 0x24]
mov dword [rbp - 0x54], r14d
mov dword [rbp - 0x6c], r15d
mov qword [rbp - 0x5c], 0xffffffffffffffff
mov dword [rbp - 0x80], r8d
mov dword [rbp - 0x70], eax
cmp eax, r15d
jne 0x140054798
mov eax, dword [r10 + 0x3f68]
dec eax
mov dword [rbp - 0x70], eax
lea rdx, [rbp - 0x80]
mov qword [rbp - 0x78], r9
mov rcx, rdi
call fcn.14008b8b0
mov r10, qword [0x140211408]
mov r11d, 0x400000
inc r12d
add rbx, 8
cmp r12d, dword [rsi + 0x30]
jl 0x140054710
mov r15, qword [rsp + 0x70]
mov ebx, dword [rsp + 0x34]
test bl, bl
je 0x1400547e0
mov eax, dword [r15 + 0x3f68]
mov dword [rsi + 0xb4], eax
mov r12, qword [rsp + 0x50]
cmp byte [r12 + 0xce], r14b
je 0x1400547f6
mov eax, 0xc
jmp 0x140054802
test bl, bl
mov rax, r14
setne al
add rax, 0xa
add rax, rax
lea rcx, [rbp - 0x38]
movups xmm0, xmmword [r10 + rax*8 + 0x39d4]
movups xmmword [rbp - 0x38], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r10 + 0x3908]
movss dword [rbp - 0x2c], xmm0
call fcn.140036050
movss xmm2, dword [0x14009f878]
mov r10d, eax
movss xmm1, dword [r12 + 0x48]
movss xmm3, dword [r12 + 0x4c]
movaps xmm0, xmm1
addss xmm1, dword [r12 + 0x50]
addss xmm0, xmm2
subss xmm1, xmm2
comiss xmm0, xmm10
movaps xmm10, xmmword [rsp + 0x190]
movaps xmm0, xmm3
addss xmm3, dword [r12 + 0x54]
setae cl
addss xmm0, xmm2
comiss xmm9, xmm1
subss xmm3, xmm2
setae r9b
comiss xmm0, xmm7
setae dl
comiss xmm8, xmm3
setae al
test dl, dl
je 0x14005489f
test cl, cl
je 0x14005489f
mov r8d, 0x10
jmp 0x1400548a6
mov r8d, r14d
test dl, dl
je 0x1400548b0
mov edx, 0x20
test r9b, r9b
jne 0x1400548b3
mov edx, r14d
test al, al
je 0x1400548c2
test cl, cl
je 0x1400548c2
mov ecx, 0x140
jmp 0x1400548cb
mov ecx, pe_nt_image_headers64
test al, al
je 0x1400548d5
mov eax, 0x80
test r9b, r9b
jne 0x1400548d8
mov eax, r14d
movss xmm0, dword [r12 + 0x80]
or eax, edx
or eax, r8d
lea rdx, [rbp - 0x18]
or eax, ecx
lea r8, [rbp - 0x10]
mov rcx, qword [r12 + 0x2c0]
mov r9d, r10d
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm0
call fcn.140066ae0
test r13b, r13b
je 0x1400549ed
movsxd rax, dword [r12 + 0x108]
lea rcx, str.COLLAPSE
mov r8, qword [r12 + 0x110]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140035ac0
mov rcx, qword [0x140211408]
mov ebx, eax
cmp dword [rcx + 0x4024], eax
jne 0x14005495b
lea r8, str.COLLAPSE
mov edx, 0xb
mov ecx, eax
call fcn.14005a030
mov r8, rsi
lea rdx, [rsp + 0x40]
mov ecx, ebx
call fcn.1400774e0
test al, al
je 0x1400549ca
mov rbx, qword [0x140211408]
lea rcx, str.WindowMenu
xor edx, edx
mov r8, qword [rbx + 0x3fe8]
movsxd rax, dword [r8 + 0x108]
mov r8, qword [r8 + 0x110]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140035ac0
mov r12d, eax
cmp dword [rbx + 0x4024], eax
jne 0x1400549bb
lea r8, str.WindowMenu
mov edx, 0xb
mov ecx, eax
call fcn.14005a030
xor edx, edx
mov ecx, r12d
call fcn.1400487f0
mov r12, qword [rsp + 0x50]
mov rax, qword [0x140211408]
mov ebx, dword [rsp + 0x34]
mov ecx, dword [rax + 0x403c]
test ecx, ecx
je 0x1400549ed
cmp ecx, dword [rax + 0x40b8]
jne 0x1400549ed
mov eax, dword [rdi + 0x18]
mov dword [rbp - 0x20], eax
mov r9d, dword [rdi]
lea ecx, [r9 - 1]
test ecx, ecx
js 0x140054a34
movsxd rax, ecx
lea rdx, [rax + rax*2]
shl rdx, 4
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rdi + 8]
mov eax, dword [rdx + r8 + 4]
bt eax, 0x16
jae 0x140054a34
btr eax, 0x16
mov r9d, ecx
mov dword [rdx + r8 + 4], eax
sub rdx, 0x30
sub ecx, 1
jns 0x140054a10
mov ecx, dword [rdi]
cmp ecx, r9d
jle 0x140054a71
lea eax, [r9 + 1]
cmp ecx, eax
jle 0x140054a71
sub ecx, r9d
movsxd rdx, ecx
cmp rdx, 1
jbe 0x140054a71
movsxd rax, r9d
mov r8d, 0x30
lea r9, [0x1400540c0]
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 8]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov rax, qword [r15 + 0x4270]
test rax, rax
je 0x140054a93
mov rax, qword [rax + 0x3a0]
cmp qword [rax + 0x420], rsi
jne 0x140054a93
mov eax, dword [rax + 8]
mov dword [rdi + 0x18], eax
cmp qword [rbp - 0x40], r14
jne 0x140054ac5
mov edx, dword [rsi + 0xbc]
test edx, edx
je 0x140054ac5
mov r8d, dword [rdi]
mov eax, r14d
test r8d, r8d
jle 0x140054ac5
mov rcx, qword [rdi + 8]
cmp dword [rcx], edx
je 0x140054d3a
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x140054ab2
movsxd rax, dword [rdi]
cmp eax, dword [rsp + 0x68]
jle 0x140054aea
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 [r12 + 0xce], r14b
jne 0x140054b05
test bl, bl
mov eax, 0x700003
cmovne r8d, eax
mov r9, rsi
lea rdx, [rbp - 8]
mov rcx, rdi
call fcn.140088240
mov r13d, r14d
movups xmm0, xmmword [r15 + 0x3be4]
movups xmm1, xmmword [r15 + 0x3bf4]
movups xmm2, xmmword [r15 + 0x39d4]
movaps xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [r15 + 0x3c04]
movaps xmmword [rbp + 0x30], xmm1
movups xmm1, xmmword [r15 + 0x3c14]
movaps xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [r15 + 0x3c24]
mov qword [rsi + 0x90], r14
movaps xmmword [rbp + 0x10], xmm2
movaps xmmword [rbp + 0x60], xmm0
movaps xmmword [rbp + 0x50], xmm1
cmp dword [rsi + 0x30], r14d
jle 0x140054d80
movss xmm6, dword [0x14009f7b0]
lea r11, [0x14009a290]
mov r12, r14
lea r10, [0x14009a2a8]
nop dword [rax]
mov rax, qword [rsi + 0x38]
mov rbx, qword [r12 + rax]
cmp byte [rsp + 0x30], r14b
jne 0x140054bab
mov eax, dword [rsp + 0x48]
cmp eax, dword [rbx + 0x90]
jne 0x140054bc1
cmp byte [rbx + 0xd5], r14b
je 0x140054bc1
test dword [rbx + 0xc], 0x100000
je 0x140054d67
mov eax, dword [rbx + 0x280]
inc eax
cmp eax, dword [r15 + 0x3f68]
jge 0x140054be0
mov eax, dword [rsp + 0x6c]
cmp dword [rsp + 0x3c], eax
je 0x140054d67
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 [rdi + 0x10], 8
cmove r9d, edx
mov rdx, r11
sub r8, r11
nop dword [rax]
mov ecx, dword [rdx + r8 + 0x404]
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 [r15 + rax*8 + 0x39d4], xmm3
cmp rdx, r10
jl 0x140054c10
cmp byte [rbx + 0xd5], r14b
lea r8, [rbp - 0x28]
mov rdx, qword [rbx]
mov rcx, rdi
cmove r8, r14
mov byte [rbp - 0x28], 1
mov qword [rsp + 0x20], rbx
call fcn.140089dd0
cmp byte [rbp - 0x28], r14b
jne 0x140054ccd
mov eax, dword [rbx + 0x90]
mov dword [rsi + 0xc0], eax
mov eax, dword [rbx + 0x90]
cmp dword [rdi + 0x20], eax
jne 0x140054cdf
mov qword [rsi + 0x90], rbx
mov eax, dword [r15 + 0x40c0]
mov dword [rbx + 0x434], eax
movups xmm0, xmmword [r15 + 0x40c4]
movups xmmword [rbx + 0x438], xmm0
mov rax, qword [r15 + 0x4270]
test rax, rax
je 0x140054d59
cmp qword [rax + 0x3a0], rbx
jne 0x140054d59
test byte [rbx + 0x174], 2
lea r10, [0x14009a2a8]
lea r11, [0x14009a290]
jne 0x140054d67
mov rcx, qword [rsp + 0x50]
mov eax, dword [rbx + 0x90]
mov dword [rcx + 0x3d4], eax
jmp 0x140054d67
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 8]
je 0x140054ac5
mov dword [rdi + 0x1c], edx
mov dword [rdi + 0x18], edx
jmp 0x140054aea
lea r11, [0x14009a290]
lea r10, [0x14009a2a8]
inc r13d
add r12, 8
cmp r13d, dword [rsi + 0x30]
jl 0x140054b90
movaps xmm2, xmmword [rbp + 0x10]
nop dword [rax]
movaps xmm0, xmmword [rbp + 0x20]
movaps xmm1, xmmword [rbp + 0x30]
movups xmmword [r15 + 0x39d4], xmm2
movups xmmword [r15 + 0x3be4], xmm0
movaps xmm0, xmmword [rbp + 0x40]
movups xmmword [r15 + 0x3bf4], xmm1
movaps xmm1, xmmword [rbp + 0x50]
movups xmmword [r15 + 0x3c04], xmm0
movaps xmm0, xmmword [rbp + 0x60]
movups xmmword [r15 + 0x3c14], xmm1
movups xmmword [r15 + 0x3c24], xmm0
mov rax, qword [rsi + 0x90]
test rax, rax
je 0x140054dec
mov rcx, qword [rsp + 0x58]
cmp byte [rsp + 0x34], r14b
jne 0x140054de5
cmp qword [rcx + 0x90], r14
jne 0x140054dec
mov qword [rcx + 0x90], rax
movzx eax, byte [rsi + 0xc8]
and al, 8
je 0x140054e14
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x140054e14
cmp byte [rcx + 0xd5], r14b
je 0x140054e14
mov r12b, 1
jmp 0x140054ec8
test al, al
je 0x140054fd6
mov rcx, qword [0x140211408]
lea rdx, [rsp + 0x3c]
mov eax, dword [rcx + 0x40a0]
or eax, 4
mov dword [rcx + 0x40a0], eax
add rcx, 0x41c8
mov dword [rsp + 0x3c], eax
call fcn.14005aa90
mov rbx, qword [0x140211408]
lea rdx, [rbp - 8]
movss xmm8, dword [r15 + 0x39e0]
movss xmm9, dword [r15 + 0x39d4]
movss xmm6, dword [r15 + 0x39d8]
movups xmm0, xmmword [rbx + 0x39d4]
lea rcx, [rbx + 0x4188]
mov dword [rbp - 8], r14d
movss xmm7, dword [r15 + 0x39dc]
mulss xmm8, dword [0x14009f7f0]
movups xmmword [rbp - 4], xmm0
call fcn.14005ac50
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 + 0x39d4], xmm9
mov r13, qword [rsp + 0x50]
lea rcx, str.CLOSE
xor edx, edx
movsxd rax, dword [r13 + 0x108]
mov r8, qword [r13 + 0x110]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140035ac0
mov rcx, qword [0x140211408]
mov ebx, eax
cmp dword [rcx + 0x4024], eax
jne 0x140054f12
lea r8, str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.14005a030
lea rdx, [rsp + 0x60]
mov ecx, ebx
call fcn.140077110
test al, al
je 0x140054f7a
or byte [rsi + 0xc8], 0x40
mov r8d, r14d
cmp dword [rdi], r14d
jle 0x140054f7a
mov rcx, r14
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rdi + 8]
test byte [rcx + rdx + 4], 1
mov eax, dword [rcx + rdx]
jne 0x140054f66
mov byte [rcx + rdx + 0x2c], 1
cmp dword [rdi + 0x20], eax
jne 0x140054f6e
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rdi + 0x18], r14
jmp 0x140054f6e
cmp dword [rdi + 0x20], eax
je 0x140054f6e
mov dword [rdi + 0x1c], eax
inc r8d
add rcx, 0x30
cmp r8d, dword [rdi]
jl 0x140054f40
test r12b, r12b
jne 0x140054fdb
mov rbx, qword [0x140211408]
mov rcx, qword [rbx + 0x4190]
movsxd rax, dword [rbx + 0x4188]
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 + 0x39d4], xmm0
dec dword [rbx + 0x4188]
movsxd rcx, dword [rbx + 0x41c8]
lea eax, [rcx - 1]
mov dword [rbx + 0x41c8], eax
mov rax, qword [rbx + 0x41d0]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rbx + 0x40a0], ecx
jmp 0x140054fe2
mov r13, qword [rsp + 0x50]
mov rbx, qword [0x140211408]
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.140035ac0
mov r12d, eax
movaps xmm9, xmmword [rsp + 0x1a0]
movaps xmm8, xmmword [rsp + 0x1b0]
movaps xmm7, xmmword [rsp + 0x1c0]
movaps xmm6, xmmword [rsp + 0x1d0]
cmp dword [rbx + 0x4024], eax
jne 0x140055043
lea r8, str.TITLEBAR
mov edx, 0xb
mov ecx, eax
call fcn.14005a030
mov eax, dword [r15 + 0x4028]
test eax, eax
je 0x140055060
cmp eax, r12d
je 0x140055060
cmp dword [r15 + 0x403c], r12d
jne 0x14005522a
lea r9, [rbp - 0x28]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x18]
mov edx, r12d
call fcn.1400762e0
mov rdx, qword [0x140211408]
cmp dword [r15 + 0x4028], r12d
jne 0x1400550b6
mov dword [r15 + 0x40b8], r12d
mov eax, dword [rdx + 0x40b8]
cmp dword [rdx + 0x4028], eax
jne 0x1400550a7
mov byte [rdx + 0x4030], 1
cmp dword [rdx + 0x403c], eax
jne 0x1400550b6
mov byte [rdx + 0x4049], 1
cmp byte [rbp - 0x28], r14b
je 0x14005522a
movss xmm0, dword [rdx + 0x36f0]
ucomiss xmm0, xmm11
jp 0x1400550d6
jne 0x1400550d6
mov eax, dword [rdi + 0x18]
mov dword [rbp - 0x20], eax
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x14005522a
mov r9d, dword [rdi]
mov eax, r14d
test r9d, r9d
jle 0x14005522a
mov rcx, qword [rdi + 8]
cmp dword [rcx], r8d
je 0x14005510b
inc eax
add rcx, 0x30
cmp eax, r9d
jl 0x1400550f6
jmp 0x14005522a
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 8]
je 0x14005522a
mov r9, qword [rcx + 8]
test r9, r9
jne 0x14005512f
mov r9, qword [rsi + 0x88]
mov rax, qword [rsi + 0x90]
xor r8b, r8b
test rax, rax
je 0x140055183
test byte [rax + 0xc], 4
jne 0x140055183
mov rax, qword [rsi + 0x18]
mov rcx, rsi
test rax, rax
je 0x14005515c
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140055150
cmp qword [rcx + 0xa0], rsi
jne 0x14005516e
cmp qword [rcx + 0x98], r14
je 0x140055183
mov eax, dword [rcx + 0x10]
shr eax, 0xa
test al, 1
movzx r8d, r8b
mov eax, 1
cmovne r8d, eax
ucomiss xmm0, xmm11
jp 0x14005518f
jne 0x14005518f
mov cl, 1
jmp 0x140055191
xor cl, cl
cmp byte [rdx + 0xda4], r14b
jne 0x14005519e
xor al, al
jmp 0x1400551c9
movss xmm0, dword [rdx + 0x38]
movaps xmm1, xmm0
mulss xmm1, dword [0x14009f85c]
comiss xmm11, xmm1
jbe 0x1400551b7
movaps xmm1, xmm0
movss xmm0, dword [rdx + 0x3740]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test r8b, r8b
je 0x140055211
test al, al
je 0x14005522a
lea rcx, [rdx + 0x5548]
mov qword [rbp - 0x50], r14
lea rdx, [rbp - 0x80]
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x60], 0xffffffff
mov dword [rbp - 0x5c], 0x3f000000
mov byte [rbp - 0x58], r14b
mov dword [rbp - 0x80], 2
mov qword [rbp - 0x48], rsi
call fcn.14005ade0
jmp 0x14005522a
test cl, cl
jne 0x140055219
test al, al
je 0x14005522a
cmp qword [rdx + 0x4008], r9
je 0x14005522a
mov rcx, r9
call fcn.14003a5c0
mov edx, dword [rdi + 0x1c]
test edx, edx
movaps xmm11, xmmword [rsp + 0x180]
cmove edx, dword [rbp - 0x20]
test edx, edx
je 0x140055350
mov r8d, dword [rdi]
mov eax, r14d
test r8d, r8d
jle 0x140055350
mov rcx, qword [rdi + 8]
cmp dword [rcx], edx
je 0x14005526b
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x140055257
jmp 0x140055350
cdqe
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [rdi + 8]
je 0x140055350
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140055350
call fcn.140045d80
mov rax, qword [rbx + 8]
mov rdx, qword [0x140211408]
mov ecx, dword [rax + 0xc]
bt ecx, 0x12
jae 0x1400552b1
mov qword [rdx + 0x4278], r14
jmp 0x140055350
cmp rax, qword [rax + 0x3a0]
je 0x1400552d9
bt ecx, 0x1a
jb 0x1400552d9
mov ecx, dword [rax + 0x3d0]
test ecx, ecx
je 0x1400552d9
mov dword [rdx + 0x4278], ecx
mov dword [rdx + 0x427c], r14d
jmp 0x140055350
movsxd rax, dword [rdx + 0x42ac]
xorps xmm0, xmm0
mov dword [rdx + 0x42ac], eax
mov rcx, rax
mov rax, qword [rdx + 0x4270]
mov qword [rdx + 0x4278], r14
mov dword [rax + rcx*4 + 0x3d0], r14d
add rcx, rcx
mov rax, qword [rdx + 0x4270]
movups xmmword [rax + rcx*8 + 0x3d8], xmm0
mov word [rdx + 0x42b5], 1
mov qword [rdx + 0x42b8], r14
mov qword [rdx + 0x42c0], r14
mov dword [rdx + 0x42c8], r14d
cmp byte [rdx + 0x42cd], r14b
jne 0x140055348
cmp byte [rdx + 0x42b5], r14b
jne 0x140055348
xor al, al
jmp 0x14005534a
mov al, 1
mov byte [rdx + 0x42b4], al
call fcn.140088630
mov rax, qword [0x140211408]
mov rdi, qword [rsp + 0x1e8]
mov rbx, qword [rsp + 0x230]
mov rcx, qword [rax + 0x3fe8]
dec dword [rcx + 0x108]
mov eax, dword [rsi + 0x10]
shr eax, 0xa
test al, 1
jne 0x140055396
movzx eax, byte [rsp + 0x38]
mov byte [r13 + 0xd0], al
mov dword [r13 + 0x170], r14d
mov r13, qword [rsp + 0x1e0]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140093060
add rsp, 0x1f0
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret
cmp dword [rsi + 0x30], r14d
jle 0x1400553c7
mov rax, qword [rsi + 0x38]
mov r14, qword [rax]
and cl, 0xfd
mov qword [rsi + 0x90], r14
movzx eax, r12b
add al, al
or al, cl
mov byte [rsi + 0xc8], al
test r12b, r12b
je 0x1400553f1
mov eax, dword [r15 + 0x3f68]
mov dword [rsi + 0xb4], eax
test r14, r14
je 0x14005539e
test r12b, r12b
jne 0x140055405
cmp qword [r8 + 0x90], 0
jne 0x14005540c
mov qword [r8 + 0x90], r14
mov rdx, qword [rsi + 0x40]
test rdx, rdx
je 0x14005539e
mov rax, qword [rsi + 0x90]
mov ecx, dword [rax + 0x90]
mov dword [rdx + 0x20], ecx
jmp 0x14005539e