Function at 0x18004b8b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push r13
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x1800a7040]
xor rax, rsp
mov qword [rbp - 1], rax
mov rbx, qword [0x1800a8768]
xor r15d, r15d
mov rsi, rcx
mov r13, rbx
mov eax, dword [rbx + 0x40c8]
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 0x18004ba77
call fcn.18004b580
xor eax, eax
xorps xmm0, xmm0
mov r8d, eax
mov qword [rbp - 0x21], rax
movups xmmword [rbp - 0x31], xmm0
cmp dword [rsi + 0x30], eax
jle 0x18004b937
mov rcx, rsi
inc r8d
mov qword [rbp - 0x29], rcx
mov dword [rbp - 0x21], r8d
jmp 0x18004b93b
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
mov eax, dword [rsi + 0x10]
shr eax, 0xb
test al, 1
cmovne rdx, rsi
mov qword [rbp - 0x31], rdx
cmp r8d, 1
jle 0x18004b95a
test rdx, rdx
jne 0x18004b99c
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x18004b97b
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.18004b500
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
mov r8d, dword [rbp - 0x21]
mov rax, qword [rsi + 0x28]
test rax, rax
je 0x18004b99c
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.18004b500
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
mov r8d, dword [rbp - 0x21]
cmp r8d, 1
mov qword [rsi + 0x98], rdx
mov rax, r15
mov dword [rsi + 0xa8], r8d
cmove rax, rcx
mov qword [rsi + 0xa0], rax
cmp dword [rsi + 0xb8], r15d
jne 0x18004b9d6
test rcx, rcx
je 0x18004ba50
mov eax, dword [rcx]
mov dword [rsi + 0xb8], eax
test rcx, rcx
je 0x18004ba50
mov rax, qword [rcx + 0x38]
mov r9d, 1
mov rax, qword [rax]
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rsi + 0x64], xmm0
movsd xmm1, qword [rax + 0x30]
movsd qword [rsi + 0x74], xmm1
mov eax, dword [rax + 0x38]
mov dword [rsi + 0x7c], eax
movsxd rax, dword [rcx + 0x30]
cmp eax, r9d
jle 0x18004ba50
mov r11, qword [rcx + 0x38]
mov r10, rax
mov r8d, r9d
lea rcx, [r11 + 8]
mov rax, qword [rcx]
cmp byte [rax + 0x39], r15b
je 0x18004ba31
inc r9d
inc r8
add rcx, 8
cmp r8, r10
jl 0x18004ba17
jmp 0x18004ba50
movsxd rax, r9d
mov rax, qword [r11 + rax*8]
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rsi + 0x64], xmm0
movsd xmm1, qword [rax + 0x30]
movsd qword [rsi + 0x74], xmm1
mov eax, dword [rax + 0x38]
mov dword [rsi + 0x7c], eax
test rdx, rdx
je 0x18004ba70
nop word [rax + rax]
or byte [rdx + 0xcc], 0x20
mov rdx, qword [rdx + 0x18]
test rdx, rdx
jne 0x18004ba60
mov rbx, qword [0x1800a8768]
mov rcx, qword [rsi + 0x40]
test rcx, rcx
je 0x18004ba9a
mov eax, dword [rsi + 0x10]
shr eax, 0xc
test al, 1
je 0x18004ba9a
call fcn.180054290
mov rbx, qword [0x1800a8768]
mov qword [rsi + 0x40], r15
mov r9, qword [rsi + 0x18]
xor r8b, r8b
mov qword [rsp + 0xf8], rdi
test r9, r9
jne 0x18004bc7f
test dword [rsi + 0x10], 0x400
jne 0x18004bc7f
mov edx, dword [rsi + 0x30]
cmp edx, 1
jg 0x18004bae7
cmp qword [rsi + 0x20], r15
jne 0x18004bae7
cmp byte [r13 + 0x5a], r8b
jne 0x18004bae7
test edx, edx
je 0x18004bae4
mov rax, qword [rsi + 0x38]
mov rcx, qword [rax]
cmp byte [rcx + 0x38], r8b
jne 0x18004bae7
mov r8b, 1
cmp dword [rsi + 0xa8], r15d
je 0x18004baf9
test r8b, r8b
je 0x18004bc7f
cmp edx, 1
jne 0x18004bbe1
mov rax, qword [rsi + 0x38]
mov rbx, qword [rax]
mov eax, dword [rsi + 0xc8]
and eax, 0xfffffebf
bts eax, 7
movsd xmm0, qword [rbx + 0x58]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rsi + 0x48], xmm0
movsd xmm1, qword [rbx + 0x68]
and eax, 0xfffffffa
or eax, 2
movsd qword [rsi + 0x50], xmm1
mov dword [rsi + 0xc8], eax
mov rax, qword [rsi + 0x88]
test rax, rax
je 0x18004bb5d
cmp qword [r13 + 0x4ce0], rax
jne 0x18004bb5d
xor edx, edx
mov rcx, rbx
call fcn.18003c9b0
mov r8, qword [rsi + 0x88]
test r8, r8
je 0x18004bbd8
test dword [r13 + 0x6244], 0x100
je 0x18004bb98
mov r8, qword [r8 + 0x40]
lea rcx, str._viewport__Node__08X_transfer_Viewport__08X___08X_to_Window__s_n
mov rax, qword [rbx + 8]
mov r9d, dword [rbx + 0x10]
mov edx, dword [rsi]
mov r8d, dword [r8]
mov qword [rsp + 0x20], rax
call fcn.180052540
mov rax, qword [rsi + 0x88]
mov rdx, qword [rax + 0x40]
mov qword [rbx + 0x40], rdx
mov rax, qword [rsi + 0x88]
mov ecx, dword [rax + 0x48]
mov dword [rbx + 0x48], ecx
mov rax, qword [rsi + 0x88]
cmp byte [rax + 0xf2], r15b
je 0x18004bbd8
mov eax, dword [rbx + 0x10]
mov dword [rdx], eax
mov rax, qword [rbx + 0x40]
mov qword [rax + 0x60], rbx
mov byte [rbx + 0xf2], 1
mov eax, dword [rbx + 0x48]
mov dword [rsi + 0xc4], eax
mov rcx, rsi
call fcn.18004b490
movzx eax, byte [rsi + 0xcc]
and al, 0xbf
mov dword [rsi + 0x14], 1
and al, 0xe7
mov dword [rsi + 0xc0], r15d
test byte [rsi + 0xcd], 1
mov byte [rsi + 0xcc], al
mov eax, dword [r13 + 0x40c8]
mov dword [rsi + 0xb0], eax
je 0x18004c750
cmp dword [rsi + 0x30], 1
jne 0x18004c750
mov rax, qword [rsi + 0x38]
mov rbx, qword [0x1800a8768]
mov rdi, qword [rax]
mov rcx, rdi
call fcn.180032820
movss xmm1, dword [rbx + 0x3824]
movss xmm0, dword [rbx + 0x3828]
subss xmm1, dword [rsi + 0x48]
subss xmm0, dword [rsi + 0x4c]
mov qword [rbx + 0x4188], rdi
movss dword [rbx + 0x41e8], xmm1
movss dword [rbx + 0x41ec], xmm0
and byte [rsi + 0xcd], 0xfe
jmp 0x18004c750
test byte [rsi + 0xcc], 1
je 0x18004bcf6
cmp qword [rsi + 0x88], r15
jne 0x18004bcf6
test r9, r9
jne 0x18004bcf6
test dword [rsi + 0x10], 0x400
jne 0x18004bcf6
cmp qword [rsi + 0x20], r15
jne 0x18004bcf6
mov edx, dword [rsi + 0xbc]
test edx, edx
je 0x18004bcd1
mov rcx, qword [rsi + 0x38]
movsxd rax, dword [rsi + 0x30]
lea r8, [rcx + rax*8]
cmp rcx, r8
je 0x18004bcd1
mov rax, qword [rcx]
cmp dword [rax + 0x10], edx
je 0x18004bcd8
add rcx, 8
cmp rcx, r8
jne 0x18004bcc0
mov rax, qword [rsi + 0x38]
mov rax, qword [rax]
cmp byte [rax + 0x110], r15b
jg 0x18004bcea
cmp byte [rax + 0x111], r15b
jle 0x18004bcf6
mov dword [rsi + 0x14], 2
jmp 0x18004c750
movsxd rdx, dword [rsi + 0x30]
mov qword [rsp + 0x108], r14
mov r14d, dword [rsi + 0x10]
movaps xmmword [rsp + 0x90], xmm9
mov dword [rbp - 0x55], r14d
test edx, edx
jle 0x18004bd22
bt r14d, 0xe
jb 0x18004bd22
mov cl, 0x10
jmp 0x18004bd24
xor cl, cl
movzx eax, byte [rsi + 0xcc]
and al, 0xef
or al, cl
mov ecx, r14d
and al, 0xf7
mov byte [rsi + 0xcc], al
mov r8, qword [rsi + 0x38]
lea r9, [r8 + rdx*8]
cmp r8, r9
je 0x18004bd97
nop word [rax + rax]
mov rdx, qword [r8]
movzx eax, byte [rsi + 0xcc]
movzx ecx, byte [rdx + 0xfd]
shl cl, 3
or cl, al
and al, 0xf7
and cl, 8
xor cl, al
cmp dword [rsi + 0x30], 1
mov byte [rsi + 0xcc], cl
movzx eax, byte [rdx + 0x435]
setg cl
and al, 0xfe
add r8, 8
or cl, al
mov byte [rdx + 0x435], cl
cmp r8, r9
jne 0x18004bd50
mov ecx, dword [rsi + 0x10]
bt r14d, 0xf
jae 0x18004bda5
and byte [rsi + 0xcc], 0xf7
shr ecx, 0xa
mov rdi, r15
mov byte [rbp - 0x59], dil
xorps xmm9, xmm9
test cl, 1
je 0x18004bdc4
mov rdi, qword [rsi + 0x88]
jmp 0x18004c06c
mov rax, qword [rsi + 0x18]
test rax, rax
jne 0x18004bff4
test byte [rsi + 0xcc], 1
je 0x18004c00c
cmp dword [rsi + 0x30], edi
jle 0x18004bdec
mov rax, qword [rsi + 0x38]
mov rcx, qword [rax]
jmp 0x18004bdef
mov rcx, r15
mov eax, dword [rsi + 0xc8]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x18004be13
test rcx, rcx
je 0x18004be43
or dword [rbx + 0x4b30], 1
movsd xmm0, qword [rcx + 0x58]
jmp 0x18004be23
cmp eax, 1
jne 0x18004be43
or dword [rbx + 0x4b30], eax
movsd xmm0, qword [rsi + 0x48]
mov byte [rbx + 0x4b70], 1
mov dword [rbx + 0x4b34], 1
mov qword [rbx + 0x4b4c], r15
movsd qword [rbx + 0x4b44], xmm0
mov eax, dword [rsi + 0xc8]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x18004be66
test rcx, rcx
je 0x18004be89
or dword [rbx + 0x4b30], eax
movsd xmm0, qword [rcx + 0x68]
jmp 0x18004be77
cmp eax, 1
jne 0x18004be89
or dword [rbx + 0x4b30], 2
movsd xmm0, qword [rsi + 0x50]
mov dword [rbx + 0x4b38], 1
movsd qword [rbx + 0x4b54], xmm0
mov eax, dword [rsi + 0xc8]
and al, 0x38
cmp al, 0x10
jne 0x18004beb8
test rcx, rcx
je 0x18004beb8
movzx eax, byte [rcx + 0xf6]
or dword [rbx + 0x4b30], 8
mov byte [rbx + 0x4b71], al
mov dword [rbx + 0x4b3c], 1
mov eax, dword [rsi + 0xc8]
and eax, 0x1c0
cmp eax, 0x80
jne 0x18004beee
test rcx, rcx
je 0x18004bed4
mov eax, dword [rcx + 0x48]
jmp 0x18004bede
mov eax, dword [rsi + 0xc4]
test eax, eax
je 0x18004beee
or dword [rbx + 0x4b30], 0x200
mov dword [rbx + 0x4b9c], eax
or dword [rbx + 0x4b30], 0x800
lea r8, str.DockNode__02X
movups xmm0, xmmword [rsi + 0x64]
mov edx, 0x14
lea rcx, [rbp - 0x19]
movups xmmword [rbx + 0x4ba4], xmm0
movsd xmm1, qword [rsi + 0x74]
movsd qword [rbx + 0x4bb4], xmm1
mov eax, dword [rsi + 0x7c]
mov dword [rbx + 0x4bbc], eax
mov r9d, dword [rsi]
call fcn.18002e520
mov rax, qword [0x1800a8768]
lea rdx, [rbp - 0x51]
mov ecx, 2
mov qword [rbp - 0x51], rdi
or dword [rax + 0x4b30], 0x40
mov dword [rax + 0x4b98], r15d
call fcn.18002f210
xor edx, edx
lea rcx, [rbp - 0x19]
mov r8d, 0x20021139
call fcn.180039770
call fcn.18002f2a0
mov rax, qword [rsi + 0x88]
mov rdi, qword [r13 + 0x4170]
mov byte [rbp - 0x59], 1
test rax, rax
je 0x18004bf9a
cmp rax, rdi
je 0x18004bf9a
cmp qword [rax + 0x458], rsi
jne 0x18004bf9a
mov qword [rax + 0x458], r15
mov qword [rdi + 0x458], rsi
mov qword [rsi + 0x88], rdi
movss xmm0, dword [rdi + 0x58]
movss xmm1, dword [rdi + 0x5c]
movss dword [rdi + 0x140], xmm0
movss dword [rdi + 0x144], xmm1
mov rcx, qword [rsi + 0x88]
movss dword [rsi + 0x48], xmm0
movss dword [rsi + 0x4c], xmm1
movsd xmm0, qword [rdi + 0x60]
movsd qword [rsi + 0x50], xmm0
cmp byte [rcx + 0xf9], r15b
je 0x18004bfeb
call fcn.18003c900
mov rbx, qword [0x1800a8768]
jmp 0x18004c002
mov rdi, qword [rax + 0x88]
mov qword [rsi + 0x88], rdi
and dword [rsi + 0xc8], 0xfffffe00
test byte [rsi + 0xcd], 1
je 0x18004c06c
mov r14, qword [rsi + 0x88]
test r14, r14
je 0x18004c068
mov rcx, r14
call fcn.180032820
movss xmm1, dword [rbx + 0x3824]
movss xmm0, dword [rbx + 0x3828]
subss xmm1, dword [rsi + 0x48]
subss xmm0, dword [rsi + 0x4c]
mov qword [rbx + 0x4188], r14
movss dword [rbx + 0x41e8], xmm1
movss dword [rbx + 0x41ec], xmm0
and byte [rsi + 0xcd], 0xfe
mov rbx, qword [0x1800a8768]
mov r14d, dword [rbp - 0x55]
mov dword [rsi + 0xc4], r15d
cmp qword [rsi + 0x18], r15
jne 0x18004c0ea
mov rdx, qword [r13 + 0x4ce0]
test rdx, rdx
je 0x18004c0ea
mov rdx, qword [rdx + 0x3c0]
test rdx, rdx
je 0x18004c0ea
mov rcx, qword [rdx + 0x450]
test rcx, rcx
je 0x18004c0ea
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x18004c0bc
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x18004c0b0
cmp rcx, rsi
je 0x18004c0db
mov rax, qword [rcx + 0x88]
test rax, rax
je 0x18004c0ea
mov rdx, qword [rax + 0x3c0]
test rdx, rdx
jne 0x18004c091
jmp 0x18004c0ea
mov rax, qword [rdx + 0x450]
mov ecx, dword [rax]
mov dword [rsi + 0xb8], ecx
cmp qword [rsi + 0x18], 0
mov r15, qword [rsi + 0x98]
mov qword [rsp + 0x100], r12
jne 0x18004c2d7
test rdi, rdi
je 0x18004c2d7
test r14b, 8
je 0x18004c2d7
test r15, r15
je 0x18004c2d7
cmp qword [r15 + 0x20], 0
jne 0x18004c2d7
cmp dword [r15 + 0x30], 0
jne 0x18004c2d7
cmp byte [rbx + 0x4ef8], 0
mov r12b, 1
je 0x18004c188
cmp dword [rbx + 0x4f1c], 0xffffffff
je 0x18004c188
lea r14, [rbx + 0x4f08]
test r14, r14
je 0x18004c188
cmp dword [r14 + 0x14], 0xffffffff
je 0x18004c188
lea rdx, [r14 + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x18004c188
mov rdx, qword [r14]
mov rcx, rdi
mov rdx, qword [rdx]
call fcn.18004dad0
test al, al
jne 0x18004c2f0
mov rax, qword [r15 + 0x18]
mov rcx, r15
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm8
test rax, rax
je 0x18004c1bc
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x18004c1b0
movss xmm0, dword [rcx + 0x48]
movss xmm4, dword [r15 + 0x48]
movaps xmm6, xmm0
comiss xmm4, xmm0
movss xmm2, dword [r15 + 0x4c]
movaps xmm3, xmm4
movss xmm8, dword [rcx + 0x4c]
movaps xmm1, xmm2
addss xmm6, dword [rcx + 0x50]
addss xmm3, dword [r15 + 0x50]
addss xmm1, dword [r15 + 0x54]
addss xmm8, dword [rcx + 0x54]
movss xmm5, dword [0x1800984b8]
jbe 0x18004c204
addss xmm4, xmm5
comiss xmm6, xmm3
movaps xmm6, xmmword [rsp + 0xb0]
jbe 0x18004c215
subss xmm3, xmm5
comiss xmm2, dword [rcx + 0x4c]
jbe 0x18004c21f
addss xmm2, xmm5
comiss xmm8, xmm1
movaps xmm8, xmmword [rsp + 0xa0]
jbe 0x18004c232
subss xmm1, xmm5
comiss xmm4, xmm3
ja 0x18004c2f0
comiss xmm2, xmm1
ja 0x18004c2f0
mov rcx, qword [rdi + 0x3b0]
subss xmm1, xmm2
subss xmm3, xmm4
movaps xmm0, xmm4
cvttss2si r8d, xmm1
movaps xmm1, xmm2
mov word [rbp - 0x4f], r8w
cvttss2si edx, xmm3
mov word [rbp - 0x51], dx
mov eax, dword [rbp - 0x51]
mov dword [rdi + 0x298], eax
subss xmm0, dword [rdi + 0x58]
subss xmm1, dword [rdi + 0x5c]
cvttss2si eax, xmm0
mov word [rbp - 0x51], ax
cvttss2si eax, xmm1
mov word [rbp - 0x4f], ax
mov eax, dword [rbp - 0x51]
mov dword [rdi + 0x29c], eax
test rcx, rcx
je 0x18004c2da
mov word [rbp - 0x51], dx
mov word [rbp - 0x4f], r8w
mov eax, dword [rbp - 0x51]
mov dword [rcx + 0x298], eax
subss xmm4, dword [rcx + 0x58]
subss xmm2, dword [rcx + 0x5c]
cvttss2si eax, xmm4
mov word [rbp - 0x51], ax
cvttss2si eax, xmm2
mov word [rbp - 0x4f], ax
mov eax, dword [rbp - 0x51]
mov dword [rcx + 0x29c], eax
mov rax, qword [rsi + 0x18]
jmp 0x18004c2e7
xor r12b, r12b
mov rax, qword [rsi + 0x18]
test rdi, rdi
je 0x18004c503
test rax, rax
jne 0x18004c429
mov r8, qword [rdi + 0x60]
xor r9d, r9d
mov rdx, qword [rdi + 0x58]
mov rcx, rsi
call fcn.18004f830
movups xmm0, xmmword [rbx + 0x3ca4]
lea rcx, [rbx + 0x4bd0]
mov dword [rbp - 0x31], 0x1b
lea rdx, [rbp - 0x31]
movups xmmword [rbp - 0x2d], xmm0
call fcn.1800535e0
cmp dword [rbx + 0x4bcc], 0x1b
je 0x18004c33d
movups xmm0, xmmword [r13 + 0x3b44]
movups xmmword [rbx + 0x3ca4], xmm0
mov rbx, qword [0x1800a8768]
lea rdx, [rbp - 0x31]
mov dword [rbp - 0x31], 0x1d
movups xmm0, xmmword [rbx + 0x3cc4]
lea rcx, [rbx + 0x4bd0]
movups xmmword [rbp - 0x2d], xmm0
call fcn.1800535e0
cmp dword [rbx + 0x4bcc], 0x1d
je 0x18004c37e
movups xmm0, xmmword [r13 + 0x3cf4]
movups xmmword [rbx + 0x3cc4], xmm0
mov rbx, qword [0x1800a8768]
lea rdx, [rbp - 0x31]
mov dword [rbp - 0x31], 0x1c
movups xmm0, xmmword [rbx + 0x3cb4]
lea rcx, [rbx + 0x4bd0]
movups xmmword [rbp - 0x2d], xmm0
call fcn.1800535e0
cmp dword [rbx + 0x4bcc], 0x1c
je 0x18004c3bf
movups xmm0, xmmword [r13 + 0x3ce4]
movups xmmword [rbx + 0x3cb4], xmm0
mov rcx, rsi
call fcn.18004fc60
mov r8, qword [0x1800a8768]
mov r9d, 3
mov eax, dword [r8 + 0x4bd0]
cmp eax, r9d
jge 0x18004c3f0
mov r9d, eax
test eax, eax
jle 0x18004c429
nop word [rax + rax]
mov rcx, qword [r8 + 0x4bd8]
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 + 0x3af4], xmm0
dec dword [r8 + 0x4bd0]
mov eax, dword [r8 + 0x4bd0]
test r9d, r9d
jg 0x18004c3f0
cmp qword [rsi + 0x20], 0
jne 0x18004c503
cmp dword [rsi + 0x30], 0
jne 0x18004c503
test byte [rsi + 0xcc], 1
je 0x18004c503
mov rdx, qword [rdi + 0x2e0]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.180062770
mov r14d, dword [rbp - 0x55]
test r14b, 8
je 0x18004c481
or byte [rsi + 0xcc], 4
mov dword [rsi + 0x80], 0
jmp 0x18004c507
mov rax, qword [0x1800a8768]
lea rcx, [rbp - 0x41]
movups xmm0, xmmword [rax + 0x3d64]
movups xmmword [rbp - 0x41], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x3a00]
movss dword [rbp - 0x35], xmm0
call fcn.18002ea90
mov dword [rsi + 0x80], eax
test eax, eax
je 0x18004c4fa
movss xmm0, dword [rsi + 0x50]
lea rdx, [rsi + 0x48]
movss xmm1, dword [rsi + 0x54]
lea r8, [rbp - 0x51]
addss xmm0, dword [rdx]
addss xmm1, dword [rdx + 4]
mov rcx, qword [rdi + 0x2e0]
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.18005f2c0
or byte [rsi + 0xcc], 4
jmp 0x18004c507
mov r14d, dword [rbp - 0x55]
test rdi, rdi
je 0x18004c662
cmp qword [rsi + 0x18], 0
jne 0x18004c636
test r14b, 8
je 0x18004c636
test byte [rsi + 0xcc], 1
je 0x18004c636
mov rdx, qword [rdi + 0x2e0]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.180062770
mov rax, qword [0x1800a8768]
lea rcx, [rbp - 0x31]
movups xmm0, xmmword [rax + 0x3b14]
movups xmmword [rbp - 0x31], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x3a00]
movss dword [rbp - 0x25], xmm0
test r12b, r12b
je 0x18004c5ed
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 [rsi + 0x48]
movss dword [rbp - 0x45], xmm1
movss xmm1, dword [rsi + 0x4c]
movss dword [rbp - 0x41], xmm0
addss xmm0, dword [rsi + 0x50]
movss dword [rbp - 0x3d], xmm1
addss xmm1, dword [rsi + 0x54]
movss dword [rbp - 0x39], xmm0
movss dword [rbp - 0x35], xmm1
call fcn.18002ea90
mov rcx, qword [rdi + 0x2e0]
lea rdx, [rbp - 0x41]
mov r9d, eax
movss dword [rsp + 0x20], xmm9
lea r8, [rbp - 0x51]
call fcn.180067cc0
jmp 0x18004c636
movss xmm0, dword [rsi + 0x48]
movss xmm1, dword [rsi + 0x54]
addss xmm0, dword [rsi + 0x50]
addss xmm1, dword [rsi + 0x4c]
movss dword [rbp - 0x51], xmm0
movss dword [rbp - 0x4d], xmm1
call fcn.18002ea90
mov rcx, qword [rdi + 0x2e0]
lea rdx, [rsi + 0x48]
mov r9d, eax
mov dword [rsp + 0x28], 0
lea r8, [rbp - 0x51]
movss dword [rsp + 0x20], xmm9
call fcn.18005f2c0
mov rdx, qword [rdi + 0x2e0]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.180062770
cmp dword [rsi + 0x30], 0
jle 0x18004c662
mov rdx, rdi
mov rcx, rsi
call fcn.18004c900
jmp 0x18004c67d
movzx eax, byte [rsi + 0xcc]
and al, 0xbf
mov dword [rsi + 0xc0], 0
and al, 0xfd
mov byte [rsi + 0xcc], al
mov rax, qword [rsi + 0x40]
movaps xmm9, xmmword [rsp + 0x90]
mov r14, qword [rsp + 0x108]
mov r12, qword [rsp + 0x100]
test rax, rax
je 0x18004c6ae
mov ecx, dword [rax + 0x18]
test ecx, ecx
je 0x18004c6ae
mov dword [rsi + 0xbc], ecx
jmp 0x18004c6c7
cmp dword [rsi + 0x30], 0
jle 0x18004c6c7
mov rax, qword [rsi + 0x38]
mov rcx, qword [rax]
mov eax, dword [rcx + 0xb8]
mov dword [rsi + 0xbc], eax
test rdi, rdi
je 0x18004c708
test byte [rsi + 0xcc], 1
je 0x18004c708
cmp qword [rsi + 0x18], 0
jne 0x18004c708
mov rax, qword [r13 + 0x4188]
test rax, rax
je 0x18004c6f1
cmp qword [rax + 0x3d0], rdi
je 0x18004c708
mov rcx, rdi
call fcn.180050fd0
mov eax, dword [r13 + 0x40c8]
mov dword [rsi + 0xb0], eax
jmp 0x18004c71a
mov eax, dword [r13 + 0x40c8]
mov dword [rsi + 0xb0], eax
test rdi, rdi
je 0x18004c745
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x18004c728
call fcn.18004b8b0
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x18004c736
call fcn.18004b8b0
cmp qword [rsi + 0x18], 0
jne 0x18004c745
mov rcx, rdi
call fcn.180038120
cmp byte [rbp - 0x59], 0
je 0x18004c750
call fcn.18003c5e0
mov rdi, qword [rsp + 0xf8]
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.180079c50
add rsp, 0xc0
pop r15
pop r13
pop rsi
pop rbx
pop rbp
ret