Function at 0x1401c06c0
Capabilities:
Encrypt data using speck

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2d8]
sub rsp, 0x398
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
mov rax, qword [0x140424b58]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rdi, r9
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0x58], rcx
mov qword [rbp - 0x60], r8
mov qword [rcx + 0x38], r9
mov r14d, 0xf
mov qword [rbp + 0x108], r14
mov qword [rbp + 0x100], 2
movzx eax, word [0x1403546f0]
mov word [rbp + 0xf0], ax
mov byte [rbp + 0xf2], 0
mov rax, qword [r9]
lea r8, [rbp + 0xf0]
cmp qword [rdx + 0x18], 0x10
jb 0x1401c074d
mov rdx, qword [rdx]
mov rcx, rdi
call qword [rax + 0x18]
mov rsi, rax
mov qword [rbp + 0x60], rax
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x1401c079e
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401c0799
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401c0799
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401a68e0
xor r12d, r12d
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x108], r14
mov byte [rbp + 0xf0], r12b
test rsi, rsi
je 0x1401c27df
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r12
mov r14d, 1
mov r8d, r14d
lea rdx, [rbp + 0x30]
mov rcx, rsi
call fcn.14007b8b0
lea rax, [fcn.140023380]
mov qword [rsp + 0x20], rax
lea r9, [0x140040390]
lea edx, [r12 + 0x20]
lea r8d, [r12 + 2]
lea rcx, [rbp + 0x210]
call fcn.14032b670
nop
mov qword [rbp + 0x250], r12
mov qword [rbp + 0x258], r12
lea ecx, [r12 + 0x60]
call fcn.14032af80
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp + 0x250], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x48], rax
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x210]
call fcn.1401c28b0
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140077ed0
nop
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov ecx, 0xa8
call fcn.14032af80
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x7c], r12d
mov dword [rsp + 0x78], r12d
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x6c], r12d
xor bl, bl
mov dword [rsp + 0x74], ebx
mov rax, qword [rbp + 0x250]
mov rax, qword [rax]
lea r8, [rax + 0x10]
mov r10, qword [r8 + 0x10]
mov r9, r8
mov r11, qword [r8 + 0x18]
cmp r11, 0x10
jb 0x1401c08b9
mov r9, qword [r8]
cmp r10, 4
jne 0x1401c08fb
mov rdx, r12
lea rdi, str.LWMO
nop dword [rax]
movzx ecx, byte [r9 + rdx]
inc rdx
cmp cl, byte [rdi + rdx - 1]
jne 0x1401c08e9
cmp rdx, 4
jne 0x1401c08d0
mov ecx, r12d
jmp 0x1401c08ee
sbb ecx, ecx
or ecx, 1
movzx ebx, bl
test ecx, ecx
cmove ebx, r14d
mov dword [rsp + 0x74], ebx
cmp r11, 0x10
jb 0x1401c0904
mov r8, qword [r8]
cmp r10, 4
jne 0x1401c0943
mov rdx, r12
lea r9, str.LWSC
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [r8 + rdx]
inc rdx
cmp cl, byte [r9 + rdx - 1]
jne 0x1401c093a
cmp rdx, 4
jne 0x1401c0920
mov ecx, r12d
jmp 0x1401c093f
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x1401c094b
test bl, bl
je 0x1401c282a
mov rbx, qword [rax]
mov qword [rsp + 0x60], rbx
lea rdx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0x10
jb 0x1401c0962
mov rdx, qword [rbx + 0x10]
mov r13d, r12d
nop word [rax + rax]
movsx r8d, byte [rdx]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x1401c098e
lea r13d, [r13 + r13*4]
lea r13d, [r13 - 0x18]
lea r13d, [r8 + r13*2]
inc rdx
jmp 0x1401c0970
call fcn.1400f2ee0
mov r14, rax
mov rdx, qword [rbx + 0x20]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, 0x1b
jb 0x1401c285f
lea rax, [rbx + 0x10]
cmp qword [rbx + 0x28], 0x10
jb 0x1401c09c0
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x1b
lea r9, str.LWS_file_format_version_is
lea r8, [rbx + 0x10]
movzx edx, byte [rsp + 0x68]
lea rcx, [rbp + 0xf0]
call fcn.140029020
nop
lea rdx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 0x10
cmovae rdx, qword [rbp + 0xf0]
mov rcx, r14
call fcn.1400f2ef0
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x1401c0a54
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401c0a4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401c0a4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401a68e0
mov qword [r15 + 0x40], r12
movabs rax, 0x404e000000000000
mov qword [r15 + 0x48], rax
movabs rax, 0x4039000000000000
mov qword [r15 + 0x50], rax
movsd xmm7, qword [0x1403595a8]
cmp rbx, qword [rbp + 0x250]
je 0x1401c2150
movsd xmm6, qword [0x14037ffa8]
lea rdi, [rbx + 0x10]
lea r14, [rdi + 0x20]
cmp qword [r14 + 0x18], 0x10
jb 0x1401c0aa3
mov r14, qword [r14]
mov r15, qword [rdi + 0x10]
mov rcx, rdi
mov r12, qword [rdi + 0x18]
cmp r12, 0x10
jb 0x1401c0ab7
mov rcx, qword [rdi]
cmp r15, 0xa
jne 0x1401c0b17
mov r8, r15
lea rdx, str.FirstFrame
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c0b17
mov r15, qword [rsp + 0x58]
ucomisd xmm6, qword [r15 + 0x40]
jp 0x1401c0ae3
je 0x1401c2138
xor ecx, ecx
movsx edx, byte [r14]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1401c0afe
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0x18]
lea ecx, [rdx + rcx*2]
inc r14
jmp 0x1401c0ae5
mov eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm7
movsd qword [r15 + 0x40], xmm0
jmp 0x1401c2138
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c0b23
mov rcx, qword [rdi]
cmp r15, 9
jne 0x1401c0b83
mov r8, r15
lea rdx, str.LastFrame
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c0b83
mov r15, qword [rsp + 0x58]
ucomisd xmm6, qword [r15 + 0x48]
jp 0x1401c0b4f
je 0x1401c2138
xor ecx, ecx
movsx edx, byte [r14]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1401c0b6a
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0x18]
lea ecx, [rdx + rcx*2]
inc r14
jmp 0x1401c0b51
mov eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm7
movsd qword [r15 + 0x48], xmm0
jmp 0x1401c2138
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c0b8f
mov rcx, qword [rdi]
cmp r15, 0xf
jne 0x1401c0be2
mov r8, r15
lea rdx, str.FramesPerSecond
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c0be2
xor ecx, ecx
nop word [rax + rax]
movsx edx, byte [r14]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1401c0bc9
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0x18]
lea ecx, [rdx + rcx*2]
inc r14
jmp 0x1401c0bb0
mov eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov rax, qword [rsp + 0x58]
movsd qword [rax + 0x50], xmm0
jmp 0x1401c2138
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c0bee
mov rcx, qword [rdi]
cmp r15, 0xf
jne 0x1401c0c0b
mov r8, r15
lea rdx, str.LoadObjectLayer
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c0c0b
mov al, 1
jmp 0x1401c0c0d
xor al, al
test al, al
je 0x1401c10e1
xor edi, edi
mov r12d, edi
nop word [rax + rax]
movsx edx, byte [r14]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1401c0c3d
lea r12d, [r12 + r12*4]
lea r12d, [r12 - 0x18]
lea r12d, [rdx + r12*2]
inc r14
jmp 0x1401c0c20
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rdi
mov ecx, 0x28
call fcn.14032af80
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rdi
mov ecx, 0x28
call fcn.14032af80
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x10], rax
mov qword [rbp], rdi
mov qword [rbp + 8], rdi
mov ecx, 0x48
call fcn.14032af80
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp], rax
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], rdi
mov ecx, 0x60
call fcn.14032af80
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x10], rax
mov ecx, edi
lea rdx, str.IMPORT_LWO_ONE_LAYER_ONLY
mov r8d, 6
nop dword [rax + rax]
movzx eax, word [rdx]
add ecx, eax
movzx eax, word [rdx + 2]
shl eax, 0xb
xor eax, ecx
shl ecx, 0x10
xor ecx, eax
lea rdx, [rdx + 4]
mov eax, ecx
shr eax, 0xb
add ecx, eax
add r8d, 0xffffffff
jne 0x1401c0cf0
movsx eax, byte [rdx]
add ecx, eax
mov eax, ecx
shl eax, 0xa
xor ecx, eax
mov eax, ecx
shr eax, 1
add ecx, eax
lea eax, [rcx*8]
xor ecx, eax
mov eax, ecx
shr eax, 5
add ecx, eax
mov eax, ecx
shl eax, 4
xor ecx, eax
mov eax, ecx
shr eax, 0x11
add ecx, eax
mov eax, ecx
shl eax, 0x19
xor ecx, eax
mov edi, ecx
shr edi, 6
add edi, ecx
mov r15, qword [rbp - 0x20]
mov rcx, qword [r15 + 8]
mov rdx, r15
mov rax, rcx
cmp byte [rcx + 0x19], r8b
jne 0x1401c0d7d
cmp dword [rax + 0x1c], edi
jae 0x1401c0d71
mov rax, qword [rax + 0x10]
jmp 0x1401c0d77
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1401c0d66
cmp byte [rdx + 0x19], 0
jne 0x1401c0d88
cmp edi, dword [rdx + 0x1c]
jae 0x1401c0d8b
mov rdx, r15
cmp rdx, r15
jne 0x1401c0e54
mov qword [rbp + 0xd0], rcx
xor edx, edx
mov dword [rbp + 0xd8], edx
mov rax, r15
cmp byte [rcx + 0x19], dl
jne 0x1401c0ddd
nop dword [rax + rax]
mov qword [rbp + 0xd0], rcx
cmp dword [rcx + 0x1c], edi
jae 0x1401c0dc8
mov dword [rbp + 0xd8], edx
mov rcx, qword [rcx + 0x10]
jmp 0x1401c0dd8
mov dword [rbp + 0xd8], 1
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], dl
je 0x1401c0db0
cmp byte [rax + 0x19], dl
jne 0x1401c0de7
cmp edi, dword [rax + 0x1c]
jae 0x1401c0e58
movabs rax, 0x666666666666666
cmp qword [rbp - 0x18], rax
je 0x1401c2865
lea rax, [rbp - 0x20]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rdx
mov ecx, 0x28
call fcn.14032af80
nop
mov dword [rax + 0x1c], edi
mov dword [rax + 0x20], r12d
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov word [rax + 0x18], 0
xor r12d, r12d
mov qword [rbp - 0x50], r12
movups xmm0, xmmword [rbp + 0xd0]
movaps xmmword [rbp + 0xd0], xmm0
mov r8, rax
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x20]
call fcn.14002d3e0
jmp 0x1401c0e5b
mov dword [rdx + 0x20], r12d
xor r12d, r12d
lea rcx, [rbp + 0x130]
call fcn.1401bf020
nop
mov dword [rbp + 0x130], 1
cmp r13d, 4
jb 0x1401c0ef5
nop dword [rax + rax]
movzx edx, byte [r14]
cmp dl, 0x20
je 0x1401c0e8e
cmp dl, 9
jne 0x1401c0e93
inc r14
jmp 0x1401c0e80
mov ecx, r12d
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1401c0eb1
shl ecx, 4
movsx eax, dl
add ecx, 0xffffffd0
add ecx, eax
inc r14
movzx edx, byte [r14]
jmp 0x1401c0e96
lea eax, [rdx - 0x41]
cmp al, 5
ja 0x1401c0ecc
shl ecx, 4
movsx eax, dl
add ecx, 0xffffffc9
add ecx, eax
inc r14
movzx edx, byte [r14]
jmp 0x1401c0e96
lea eax, [rdx - 0x61]
cmp al, 5
ja 0x1401c0ee7
shl ecx, 4
movsx eax, dl
add ecx, 0xffffffa9
add ecx, eax
inc r14
movzx edx, byte [r14]
jmp 0x1401c0e96
and ecx, 0xfffffff
mov dword [rbp + 0x15c], ecx
jmp 0x1401c0f05
mov eax, dword [rsp + 0x50]
mov dword [rbp + 0x15c], eax
inc eax
mov dword [rsp + 0x50], eax
movzx eax, byte [r14]
cmp al, 0x20
je 0x1401c0f11
cmp al, 9
jne 0x1401c0f16
inc r14
jmp 0x1401c0f05
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xe8], 0xf
mov byte [rbp + 0xd0], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r14 + r8], 0
jne 0x1401c0f36
mov rdx, r14
lea rcx, [rbp + 0xd0]
call fcn.140028740
nop
lea r8, [rbp + 0xd0]
lea rdx, [rbp + 0xf0]
mov rcx, qword [rsp + 0x58]
call fcn.1401bfe00
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x1401c0faa
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401c0fa5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401c21dc
call fcn.1401a68e0
lea rdx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 0x10
cmovae rdx, qword [rbp + 0xf0]
mov r8, qword [rbp + 0x100]
lea rcx, [rbp + 0x138]
call fcn.140028740
lea r9, [rbp - 0x20]
xor r8d, r8d
lea rdx, [rbp + 0xf0]
lea rcx, [rbp - 0x80]
call fcn.140079140
mov dword [rbp + 0x158], eax
mov r14, qword [rsp + 0x40]
movabs rax, 0x186186186186186
cmp qword [rsp + 0x48], rax
je 0x1401c286b
lea rax, [rsp + 0x40]
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], r12
mov ecx, 0xa8
call fcn.14032af80
mov rdi, rax
mov qword [rbp + 0x70], rax
lea rcx, [rax + 0x10]
lea rdx, [rbp + 0x130]
call fcn.1401bee10
nop
inc qword [rsp + 0x48]
mov rcx, qword [r14 + 8]
mov qword [rdi], r14
mov qword [rdi + 8], rcx
mov qword [rbp + 0x70], r12
mov qword [r14 + 8], rdi
mov qword [rcx], rdi
mov r8, qword [rbp + 0x108]
cmp r8, 0x10
jb 0x1401c1078
inc r8
mov rdx, qword [rbp + 0xf0]
lea rcx, [rbp + 0xf0]
call fcn.14002d7c0
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x108], 0xf
mov byte [rbp + 0xf0], 0
lea rcx, [rbp + 0x130]
call fcn.1401bf2f0
nop
lea rcx, [rbp + 0x10]
call fcn.14019b680
mov r8, qword [rbp]
mov r8, qword [r8 + 8]
lea rdx, [rbp]
lea rcx, [rbp]
call fcn.14006c9c0
mov edx, 0x48
mov rcx, qword [rbp]
call fcn.1401a68e0
lea rcx, [rbp - 0x10]
call fcn.140078720
lea rcx, [rbp - 0x20]
call fcn.140078720
jmp 0x1401c2138
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c10ed
mov rcx, qword [rdi]
cmp r15, 0xa
jne 0x1401c110a
mov r8, r15
lea rdx, str.LoadObject
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c110a
mov al, 1
jmp 0x1401c110c
xor al, al
test al, al
je 0x1401c1319
lea rcx, [rbp + 0x130]
call fcn.1401bf020
nop
mov dword [rbp + 0x130], 1
cmp r13d, 4
jb 0x1401c11a1
xor r12d, r12d
mov ecx, r12d
nop word [rax + rax]
movsx edx, byte [r14]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1401c1158
shl ecx, 4
add ecx, 0xffffffd0
add ecx, edx
inc r14
jmp 0x1401c1140
lea eax, [rdx - 0x41]
cmp al, 5
ja 0x1401c116c
shl ecx, 4
add ecx, 0xffffffc9
add ecx, edx
inc r14
jmp 0x1401c1140
lea eax, [rdx - 0x61]
cmp al, 5
ja 0x1401c1180
shl ecx, 4
add ecx, 0xffffffa9
add ecx, edx
inc r14
jmp 0x1401c1140
and ecx, 0xfffffff
mov dword [rbp + 0x15c], ecx
nop dword [rax]
movzx eax, byte [r14]
cmp al, 0x20
je 0x1401c119c
cmp al, 9
jne 0x1401c11b4
inc r14
jmp 0x1401c1190
mov eax, dword [rsp + 0x50]
mov dword [rbp + 0x15c], eax
inc eax
mov dword [rsp + 0x50], eax
xor r12d, r12d
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x108], 0xf
mov byte [rbp + 0xf0], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r14 + r8], 0
jne 0x1401c11d4
mov rdx, r14
lea rcx, [rbp + 0xf0]
call fcn.140028740
nop
lea r8, [rbp + 0xf0]
lea rdx, [rbp + 0xd0]
mov rcx, qword [rsp + 0x58]
call fcn.1401bfe00
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x1401c1248
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401c1243
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401c21e3
call fcn.1401a68e0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x80]
call fcn.140079140
mov dword [rbp + 0x158], eax
lea rdx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0x10
cmovae rdx, qword [rbp + 0xd0]
mov r8, qword [rbp + 0xe0]
lea rcx, [rbp + 0x138]
call fcn.140028740
mov r14, qword [rsp + 0x40]
movabs rax, 0x186186186186186
cmp qword [rsp + 0x48], rax
je 0x1401c2878
lea rax, [rsp + 0x40]
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], r12
mov ecx, 0xa8
call fcn.14032af80
mov rdi, rax
mov qword [rbp + 0x80], rax
lea rcx, [rax + 0x10]
lea rdx, [rbp + 0x130]
call fcn.1401bee10
nop
inc qword [rsp + 0x48]
mov rcx, qword [r14 + 8]
mov qword [rdi], r14
mov qword [rdi + 8], rcx
mov qword [rbp + 0x80], r12
mov qword [r14 + 8], rdi
mov qword [rcx], rdi
lea rcx, [rbp + 0xd0]
call fcn.140023380
nop
lea rcx, [rbp + 0x130]
call fcn.1401bf2f0
jmp 0x1401c2138
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c1325
mov rcx, qword [rdi]
cmp r15, 0xd
jne 0x1401c1342
mov r8, r15
lea rdx, str.AddNullObject
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c1342
mov al, 1
jmp 0x1401c1344
xor al, al
test al, al
je 0x1401c146c
lea rcx, [rbp + 0x130]
call fcn.1401bf020
nop
mov dword [rbp + 0x130], 1
cmp r13d, 4
jb 0x1401c13d1
xor r12d, r12d
mov ecx, r12d
nop
movsx edx, byte [r14]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1401c1388
shl ecx, 4
add ecx, 0xffffffd0
add ecx, edx
inc r14
jmp 0x1401c1370
lea eax, [rdx - 0x41]
cmp al, 5
ja 0x1401c139c
shl ecx, 4
add ecx, 0xffffffc9
add ecx, edx
inc r14
jmp 0x1401c1370
lea eax, [rdx - 0x61]
cmp al, 5
ja 0x1401c13b0
shl ecx, 4
add ecx, 0xffffffa9
add ecx, edx
inc r14
jmp 0x1401c1370
and ecx, 0xfffffff
mov dword [rbp + 0x15c], ecx
nop dword [rax]
movzx eax, byte [r14]
cmp al, 0x20
je 0x1401c13cc
cmp al, 9
jne 0x1401c13e4
inc r14
jmp 0x1401c13c0
mov eax, dword [rsp + 0x50]
mov dword [rbp + 0x15c], eax
inc eax
mov dword [rsp + 0x50], eax
xor r12d, r12d
mov qword [rbp + 0x168], r14
mov r14, qword [rsp + 0x40]
movabs rax, 0x186186186186186
cmp qword [rsp + 0x48], rax
je 0x1401c2885
lea rax, [rsp + 0x40]
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], r12
mov ecx, 0xa8
call fcn.14032af80
mov rdi, rax
mov qword [rbp + 0x90], rax
lea rcx, [rax + 0x10]
lea rdx, [rbp + 0x130]
call fcn.1401bee10
nop
inc qword [rsp + 0x48]
mov rcx, qword [r14 + 8]
mov qword [rdi], r14
mov qword [rdi + 8], rcx
mov qword [rbp + 0x90], r12
mov qword [r14 + 8], rdi
mov qword [rcx], rdi
lea rcx, [rbp + 0x130]
call fcn.1401bf2f0
jmp 0x1401c2138
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c1478
mov rcx, qword [rdi]
cmp r15, 0xb
jne 0x1401c1495
mov r8, r15
lea rdx, str.NumChannels
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401c2138
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c14a1
mov rcx, qword [rdi]
cmp r15, 7
jne 0x1401c1679
mov r8, r15
lea rdx, str.Channel
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c1679
cmp qword [rsp + 0x48], 0
jne 0x1401c159b
cmp byte [rsp + 0x74], al
je 0x1401c1587
lea rcx, [rbp + 0x130]
call fcn.1401bf020
nop
mov dword [rbp + 0x130], 1
mov qword [rbp + 0x168], r14
mov eax, dword [rsp + 0x50]
mov dword [rbp + 0x15c], eax
inc eax
mov dword [rsp + 0x50], eax
mov r15, qword [rsp + 0x40]
movabs rax, 0x186186186186186
cmp qword [rsp + 0x48], rax
je 0x1401c2892
lea rax, [rsp + 0x40]
mov qword [rbp + 0x1d0], rax
xor r12d, r12d
mov qword [rbp + 0x1d8], r12
mov ecx, 0xa8
call fcn.14032af80
mov rdi, rax
mov qword [rbp + 0x1d8], rax
lea rcx, [rax + 0x10]
lea rdx, [rbp + 0x130]
call fcn.1401bee10
nop
inc qword [rsp + 0x48]
mov rcx, qword [r15 + 8]
mov qword [rdi], r15
mov qword [rdi + 8], rcx
mov qword [rbp + 0x1d8], r12
mov qword [r15 + 8], rdi
mov qword [rcx], rdi
lea rcx, [rbp + 0x130]
call fcn.1401bf2f0
jmp 0x1401c159e
call fcn.1400f2ee0
lea rdx, str.LWS:_Unexpected_keyword:_Channel
mov rcx, rax
call fcn.1400f2ec0
xor r12d, r12d
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
add rcx, 0x50
mov dword [rbp + 0xf0], r12d
mov dword [rbp + 0xf4], 0x10
mov eax, 1
mov dword [rbp + 0xf8], eax
mov dword [rbp + 0xfc], eax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], r12
mov qword [rbp + 0x118], r12
mov qword [rbp + 0x120], r12
lea rdx, [rbp + 0xf0]
call fcn.1401c4540
nop
mov r9, qword [rbp + 0x100]
test r9, r9
je 0x1401c163a
mov rcx, qword [rbp + 0x110]
sub rcx, r9
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov r8, rdx
shr r8, 0x3f
add r8, rdx
mov rdx, r9
lea rcx, [rbp + 0x100]
call fcn.14007c510
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
mov rax, qword [rcx + 0x50]
mov r8, qword [rax + 8]
mov ecx, r12d
nop
movsx edx, byte [r14]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1401c1669
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0x18]
lea ecx, [rdx + rcx*2]
inc r14
jmp 0x1401c1650
mov dword [r8 + 0x10], ecx
lea eax, [rcx + 1]
mov dword [r8 + 0x14], eax
jmp 0x1401c2138
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c1685
mov rcx, qword [rdi]
cmp r15, 8
jne 0x1401c16ed
mov r8, r15
lea rdx, str.Envelope
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c16ed
cmp qword [rsp + 0x48], 0
je 0x1401c16d4
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
cmp qword [rax + 0x58], 0
je 0x1401c16d4
mov rax, qword [rax + 0x50]
mov r8, qword [rax + 8]
add r8, 0x10
mov rdx, rdi
mov rcx, qword [rsp + 0x58]
call fcn.1401c2df0
jmp 0x1401c2138
call fcn.1400f2ee0
lea rdx, str.LWS:_Unexpected_keyword:_Envelope
mov rcx, rax
call fcn.1400f2ec0
jmp 0x1401c2138
cmp r13d, 3
jae 0x1401c17c7
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c1703
mov rcx, qword [rdi]
cmp r15, 0xc
jne 0x1401c171c
mov r8, r15
lea rdx, str.ObjectMotion
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401c1766
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c1728
mov rcx, qword [rdi]
cmp r15, 0xc
jne 0x1401c1741
mov r8, r15
lea rdx, str.CameraMotion
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401c1766
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c174d
mov rcx, qword [rdi]
cmp r15, 0xb
jne 0x1401c17c7
mov r8, r15
lea rdx, str.LightMotion
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c17c7
cmp qword [rsp + 0x48], 0
jne 0x1401c1787
call fcn.1400f2ee0
lea rdx, str.LWS:_Unexpected_keyword:__LightObjectCamera_Motion
mov rcx, rax
call fcn.1400f2ec0
jmp 0x1401c2138
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 8]
add r9, 0x10
mov rax, qword [rbp + 0x250]
mov qword [rbp + 0xd0], rax
mov dword [rsp + 0x20], r13d
lea r8, [rbp + 0xd0]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call fcn.1401c3710
mov rbx, qword [rsp + 0x60]
jmp 0x1401c2138
cmp r13d, 2
jne 0x1401c18d3
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c17dd
mov rcx, qword [rdi]
cmp r15, 0x10
jne 0x1401c18d3
mov r8, r15
lea rdx, str.Pre_PostBehavior
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c18d3
cmp qword [rsp + 0x48], 0
jne 0x1401c181f
call fcn.1400f2ee0
lea rdx, str.LWS:_Unexpected_keyword:_Pre_PostBehavior
mov rcx, rax
call fcn.1400f2ec0
jmp 0x1401c2138
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
mov rdx, qword [rcx + 0x50]
mov rax, qword [rdx]
cmp rax, rdx
je 0x1401c2138
xor r12d, r12d
nop dword [rax + rax]
mov edx, r12d
movsx r8d, byte [r14]
lea ecx, [r8 - 0x30]
cmp cl, 9
ja 0x1401c185f
lea edx, [rdx + rdx*4]
lea edx, [rdx - 0x18]
lea edx, [r8 + rdx*2]
inc r14
jmp 0x1401c1843
mov dword [rax + 0x18], edx
movzx r8d, byte [r14]
cmp r8b, 0x20
je 0x1401c1872
cmp r8b, 9
jne 0x1401c1877
inc r14
jmp 0x1401c1862
mov edx, r12d
nop word [rax + rax]
lea ecx, [r8 - 0x30]
cmp cl, 9
ja 0x1401c189f
lea edx, [rdx + rdx*4]
movsx ecx, r8b
lea edx, [rdx - 0x18]
lea edx, [rcx + rdx*2]
inc r14
movzx r8d, byte [r14]
jmp 0x1401c1880
mov dword [rax + 0x1c], edx
movzx ecx, byte [r14]
cmp cl, 0x20
je 0x1401c18b0
cmp cl, 9
jne 0x1401c18b5
inc r14
jmp 0x1401c18a2
mov r8, qword [rax]
mov rax, r8
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx + 8]
cmp r8, qword [rdx + 0x50]
jne 0x1401c1840
jmp 0x1401c2138
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c18df
mov rcx, qword [rdi]
cmp r15, 0xa
jne 0x1401c1971
mov r8, r15
lea rdx, str.ParentItem
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c1971
cmp qword [rsp + 0x48], 0
jne 0x1401c191d
call fcn.1400f2ee0
lea rdx, str.LWS:_Unexpected_keyword:_ParentItem
mov rcx, rax
call fcn.1400f2ec0
jmp 0x1401c2138
xor edx, edx
nop
movsx ecx, byte [r14]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1401c1938
shl edx, 4
add edx, 0xffffffd0
add edx, ecx
inc r14
jmp 0x1401c1920
lea eax, [rcx - 0x41]
cmp al, 5
ja 0x1401c194c
shl edx, 4
add edx, 0xffffffc9
add edx, ecx
inc r14
jmp 0x1401c1920
lea eax, [rcx - 0x61]
cmp al, 5
ja 0x1401c1960
shl edx, 4
add edx, 0xffffffa9
add edx, ecx
inc r14
jmp 0x1401c1920
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
mov dword [rcx + 0x40], edx
jmp 0x1401c2138
cmp r13d, 3
jae 0x1401c19f3
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c1983
mov rcx, qword [rdi]
cmp r15, 0xc
jne 0x1401c19f3
mov r8, r15
lea rdx, str.ParentObject
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c19f3
cmp qword [rsp + 0x48], 0
jne 0x1401c19bd
call fcn.1400f2ee0
lea rdx, str.LWS:_Unexpected_keyword:_ParentObject
mov rcx, rax
call fcn.1400f2ec0
jmp 0x1401c2138
xor r8d, r8d
movsx edx, byte [r14]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1401c19dc
lea r8d, [r8 + r8*4]
lea r8d, [r8 - 0x18]
lea r8d, [rdx + r8*2]
inc r14
jmp 0x1401c19c0
bts r8d, 0x1c
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
mov dword [rcx + 0x40], r8d
jmp 0x1401c2138
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c19ff
mov rcx, qword [rdi]
cmp r15, 9
jne 0x1401c1a1c
mov r8, r15
lea rdx, str.AddCamera
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c1a1c
mov al, 1
jmp 0x1401c1a1e
xor al, al
test al, al
je 0x1401c1b36
lea rcx, [rbp + 0x130]
call fcn.1401bf020
nop
mov dword [rbp + 0x130], 3
cmp r13d, 4
jb 0x1401c1a9e
xor r12d, r12d
mov ecx, r12d
nop dword [rax]
movsx edx, byte [r14]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1401c1a68
shl ecx, 4
add ecx, 0xffffffd0
add ecx, edx
inc r14
jmp 0x1401c1a50
lea eax, [rdx - 0x41]
cmp al, 5
ja 0x1401c1a7c
shl ecx, 4
add ecx, 0xffffffc9
add ecx, edx
inc r14
jmp 0x1401c1a50
lea eax, [rdx - 0x61]
cmp al, 5
ja 0x1401c1a90
shl ecx, 4
add ecx, 0xffffffa9
add ecx, edx
inc r14
jmp 0x1401c1a50
and ecx, 0xfffffff
mov dword [rbp + 0x15c], ecx
jmp 0x1401c1ab1
mov eax, dword [rsp + 0x78]
mov dword [rbp + 0x15c], eax
inc eax
mov dword [rsp + 0x78], eax
xor r12d, r12d
mov r14, qword [rsp + 0x40]
movabs rax, 0x186186186186186
cmp qword [rsp + 0x48], rax
je 0x1401c289f
lea rax, [rsp + 0x40]
mov qword [rbp + 0x1f0], rax
mov qword [rbp + 0x1f8], r12
mov ecx, 0xa8
call fcn.14032af80
mov rdi, rax
mov qword [rbp + 0x1f8], rax
lea rcx, [rax + 0x10]
lea rdx, [rbp + 0x130]
call fcn.1401bee10
nop
inc qword [rsp + 0x48]
mov rcx, qword [r14 + 8]
mov qword [rdi], r14
mov qword [rdi + 8], rcx
mov qword [rbp + 0x1f8], r12
mov qword [r14 + 8], rdi
mov qword [rcx], rdi
inc dword [rsp + 0x6c]
lea rcx, [rbp + 0x130]
call fcn.1401bf2f0
jmp 0x1401c2138
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c1b42
mov rcx, qword [rdi]
cmp r15, 0xa
jne 0x1401c1b94
mov r8, r15
lea rdx, str.CameraName
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c1b94
cmp qword [rsp + 0x48], 0
je 0x1401c1b7b
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
cmp dword [rcx + 0x10], 3
jne 0x1401c1b7b
mov qword [rcx + 0x48], r14
jmp 0x1401c2138
call fcn.1400f2ee0
lea rdx, str.LWS:_Unexpected_keyword:_CameraName
mov rcx, rax
call fcn.1400f2ec0
jmp 0x1401c2138
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c1ba0
mov rcx, qword [rdi]
cmp r15, 8
jne 0x1401c1bbd
mov r8, r15
lea rdx, str.AddLight
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c1bbd
mov al, 1
jmp 0x1401c1bbf
xor al, al
test al, al
je 0x1401c1c74
lea rcx, [rbp + 0x130]
call fcn.1401bf020
nop
mov dword [rbp + 0x130], 2
cmp r13d, 4
jb 0x1401c1c3e
xor ecx, ecx
nop word [rax + rax]
movsx edx, byte [r14]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1401c1c08
shl ecx, 4
add ecx, 0xffffffd0
add ecx, edx
inc r14
jmp 0x1401c1bf0
lea eax, [rdx - 0x41]
cmp al, 5
ja 0x1401c1c1c
shl ecx, 4
add ecx, 0xffffffc9
add ecx, edx
inc r14
jmp 0x1401c1bf0
lea eax, [rdx - 0x61]
cmp al, 5
ja 0x1401c1c30
shl ecx, 4
add ecx, 0xffffffa9
add ecx, edx
inc r14
jmp 0x1401c1bf0
and ecx, 0xfffffff
mov dword [rbp + 0x15c], ecx
jmp 0x1401c1c4e
mov eax, dword [rsp + 0x7c]
mov dword [rbp + 0x15c], eax
inc eax
mov dword [rsp + 0x7c], eax
lea rdx, [rbp + 0x130]
lea rcx, [rsp + 0x40]
call fcn.1401c4620
inc dword [rsp + 0x70]
lea rcx, [rbp + 0x130]
call fcn.1401bf2f0
jmp 0x1401c2138
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c1c80
mov rcx, qword [rdi]
cmp r15, 9
jne 0x1401c1cd2
mov r8, r15
lea rdx, str.LightName
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c1cd2
cmp qword [rsp + 0x48], 0
je 0x1401c1cb9
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
cmp dword [rcx + 0x10], 2
jne 0x1401c1cb9
mov qword [rcx + 0x48], r14
jmp 0x1401c2138
call fcn.1400f2ee0
lea rdx, str.LWS:_Unexpected_keyword:_LightName
mov rcx, rax
call fcn.1400f2ec0
jmp 0x1401c2138
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c1cde
mov rcx, qword [rdi]
cmp r15, 0xe
jne 0x1401c1cf7
mov r8, r15
lea rdx, str.LightIntensity
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401c1d1c
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c1d03
mov rcx, qword [rdi]
cmp r15, 0xc
jne 0x1401c1d60
mov r8, r15
lea rdx, str.LgtIntensity
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c1d60
cmp qword [rsp + 0x48], 0
je 0x1401c1d47
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 8]
cmp dword [rdx + 0x10], 2
jne 0x1401c1d47
add rdx, 0x7c
mov r8b, 1
mov rcx, r14
call fcn.140039ad0
jmp 0x1401c2138
call fcn.1400f2ee0
lea rdx, str.LWS:_Unexpected_keyword:_LightIntensity
mov rcx, rax
call fcn.1400f2ec0
jmp 0x1401c2138
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c1d6c
mov rcx, qword [rdi]
cmp r15, 9
jne 0x1401c1dde
mov r8, r15
lea rdx, str.LightType
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c1dde
cmp qword [rsp + 0x48], 0
je 0x1401c1dc5
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + 8]
cmp dword [r8 + 0x10], 2
jne 0x1401c1dc5
xor ecx, ecx
nop
movsx edx, byte [r14]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1401c1db9
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0x18]
lea ecx, [rdx + rcx*2]
inc r14
jmp 0x1401c1da0
mov dword [r8 + 0x80], ecx
jmp 0x1401c2138
call fcn.1400f2ee0
lea rdx, str.LWS:_Unexpected_keyword:_LightType
mov rcx, rax
call fcn.1400f2ec0
jmp 0x1401c2138
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c1dea
mov rcx, qword [rdi]
cmp r15, 0x10
jne 0x1401c1e5e
mov r8, r15
lea rdx, str.LightFalloffType
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c1e5e
cmp qword [rsp + 0x48], 0
je 0x1401c1e45
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + 8]
cmp dword [r8 + 0x10], 2
jne 0x1401c1e45
xor ecx, ecx
nop dword [rax]
movsx edx, byte [r14]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x1401c1e39
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0x18]
lea ecx, [rdx + rcx*2]
inc r14
jmp 0x1401c1e20
mov dword [r8 + 0x84], ecx
jmp 0x1401c2138
call fcn.1400f2ee0
lea rdx, str.LWS:_Unexpected_keyword:_LightFalloffType
mov rcx, rax
call fcn.1400f2ec0
jmp 0x1401c2138
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c1e6a
mov rcx, qword [rdi]
cmp r15, 0xe
jne 0x1401c1ee7
mov r8, r15
lea rdx, str.LightConeAngle
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c1ee7
cmp qword [rsp + 0x48], 0
je 0x1401c1ece
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
cmp dword [rcx + 0x10], 2
jne 0x1401c1ece
mov dword [rsp + 0x60], 0
mov r8b, 1
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.140039ad0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
movss xmm0, dword [rsp + 0x60]
movss dword [rcx + 0x88], xmm0
jmp 0x1401c2138
call fcn.1400f2ee0
lea rdx, str.LWS:_Unexpected_keyword:_LightConeAngle
mov rcx, rax
call fcn.1400f2ec0
jmp 0x1401c2138
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c1ef3
mov rcx, qword [rdi]
cmp r15, 0xe
jne 0x1401c1f70
mov r8, r15
lea rdx, str.LightEdgeAngle
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c1f70
cmp qword [rsp + 0x48], 0
je 0x1401c1f57
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
cmp dword [rcx + 0x10], 2
jne 0x1401c1f57
mov dword [rsp + 0x60], 0
mov r8b, 1
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.140039ad0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
movss xmm0, dword [rsp + 0x60]
movss dword [rcx + 0x8c], xmm0
jmp 0x1401c2138
call fcn.1400f2ee0
lea rdx, str.LWS:_Unexpected_keyword:_LightEdgeAngle
mov rcx, rax
call fcn.1400f2ec0
jmp 0x1401c2138
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c1f7c
mov rcx, qword [rdi]
cmp r15, 0xa
jne 0x1401c203d
mov r8, r15
lea rdx, str.LightColor
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c203d
cmp qword [rsp + 0x48], 0
je 0x1401c2024
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 8]
cmp dword [rdx + 0x10], 2
jne 0x1401c2024
add rdx, 0x70
mov r8b, 1
mov rcx, r14
call fcn.140039ad0
mov r9, rax
movzx ecx, byte [r9]
cmp cl, 0x20
je 0x1401c1fd4
cmp cl, 9
jne 0x1401c1fd9
inc r9
jmp 0x1401c1fc6
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 8]
add rdx, 0x74
mov r8b, 1
mov rcx, r9
call fcn.140039ad0
mov r9, rax
movzx ecx, byte [r9]
cmp cl, 0x20
je 0x1401c2002
cmp cl, 9
jne 0x1401c2007
inc r9
jmp 0x1401c1ff4
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 8]
add rdx, 0x78
mov r8b, 1
mov rcx, r9
call fcn.140039ad0
jmp 0x1401c2138
call fcn.1400f2ee0
lea rdx, str.LWS:_Unexpected_keyword:_LightColor
mov rcx, rax
call fcn.1400f2ec0
jmp 0x1401c2138
mov rcx, rdi
cmp r12, 0x10
jb 0x1401c2049
mov rcx, qword [rdi]
cmp r15, 0xd
jne 0x1401c2062
mov r8, r15
lea rdx, str.PivotPosition
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401c208f
cmp r12, 0x10
jb 0x1401c206b
mov rdi, qword [rdi]
cmp r15, 0xa
jne 0x1401c2138
mov r8, r15
lea rdx, str.PivotPoint
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401c2138
cmp qword [rsp + 0x48], 0
jne 0x1401c20b0
call fcn.1400f2ee0
lea rdx, str.LWS:_Unexpected_keyword:_PivotPosition
mov rcx, rax
call fcn.1400f2ec0
jmp 0x1401c2138
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 8]
add rdx, 0x60
mov r8b, 1
mov rcx, r14
call fcn.140039ad0
mov r9, rax
nop dword [rax + rax]
movzx ecx, byte [r9]
cmp cl, 0x20
je 0x1401c20de
cmp cl, 9
jne 0x1401c20e3
inc r9
jmp 0x1401c20d0
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 8]
add rdx, 0x64
mov r8b, 1
mov rcx, r9
call fcn.140039ad0
mov r9, rax
nop
movzx ecx, byte [r9]
cmp cl, 0x20
je 0x1401c210e
cmp cl, 9
jne 0x1401c2113
inc r9
jmp 0x1401c2100
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 8]
add rdx, 0x68
mov r8b, 1
mov rcx, r9
call fcn.140039ad0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
mov byte [rcx + 0x6c], 1
mov rax, qword [rbx]
mov rbx, rax
mov qword [rsp + 0x60], rax
cmp rax, qword [rbp + 0x250]
jne 0x1401c0a91
mov rcx, qword [rsp + 0x40]
mov rdi, qword [rcx]
cmp rdi, rcx
je 0x1401c226e
movabs rdx, 0xaaaaaaaaaaaaaaa
nop dword [rax + rax]
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rcx]
cmp rbx, rcx
je 0x1401c225d
cmp rbx, rdi
je 0x1401c224c
lea r15, [rdi + 0x10]
lea r13, [rbx + 0x10]
mov ecx, dword [r13 + 0x30]
test ecx, ecx
je 0x1401c224c
mov eax, ecx
shr eax, 0x1c
cmp eax, dword [r15]
jne 0x1401c224c
and ecx, 0xfffffff
cmp ecx, dword [r15 + 0x2c]
jne 0x1401c224c
cmp qword [r13 + 0x90], 0
je 0x1401c21ea
call fcn.1400f2ee0
lea rdx, str.LWS:_Found_cross_reference_in_scenegraph
mov rcx, rax
call fcn.1400f2ec0
jmp 0x1401c2242
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r14, [r15 + 0x80]
mov r12, qword [r14]
cmp qword [r14 + 8], rdx
je 0x1401c279d
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], 0
mov edx, 1
mov rcx, r14
call fcn.140028640
mov qword [rax + 0x10], r13
inc qword [r14 + 8]
mov rcx, qword [r12 + 8]
mov qword [rax], r12
mov qword [rax + 8], rcx
mov qword [rbp - 0x50], 0
mov qword [r12 + 8], rax
mov qword [rcx], rax
mov qword [r13 + 0x90], r15
movabs rdx, 0xaaaaaaaaaaaaaaa
mov rax, qword [rbx]
mov rbx, rax
cmp rax, qword [rsp + 0x40]
jne 0x1401c2181
mov rax, qword [rdi]
mov rdi, rax
cmp rax, qword [rsp + 0x40]
jne 0x1401c2170
xor r15d, r15d
mov ebx, r15d
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
cmp rax, rcx
je 0x1401c27aa
nop word [rax + rax]
mov ecx, ebx
inc ebx
cmp qword [rax + 0xa0], r15
cmovne ebx, ecx
mov rcx, qword [rax]
mov rax, rcx
cmp rcx, qword [rsp + 0x40]
jne 0x1401c2290
test ebx, ebx
je 0x1401c27aa
lea rcx, [rbp - 0x80]
call fcn.14007a880
mov ecx, 0x78
call fcn.14032af80
mov qword [rbp + 0xd0], rax
mov rcx, rax
call fcn.140283a50
mov r14, rax
mov ecx, 0x478
call fcn.14032af80
mov qword [rbp + 0xd0], rax
mov rcx, rax
call fcn.140313da0
mov rdi, rax
mov qword [r14 + 8], rax
mov eax, dword [rsp + 0x6c]
mov r12, 0xffffffffffffffff
test eax, eax
je 0x1401c2327
mov dword [r14 + 0x60], eax
mov ecx, eax
mov eax, 8
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.1401a68d0
mov qword [r14 + 0x68], rax
jmp 0x1401c232b
mov rax, qword [r14 + 0x68]
mov qword [rbp + 0x58], rax
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x1401c2357
mov dword [r14 + 0x50], eax
mov ecx, eax
mov eax, 8
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.1401a68d0
mov qword [r14 + 0x58], rax
jmp 0x1401c235b
mov rax, qword [r14 + 0x58]
mov qword [rbp + 0x50], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r15
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r15
mov qword [rdi], 9
movsd xmm0, qword [str._LWSRoot_]
movsd qword [rdi + 8], xmm0
movzx eax, byte [0x14037ff90]
mov byte [rdi + 0x10], al
mov byte [rdi + 0x11], 0
mov ecx, ebx
mov eax, 8
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.1401a68d0
mov qword [rdi + 0x458], rax
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rcx]
cmp rbx, rcx
je 0x1401c2464
mov rsi, qword [rsp + 0x58]
nop dword [rax]
cmp qword [rbx + 0xa0], 0
jne 0x1401c244e
mov ecx, 0x478
call fcn.14032af80
mov qword [rbp + 0xd0], rax
mov rcx, rax
call fcn.140313da0
nop
mov edx, dword [rdi + 0x450]
mov rcx, qword [rdi + 0x458]
mov qword [rcx + rdx*8], rax
inc dword [rdi + 0x450]
mov qword [rax + 0x448], rdi
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x50]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x40]
lea r8, [rbx + 0x10]
mov rdx, rax
mov rcx, rsi
call fcn.1401bf3f0
mov rcx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rcx
jne 0x1401c23d0
mov rsi, qword [rbp + 0x60]
xor r15d, r15d
mov rax, qword [rbp - 0x70]
sub rax, qword [rbp - 0x78]
sar rax, 3
test rax, rax
je 0x1401c258c
mov dword [r14 + 0x30], 1
mov ecx, 8
call fcn.1401a68d0
mov qword [r14 + 0x38], rax
mov ecx, 0x448
call fcn.14032af80
mov rbx, rax
mov qword [rbp + 0xd0], rax
mov qword [rax], r15
mov byte [rax + 8], 0
movabs rax, 0xbff0000000000000
mov qword [rbx + 0x408], rax
mov qword [rbx + 0x410], r15
mov dword [rbx + 0x418], r15d
mov qword [rbx + 0x420], r15
mov dword [rbx + 0x428], r15d
mov qword [rbx + 0x430], r15
mov dword [rbx + 0x438], r15d
mov qword [rbx + 0x440], r15
mov rax, qword [r14 + 0x38]
mov qword [rax], rbx
mov qword [rbx], 0xd
movsd xmm0, qword [str.LWSMasterAnim]
movsd qword [rbx + 8], xmm0
mov eax, dword [0x14037ffa0]
mov dword [rbx + 0x10], eax
movzx eax, byte [0x14037ffa4]
mov byte [rbx + 0x14], al
mov byte [rbx + 0x15], 0
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x50]
mov qword [rbx + 0x410], rcx
movsd xmm1, qword [rdi + 0x40]
subsd xmm1, xmm7
movsd xmm0, qword [rdi + 0x48]
subsd xmm0, xmm1
movsd qword [rbx + 0x408], xmm0
mov rcx, qword [rbp - 0x70]
sub rcx, qword [rbp - 0x78]
sar rcx, 3
mov dword [rbx + 0x418], ecx
mov ecx, ecx
mov eax, 8
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.1401a68d0
mov qword [rbx + 0x420], rax
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
sub r8, rdx
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
jmp 0x1401c2591
mov rdi, qword [rsp + 0x58]
lea rcx, [rbp + 0xb0]
call fcn.1400e70d0
nop
mov rdx, r14
lea rcx, [rbp + 0xb0]
call fcn.1400e7420
lea rcx, [rbp + 0x98]
call fcn.1400e70a0
nop
mov rdx, r14
lea rcx, [rbp + 0x98]
call fcn.1400e7360
mov eax, 0x13
mov r9d, 1
cmp byte [rdi + 0x30], 0
cmove r9d, eax
lea r8, [rbp - 0x40]
mov rdx, r14
lea rcx, [rbp - 0x60]
call fcn.140260460
mov rax, qword [rbp - 0x60]
cmp dword [rax + 0x10], 0
je 0x1401c25fc
cmp dword [rax + 0x20], 0
jne 0x1401c2628
or dword [rax], 1
mov rdx, qword [rbp - 0x60]
cmp dword [rdx + 0x30], 0
je 0x1401c2628
cmp byte [rdi + 0x58], 0
jne 0x1401c2628
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbp - 0x20]
call fcn.140263000
lea rcx, [rbp - 0x20]
call fcn.140074630
nop
lea rcx, [rbp + 0x98]
call fcn.1400e7110
nop
lea rcx, [rbp + 0xb0]
call fcn.1400e7120
nop
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x1401c266b
mov r8, qword [rbp - 0x68]
sub r8, rdx
sar r8, 3
lea rcx, [rbp - 0x78]
call fcn.1400288f0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r15
mov rdx, qword [rbp - 0x40]
test rdx, rdx
je 0x1401c2694
mov r8, qword [rbp - 0x30]
sub r8, rdx
sar r8, 4
lea rcx, [rbp - 0x40]
call fcn.1400390c0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r15
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + 8]
mov qword [rax], r15
mov rdi, qword [rcx]
test rdi, rdi
je 0x1401c26d1
nop dword [rax + rax]
mov rbx, qword [rdi]
lea rcx, [rdi + 0x10]
call fcn.1401bf2f0
mov edx, 0xa8
mov rcx, rdi
call fcn.1401a68e0
mov rdi, rbx
test rbx, rbx
jne 0x1401c26b0
mov edx, 0xa8
mov rcx, qword [rsp + 0x40]
call fcn.1401a68e0
nop
lea rcx, [rbp - 0x80]
call fcn.140078830
nop
lea rcx, [rbp + 0x250]
call fcn.1401bf220
lea r9, [fcn.140023380]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rbp + 0x210]
call fcn.14032b6e0
nop
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x1401c275d
mov rdx, qword [rbp + 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401c274c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401c274c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401a68e0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r15
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14032b620
movaps xmm6, xmmword [rsp + 0x380]
movaps xmm7, xmmword [rsp + 0x370]
add rsp, 0x398
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, str.list_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
lea rdx, str.LWS:_Unable_to_find_scene_root_node
lea rcx, [rbp + 0xf0]
call fcn.1400223b0
nop
lea rdx, [rbp + 0xf0]
lea rcx, [rbp - 0x58]
call fcn.140022450
lea rdx, [0x1404167f0]
lea rcx, [rbp - 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov r8, rbx
lea rdx, str.Failed_to_open_LWS_file
lea rcx, [rbp + 0x1f0]
call fcn.140028c30
nop
lea r8, [0x1403552bc]
mov rdx, rax
lea rcx, [rbp + 0x1d0]
call fcn.140028aa0
nop
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.140022450
lea rdx, [0x1404167f0]
lea rcx, [rbp - 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.LWS:_Not_a_LightWave_scene__magic_tag_LWSC_not_found
lea rcx, [rbp + 0xf0]
call fcn.1400223b0
nop
lea rdx, [rbp + 0xf0]
lea rcx, [rbp - 0x58]
call fcn.140022450
lea rdx, [0x1404167f0]
lea rcx, [rbp - 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140028540
nop
call fcn.14002d710
nop
lea rcx, str.list_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
nop
lea rcx, str.list_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
nop
lea rcx, str.list_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
nop
lea rcx, str.list_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
nop
lea rcx, str.list_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3