Function at 0x14002d790
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x14008a028]
xor rax, rsp
mov qword [rbp - 1], rax
mov rsi, qword [0x14008aba0]
xor r12d, r12d
mov rdi, rcx
mov qword [rbp - 0x41], rsi
mov r15, rsi
mov eax, dword [rsi + 0x4098]
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 0x14002d947
call fcn.14002d460
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 0x14002d818
inc ecx
mov qword [rbp - 0x29], rdi
mov dword [rbp - 0x21], ecx
mov r8, rdi
jmp 0x14002d81c
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 0x14002d83a
test rdx, rdx
jne 0x14002d87a
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14002d85a
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.14002d3f0
mov ecx, dword [rbp - 0x21]
mov rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x29]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x14002d87a
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.14002d3f0
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, r12
mov dword [rdi + 0xa8], ecx
cmove rax, r8
mov qword [rdi + 0xa0], rax
cmp dword [rdi + 0xb8], r12d
jne 0x14002d8af
test r8, r8
je 0x14002d921
mov eax, dword [r8]
mov dword [rdi + 0xb8], eax
test r8, r8
je 0x14002d921
mov rax, qword [r8 + 0x38]
mov r9d, 1
mov rcx, qword [rax]
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdi + 0x64], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdi + 0x74], xmm1
movsxd rax, dword [r8 + 0x30]
cmp eax, r9d
jle 0x14002d921
mov r11, qword [r8 + 0x38]
mov r10, rax
mov r8d, r9d
lea rcx, [r11 + 8]
nop dword [rax + rax]
mov rax, qword [rcx]
cmp byte [rax + 0x3d], r12b
je 0x14002d90a
inc r9d
inc r8
add rcx, 8
cmp r8, r10
jl 0x14002d8f0
jmp 0x14002d921
movsxd rax, r9d
mov rcx, qword [r11 + rax*8]
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdi + 0x64], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdi + 0x74], xmm1
test rdx, rdx
je 0x14002d940
nop word [rax + rax]
or byte [rdx + 0xcc], 0x20
mov rdx, qword [rdx + 0x18]
test rdx, rdx
jne 0x14002d930
mov rsi, qword [0x14008aba0]
cmp qword [rdi + 0x40], r12
je 0x14002d966
mov eax, dword [rdi + 0x10]
shr eax, 0xc
test al, 1
je 0x14002d966
mov rcx, rdi
call fcn.14002fdf0
mov rsi, qword [0x14008aba0]
mov r10, qword [rdi + 0x18]
xor r8b, r8b
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x118], r14
test r10, r10
jne 0x14002dbac
test dword [rdi + 0x10], 0x400
jne 0x14002dbac
mov edx, dword [rdi + 0x30]
lea r14, [rdi + 0x30]
cmp edx, 1
jg 0x14002d9bf
cmp qword [rdi + 0x20], r12
jne 0x14002d9bf
cmp byte [r15 + 0x5a], r8b
jne 0x14002d9bf
test edx, edx
je 0x14002d9bc
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
cmp byte [rcx + 0x3c], r8b
jne 0x14002d9bf
mov r8b, 1
cmp dword [rdi + 0xa8], r12d
je 0x14002d9d1
test r8b, r8b
je 0x14002dbb0
cmp edx, 1
jne 0x14002dac7
mov rax, qword [rdi + 0x38]
mov rbx, qword [rax]
mov eax, dword [rdi + 0xc8]
and eax, 0xfffffebf
bts eax, 7
movsd xmm0, qword [rbx + 0x58]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rdi + 0x48], xmm0
movsd xmm1, qword [rbx + 0x68]
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 0x14002da3c
cmp qword [r15 + 0x4d00], rax
jne 0x14002da3c
xor edx, edx
mov rcx, rbx
call fcn.14001cf30
mov rsi, qword [0x14008aba0]
mov r8, qword [rdi + 0x88]
test r8, r8
je 0x14002dabe
test dword [r15 + 0x6294], 0x200
je 0x14002da7e
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 [rdi]
mov r8d, dword [r8]
mov qword [rsp + 0x20], rax
call fcn.140034a20
mov rsi, qword [0x14008aba0]
mov rax, qword [rdi + 0x88]
mov rdx, qword [rax + 0x40]
mov qword [rbx + 0x40], rdx
mov rax, qword [rdi + 0x88]
mov ecx, dword [rax + 0x48]
mov dword [rbx + 0x48], ecx
mov rax, qword [rdi + 0x88]
cmp byte [rax + 0xf2], r12b
je 0x14002dabe
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 [rdi + 0xc4], eax
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x14002daea
cmp qword [rax + 0x460], rdi
jne 0x14002dae3
mov qword [rax + 0x460], r12
mov qword [rdi + 0x88], r12
cmp dword [r14], 1
jne 0x14002db08
mov rcx, qword [rdi + 0x38]
mov rax, qword [rcx]
mov qword [rdi + 0x90], rax
mov rax, qword [rcx]
and byte [rax + 0x43d], 0xfe
cmp qword [rdi + 0x40], r12
je 0x14002db1d
mov rcx, rdi
call fcn.14002fdf0
mov rsi, qword [0x14008aba0]
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 + 0x4098]
mov dword [rdi + 0xb0], eax
je 0x14002e74f
cmp dword [r14], 1
jne 0x14002e74f
mov rax, qword [rdi + 0x38]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.140012460
movss xmm1, dword [rsi + 0x381c]
movss xmm0, dword [rsi + 0x3820]
subss xmm1, dword [rdi + 0x48]
subss xmm0, dword [rdi + 0x4c]
mov qword [rsi + 0x4158], rbx
movss dword [rsi + 0x41bc], xmm1
movss dword [rsi + 0x41c0], xmm0
and byte [rdi + 0xcd], 0xfe
jmp 0x14002e74f
lea r14, [rdi + 0x30]
movzx r9d, byte [rdi + 0xcc]
mov r11, r14
mov qword [rbp - 0x61], r14
test r9b, 1
je 0x14002dc4e
mov qword [rbp - 0x61], r14
cmp qword [rdi + 0x88], r12
jne 0x14002dc4e
test r10, r10
jne 0x14002dc4a
test dword [rdi + 0x10], 0x400
jne 0x14002dc4a
mov qword [rbp - 0x61], r14
cmp qword [rdi + 0x20], r12
jne 0x14002dc4e
mov edx, dword [rdi + 0xbc]
lea r11, [rdi + 0x30]
mov qword [rbp - 0x61], r11
test edx, edx
je 0x14002dc25
mov rcx, qword [r11 + 8]
movsxd rax, dword [r11]
lea r8, [rcx + rax*8]
cmp rcx, r8
je 0x14002dc21
mov rax, qword [rcx]
cmp dword [rax + 0x10], edx
je 0x14002dc2c
add rcx, 8
cmp rcx, r8
jne 0x14002dc10
mov qword [rbp - 0x61], r11
mov rax, qword [rdi + 0x38]
mov rax, qword [rax]
cmp byte [rax + 0x110], r12b
jg 0x14002dc3e
cmp byte [rax + 0x111], r12b
jle 0x14002dc4e
mov dword [rdi + 0x14], 2
jmp 0x14002e74f
mov qword [rbp - 0x61], r14
movsxd rcx, dword [r11]
mov qword [rsp + 0x110], r13
mov r13d, dword [rdi + 0x10]
movaps xmmword [rsp + 0xa0], xmm9
mov dword [rbp - 0x39], r13d
test ecx, ecx
jle 0x14002dc79
bt r13d, 0xe
jb 0x14002dc79
mov al, 0x10
jmp 0x14002dc7b
xor al, al
and r9b, 0xef
or r9b, al
mov eax, r13d
and r9b, 0xf7
mov byte [rdi + 0xcc], r9b
mov r8, qword [rdi + 0x38]
lea r9, [r8 + rcx*8]
cmp r8, r9
je 0x14002dce7
nop dword [rax]
mov rdx, qword [r8]
movzx eax, byte [rdi + 0xcc]
movzx ecx, byte [rdx + 0xfd]
shl cl, 3
or cl, al
and al, 0xf7
and cl, 8
xor cl, al
cmp dword [r11], 1
mov byte [rdi + 0xcc], cl
movzx eax, byte [rdx + 0x43d]
setg cl
and al, 0xfe
add r8, 8
or cl, al
mov byte [rdx + 0x43d], cl
cmp r8, r9
jne 0x14002dca0
mov eax, dword [rdi + 0x10]
bt r13d, 0xf
jae 0x14002dcf5
and byte [rdi + 0xcc], 0xf7
shr eax, 0xa
mov rbx, r12
mov byte [rbp - 0x68], bl
xorps xmm9, xmm9
test al, 1
je 0x14002dd12
mov rbx, qword [rdi + 0x88]
jmp 0x14002e032
mov rax, qword [rdi + 0x18]
test rax, rax
jne 0x14002dfbe
test byte [rdi + 0xcc], 1
je 0x14002dfd6
cmp dword [r11], ebx
jle 0x14002dd3a
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
jmp 0x14002dd3d
mov rcx, r12
mov eax, dword [rdi + 0xc8]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x14002dd61
test rcx, rcx
je 0x14002dd91
or dword [rsi + 0x4b40], 1
movsd xmm0, qword [rcx + 0x58]
jmp 0x14002dd71
cmp eax, 1
jne 0x14002dd91
or dword [rsi + 0x4b40], eax
movsd xmm0, qword [rdi + 0x48]
mov byte [rsi + 0x4b80], 1
mov dword [rsi + 0x4b44], 1
mov qword [rsi + 0x4b5c], r12
movsd qword [rsi + 0x4b54], xmm0
mov eax, dword [rdi + 0xc8]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x14002ddb4
test rcx, rcx
je 0x14002ddd7
or dword [rsi + 0x4b40], eax
movsd xmm0, qword [rcx + 0x68]
jmp 0x14002ddc5
cmp eax, 1
jne 0x14002ddd7
or dword [rsi + 0x4b40], 2
movsd xmm0, qword [rdi + 0x50]
mov dword [rsi + 0x4b48], 1
movsd qword [rsi + 0x4b64], xmm0
mov eax, dword [rdi + 0xc8]
and al, 0x38
cmp al, 0x10
jne 0x14002de06
test rcx, rcx
je 0x14002de06
movzx eax, byte [rcx + 0xf6]
or dword [rsi + 0x4b40], 8
mov byte [rsi + 0x4b81], al
mov dword [rsi + 0x4b4c], 1
mov eax, dword [rdi + 0xc8]
and eax, 0x1c0
cmp eax, 0x80
jne 0x14002de3c
test rcx, rcx
je 0x14002de22
mov eax, dword [rcx + 0x48]
jmp 0x14002de2c
mov eax, dword [rdi + 0xc4]
test eax, eax
je 0x14002de3c
or dword [rsi + 0x4b40], 0x200
mov dword [rsi + 0x4bac], eax
or dword [rsi + 0x4b40], 0x800
lea r8, str.DockNode__02X
movups xmm0, xmmword [rdi + 0x64]
mov edx, 0x14
lea rcx, [rbp - 0x19]
movups xmmword [rsi + 0x4bb4], xmm0
movups xmm1, xmmword [rdi + 0x74]
movups xmmword [rsi + 0x4bc4], xmm1
mov r9d, dword [rdi]
call fcn.14000cbf0
mov rax, qword [0x14008aba0]
lea rdx, [rbp - 0x51]
mov ecx, 2
mov qword [rbp - 0x51], rbx
or dword [rax + 0x4b40], 0x40
mov dword [rax + 0x4ba8], r12d
call fcn.14000df50
xor edx, edx
lea rcx, [rbp - 0x19]
mov r8d, 0x20021139
call fcn.140019b80
mov ecx, 1
call fcn.14000dfe0
mov rax, qword [rdi + 0x88]
mov rbx, qword [r15 + 0x4140]
mov byte [rbp - 0x68], 1
test rax, rax
je 0x14002dee2
cmp rax, rbx
je 0x14002dee2
cmp qword [rax + 0x460], rdi
jne 0x14002dee2
mov qword [rax + 0x460], r12
mov rsi, qword [0x14008aba0]
mov qword [rbx + 0x460], rdi
mov qword [rdi + 0x88], rbx
movss xmm0, dword [rbx + 0x58]
movss xmm1, dword [rbx + 0x5c]
movss dword [rbx + 0x140], xmm0
movss dword [rbx + 0x144], xmm1
mov r14, qword [rdi + 0x88]
movss dword [rdi + 0x48], xmm0
movss dword [rdi + 0x4c], xmm1
movsd xmm0, qword [rbx + 0x60]
movsd qword [rdi + 0x50], xmm0
cmp byte [r14 + 0xf9], r12b
je 0x14002dfcc
movsxd r8, dword [rsi + 0x40e0]
mov r9, qword [rsi + 0x40e8]
mov rcx, qword [r9 + r8*8 - 8]
cmp rcx, r14
je 0x14002dfcc
cmp qword [rcx + 0x3d0], r14
je 0x14002dfcc
lea edx, [r8 - 2]
test edx, edx
js 0x14002dfcc
movsxd rax, edx
lea rcx, [r9 + rax*8]
nop dword [rax]
cmp qword [rcx], r14
je 0x14002df83
dec edx
sub rcx, 8
sub rax, 1
jns 0x14002df70
jmp 0x14002dfcc
sub r8d, edx
lea eax, [rdx + 1]
mov r10, r9
movsxd rcx, eax
movsxd r9, edx
dec r8d
movsxd r8, r8d
shl r8, 3
lea rdx, [r10 + rcx*8]
lea rcx, [r10 + r9*8]
call sub.VCRUNTIME140.dll_memmove
movsxd rcx, dword [rsi + 0x40e0]
mov rax, qword [rsi + 0x40e8]
mov qword [rax + rcx*8 - 8], r14
jmp 0x14002dfcc
mov rbx, qword [rax + 0x88]
mov qword [rdi + 0x88], rbx
and dword [rdi + 0xc8], 0xfffffe00
test byte [rdi + 0xcd], 1
je 0x14002e032
mov r14, qword [rdi + 0x88]
test r14, r14
je 0x14002e032
mov rcx, r14
call fcn.140012460
movss xmm1, dword [rsi + 0x381c]
movss xmm0, dword [rsi + 0x3820]
subss xmm1, dword [rdi + 0x48]
subss xmm0, dword [rdi + 0x4c]
mov qword [rsi + 0x4158], r14
movss dword [rsi + 0x41bc], xmm1
movss dword [rsi + 0x41c0], xmm0
and byte [rdi + 0xcd], 0xfe
mov rsi, qword [0x14008aba0]
mov r8, qword [rdi + 0x18]
mov dword [rdi + 0xc4], r12d
test r8, r8
jne 0x14002e0c3
mov rax, qword [r15 + 0x4d00]
test rax, rax
je 0x14002e0a9
mov rax, qword [rax + 0x3c0]
test rax, rax
je 0x14002e0c3
nop
mov rdx, qword [rax + 0x458]
test rdx, rdx
je 0x14002e0c3
mov rax, qword [rdx + 0x18]
mov rcx, rdx
test rax, rax
je 0x14002e08c
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14002e080
cmp rcx, rdi
je 0x14002e0b2
mov rax, qword [rcx + 0x88]
test rax, rax
je 0x14002e0a9
mov rax, qword [rax + 0x3c0]
test rax, rax
jne 0x14002e060
mov r14, qword [rdi + 0x98]
jmp 0x14002e0d3
mov eax, dword [rdx]
mov r14, qword [rdi + 0x98]
mov dword [rdi + 0xb8], eax
jmp 0x14002e0d3
mov r14, qword [rdi + 0x98]
test r8, r8
jne 0x14002e2a3
test rbx, rbx
je 0x14002e2a3
mov r15d, r13d
and r15d, 8
je 0x14002e2a3
test r14, r14
je 0x14002e2a3
cmp qword [r14 + 0x20], r12
jne 0x14002e2a3
cmp dword [r14 + 0x30], r12d
jne 0x14002e2a3
mov byte [rbp - 0x69], 1
cmp byte [rsi + 0x4f34], r12b
je 0x14002e15a
cmp dword [rsi + 0x4f5c], 0xffffffff
je 0x14002e15a
lea r13, [rsi + 0x4f48]
test r13, r13
je 0x14002e15a
cmp dword [r13 + 0x14], 0xffffffff
je 0x14002e15a
lea rdx, [r13 + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14002e15a
mov rdx, qword [r13]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.14002ff80
test al, al
jne 0x14002e2ae
mov rax, qword [r14 + 0x18]
mov rcx, r14
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm8
test rax, rax
je 0x14002e18c
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14002e180
movss xmm0, dword [rcx + 0x48]
movss xmm4, dword [r14 + 0x48]
movaps xmm6, xmm0
comiss xmm4, xmm0
movss xmm3, dword [r14 + 0x4c]
movaps xmm2, xmm4
movss xmm8, dword [rcx + 0x4c]
movaps xmm1, xmm3
addss xmm6, dword [rcx + 0x50]
addss xmm2, dword [r14 + 0x50]
addss xmm1, dword [r14 + 0x54]
addss xmm8, dword [rcx + 0x54]
movss xmm5, dword [0x14007f630]
jbe 0x14002e1d4
addss xmm4, xmm5
comiss xmm6, xmm2
movaps xmm6, xmmword [rsp + 0xc0]
jbe 0x14002e1e5
subss xmm2, xmm5
comiss xmm3, dword [rcx + 0x4c]
jbe 0x14002e1ef
addss xmm3, xmm5
comiss xmm8, xmm1
movaps xmm8, xmmword [rsp + 0xb0]
jbe 0x14002e202
subss xmm1, xmm5
comiss xmm4, xmm2
ja 0x14002e2ae
comiss xmm3, xmm1
ja 0x14002e2ae
mov rcx, qword [rbx + 0x3b0]
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 + 0x298], eax
subss xmm0, dword [rbx + 0x58]
subss xmm1, dword [rbx + 0x5c]
cvttss2si eax, xmm0
mov word [rbp - 0x51], ax
cvttss2si eax, xmm1
mov word [rbp - 0x4f], ax
mov eax, dword [rbp - 0x51]
mov dword [rbx + 0x29c], eax
test rcx, rcx
je 0x14002e2ae
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 xmm3, dword [rcx + 0x5c]
cvttss2si eax, xmm4
mov word [rbp - 0x51], ax
cvttss2si eax, xmm3
mov word [rbp - 0x4f], ax
mov eax, dword [rbp - 0x51]
mov dword [rcx + 0x29c], eax
jmp 0x14002e2ae
mov r15d, r13d
mov byte [rbp - 0x69], r12b
and r15d, 8
cmp qword [rdi + 0x18], 0
mov r12d, r15d
jne 0x14002e3fd
test rbx, rbx
je 0x14002e4ee
mov r8, qword [rbx + 0x60]
xor r9d, r9d
mov rdx, qword [rbx + 0x58]
mov rcx, rdi
call fcn.140031cb0
movups xmm0, xmmword [rsi + 0x3c90]
lea rcx, [rsi + 0x4be8]
mov dword [rbp - 0x31], 0x1b
lea rdx, [rbp - 0x31]
movups xmmword [rbp - 0x2d], xmm0
call fcn.140035930
cmp dword [rsi + 0x4be4], 0x1b
mov r13, qword [rbp - 0x41]
je 0x14002e316
movups xmm0, xmmword [r13 + 0x3b30]
movups xmmword [rsi + 0x3c90], xmm0
mov rsi, qword [0x14008aba0]
lea rdx, [rbp - 0x31]
mov dword [rbp - 0x31], 0x1d
movups xmm0, xmmword [rsi + 0x3cb0]
lea rcx, [rsi + 0x4be8]
movups xmmword [rbp - 0x2d], xmm0
call fcn.140035930
cmp dword [rsi + 0x4be4], 0x1d
je 0x14002e357
movups xmm0, xmmword [r13 + 0x3ce0]
movups xmmword [rsi + 0x3cb0], xmm0
mov rsi, qword [0x14008aba0]
lea rdx, [rbp - 0x31]
mov dword [rbp - 0x31], 0x1c
movups xmm0, xmmword [rsi + 0x3ca0]
lea rcx, [rsi + 0x4be8]
movups xmmword [rbp - 0x2d], xmm0
call fcn.140035930
cmp dword [rsi + 0x4be4], 0x1c
je 0x14002e398
movups xmm0, xmmword [r13 + 0x3cd0]
movups xmmword [rsi + 0x3ca0], xmm0
mov rcx, rdi
call fcn.140032110
mov r8, qword [0x14008aba0]
mov r9d, 3
mov eax, dword [r8 + 0x4be8]
cmp eax, r9d
jge 0x14002e3c0
mov r9d, eax
test eax, eax
jle 0x14002e3fd
mov rcx, qword [r8 + 0x4bf0]
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 + 0x4be8]
mov eax, dword [r8 + 0x4be8]
test r9d, r9d
jg 0x14002e3c0
jmp 0x14002e406
test rbx, rbx
je 0x14002e4ee
cmp qword [rdi + 0x20], 0
mov r13, qword [rbp - 0x61]
jne 0x14002e4e9
cmp dword [r13], 0
jne 0x14002e4e9
test byte [rdi + 0xcc], 1
mov r12d, r15d
je 0x14002e4f2
mov rdx, qword [rbx + 0x2e0]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.140043180
mov r12d, dword [rbp - 0x39]
and r12d, 8
je 0x14002e466
or byte [rdi + 0xcc], 4
mov dword [rdi + 0x84], 0
jmp 0x14002e4f2
mov rax, qword [0x14008aba0]
lea rcx, [rbp - 0x61]
movups xmm0, xmmword [rax + 0x3d50]
movups xmmword [rbp - 0x61], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x39f8]
movss dword [rbp - 0x55], xmm0
call fcn.14000d470
mov dword [rdi + 0x84], eax
test eax, eax
je 0x14002e4e0
movss xmm0, dword [rdi + 0x48]
lea rdx, [rdi + 0x48]
movss xmm1, dword [rdx + 4]
lea r8, [rbp - 0x61]
addss xmm0, dword [rdi + 0x50]
addss xmm1, dword [rdi + 0x54]
mov rcx, qword [rbx + 0x2e0]
mov r9d, eax
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm9
movss dword [rbp - 0x61], xmm0
movss dword [rbp - 0x5d], xmm1
call fcn.140042910
or byte [rdi + 0xcc], 4
jmp 0x14002e4f2
mov r12d, r15d
jmp 0x14002e4f2
mov r13, qword [rbp - 0x61]
test rbx, rbx
je 0x14002e66e
cmp qword [rdi + 0x18], 0
jne 0x14002e641
test r12d, r12d
je 0x14002e641
test byte [rdi + 0xcc], 1
je 0x14002e641
mov rdx, qword [rbx + 0x2e0]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.140043180
cmp byte [rbp - 0x69], 0
lea rcx, [rbp - 0x31]
mov rax, qword [0x14008aba0]
je 0x14002e5dc
movss xmm1, dword [r14 + 0x4c]
movups xmm0, xmmword [rax + 0x3b00]
movss dword [rbp - 0x5d], xmm1
addss xmm1, dword [r14 + 0x54]
movups xmmword [rbp - 0x31], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x39f8]
movss dword [rbp - 0x55], xmm1
movss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x25], xmm0
movss xmm0, dword [r14 + 0x48]
movss dword [rbp - 0x61], xmm0
addss xmm0, dword [r14 + 0x50]
movss dword [rbp - 0x4d], xmm1
addss xmm1, dword [rdi + 0x54]
movss dword [rbp - 0x59], xmm0
movss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x51], xmm0
addss xmm0, dword [rdi + 0x50]
movss dword [rbp - 0x45], xmm1
movss dword [rbp - 0x49], xmm0
call fcn.14000d470
mov rcx, qword [rbx + 0x2e0]
lea rdx, [rbp - 0x51]
mov r9d, eax
movss dword [rsp + 0x20], xmm9
lea r8, [rbp - 0x61]
call fcn.140047db0
jmp 0x14002e641
movss xmm0, dword [rdi + 0x48]
addss xmm0, dword [rdi + 0x50]
movss xmm1, dword [rdi + 0x54]
addss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x61], xmm0
movups xmm0, xmmword [rax + 0x3b00]
movss dword [rbp - 0x5d], xmm1
movups xmmword [rbp - 0x31], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x39f8]
movss dword [rbp - 0x25], xmm0
call fcn.14000d470
mov rcx, qword [rbx + 0x2e0]
lea rdx, [rdi + 0x48]
mov r9d, eax
mov dword [rsp + 0x28], 0
lea r8, [rbp - 0x61]
movss dword [rsp + 0x20], xmm9
call fcn.140042910
mov rdx, qword [rbx + 0x2e0]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.140043180
cmp dword [r13], 0
jle 0x14002e66e
mov rdx, rbx
mov rcx, rdi
call fcn.14002e900
jmp 0x14002e689
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 + 0xa0]
test rax, rax
je 0x14002e6a2
mov eax, dword [rax + 0x18]
test eax, eax
jne 0x14002e6b6
cmp dword [r13], 0
jle 0x14002e6bc
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
mov eax, dword [rcx + 0xb8]
mov dword [rdi + 0xbc], eax
mov r13, qword [rsp + 0x110]
mov rsi, qword [rbp - 0x41]
test rbx, rbx
je 0x14002e708
test byte [rdi + 0xcc], 1
je 0x14002e708
cmp qword [rdi + 0x18], 0
jne 0x14002e708
mov rax, qword [rsi + 0x4158]
test rax, rax
je 0x14002e6f2
cmp qword [rax + 0x3d0], rbx
je 0x14002e708
mov rcx, rbx
call fcn.1400334c0
mov eax, dword [rsi + 0x4098]
mov dword [rdi + 0xb0], eax
jmp 0x14002e719
mov eax, dword [rsi + 0x4098]
mov dword [rdi + 0xb0], eax
test rbx, rbx
je 0x14002e744
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x14002e727
call fcn.14002d790
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x14002e735
call fcn.14002d790
cmp qword [rdi + 0x18], 0
jne 0x14002e744
mov rcx, rbx
call fcn.140018720
cmp byte [rbp - 0x68], 0
je 0x14002e74f
call fcn.14001cb60
mov r14, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1400735e0
add rsp, 0xd0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret