Function at 0x14002a6d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x140109720]
xor rax, rsp
mov qword [rbp + 7], rax
mov rsi, qword [0x14010d498]
xor r12d, r12d
mov rdi, rcx
mov qword [rbp - 0x41], rsi
mov r15, rsi
mov eax, dword [rsi + 0x3f70]
and byte [rcx + 0xcc], 0xfb
mov dword [rcx + 0xac], eax
mov qword [rcx + 0xa0], r12
mov qword [rcx + 0x98], r12
cmp qword [rcx + 0x18], r12
jne 0x14002a897
call fcn.14002a3b0
xor eax, eax
xorps xmm0, xmm0
mov ecx, eax
mov qword [rbp - 0x19], rax
movups xmmword [rbp - 0x29], xmm0
cmp dword [rdi + 0x30], eax
jle 0x14002a758
inc ecx
mov qword [rbp - 0x21], rdi
mov dword [rbp - 0x19], ecx
mov r8, rdi
jmp 0x14002a75c
mov r8, qword [rbp - 0x21]
mov rdx, qword [rbp - 0x29]
mov eax, dword [rdi + 0x10]
shr eax, 0xb
test al, 1
cmovne rdx, rdi
mov qword [rbp - 0x29], rdx
cmp ecx, 1
jle 0x14002a77a
test rdx, rdx
jne 0x14002a7ba
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14002a79a
lea rdx, [rbp - 0x29]
mov rcx, rax
call fcn.14002a340
mov ecx, dword [rbp - 0x19]
mov rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x21]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x14002a7ba
lea rdx, [rbp - 0x29]
mov rcx, rax
call fcn.14002a340
mov ecx, dword [rbp - 0x19]
mov rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x21]
cmp ecx, 1
mov qword [rdi + 0x98], rdx
mov rax, r12
mov dword [rdi + 0xa8], ecx
cmove rax, r8
mov qword [rdi + 0xa0], rax
cmp dword [rdi + 0xb8], r12d
jne 0x14002a7f3
test r8, r8
je 0x14002a86d
mov eax, dword [r8]
mov dword [rdi + 0xb8], eax
test r8, r8
je 0x14002a86d
mov rax, qword [r8 + 0x38]
mov r9d, 1
mov rcx, qword [rax]
movups xmm0, xmmword [rcx + 0x1c]
movups xmmword [rdi + 0x64], xmm0
movsd xmm1, qword [rcx + 0x2c]
movsd qword [rdi + 0x74], xmm1
mov eax, dword [rcx + 0x34]
mov dword [rdi + 0x7c], eax
movsxd rax, dword [r8 + 0x30]
cmp eax, r9d
jle 0x14002a86d
mov r11, qword [r8 + 0x38]
mov r10, rax
mov r8d, r9d
lea rcx, [r11 + 8]
mov rax, qword [rcx]
cmp byte [rax + 0x35], r12b
je 0x14002a84e
inc r9d
inc r8
add rcx, 8
cmp r8, r10
jl 0x14002a834
jmp 0x14002a86d
movsxd rax, r9d
mov rcx, qword [r11 + rax*8]
movups xmm0, xmmword [rcx + 0x1c]
movups xmmword [rdi + 0x64], xmm0
movsd xmm1, qword [rcx + 0x2c]
movsd qword [rdi + 0x74], xmm1
mov eax, dword [rcx + 0x34]
mov dword [rdi + 0x7c], eax
test rdx, rdx
je 0x14002a890
nop dword [rax]
nop word [rax + rax]
or byte [rdx + 0xcc], 0x20
mov rdx, qword [rdx + 0x18]
test rdx, rdx
jne 0x14002a880
mov rsi, qword [0x14010d498]
cmp qword [rdi + 0x40], r12
je 0x14002a8b6
mov eax, dword [rdi + 0x10]
shr eax, 0xc
test al, 1
je 0x14002a8b6
mov rcx, rdi
call fcn.14002cb20
mov rsi, qword [0x14010d498]
mov r9, qword [rdi + 0x18]
xor r8b, r8b
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x108], r14
test r9, r9
jne 0x14002aafc
test dword [rdi + 0x10], 0x400
jne 0x14002aafc
mov edx, dword [rdi + 0x30]
lea r14, [rdi + 0x30]
cmp edx, 1
jg 0x14002a90f
cmp qword [rdi + 0x20], r12
jne 0x14002a90f
cmp byte [r15 + 0x5a], r8b
jne 0x14002a90f
test edx, edx
je 0x14002a90c
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
cmp byte [rcx + 0x34], r8b
jne 0x14002a90f
mov r8b, 1
cmp dword [rdi + 0xa8], r12d
je 0x14002a921
test r8b, r8b
je 0x14002ab00
cmp edx, 1
jne 0x14002aa17
mov rax, qword [rdi + 0x38]
mov rbx, qword [rax]
mov eax, dword [rdi + 0xc8]
and eax, 0xfffffebf
bts eax, 7
movsd xmm0, qword [rbx + 0x50]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rdi + 0x48], xmm0
movsd xmm1, qword [rbx + 0x60]
and eax, 0xfffffffa
or eax, 2
movsd qword [rdi + 0x50], xmm1
mov dword [rdi + 0xc8], eax
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x14002a98c
cmp qword [r15 + 0x4a98], rax
jne 0x14002a98c
xor edx, edx
mov rcx, rbx
call fcn.14001aa60
mov rsi, qword [0x14010d498]
mov rcx, qword [rdi + 0x88]
test rcx, rcx
je 0x14002aa0e
test dword [r15 + 0x5f04], 0x100
je 0x14002a9ce
mov rcx, qword [rcx + 0x38]
mov rax, qword [rbx + 8]
mov r9d, dword [rbx + 0x10]
mov edx, dword [rdi]
mov r8d, dword [rcx]
lea rcx, str._viewport__Node__08X_transfer_Viewport__08X___08X_to_Window__s_n
mov qword [rsp + 0x20], rax
call fcn.1400319e0
mov rsi, qword [0x14010d498]
mov rax, qword [rdi + 0x88]
mov rdx, qword [rax + 0x38]
mov qword [rbx + 0x38], rdx
mov rax, qword [rdi + 0x88]
mov ecx, dword [rax + 0x40]
mov dword [rbx + 0x40], ecx
mov rax, qword [rdi + 0x88]
cmp byte [rax + 0xea], r12b
je 0x14002aa0e
mov eax, dword [rbx + 0x10]
mov dword [rdx], eax
mov rax, qword [rbx + 0x38]
mov qword [rax + 0x60], rbx
mov byte [rbx + 0xea], 1
mov eax, dword [rbx + 0x40]
mov dword [rdi + 0xc4], eax
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x14002aa3a
cmp qword [rax + 0x450], rdi
jne 0x14002aa33
mov qword [rax + 0x450], r12
mov qword [rdi + 0x88], r12
cmp dword [r14], 1
jne 0x14002aa58
mov rcx, qword [rdi + 0x38]
mov rax, qword [rcx]
mov qword [rdi + 0x90], rax
mov rax, qword [rcx]
and byte [rax + 0x42d], 0xfe
cmp qword [rdi + 0x40], r12
je 0x14002aa6d
mov rcx, rdi
call fcn.14002cb20
mov rsi, qword [0x14010d498]
movzx eax, byte [rdi + 0xcc]
and al, 0xbf
mov dword [rdi + 0x14], 1
and al, 0xe7
mov dword [rdi + 0xc0], r12d
test byte [rdi + 0xcd], 1
mov byte [rdi + 0xcc], al
mov eax, dword [r15 + 0x3f70]
mov dword [rdi + 0xb0], eax
je 0x14002b62c
cmp dword [r14], 1
jne 0x14002b62c
mov rax, qword [rdi + 0x38]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.140010880
movss xmm1, dword [rsi + 0x36fc]
movss xmm0, dword [rsi + 0x3700]
subss xmm1, dword [rdi + 0x48]
subss xmm0, dword [rdi + 0x4c]
mov qword [rsi + 0x4030], rbx
movss dword [rsi + 0x408c], xmm1
movss dword [rsi + 0x4090], xmm0
and byte [rdi + 0xcd], 0xfe
jmp 0x14002b62c
lea r14, [rdi + 0x30]
movzx r8d, byte [rdi + 0xcc]
mov qword [rsp + 0x100], r13
mov r13, r14
test r8b, 1
je 0x14002abb0
cmp qword [rdi + 0x88], r12
jne 0x14002abb0
test r9, r9
jne 0x14002abb0
test dword [rdi + 0x10], 0x400
jne 0x14002abb0
cmp qword [rdi + 0x20], r12
jne 0x14002abb0
mov r9d, dword [rdi + 0xbc]
test r9d, r9d
je 0x14002ab87
mov r10d, dword [rdi + 0x30]
lea r13, [rdi + 0x30]
mov ecx, r12d
test r10d, r10d
jle 0x14002ab87
mov r11, qword [rdi + 0x38]
mov rdx, r11
mov rax, qword [rdx]
cmp dword [rax + 0x10], r9d
je 0x14002ab7b
inc ecx
add rdx, 8
cmp ecx, r10d
jl 0x14002ab65
jmp 0x14002ab87
movsxd rax, ecx
mov rcx, qword [r11 + rax*8]
test rcx, rcx
jne 0x14002ab92
mov rax, qword [rdi + 0x38]
lea r13, [rdi + 0x30]
mov rcx, qword [rax]
cmp byte [rcx + 0x108], r12b
jg 0x14002aba4
cmp byte [rcx + 0x109], r12b
jle 0x14002abb0
mov dword [rdi + 0x14], 2
jmp 0x14002b624
mov ecx, dword [r13]
mov r10d, dword [rdi + 0x10]
movaps xmmword [rsp + 0xb0], xmm6
mov dword [rbp - 0x45], r10d
test ecx, ecx
jle 0x14002abe3
bt r10d, 0xe
jb 0x14002abe3
and r8b, 0xf7
or r8b, 0x10
mov byte [rdi + 0xcc], r8b
mov r8d, r12d
jmp 0x14002abf8
and r8b, 0xe7
mov eax, r10d
mov byte [rdi + 0xcc], r8b
mov r8d, r12d
test ecx, ecx
jle 0x14002ac52
mov r9, r12
nop dword [rax + rax]
mov rax, qword [rdi + 0x38]
lea r9, [r9 + 8]
mov rdx, qword [r9 + rax - 8]
movzx eax, byte [rdi + 0xcc]
movzx ecx, byte [rdx + 0xf5]
shl cl, 3
or cl, al
xor cl, al
and cl, 8
xor cl, al
cmp dword [r13], 1
mov byte [rdi + 0xcc], cl
movzx eax, byte [rdx + 0x42d]
setg cl
and al, 0xfe
inc r8d
or cl, al
mov byte [rdx + 0x42d], cl
cmp r8d, dword [r13]
jl 0x14002ac00
mov eax, dword [rdi + 0x10]
bt r10d, 0xf
jae 0x14002ac60
and byte [rdi + 0xcc], 0xf7
shr eax, 0xa
mov r14, r12
mov byte [rbp - 0x58], r12b
test al, 1
je 0x14002ac7a
mov r14, qword [rdi + 0x88]
jmp 0x14002af4f
mov rax, qword [rdi + 0x18]
test rax, rax
jne 0x14002aedb
test byte [rdi + 0xcc], 1
je 0x14002aef3
cmp dword [r13], r12d
jle 0x14002aca3
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
jmp 0x14002aca6
mov rcx, r12
mov eax, dword [rdi + 0xc8]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x14002acca
test rcx, rcx
je 0x14002acfa
or dword [rsi + 0x48f8], 1
movsd xmm0, qword [rcx + 0x50]
jmp 0x14002acda
cmp eax, 1
jne 0x14002acfa
or dword [rsi + 0x48f8], eax
movsd xmm0, qword [rdi + 0x48]
mov byte [rsi + 0x4934], 1
mov dword [rsi + 0x48fc], 1
mov qword [rsi + 0x4914], r12
movsd qword [rsi + 0x490c], xmm0
mov eax, dword [rdi + 0xc8]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x14002ad1d
test rcx, rcx
je 0x14002ad40
or dword [rsi + 0x48f8], eax
movsd xmm0, qword [rcx + 0x60]
jmp 0x14002ad2e
cmp eax, 1
jne 0x14002ad40
or dword [rsi + 0x48f8], 2
movsd xmm0, qword [rdi + 0x50]
mov dword [rsi + 0x4900], 1
movsd qword [rsi + 0x491c], xmm0
mov eax, dword [rdi + 0xc8]
and al, 0x38
cmp al, 0x10
jne 0x14002ad6f
test rcx, rcx
je 0x14002ad6f
movzx eax, byte [rcx + 0xee]
or dword [rsi + 0x48f8], 8
mov byte [rsi + 0x4935], al
mov dword [rsi + 0x4904], 1
mov eax, dword [rdi + 0xc8]
and eax, 0x1c0
cmp eax, 0x80
jne 0x14002ada5
test rcx, rcx
je 0x14002ad8b
mov eax, dword [rcx + 0x40]
jmp 0x14002ad95
mov eax, dword [rdi + 0xc4]
test eax, eax
je 0x14002ada5
or dword [rsi + 0x48f8], 0x100
mov dword [rsi + 0x495c], eax
or dword [rsi + 0x48f8], 0x400
lea r8, str.DockNode__02X
movups xmm0, xmmword [rdi + 0x64]
mov edx, 0x14
lea rcx, [rbp - 0x11]
movups xmmword [rsi + 0x4964], xmm0
movsd xmm1, qword [rdi + 0x74]
movsd qword [rsi + 0x4974], xmm1
mov eax, dword [rdi + 0x7c]
mov dword [rsi + 0x497c], eax
mov r9d, dword [rdi]
call fcn.14000aa20
mov rbx, qword [0x14010d498]
lea rdx, [rbp - 0x55]
mov dword [rbp - 0x55], 2
or dword [rbx + 0x48f8], 0x40
lea rcx, [rbx + 0x4998]
mov dword [rbx + 0x4958], r12d
movss xmm1, dword [rbx + 0x38e0]
movss xmm0, dword [rbx + 0x38e4]
movss dword [rbp - 0x51], xmm1
movss dword [rbp - 0x4d], xmm0
call fcn.1400326c0
xor edx, edx
mov qword [rbx + 0x38e0], r12
mov r8d, 0x20081139
lea rcx, [rbp - 0x11]
call fcn.140017840
mov ecx, 1
call fcn.14000c650
mov rax, qword [rdi + 0x88]
mov r14, qword [r15 + 0x4018]
mov byte [rbp - 0x58], 1
test rax, rax
je 0x14002ae7c
cmp rax, r14
je 0x14002ae7c
cmp qword [rax + 0x450], rdi
jne 0x14002ae7c
mov qword [rax + 0x450], r12
mov qword [r14 + 0x450], rdi
mov qword [rdi + 0x88], r14
movss xmm0, dword [r14 + 0x50]
movss xmm1, dword [r14 + 0x54]
movss dword [r14 + 0x138], xmm0
movss dword [r14 + 0x13c], xmm1
mov rcx, qword [rdi + 0x88]
movss dword [rdi + 0x48], xmm0
movss dword [rdi + 0x4c], xmm1
movsd xmm0, qword [r14 + 0x58]
movsd qword [rdi + 0x50], xmm0
cmp byte [rcx + 0xf1], r12b
je 0x14002aed2
call fcn.14001a9b0
mov rsi, qword [0x14010d498]
jmp 0x14002aee9
mov r14, qword [rax + 0x88]
mov qword [rdi + 0x88], r14
and dword [rdi + 0xc8], 0xfffffe00
test byte [rdi + 0xcd], 1
je 0x14002af4f
mov rbx, qword [rdi + 0x88]
test rbx, rbx
je 0x14002af4f
mov rcx, rbx
call fcn.140010880
movss xmm1, dword [rsi + 0x36fc]
movss xmm0, dword [rsi + 0x3700]
subss xmm1, dword [rdi + 0x48]
subss xmm0, dword [rdi + 0x4c]
mov qword [rsi + 0x4030], rbx
movss dword [rsi + 0x408c], xmm1
movss dword [rsi + 0x4090], xmm0
and byte [rdi + 0xcd], 0xfe
mov rsi, qword [0x14010d498]
mov r8, qword [rdi + 0x18]
mov dword [rdi + 0xc4], r12d
test r8, r8
jne 0x14002afe3
mov rax, qword [r15 + 0x4a98]
test rax, rax
je 0x14002afc9
mov rax, qword [rax + 0x3b8]
test rax, rax
je 0x14002afe3
nop dword [rax + rax]
mov rdx, qword [rax + 0x448]
test rdx, rdx
je 0x14002afe3
mov rax, qword [rdx + 0x18]
mov rcx, rdx
test rax, rax
je 0x14002afac
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14002afa0
cmp rcx, rdi
je 0x14002afd2
mov rax, qword [rcx + 0x88]
test rax, rax
je 0x14002afc9
mov rax, qword [rax + 0x3b8]
test rax, rax
jne 0x14002af80
mov r15, qword [rdi + 0x98]
jmp 0x14002aff3
mov eax, dword [rdx]
mov r15, qword [rdi + 0x98]
mov dword [rdi + 0xb8], eax
jmp 0x14002aff3
mov r15, qword [rdi + 0x98]
test r8, r8
jne 0x14002b1bb
mov eax, dword [rbp - 0x45]
test r14, r14
je 0x14002b1be
mov r12d, eax
and r12d, 8
je 0x14002b1be
test r15, r15
je 0x14002b1be
cmp qword [r15 + 0x20], 0
jne 0x14002b1be
cmp dword [r15 + 0x30], 0
jne 0x14002b1be
cmp byte [rsi + 0x4c58], 0
mov byte [rbp - 0x59], 1
je 0x14002b081
cmp dword [rsi + 0x4c7c], 0xffffffff
je 0x14002b081
lea rax, [rsi + 0x4c68]
test rax, rax
je 0x14002b081
cmp dword [rax + 0x14], 0xffffffff
je 0x14002b081
lea rdx, [rax + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14002b081
mov rdx, qword [rsi + 0x4c68]
mov rcx, r14
mov rdx, qword [rdx]
call fcn.14002cc80
test al, al
jne 0x14002b1c9
mov rax, qword [r15 + 0x18]
mov rcx, r15
movaps xmmword [rsp + 0xa0], xmm7
test rax, rax
je 0x14002b0ac
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14002b0a0
movss xmm0, dword [rcx + 0x48]
movss xmm4, dword [r15 + 0x48]
movaps xmm6, xmm0
comiss xmm4, xmm0
movss xmm3, dword [r15 + 0x4c]
movaps xmm2, xmm4
movss xmm7, dword [rcx + 0x4c]
movaps xmm1, xmm3
addss xmm6, dword [rcx + 0x50]
addss xmm2, dword [r15 + 0x50]
addss xmm1, dword [r15 + 0x54]
addss xmm7, dword [rcx + 0x54]
movss xmm5, dword [0x1400cf818]
jbe 0x14002b0f2
addss xmm4, xmm5
comiss xmm6, xmm2
jbe 0x14002b0fb
subss xmm2, xmm5
comiss xmm3, dword [rcx + 0x4c]
jbe 0x14002b105
addss xmm3, xmm5
comiss xmm7, xmm1
movaps xmm7, xmmword [rsp + 0xa0]
jbe 0x14002b116
subss xmm1, xmm5
comiss xmm4, xmm2
ja 0x14002b1c9
comiss xmm3, xmm1
ja 0x14002b1c9
mov rcx, qword [r14 + 0x3a8]
subss xmm1, xmm3
subss xmm2, xmm4
movaps xmm0, xmm4
cvttss2si r8d, xmm1
movaps xmm1, xmm3
mov word [rbp - 0x53], r8w
cvttss2si edx, xmm2
mov word [rbp - 0x55], dx
mov eax, dword [rbp - 0x55]
mov dword [r14 + 0x290], eax
subss xmm0, dword [r14 + 0x50]
subss xmm1, dword [r14 + 0x54]
cvttss2si eax, xmm0
mov word [rbp - 0x55], ax
cvttss2si eax, xmm1
mov word [rbp - 0x53], ax
mov eax, dword [rbp - 0x55]
mov dword [r14 + 0x294], eax
test rcx, rcx
je 0x14002b1c9
mov word [rbp - 0x55], dx
mov word [rbp - 0x53], r8w
mov eax, dword [rbp - 0x55]
mov dword [rcx + 0x290], eax
subss xmm4, dword [rcx + 0x50]
subss xmm3, dword [rcx + 0x54]
cvttss2si eax, xmm4
mov word [rbp - 0x55], ax
cvttss2si eax, xmm3
mov word [rbp - 0x53], ax
mov eax, dword [rbp - 0x55]
mov dword [rcx + 0x294], eax
jmp 0x14002b1c9
mov eax, dword [rbp - 0x45]
mov r12d, eax
mov byte [rbp - 0x59], 0
and r12d, 8
cmp qword [rdi + 0x18], 0
mov ebx, r12d
xorps xmm6, xmm6
jne 0x14002b30b
test r14, r14
je 0x14002b54c
mov r8, qword [r14 + 0x58]
xor r9d, r9d
mov rdx, qword [r14 + 0x50]
mov rcx, rdi
call fcn.14002e790
movups xmm0, xmmword [rsi + 0x3b68]
lea rcx, [rsi + 0x4988]
mov dword [rbp - 0x29], 0x1b
lea rdx, [rbp - 0x29]
movups xmmword [rbp - 0x25], xmm0
call fcn.1400327b0
mov rbx, qword [rbp - 0x41]
lea rdx, [rbp - 0x29]
mov dword [rbp - 0x29], 0x1d
movups xmm0, xmmword [rbx + 0x3a08]
mov rbx, qword [0x14010d498]
movups xmmword [rsi + 0x3b68], xmm0
movups xmm0, xmmword [rbx + 0x3b88]
lea rcx, [rbx + 0x4988]
movups xmmword [rbp - 0x25], xmm0
call fcn.1400327b0
mov rsi, qword [rbp - 0x41]
lea rdx, [rbp - 0x29]
mov dword [rbp - 0x29], 0x1c
movups xmm0, xmmword [rsi + 0x3bb8]
movups xmmword [rbx + 0x3b88], xmm0
mov rbx, qword [0x14010d498]
movups xmm0, xmmword [rbx + 0x3b78]
lea rcx, [rbx + 0x4988]
movups xmmword [rbp - 0x25], xmm0
call fcn.1400327b0
movups xmm0, xmmword [rsi + 0x3ba8]
mov rcx, rdi
movups xmmword [rbx + 0x3b78], xmm0
call fcn.14002ec50
mov r8, qword [0x14010d498]
mov r9d, 3
mov eax, dword [r8 + 0x4988]
cmp eax, r9d
jge 0x14002b2d0
mov r9d, eax
mov ebx, r12d
test eax, eax
jle 0x14002b30b
nop word [rax + rax]
mov rcx, qword [r8 + 0x4990]
dec r9d
cdqe
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, rax
movups xmmword [r8 + rax*8 + 0x39b8], xmm0
dec dword [r8 + 0x4988]
mov eax, dword [r8 + 0x4988]
test r9d, r9d
jg 0x14002b2d0
jmp 0x14002b314
test r14, r14
je 0x14002b54c
cmp qword [rdi + 0x20], 0
jne 0x14002b3f0
cmp dword [r13], 0
jne 0x14002b3f0
test byte [rdi + 0xcc], 1
mov ebx, r12d
je 0x14002b3f3
mov rdx, qword [r14 + 0x2d8]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.1400682a0
mov ebx, dword [rbp - 0x45]
and ebx, 8
je 0x14002b36e
or byte [rdi + 0xcc], 4
mov dword [rdi + 0x80], 0
jmp 0x14002b3f3
mov rax, qword [0x14010d498]
lea rcx, [rbp - 0x39]
movups xmm0, xmmword [rax + 0x3c28]
movups xmmword [rbp - 0x39], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38d8]
movss dword [rbp - 0x2d], xmm0
call fcn.14000b160
mov dword [rdi + 0x80], eax
test eax, eax
je 0x14002b3e7
movss xmm0, dword [rdi + 0x48]
lea rdx, [rdi + 0x48]
movss xmm1, dword [rdi + 0x54]
lea r8, [rbp - 0x55]
addss xmm0, dword [rdi + 0x50]
addss xmm1, dword [rdx + 4]
mov rcx, qword [r14 + 0x2d8]
mov r9d, eax
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm6
movss dword [rbp - 0x55], xmm0
movss dword [rbp - 0x51], xmm1
call fcn.1400678c0
or byte [rdi + 0xcc], 4
jmp 0x14002b3f3
mov ebx, r12d
test r14, r14
je 0x14002b54c
cmp qword [rdi + 0x18], 0
jne 0x14002b51f
test ebx, ebx
je 0x14002b51f
test byte [rdi + 0xcc], 1
je 0x14002b51f
mov rdx, qword [r14 + 0x2d8]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.1400682a0
cmp byte [rbp - 0x59], 0
lea rcx, [rbp - 0x29]
mov rax, qword [0x14010d498]
movups xmm0, xmmword [rax + 0x39d8]
movups xmmword [rbp - 0x29], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38d8]
movss dword [rbp - 0x1d], xmm0
je 0x14002b4d7
movss xmm0, dword [r15 + 0x48]
movss xmm1, dword [r15 + 0x4c]
movss dword [rbp - 0x55], xmm0
addss xmm0, dword [r15 + 0x50]
movss dword [rbp - 0x51], xmm1
addss xmm1, dword [r15 + 0x54]
movss dword [rbp - 0x4d], xmm0
movss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x49], xmm1
movss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x39], xmm0
addss xmm0, dword [rdi + 0x50]
movss dword [rbp - 0x35], xmm1
addss xmm1, dword [rdi + 0x54]
movss dword [rbp - 0x31], xmm0
movss dword [rbp - 0x2d], xmm1
call fcn.14000b160
mov rcx, qword [r14 + 0x2d8]
lea rdx, [rbp - 0x39]
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea r8, [rbp - 0x55]
call fcn.14006c700
jmp 0x14002b51f
movss xmm0, dword [rdi + 0x48]
movss xmm1, dword [rdi + 0x4c]
addss xmm0, dword [rdi + 0x50]
addss xmm1, dword [rdi + 0x54]
movss dword [rbp - 0x55], xmm0
movss dword [rbp - 0x51], xmm1
call fcn.14000b160
mov rcx, qword [r14 + 0x2d8]
lea rdx, [rdi + 0x48]
mov r9d, eax
mov dword [rsp + 0x28], 0
lea r8, [rbp - 0x55]
movss dword [rsp + 0x20], xmm6
call fcn.1400678c0
mov rdx, qword [r14 + 0x2d8]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.1400682a0
cmp dword [r13], 0
jle 0x14002b54c
mov rdx, r14
mov rcx, rdi
call fcn.14002b7f0
jmp 0x14002b567
movzx eax, byte [rdi + 0xcc]
and al, 0xbf
mov dword [rdi + 0xc0], 0
and al, 0xfd
mov byte [rdi + 0xcc], al
mov rax, qword [rdi + 0x40]
movaps xmm6, xmmword [rsp + 0xb0]
test rax, rax
je 0x14002b57f
mov eax, dword [rax + 0x18]
test eax, eax
jne 0x14002b593
cmp dword [r13], 0
jle 0x14002b599
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
mov eax, dword [rcx + 0xb0]
mov dword [rdi + 0xbc], eax
mov rbx, qword [rbp - 0x41]
test r14, r14
je 0x14002b5dd
test byte [rdi + 0xcc], 1
je 0x14002b5dd
cmp qword [rdi + 0x18], 0
jne 0x14002b5dd
mov rax, qword [rbx + 0x4030]
test rax, rax
je 0x14002b5c7
cmp qword [rax + 0x3c8], r14
je 0x14002b5dd
mov rcx, r14
call fcn.140030570
mov eax, dword [rbx + 0x3f70]
mov dword [rdi + 0xb0], eax
jmp 0x14002b5ee
mov eax, dword [rbx + 0x3f70]
mov dword [rdi + 0xb0], eax
test r14, r14
je 0x14002b619
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x14002b5fc
call fcn.14002a6d0
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x14002b60a
call fcn.14002a6d0
cmp qword [rdi + 0x18], 0
jne 0x14002b619
mov rcx, r14
call fcn.1400162c0
cmp byte [rbp - 0x58], 0
je 0x14002b624
call fcn.14001a6a0
mov r13, qword [rsp + 0x100]
mov r14, qword [rsp + 0x108]
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400b69d0
add rsp, 0xc0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret