Function at 0x18002d550
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r13
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x180358080]
xor rax, rsp
mov qword [rbp - 1], rax
mov rsi, qword [0x18035ba60]
xor r15d, r15d
mov rdi, rcx
mov r13, rsi
mov eax, dword [rsi + 0x40d8]
and byte [rcx + 0xcc], 0xfb
mov dword [rcx + 0xac], eax
mov qword [rcx + 0xa0], r15
mov qword [rcx + 0x98], r15
cmp qword [rcx + 0x18], r15
jne 0x18002d6f7
call fcn.18002d1c0
xor eax, eax
xorps xmm0, xmm0
mov ecx, eax
mov qword [rbp - 0x21], rax
movups xmmword [rbp - 0x31], xmm0
cmp dword [rdi + 0x30], eax
jle 0x18002d5d4
inc ecx
mov qword [rbp - 0x29], rdi
mov dword [rbp - 0x21], ecx
mov r8, rdi
jmp 0x18002d5d8
mov r8, qword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
mov eax, dword [rdi + 0x10]
shr eax, 0xb
test al, 1
cmovne rdx, rdi
mov qword [rbp - 0x31], rdx
cmp ecx, 1
jle 0x18002d5f6
test rdx, rdx
jne 0x18002d636
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x18002d616
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.18002d140
mov ecx, dword [rbp - 0x21]
mov rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x29]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x18002d636
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.18002d140
mov ecx, dword [rbp - 0x21]
mov rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x29]
cmp ecx, 1
mov qword [rdi + 0x98], rdx
mov rax, r15
mov dword [rdi + 0xa8], ecx
cmove rax, r8
mov qword [rdi + 0xa0], rax
cmp dword [rdi + 0xb8], r15d
jne 0x18002d66b
test r8, r8
je 0x18002d6d5
mov eax, dword [r8]
mov dword [rdi + 0xb8], eax
test r8, r8
je 0x18002d6d5
mov rax, qword [r8 + 0x38]
mov r9d, 1
mov rcx, qword [rax]
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rdi + 0x64], xmm0
movups xmm1, xmmword [rcx + 0x38]
movups xmmword [rdi + 0x74], xmm1
movsxd rax, dword [r8 + 0x30]
cmp eax, r9d
jle 0x18002d6d5
mov r11, qword [r8 + 0x38]
mov r10, rax
mov r8d, r9d
lea rcx, [r11 + 8]
mov rax, qword [rcx]
cmp byte [rax + 0x45], r15b
je 0x18002d6be
inc r9d
inc r8
add rcx, 8
cmp r8, r10
jl 0x18002d6a4
jmp 0x18002d6d5
movsxd rax, r9d
mov rcx, qword [r11 + rax*8]
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rdi + 0x64], xmm0
movups xmm1, xmmword [rcx + 0x38]
movups xmmword [rdi + 0x74], xmm1
test rdx, rdx
je 0x18002d6f0
nop word [rax + rax]
or byte [rdx + 0xcc], 0x20
mov rdx, qword [rdx + 0x18]
test rdx, rdx
jne 0x18002d6e0
mov rsi, qword [0x18035ba60]
cmp qword [rdi + 0x40], r15
je 0x18002d716
mov eax, dword [rdi + 0x10]
shr eax, 0xc
test al, 1
je 0x18002d716
mov rcx, rdi
call fcn.18002f840
mov rsi, qword [0x18035ba60]
xor r8b, r8b
mov qword [rsp + 0xf8], rbx
cmp qword [rdi + 0x18], r15
jne 0x18002d94d
test dword [rdi + 0x10], 0x400
jne 0x18002d94d
mov edx, dword [rdi + 0x30]
cmp edx, 1
jg 0x18002d760
cmp qword [rdi + 0x20], r15
jne 0x18002d760
cmp byte [r13 + 0x5a], r8b
jne 0x18002d760
test edx, edx
je 0x18002d75d
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
cmp byte [rcx + 0x44], r8b
jne 0x18002d760
mov r8b, 1
cmp dword [rdi + 0xa8], r15d
je 0x18002d772
test r8b, r8b
je 0x18002d94d
cmp edx, 1
jne 0x18002d868
mov rax, qword [rdi + 0x38]
mov rbx, qword [rax]
mov eax, dword [rdi + 0xc8]
and eax, 0xfffffebf
bts eax, 7
movsd xmm0, qword [rbx + 0x60]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rdi + 0x48], xmm0
movsd xmm1, qword [rbx + 0x70]
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 0x18002d7dd
cmp qword [r13 + 0x4d40], rax
jne 0x18002d7dd
xor edx, edx
mov rcx, rbx
call fcn.18001d6e0
mov rsi, qword [0x18035ba60]
mov r8, qword [rdi + 0x88]
test r8, r8
je 0x18002d85f
test dword [r13 + 0x62d4], 0x200
je 0x18002d81f
mov r8, qword [r8 + 0x48]
lea rcx, str._viewport__Node__08X_transfer_Viewport__08X___08X_to_Window__s_n
mov rax, qword [rbx + 0x10]
mov r9d, dword [rbx + 0x18]
mov edx, dword [rdi]
mov r8d, dword [r8]
mov qword [rsp + 0x20], rax
call fcn.1800345b0
mov rsi, qword [0x18035ba60]
mov rax, qword [rdi + 0x88]
mov rdx, qword [rax + 0x48]
mov qword [rbx + 0x48], rdx
mov rax, qword [rdi + 0x88]
mov ecx, dword [rax + 0x50]
mov dword [rbx + 0x50], ecx
mov rax, qword [rdi + 0x88]
cmp byte [rax + 0xfa], r15b
je 0x18002d85f
mov eax, dword [rbx + 0x18]
mov dword [rdx], eax
mov rax, qword [rbx + 0x48]
mov qword [rax + 0x60], rbx
mov byte [rbx + 0xfa], 1
mov eax, dword [rbx + 0x50]
mov dword [rdi + 0xc4], eax
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x18002d88b
cmp qword [rax + 0x470], rdi
jne 0x18002d884
mov qword [rax + 0x470], r15
mov qword [rdi + 0x88], r15
cmp dword [rdi + 0x30], 1
jne 0x18002d8a9
mov rcx, qword [rdi + 0x38]
mov rax, qword [rcx]
mov qword [rdi + 0x90], rax
mov rax, qword [rcx]
and byte [rax + 0x44d], 0xfe
cmp qword [rdi + 0x40], r15
je 0x18002d8be
mov rcx, rdi
call fcn.18002f840
mov rsi, qword [0x18035ba60]
movzx eax, byte [rdi + 0xcc]
and al, 0xbf
mov dword [rdi + 0x14], 1
and al, 0xe7
mov dword [rdi + 0xc0], r15d
test byte [rdi + 0xcd], 1
mov byte [rdi + 0xcc], al
mov eax, dword [r13 + 0x40d8]
mov dword [rdi + 0xb0], eax
je 0x18002e443
cmp dword [rdi + 0x30], 1
jne 0x18002e443
mov rax, qword [rdi + 0x38]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.180012cd0
movss xmm1, dword [rsi + 0x381c]
movss xmm0, dword [rsi + 0x3820]
subss xmm1, dword [rdi + 0x48]
subss xmm0, dword [rdi + 0x4c]
mov qword [rsi + 0x4198], rbx
movss dword [rsi + 0x41fc], xmm1
movss dword [rsi + 0x4200], xmm0
and byte [rdi + 0xcd], 0xfe
jmp 0x18002e443
test byte [rdi + 0xcc], 1
je 0x18002d9c6
cmp qword [rdi + 0x88], r15
jne 0x18002d9c6
cmp qword [rdi + 0x18], r15
jne 0x18002d9c6
test dword [rdi + 0x10], 0x400
jne 0x18002d9c6
cmp qword [rdi + 0x20], r15
jne 0x18002d9c6
mov edx, dword [rdi + 0xbc]
test edx, edx
je 0x18002d9a1
mov rcx, qword [rdi + 0x38]
movsxd rax, dword [rdi + 0x30]
lea r8, [rcx + rax*8]
cmp rcx, r8
je 0x18002d9a1
nop
mov rax, qword [rcx]
cmp dword [rax + 0x18], edx
je 0x18002d9a8
add rcx, 8
cmp rcx, r8
jne 0x18002d990
mov rax, qword [rdi + 0x38]
mov rax, qword [rax]
cmp byte [rax + 0x118], r15b
jg 0x18002d9ba
cmp byte [rax + 0x119], r15b
jle 0x18002d9c6
mov dword [rdi + 0x14], 2
jmp 0x18002e443
movsxd rdx, dword [rdi + 0x30]
mov qword [rsp + 0x108], r14
mov r14d, dword [rdi + 0x10]
movaps xmmword [rsp + 0x90], xmm9
mov dword [rbp - 0x55], r14d
test edx, edx
jle 0x18002d9f2
bt r14d, 0xe
jb 0x18002d9f2
mov cl, 0x10
jmp 0x18002d9f4
xor cl, cl
movzx eax, byte [rdi + 0xcc]
and al, 0xef
or al, cl
mov ecx, r14d
and al, 0xf7
mov byte [rdi + 0xcc], al
mov r8, qword [rdi + 0x38]
lea r9, [r8 + rdx*8]
cmp r8, r9
je 0x18002da67
nop word [rax + rax]
mov rdx, qword [r8]
movzx eax, byte [rdi + 0xcc]
movzx ecx, byte [rdx + 0x105]
shl cl, 3
or cl, al
and al, 0xf7
and cl, 8
xor cl, al
cmp dword [rdi + 0x30], 1
mov byte [rdi + 0xcc], cl
movzx eax, byte [rdx + 0x44d]
setg cl
and al, 0xfe
add r8, 8
or cl, al
mov byte [rdx + 0x44d], cl
cmp r8, r9
jne 0x18002da20
mov ecx, dword [rdi + 0x10]
bt r14d, 0xf
jae 0x18002da75
and byte [rdi + 0xcc], 0xf7
shr ecx, 0xa
mov rbx, r15
mov byte [rbp - 0x59], bl
test cl, 1
je 0x18002da8f
mov rbx, qword [rdi + 0x88]
jmp 0x18002dd57
mov rax, qword [rdi + 0x18]
test rax, rax
jne 0x18002dcdf
test byte [rdi + 0xcc], 1
je 0x18002dcf7
cmp dword [rdi + 0x30], ebx
jle 0x18002dab7
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
jmp 0x18002daba
mov rcx, r15
mov eax, dword [rdi + 0xc8]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x18002dade
test rcx, rcx
je 0x18002db0e
or dword [rsi + 0x4b80], 1
movsd xmm0, qword [rcx + 0x60]
jmp 0x18002daee
cmp eax, 1
jne 0x18002db0e
or dword [rsi + 0x4b80], eax
movsd xmm0, qword [rdi + 0x48]
mov byte [rsi + 0x4bc0], 1
mov dword [rsi + 0x4b84], 1
mov qword [rsi + 0x4b9c], r15
movsd qword [rsi + 0x4b94], xmm0
mov eax, dword [rdi + 0xc8]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x18002db31
test rcx, rcx
je 0x18002db54
or dword [rsi + 0x4b80], eax
movsd xmm0, qword [rcx + 0x70]
jmp 0x18002db42
cmp eax, 1
jne 0x18002db54
or dword [rsi + 0x4b80], 2
movsd xmm0, qword [rdi + 0x50]
mov dword [rsi + 0x4b88], 1
movsd qword [rsi + 0x4ba4], xmm0
mov eax, dword [rdi + 0xc8]
and al, 0x38
cmp al, 0x10
jne 0x18002db83
test rcx, rcx
je 0x18002db83
movzx eax, byte [rcx + 0xfe]
or dword [rsi + 0x4b80], 8
mov byte [rsi + 0x4bc1], al
mov dword [rsi + 0x4b8c], 1
mov eax, dword [rdi + 0xc8]
and eax, 0x1c0
cmp eax, 0x80
jne 0x18002dbb9
test rcx, rcx
je 0x18002db9f
mov eax, dword [rcx + 0x50]
jmp 0x18002dba9
mov eax, dword [rdi + 0xc4]
test eax, eax
je 0x18002dbb9
or dword [rsi + 0x4b80], 0x200
mov dword [rsi + 0x4bec], eax
or dword [rsi + 0x4b80], 0x800
lea r8, str.DockNode__02X
movups xmm0, xmmword [rdi + 0x64]
mov edx, 0x14
lea rcx, [rbp - 0x19]
movups xmmword [rsi + 0x4bf4], xmm0
movups xmm1, xmmword [rdi + 0x74]
movups xmmword [rsi + 0x4c04], xmm1
mov r9d, dword [rdi]
call fcn.18000d780
mov rbx, qword [0x18035ba60]
lea rdx, [rbp - 0x51]
mov dword [rbp - 0x51], 2
or dword [rbx + 0x4b80], 0x40
lea rcx, [rbx + 0x4c38]
mov dword [rbx + 0x4be8], r15d
movss xmm1, dword [rbx + 0x3a00]
movss xmm0, dword [rbx + 0x3a04]
movss dword [rbp - 0x4d], xmm1
movss dword [rbp - 0x49], xmm0
call fcn.180035670
xor edx, edx
mov qword [rbx + 0x3a00], r15
mov r8d, 0x20021139
lea rcx, [rbp - 0x19]
call fcn.18001a310
mov ecx, 1
call fcn.18000e800
mov rax, qword [rdi + 0x88]
mov rbx, qword [r13 + 0x4180]
mov byte [rbp - 0x59], 1
test rax, rax
je 0x18002dc85
cmp rax, rbx
je 0x18002dc85
cmp qword [rax + 0x470], rdi
jne 0x18002dc85
mov qword [rax + 0x470], r15
mov qword [rbx + 0x470], rdi
mov qword [rdi + 0x88], rbx
movss xmm0, dword [rbx + 0x60]
movss xmm1, dword [rbx + 0x64]
movss dword [rbx + 0x148], xmm0
movss dword [rbx + 0x14c], xmm1
mov rcx, qword [rdi + 0x88]
movss dword [rdi + 0x48], xmm0
movss dword [rdi + 0x4c], xmm1
movsd xmm0, qword [rbx + 0x68]
movsd qword [rdi + 0x50], xmm0
cmp byte [rcx + 0x101], r15b
je 0x18002dcd6
call fcn.18001d630
mov rsi, qword [0x18035ba60]
jmp 0x18002dced
mov rbx, qword [rax + 0x88]
mov qword [rdi + 0x88], rbx
and dword [rdi + 0xc8], 0xfffffe00
test byte [rdi + 0xcd], 1
je 0x18002dd57
mov r14, qword [rdi + 0x88]
test r14, r14
je 0x18002dd53
mov rcx, r14
call fcn.180012cd0
movss xmm1, dword [rsi + 0x381c]
movss xmm0, dword [rsi + 0x3820]
subss xmm1, dword [rdi + 0x48]
subss xmm0, dword [rdi + 0x4c]
mov qword [rsi + 0x4198], r14
movss dword [rsi + 0x41fc], xmm1
movss dword [rsi + 0x4200], xmm0
and byte [rdi + 0xcd], 0xfe
mov rsi, qword [0x18035ba60]
mov r14d, dword [rbp - 0x55]
mov dword [rdi + 0xc4], r15d
cmp qword [rdi + 0x18], r15
jne 0x18002ddda
mov rdx, qword [r13 + 0x4d40]
test rdx, rdx
je 0x18002ddda
mov rdx, qword [rdx + 0x3d0]
test rdx, rdx
je 0x18002ddda
nop dword [rax]
mov rcx, qword [rdx + 0x468]
test rcx, rcx
je 0x18002ddda
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x18002ddac
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x18002dda0
cmp rcx, rdi
je 0x18002ddcb
mov rdx, qword [rcx + 0x88]
test rdx, rdx
je 0x18002ddda
mov rdx, qword [rdx + 0x3d0]
test rdx, rdx
jne 0x18002dd80
jmp 0x18002ddda
mov rax, qword [rdx + 0x468]
mov ecx, dword [rax]
mov dword [rdi + 0xb8], ecx
cmp qword [rdi + 0x18], 0
xorps xmm9, xmm9
mov r15, qword [rdi + 0x98]
mov qword [rsp + 0x100], r12
jne 0x18002dfc7
test rbx, rbx
je 0x18002dfc7
test r14b, 8
je 0x18002dfc7
test r15, r15
je 0x18002dfc7
cmp qword [r15 + 0x20], 0
jne 0x18002dfc7
cmp dword [r15 + 0x30], 0
jne 0x18002dfc7
cmp byte [rsi + 0x4f74], 0
mov r12b, 1
je 0x18002de7c
cmp dword [rsi + 0x4f9c], 0xffffffff
je 0x18002de7c
lea r14, [rsi + 0x4f88]
test r14, r14
je 0x18002de7c
cmp dword [r14 + 0x14], 0xffffffff
je 0x18002de7c
lea rdx, [r14 + 0x18]
lea rcx, str._IMWINDOW
call fcn.1800cfaf0
test eax, eax
jne 0x18002de7c
mov rdx, qword [r14]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.18002f9d0
test al, al
jne 0x18002dfe0
mov rax, qword [r15 + 0x18]
mov rcx, r15
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm8
test rax, rax
je 0x18002deac
nop dword [rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x18002dea0
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 xmm8, dword [rcx + 0x4c]
movaps xmm1, xmm3
addss xmm6, dword [rcx + 0x50]
addss xmm2, dword [r15 + 0x50]
addss xmm1, dword [r15 + 0x54]
addss xmm8, dword [rcx + 0x54]
movss xmm5, dword [0x180340110]
jbe 0x18002def4
addss xmm4, xmm5
comiss xmm6, xmm2
movaps xmm6, xmmword [rsp + 0xb0]
jbe 0x18002df05
subss xmm2, xmm5
comiss xmm3, dword [rcx + 0x4c]
jbe 0x18002df0f
addss xmm3, xmm5
comiss xmm8, xmm1
movaps xmm8, xmmword [rsp + 0xa0]
jbe 0x18002df22
subss xmm1, xmm5
comiss xmm4, xmm2
ja 0x18002dfe0
comiss xmm3, xmm1
ja 0x18002dfe0
mov rcx, qword [rbx + 0x3c0]
subss xmm1, xmm3
subss xmm2, xmm4
movaps xmm0, xmm4
cvttss2si r8d, xmm1
movaps xmm1, xmm3
mov word [rbp - 0x4f], r8w
cvttss2si edx, xmm2
mov word [rbp - 0x51], dx
mov eax, dword [rbp - 0x51]
mov dword [rbx + 0x2a8], eax
subss xmm0, dword [rbx + 0x60]
subss xmm1, dword [rbx + 0x64]
cvttss2si eax, xmm0
mov word [rbp - 0x51], ax
cvttss2si eax, xmm1
mov word [rbp - 0x4f], ax
mov eax, dword [rbp - 0x51]
mov dword [rbx + 0x2ac], eax
test rcx, rcx
je 0x18002dfca
mov word [rbp - 0x51], dx
mov word [rbp - 0x4f], r8w
mov eax, dword [rbp - 0x51]
mov dword [rcx + 0x2a8], eax
subss xmm4, dword [rcx + 0x60]
subss xmm3, dword [rcx + 0x64]
cvttss2si eax, xmm4
mov word [rbp - 0x51], ax
cvttss2si eax, xmm3
mov word [rbp - 0x4f], ax
mov eax, dword [rbp - 0x51]
mov dword [rcx + 0x2ac], eax
mov rax, qword [rdi + 0x18]
jmp 0x18002dfd7
xor r12b, r12b
mov rax, qword [rdi + 0x18]
test rbx, rbx
je 0x18002e1f6
test rax, rax
jne 0x18002e11b
mov r8, qword [rbx + 0x68]
xor r9d, r9d
mov rdx, qword [rbx + 0x60]
mov rcx, rdi
call fcn.180031820
movups xmm0, xmmword [rsi + 0x3cd0]
lea rcx, [rsi + 0x4c28]
mov dword [rbp - 0x31], 0x1f
lea rdx, [rbp - 0x31]
movups xmmword [rbp - 0x2d], xmm0
call fcn.1800357b0
cmp dword [rsi + 0x4c24], 0x1f
je 0x18002e02d
movups xmm0, xmmword [r13 + 0x3b30]
movups xmmword [rsi + 0x3cd0], xmm0
mov rsi, qword [0x18035ba60]
lea rdx, [rbp - 0x31]
mov dword [rbp - 0x31], 0x21
movups xmm0, xmmword [rsi + 0x3cf0]
lea rcx, [rsi + 0x4c28]
movups xmmword [rbp - 0x2d], xmm0
call fcn.1800357b0
cmp dword [rsi + 0x4c24], 0x21
je 0x18002e06e
movups xmm0, xmmword [r13 + 0x3d20]
movups xmmword [rsi + 0x3cf0], xmm0
mov rsi, qword [0x18035ba60]
lea rdx, [rbp - 0x31]
mov dword [rbp - 0x31], 0x20
movups xmm0, xmmword [rsi + 0x3ce0]
lea rcx, [rsi + 0x4c28]
movups xmmword [rbp - 0x2d], xmm0
call fcn.1800357b0
cmp dword [rsi + 0x4c24], 0x20
je 0x18002e0af
movups xmm0, xmmword [r13 + 0x3d10]
movups xmmword [rsi + 0x3ce0], xmm0
mov rcx, rdi
call fcn.180031c40
mov r8, qword [0x18035ba60]
mov r9d, 3
mov eax, dword [r8 + 0x4c28]
cmp eax, r9d
jge 0x18002e0e0
mov r9d, eax
test eax, eax
jle 0x18002e11b
nop word [rax + rax]
mov rcx, qword [r8 + 0x4c30]
dec r9d
cdqe
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, 0x3ae
add rax, rax
movups xmmword [r8 + rax*8], xmm0
dec dword [r8 + 0x4c28]
mov eax, dword [r8 + 0x4c28]
test r9d, r9d
jg 0x18002e0e0
cmp qword [rdi + 0x20], 0
jne 0x18002e1f6
cmp dword [rdi + 0x30], 0
jne 0x18002e1f6
test byte [rdi + 0xcc], 1
je 0x18002e1f6
mov rdx, qword [rbx + 0x2f0]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.180042560
mov r14d, dword [rbp - 0x55]
test r14b, 8
je 0x18002e173
or byte [rdi + 0xcc], 4
mov dword [rdi + 0x84], 0
jmp 0x18002e1fa
mov rax, qword [0x18035ba60]
lea rcx, [rbp - 0x41]
movups xmm0, xmmword [rax + 0x3d90]
movups xmmword [rbp - 0x41], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x39f8]
movss dword [rbp - 0x35], xmm0
call fcn.18000dff0
mov dword [rdi + 0x84], eax
test eax, eax
je 0x18002e1ed
movss xmm0, dword [rdi + 0x48]
lea rdx, [rdi + 0x48]
movss xmm1, dword [rdx + 4]
lea r8, [rbp - 0x51]
addss xmm0, dword [rdi + 0x50]
addss xmm1, dword [rdi + 0x54]
mov rcx, qword [rbx + 0x2f0]
mov r9d, eax
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm9
movss dword [rbp - 0x51], xmm0
movss dword [rbp - 0x4d], xmm1
call fcn.180041ac0
or byte [rdi + 0xcc], 4
jmp 0x18002e1fa
mov r14d, dword [rbp - 0x55]
test rbx, rbx
je 0x18002e355
cmp qword [rdi + 0x18], 0
jne 0x18002e329
test r14b, 8
je 0x18002e329
test byte [rdi + 0xcc], 1
je 0x18002e329
mov rdx, qword [rbx + 0x2f0]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.180042560
mov rax, qword [0x18035ba60]
lea rcx, [rbp - 0x31]
movups xmm0, xmmword [rax + 0x3b00]
movups xmmword [rbp - 0x31], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x39f8]
movss dword [rbp - 0x25], xmm0
test r12b, r12b
je 0x18002e2e0
movss xmm0, dword [r15 + 0x48]
movss xmm1, dword [r15 + 0x4c]
movss dword [rbp - 0x51], xmm0
addss xmm0, dword [r15 + 0x50]
movss dword [rbp - 0x4d], xmm1
addss xmm1, dword [r15 + 0x54]
movss dword [rbp - 0x49], xmm0
movss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x45], xmm1
movss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x41], xmm0
addss xmm0, dword [rdi + 0x50]
movss dword [rbp - 0x3d], xmm1
addss xmm1, dword [rdi + 0x54]
movss dword [rbp - 0x39], xmm0
movss dword [rbp - 0x35], xmm1
call fcn.18000dff0
mov rcx, qword [rbx + 0x2f0]
lea rdx, [rbp - 0x41]
mov r9d, eax
movss dword [rsp + 0x20], xmm9
lea r8, [rbp - 0x51]
call fcn.180046d10
jmp 0x18002e329
movss xmm0, dword [rdi + 0x50]
movss xmm1, dword [rdi + 0x4c]
addss xmm0, dword [rdi + 0x48]
addss xmm1, dword [rdi + 0x54]
movss dword [rbp - 0x51], xmm0
movss dword [rbp - 0x4d], xmm1
call fcn.18000dff0
mov rcx, qword [rbx + 0x2f0]
lea rdx, [rdi + 0x48]
mov r9d, eax
mov dword [rsp + 0x28], 0
lea r8, [rbp - 0x51]
movss dword [rsp + 0x20], xmm9
call fcn.180041ac0
mov rdx, qword [rbx + 0x2f0]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.180042560
cmp dword [rdi + 0x30], 0
jle 0x18002e355
mov rdx, rbx
mov rcx, rdi
call fcn.18002e5f0
jmp 0x18002e370
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 xmm9, xmmword [rsp + 0x90]
mov r14, qword [rsp + 0x108]
mov r12, qword [rsp + 0x100]
test rax, rax
je 0x18002e3a1
mov ecx, dword [rax + 0x18]
test ecx, ecx
je 0x18002e3a1
mov dword [rdi + 0xbc], ecx
jmp 0x18002e3ba
cmp dword [rdi + 0x30], 0
jle 0x18002e3ba
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
mov eax, dword [rcx + 0xc0]
mov dword [rdi + 0xbc], eax
test rbx, rbx
je 0x18002e3fb
test byte [rdi + 0xcc], 1
je 0x18002e3fb
cmp qword [rdi + 0x18], 0
jne 0x18002e3fb
mov rax, qword [r13 + 0x4198]
test rax, rax
je 0x18002e3e4
cmp qword [rax + 0x3e0], rbx
je 0x18002e3fb
mov rcx, rbx
call fcn.180033050
mov eax, dword [r13 + 0x40d8]
mov dword [rdi + 0xb0], eax
jmp 0x18002e40d
mov eax, dword [r13 + 0x40d8]
mov dword [rdi + 0xb0], eax
test rbx, rbx
je 0x18002e438
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x18002e41b
call fcn.18002d550
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x18002e429
call fcn.18002d550
cmp qword [rdi + 0x18], 0
jne 0x18002e438
mov rcx, rbx
call fcn.180018f60
cmp byte [rbp - 0x59], 0
je 0x18002e443
call fcn.18001d310
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1800a14e0
add rsp, 0xc0
pop r15
pop r13
pop rdi
pop rsi
pop rbp
ret