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

Disassembly:
push rbp
push rsi
push r13
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x14061f010]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r13, qword [0x140afd9c0]
mov r14, rcx
mov eax, dword [rcx + 0xb0]
mov r9, rdx
movzx ecx, byte [rcx + 0xc8]
inc eax
mov qword [rsp + 0x50], rdx
mov edx, dword [r13 + 0x3f60]
mov dword [rsp + 0x6c], edx
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x3c], eax
test cl, 0x40
je 0x1405dda59
mov byte [rsp + 0x30], 1
cmp eax, edx
je 0x1405dda5e
mov byte [rsp + 0x30], 0
xor esi, esi
lea r10d, [rsi + 1]
cmp dword [r14 + 0xc0], esi
je 0x1405dda76
mov dword [rsp + 0x48], r10d
cmp eax, edx
je 0x1405dda7a
mov dword [rsp + 0x48], esi
and cl, 0xbf
mov dword [r14 + 0xc0], esi
xor r15b, r15b
mov byte [r14 + 0xc8], cl
mov rax, qword [r14 + 0x18]
mov r8, r14
mov dword [rsp + 0x34], r15d
mov qword [rsp + 0x58], r14
test rax, rax
je 0x1405ddac8
nop dword [rax]
nop dword [rax + rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x1405ddab0
mov r15d, dword [rsp + 0x34]
mov r8, qword [rsp + 0x58]
mov rax, qword [r13 + 0x43d0]
test rax, rax
je 0x1405ddae1
cmp qword [rax + 0x420], r14
sete r15b
jmp 0x1405ddb0f
mov rdx, qword [r13 + 0x4268]
test rdx, rdx
je 0x1405ddb14
mov rax, qword [r9 + 0x3b0]
cmp qword [rdx + 0x3b8], rax
jne 0x1405ddb14
mov eax, dword [r14]
cmp dword [r8 + 0xb8], eax
movzx r15d, r15b
cmove r15d, r10d
mov dword [rsp + 0x34], r15d
mov eax, dword [r14 + 0x10]
test eax, 0x3000
jne 0x1405deae1
movzx ecx, byte [r9 + 0xd0]
mov qword [rsp + 0x230], rbx
mov qword [rsp + 0x1e8], rdi
mov qword [rsp + 0x1e0], r12
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 0x1405ddb91
mov byte [r9 + 0xd0], sil
mov dword [r9 + 0x170], r10d
mov ecx, dword [r14]
mov rbx, qword [r13 + 0x3fe0]
mov dword [rbp - 0x20], ecx
cmp dword [r13 + 0x401c], ecx
jne 0x1405ddbb3
xor r8d, r8d
lea edx, [r8 + 0xd]
call fcn.1405e3420
lea rcx, [rbx + 0x108]
lea rdx, [rbp - 0x20]
call fcn.1405e3e60
mov rax, qword [r14 + 0x40]
mov ebx, 0xffffffff
mov qword [rbp - 0x40], rax
mov rdi, rax
test rax, rax
jne 0x1405ddc65
mov rax, qword [0x140afd9c0]
test rax, rax
je 0x1405ddbee
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 0x1405ddc5e
mov qword [rax + 0x30], rsi
xorps xmm0, xmm0
mov dword [rax + 0x38], esi
mov dword [rax + 0x7c], esi
mov dword [rax + 0x84], esi
mov dword [rax + 0x8c], esi
mov qword [rax + 0x90], rsi
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 0x1405ddc61
mov rdi, rsi
mov qword [r14 + 0x40], rdi
and byte [r14 + 0xc8], 0xfd
movzx eax, r15b
add al, al
mov dword [rbp - 0x20], esi
or byte [r14 + 0xc8], al
test dword [r14 + 0x10], 0x4000
jne 0x1405ddccc
cmp dword [r13 + 0x3930], ebx
je 0x1405ddccc
mov r12b, 1
mov byte [rbp - 0x28], r12b
call fcn.1405d1d40
test al, al
je 0x1405ddcd3
mov rdx, rdi
mov rcx, r14
call fcn.1405dd820
test eax, eax
je 0x1405ddcb5
mov dword [rdi + 0x1c], eax
mov dword [rbp - 0x20], eax
movzx eax, byte [r14 + 0xc8]
shr al, 1
and al, r12b
or r15b, al
mov dword [rsp + 0x34], r15d
jmp 0x1405ddcd3
xor r12b, r12b
mov byte [rbp - 0x28], r12b
mov r11, qword [0x140afd9c0]
xorps xmm11, xmm11
movss xmm7, dword [r14 + 0x4c]
movss xmm10, dword [r14 + 0x48]
movaps xmm6, xmm7
movzx eax, byte [r14 + 0xc8]
movaps xmm9, xmm10
movss xmm3, dword [r11 + 0x3944]
movaps xmm4, xmm10
movss xmm2, dword [r11 + 0x3d50]
movaps xmm5, xmm3
movss xmm8, dword [r11 + 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], rsi
addss xmm9, dword [r14 + 0x50]
addss xmm8, xmm0
movss xmm0, dword [r11 + 0x391c]
addss xmm4, xmm0
movss dword [rbp - 0x10], xmm9
movaps xmm1, xmm9
subss xmm1, xmm0
movss dword [rbp - 0x2c], xmm8
movss dword [rbp - 0xc], xmm8
addss xmm5, xmm4
subss xmm1, xmm3
movss dword [rbp - 0x38], xmm5
movss dword [rbp - 0x30], xmm1
test al, 8
je 0x1405ddda0
subss xmm1, xmm2
movss dword [rsp + 0x64], xmm7
movaps xmm0, xmm1
movss dword [rbp - 0x30], xmm1
subss xmm0, xmm3
movss dword [rsp + 0x60], xmm0
test al, 0x10
je 0x1405dddee
cmp dword [r11 + 0x3930], esi
jne 0x1405dddc1
addss xmm2, dword [r11 + 0x395c]
addss xmm2, xmm5
movss dword [rbp - 0x38], xmm2
jmp 0x1405dddee
cmp dword [r11 + 0x3930], 1
jne 0x1405dddee
addss xmm3, xmm2
subss xmm1, xmm3
movss dword [rbp - 0x30], xmm1
unpcklps xmm1, xmm7
movaps xmm0, xmm1
movsd qword [rsp + 0x40], xmm1
shufps xmm0, xmm0, 0x55
movaps xmm4, xmm1
movaps xmm6, xmm0
mov r15d, esi
mov eax, dword [rdi]
movups xmm0, xmmword [rbp - 0x38]
mov dword [rsp + 0x68], eax
movss dword [rsp + 0x40], xmm4
movups xmmword [rbp - 8], xmm0
movss dword [rsp + 0x44], xmm6
cmp dword [r14 + 0x30], esi
jle 0x1405ddee9
mov rbx, rsi
mov r13d, 0x400000
mov r12d, 0xffffffff
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [r14 + 0x38]
mov r9, qword [rbx + rax]
mov edx, dword [r9 + 0x90]
test edx, edx
je 0x1405dde74
mov r8d, dword [rdi]
mov eax, esi
test r8d, r8d
jle 0x1405dde74
mov r10, qword [rdi + 8]
mov rcx, r10
cmp dword [rcx], edx
je 0x1405dde65
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x1405dde54
jmp 0x1405dde74
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r10
jne 0x1405ddece
cmp byte [r9 + 0xd5], sil
mov eax, 0x500000
mov qword [rbp - 0x68], rsi
cmovne eax, r13d
mov dword [rbp - 0x60], esi
mov dword [rbp - 0x7c], eax
mov eax, dword [rdi + 0x24]
mov dword [rbp - 0x54], esi
mov dword [rbp - 0x6c], r12d
mov qword [rbp - 0x5c], 0xffffffffffffffff
mov dword [rbp - 0x80], edx
mov dword [rbp - 0x70], eax
cmp eax, r12d
jne 0x1405ddeb7
mov eax, dword [r11 + 0x3f60]
dec eax
mov dword [rbp - 0x70], eax
lea rdx, [rbp - 0x80]
mov qword [rbp - 0x78], r9
mov rcx, rdi
call fcn.1406093f0
mov r11, qword [0x140afd9c0]
inc r15d
add rbx, 8
cmp r15d, dword [r14 + 0x30]
jl 0x1405dde30
mov r13, qword [rsp + 0x70]
movzx r12d, byte [rbp - 0x28]
mov ebx, dword [rsp + 0x34]
test bl, bl
je 0x1405ddeff
mov eax, dword [r13 + 0x3f60]
mov dword [r14 + 0xb4], eax
mov r15, qword [rsp + 0x50]
cmp byte [r15 + 0xce], sil
je 0x1405ddf14
mov eax, 0xc
jmp 0x1405ddf20
test bl, bl
mov rax, rsi
setne al
add rax, 0xa
add rax, rax
lea rcx, [rbp - 0x38]
movups xmm0, xmmword [r11 + rax*8 + 0x39d0]
movups xmmword [rbp - 0x38], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r11 + 0x3908]
movss dword [rbp - 0x2c], xmm0
call fcn.1405c11a0
movss xmm2, dword [0x1406144ec]
mov r11d, eax
movss xmm1, dword [r15 + 0x48]
movss xmm3, dword [r15 + 0x4c]
movaps xmm0, xmm1
addss xmm1, dword [r15 + 0x50]
addss xmm0, xmm2
subss xmm1, xmm2
comiss xmm0, xmm10
movaps xmm10, xmmword [rsp + 0x190]
movaps xmm0, xmm3
addss xmm3, dword [r15 + 0x54]
setae cl
addss xmm0, xmm2
comiss xmm9, xmm1
subss xmm3, xmm2
setae r10b
comiss xmm0, xmm7
setae al
comiss xmm8, xmm3
setae r9b
test al, al
je 0x1405ddfba
test cl, cl
je 0x1405ddfba
mov r8d, 0x10
jmp 0x1405ddfc1
mov r8d, esi
test al, al
je 0x1405ddfcb
mov edx, 0x20
test r10b, r10b
jne 0x1405ddfcd
mov edx, esi
test r9b, r9b
je 0x1405ddfdd
test cl, cl
je 0x1405ddfdd
mov ecx, 0x140
jmp 0x1405ddfe7
mov ecx, 0x100
test r9b, r9b
je 0x1405ddff1
mov eax, 0x80
test r10b, r10b
jne 0x1405ddff3
mov eax, esi
movss xmm0, dword [r15 + 0x80]
or eax, edx
or eax, r8d
lea rdx, [rbp - 0x18]
or eax, ecx
lea r8, [rbp - 0x10]
mov rcx, qword [r15 + 0x2c0]
mov r9d, r11d
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm0
call fcn.1405efe50
test r12b, r12b
je 0x1405de102
movsxd rcx, dword [r15 + 0x108]
xor edx, edx
mov rax, qword [r15 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.COLLAPSE
call fcn.1405c0c10
mov rcx, qword [0x140afd9c0]
mov ebx, eax
cmp dword [rcx + 0x401c], eax
jne 0x1405de072
lea r8, str.COLLAPSE
mov edx, 0xb
mov ecx, eax
call fcn.1405e3420
mov r8, r14
lea rdx, [rsp + 0x40]
mov ecx, ebx
call fcn.1405fc940
test al, al
je 0x1405de0df
mov rbx, qword [0x140afd9c0]
xor edx, edx
mov rax, qword [rbx + 0x3fe0]
movsxd rcx, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.WindowMenu
call fcn.1405c0c10
mov r15d, eax
cmp dword [rbx + 0x401c], eax
jne 0x1405de0d2
lea r8, str.WindowMenu
mov edx, 0xb
mov ecx, eax
call fcn.1405e3420
mov ecx, r15d
call fcn.1405d1db0
mov r15, qword [rsp + 0x50]
mov rax, qword [0x140afd9c0]
mov ebx, dword [rsp + 0x34]
mov ecx, dword [rax + 0x4034]
test ecx, ecx
je 0x1405de102
cmp ecx, dword [rax + 0x40b0]
jne 0x1405de102
mov eax, dword [rdi + 0x18]
mov dword [rbp - 0x20], eax
mov r9d, dword [rdi]
lea edx, [r9 - 1]
test edx, edx
js 0x1405de144
movsxd rax, edx
lea rcx, [rax + rax*2]
shl rcx, 4
nop dword [rax + rax]
mov r8, qword [rdi + 8]
mov eax, dword [rcx + r8 + 4]
bt eax, 0x16
jae 0x1405de144
btr eax, 0x16
mov r9d, edx
mov dword [rcx + r8 + 4], eax
sub rcx, 0x30
sub edx, 1
jns 0x1405de120
mov ecx, dword [rdi]
cmp ecx, r9d
jle 0x1405de181
lea eax, [r9 + 1]
cmp ecx, eax
jle 0x1405de181
sub ecx, r9d
movsxd rdx, ecx
cmp rdx, 1
jbe 0x1405de181
movsxd rax, r9d
mov r8d, 0x30
lea r9, [0x1405dd7d0]
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 [r13 + 0x4268]
test rax, rax
je 0x1405de1a3
mov rcx, qword [rax + 0x3a0]
cmp qword [rcx + 0x420], r14
jne 0x1405de1a3
mov eax, dword [rcx + 8]
mov dword [rdi + 0x18], eax
cmp qword [rbp - 0x40], rsi
jne 0x1405de1d8
mov edx, dword [r14 + 0xbc]
test edx, edx
je 0x1405de1d8
mov r8d, dword [rdi]
mov eax, esi
test r8d, r8d
jle 0x1405de1d8
mov r9, qword [rdi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x1405de46e
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x1405de1c5
movsxd rax, dword [rdi]
cmp eax, dword [rsp + 0x68]
jle 0x1405de1fd
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 [r15 + 0xce], sil
jne 0x1405de217
test bl, bl
mov eax, 0x700003
cmovne r8d, eax
mov r9, r14
lea rdx, [rbp - 8]
mov rcx, rdi
call fcn.140605c60
mov ecx, 6
lea rax, [rbp + 0x18]
nop
mov qword [rax - 8], rsi
mov qword [rax], rsi
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x1405de230
mov r12d, esi
movups xmm1, xmmword [r13 + 0x39d0]
movaps xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [r13 + 0x3be0]
movaps xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [r13 + 0x3bf0]
movaps xmmword [rbp + 0x30], xmm0
movups xmm0, xmmword [r13 + 0x3c00]
movaps xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [r13 + 0x3c10]
movaps xmmword [rbp + 0x50], xmm0
movups xmm0, xmmword [r13 + 0x3c20]
mov qword [r14 + 0x90], rsi
movaps xmmword [rbp + 0x60], xmm0
cmp dword [r14 + 0x30], esi
jle 0x1405de4b0
movss xmm6, dword [0x14061444c]
lea r11, [0x14060f8c8]
mov r15, rsi
lea r10, [0x14060f8e0]
nop word [rax + rax]
mov rax, qword [r14 + 0x38]
mov rbx, qword [r15 + rax]
cmp byte [rsp + 0x30], sil
jne 0x1405de2db
mov eax, dword [rsp + 0x48]
cmp eax, dword [rbx + 0x90]
jne 0x1405de2f1
cmp byte [rbx + 0xd5], sil
je 0x1405de2f1
test dword [rbx + 0xc], 0x100000
je 0x1405de49a
mov eax, dword [rbx + 0x280]
inc eax
cmp eax, dword [r13 + 0x3f60]
jge 0x1405de310
mov eax, dword [rsp + 0x6c]
cmp dword [rsp + 0x3c], eax
je 0x1405de49a
mov edx, dword [rbx + 0x24]
mov r8, rbx
mov eax, dword [rdi + 0x10]
or edx, 1
test dword [rbx + 0xc], 0x100000
cmove edx, dword [rbx + 0x24]
mov r9d, edx
or r9d, 4
test al, 8
cmove r9d, edx
mov rdx, r11
sub r8, r11
nop word [rax + rax]
mov ecx, dword [r8 + rdx + 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, 0x39d
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 [r13 + rax*8], xmm3
cmp rdx, r10
jl 0x1405de340
cmp byte [rbx + 0xd5], sil
lea r8, [rbp - 0x28]
mov rdx, qword [rbx]
mov rcx, rdi
cmove r8, rsi
mov byte [rbp - 0x28], 1
mov qword [rsp + 0x20], rbx
call fcn.1406077f0
cmp byte [rbp - 0x28], sil
jne 0x1405de401
mov eax, dword [rbx + 0x90]
mov dword [r14 + 0xc0], eax
mov eax, dword [rbx + 0x90]
cmp dword [rdi + 0x20], eax
jne 0x1405de413
mov qword [r14 + 0x90], rbx
mov eax, dword [r13 + 0x40b8]
mov dword [rbx + 0x434], eax
movups xmm0, xmmword [r13 + 0x40bc]
movups xmmword [rbx + 0x438], xmm0
mov rax, qword [r13 + 0x4268]
test rax, rax
je 0x1405de48c
cmp qword [rax + 0x3a0], rbx
jne 0x1405de48c
test byte [rbx + 0x174], 2
lea r10, [0x14060f8e0]
lea r11, [0x14060f8c8]
jne 0x1405de49a
mov rcx, qword [rsp + 0x50]
mov eax, dword [rbx + 0x90]
mov dword [rcx + 0x3d4], eax
jmp 0x1405de49a
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x1405de1d8
mov dword [rdi + 0x1c], edx
mov dword [rdi + 0x18], edx
jmp 0x1405de1fd
lea r11, [0x14060f8c8]
lea r10, [0x14060f8e0]
inc r12d
add r15, 8
cmp r12d, dword [r14 + 0x30]
jl 0x1405de2c0
movaps xmm1, xmmword [rbp + 0x10]
nop
movups xmmword [r13 + 0x39d0], xmm1
movaps xmm0, xmmword [rbp + 0x20]
movups xmmword [r13 + 0x3be0], xmm0
movaps xmm1, xmmword [rbp + 0x30]
movups xmmword [r13 + 0x3bf0], xmm1
movaps xmm0, xmmword [rbp + 0x40]
movups xmmword [r13 + 0x3c00], xmm0
movaps xmm1, xmmword [rbp + 0x50]
movups xmmword [r13 + 0x3c10], xmm1
movaps xmm0, xmmword [rbp + 0x60]
movups xmmword [r13 + 0x3c20], xmm0
mov rax, qword [r14 + 0x90]
test rax, rax
je 0x1405de51c
mov rcx, qword [rsp + 0x58]
cmp byte [rsp + 0x34], sil
jne 0x1405de515
cmp qword [rcx + 0x90], rsi
jne 0x1405de51c
mov qword [rcx + 0x90], rax
movzx eax, byte [r14 + 0xc8]
and al, 8
je 0x1405de545
mov rcx, qword [r14 + 0x90]
test rcx, rcx
je 0x1405de545
cmp byte [rcx + 0xd5], sil
je 0x1405de545
mov r15b, 1
jmp 0x1405de5f8
test al, al
je 0x1405de708
mov rcx, qword [0x140afd9c0]
lea rdx, [rsp + 0x3c]
mov eax, dword [rcx + 0x4098]
or eax, 4
mov dword [rcx + 0x4098], eax
add rcx, 0x41c0
mov dword [rsp + 0x3c], eax
call fcn.1405e3e60
mov rbx, qword [0x140afd9c0]
lea rdx, [rbp - 8]
movss xmm8, dword [r13 + 0x39dc]
movss xmm9, dword [r13 + 0x39d0]
movss xmm6, dword [r13 + 0x39d4]
movups xmm0, xmmword [rbx + 0x39d0]
lea rcx, [rbx + 0x4180]
mov dword [rbp - 8], esi
movss xmm7, dword [r13 + 0x39d8]
mulss xmm8, dword [0x140614480]
movups xmmword [rbp - 4], xmm0
call fcn.1405e4020
shufps xmm9, xmm9, 0xe1
xor r15b, r15b
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
mov r12, qword [rsp + 0x50]
xor edx, edx
movsxd rcx, dword [r12 + 0x108]
mov rax, qword [r12 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.CLOSE
call fcn.1405c0c10
mov rcx, qword [0x140afd9c0]
mov ebx, eax
cmp dword [rcx + 0x401c], eax
jne 0x1405de644
lea r8, str.CLOSE
mov edx, 0xb
mov ecx, eax
call fcn.1405e3420
lea rdx, [rsp + 0x60]
mov ecx, ebx
call fcn.1405fc560
test al, al
je 0x1405de6aa
or byte [r14 + 0xc8], 0x40
mov r8d, esi
cmp dword [rdi], esi
jle 0x1405de6aa
mov rcx, rsi
nop word [rax + rax]
mov rdx, qword [rdi + 8]
test byte [rcx + rdx + 4], 1
mov eax, dword [rcx + rdx]
jne 0x1405de696
mov byte [rcx + rdx + 0x2c], 1
cmp dword [rdi + 0x20], eax
jne 0x1405de69e
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rdi + 0x18], rsi
jmp 0x1405de69e
cmp dword [rdi + 0x20], eax
je 0x1405de69e
mov dword [rdi + 0x1c], eax
inc r8d
add rcx, 0x30
cmp r8d, dword [rdi]
jl 0x1405de670
test r15b, r15b
jne 0x1405de70d
mov rbx, qword [0x140afd9c0]
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 0x1405de714
mov r12, qword [rsp + 0x50]
mov rbx, qword [0x140afd9c0]
movsxd rcx, dword [r12 + 0x108]
xor edx, edx
mov rax, qword [r12 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.TITLEBAR
call fcn.1405c0c10
mov r15d, eax
movaps xmm9, xmmword [rsp + 0x1a0]
movaps xmm8, xmmword [rsp + 0x1b0]
movaps xmm7, xmmword [rsp + 0x1c0]
movaps xmm6, xmmword [rsp + 0x1d0]
cmp dword [rbx + 0x401c], eax
jne 0x1405de777
lea r8, str.TITLEBAR
mov edx, 0xb
mov ecx, eax
call fcn.1405e3420
mov eax, dword [r13 + 0x4020]
test eax, eax
je 0x1405de794
cmp eax, r15d
je 0x1405de794
cmp dword [r13 + 0x4034], r15d
jne 0x1405de970
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x18]
mov edx, r15d
call fcn.1405fb850
mov rdx, qword [0x140afd9c0]
cmp dword [r13 + 0x4020], r15d
jne 0x1405de7eb
mov dword [r13 + 0x40b0], r15d
mov eax, dword [rdx + 0x40b0]
cmp dword [rdx + 0x4020], eax
jne 0x1405de7dc
mov byte [rdx + 0x4028], 1
cmp dword [rdx + 0x4034], eax
jne 0x1405de7eb
mov byte [rdx + 0x4041], 1
cmp byte [rsp + 0x30], sil
je 0x1405de970
movss xmm0, dword [rdx + 0x36f0]
ucomiss xmm0, xmm11
jp 0x1405de80c
jne 0x1405de80c
mov eax, dword [rdi + 0x18]
mov dword [rbp - 0x20], eax
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1405de970
mov r8d, dword [rdi]
mov eax, esi
test r8d, r8d
jle 0x1405de970
mov r10, qword [rdi + 8]
mov rcx, r10
nop
cmp dword [rcx], r9d
je 0x1405de845
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x1405de830
jmp 0x1405de970
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r10
je 0x1405de970
mov r9, qword [rcx + 8]
test r9, r9
jne 0x1405de868
mov r9, qword [r14 + 0x88]
mov rax, qword [r14 + 0x90]
xor r8b, r8b
test rax, rax
je 0x1405de8c3
test byte [rax + 0xc], 4
jne 0x1405de8c3
mov rax, qword [r14 + 0x18]
mov rcx, r14
test rax, rax
je 0x1405de89c
nop dword [rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x1405de890
cmp qword [rcx + 0xa0], r14
jne 0x1405de8ae
cmp qword [rcx + 0x98], rsi
je 0x1405de8c3
mov eax, dword [rcx + 0x10]
shr eax, 0xa
test al, 1
movzx r8d, r8b
mov eax, 1
cmovne r8d, eax
ucomiss xmm0, xmm11
jp 0x1405de8cf
jne 0x1405de8cf
mov cl, 1
jmp 0x1405de8d1
xor cl, cl
cmp byte [rdx + 0xda4], sil
jne 0x1405de8de
xor al, al
jmp 0x1405de909
movss xmm0, dword [rdx + 0x38]
movaps xmm1, xmm0
mulss xmm1, dword [0x1406144e8]
comiss xmm11, xmm1
jbe 0x1405de8f7
movaps xmm1, xmm0
movss xmm0, dword [rdx + 0x3740]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test r8b, r8b
je 0x1405de957
test al, al
je 0x1405de970
movss xmm0, dword [0x140614488]
lea rcx, [rdx + 0x5540]
lea rdx, [rbp - 0x80]
movss dword [rbp - 0x5c], xmm0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rsi
mov dword [rbp - 0x60], 0xffffffff
mov byte [rbp - 0x58], sil
mov dword [rbp - 0x80], 2
mov qword [rbp - 0x48], r14
call fcn.1405e41b0
jmp 0x1405de970
test cl, cl
jne 0x1405de95f
test al, al
je 0x1405de970
cmp qword [rdx + 0x4000], r9
je 0x1405de970
mov rcx, r9
call fcn.1405c4430
mov edx, dword [rdi + 0x1c]
test edx, edx
movaps xmm11, xmmword [rsp + 0x180]
cmove edx, dword [rbp - 0x20]
test edx, edx
je 0x1405dea74
mov r8d, dword [rdi]
mov eax, esi
test r8d, r8d
jle 0x1405dea74
mov r9, qword [rdi + 8]
mov rcx, r9
nop
cmp dword [rcx], edx
je 0x1405de9b4
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x1405de9a0
jmp 0x1405dea74
cdqe
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, r9
je 0x1405dea74
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1405dea74
call fcn.1405cf8a0
mov rax, qword [rbx + 8]
mov rdx, qword [0x140afd9c0]
mov ecx, dword [rax + 0xc]
bt ecx, 0x12
jae 0x1405de9f6
mov qword [rdx + 0x4270], rsi
jmp 0x1405dea74
cmp rax, qword [rax + 0x3a0]
je 0x1405dea1d
bt ecx, 0x1a
jb 0x1405dea1d
mov ecx, dword [rax + 0x3d0]
test ecx, ecx
je 0x1405dea1d
mov dword [rdx + 0x4270], ecx
mov dword [rdx + 0x4274], esi
jmp 0x1405dea74
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], rsi
mov dword [rax + rcx*4 + 0x3d0], esi
add rcx, rcx
mov rax, qword [rdx + 0x4268]
movups xmmword [rax + rcx*8 + 0x3d8], xmm0
mov word [rdx + 0x42ad], 1
mov dword [rdx + 0x42b0], esi
movups xmmword [rdx + 0x42b4], xmm0
mov byte [rdx + 0x42ac], 1
call fcn.140606040
mov rax, qword [0x140afd9c0]
mov rdi, qword [rsp + 0x1e8]
mov rbx, qword [rsp + 0x230]
mov rcx, qword [rax + 0x3fe0]
dec dword [rcx + 0x108]
mov eax, dword [r14 + 0x10]
shr eax, 0xa
test al, 1
jne 0x1405deabd
movzx eax, byte [rsp + 0x38]
mov byte [r12 + 0xd0], al
mov dword [r12 + 0x170], esi
mov r12, qword [rsp + 0x1e0]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14060b2c0
add rsp, 0x1f0
pop r15
pop r14
pop r13
pop rsi
pop rbp
ret
cmp dword [r14 + 0x30], esi
jle 0x1405deaee
mov rax, qword [r14 + 0x38]
mov rsi, qword [rax]
and cl, 0xfd
mov qword [r14 + 0x90], rsi
movzx eax, r15b
add al, al
or cl, al
mov byte [r14 + 0xc8], cl
test r15b, r15b
je 0x1405deb1a
mov eax, dword [r13 + 0x3f60]
mov dword [r14 + 0xb4], eax
test rsi, rsi
je 0x1405deac5
test r15b, r15b
jne 0x1405deb2e
cmp qword [r8 + 0x90], 0
jne 0x1405deb35
mov qword [r8 + 0x90], rsi
mov rdx, qword [r14 + 0x40]
test rdx, rdx
je 0x1405deac5
mov rax, qword [r14 + 0x90]
mov ecx, dword [rax + 0x90]
mov dword [rdx + 0x20], ecx
jmp 0x1405deac5