Function at 0x14013b560
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov ebp, r8d
mov r12, rdx
mov rbx, rcx
mov esi, r8d
mov rax, qword [rcx]
mov edx, r8d
call qword [rax + 0x28]
mov r14d, ebp
shr r14d, 2
lea eax, [r14 + 6]
mov dword [rbx + 0x18], eax
lea eax, [rax*4 + 4]
mov r9d, eax
lea rdx, [rbx + 0x20]
mov rcx, qword [rdx + 0x100]
mov r8, qword [rdx + 0x108]
mov rdi, rdx
neg rdi
and edi, 0xf
add rdi, rdx
cmp r9, 0x3c
ja 0x14013b5f6
cmp r8, rdi
jne 0x14013b5e1
cmp rcx, r9
jbe 0x14013b60b
sub rcx, r9
lea rdi, [r8 + rax*4]
xor eax, eax
rep stosd dword [rdi], eax
jmp 0x14013b60b
cmp byte [rdx + 0xf9], 0
jne 0x14013b5f6
mov byte [rdx + 0xf9], 1
mov rax, rdi
jmp 0x14013b608
xor eax, eax
cmp r8, rdi
jne 0x14013b608
mov byte [rdx + 0xf9], al
mov rdi, r8
rep stosd dword [rdi], eax
mov r8, rax
mov qword [rdx + 0x108], r8
mov qword [rdx + 0x100], r9
mov rdi, qword [rbx + 0x128]
movzx eax, byte [0x1401c5300]
test al, al
jne 0x14013b637
call fcn.14014b700
movzx eax, byte [0x1401c5300]
cmp byte [0x1401c5306], 0
je 0x14013b81e
test al, al
jne 0x14013b64d
call fcn.14014b700
cmp byte [0x1401c5305], 0
je 0x14013b81e
movdqu xmm6, xmmword [r12 + rbp - 0x10]
mov r8, rsi
mov rdx, r12
mov rcx, rdi
call fcn.140152300
aeskeygenassist xmm0, xmm6, 0
pextrd edx, xmm0, 3
xor edx, dword [rdi]
xor edx, 1
shr rsi, 2
lea rsi, [rsi*4]
mov dword [rsi + rdi], edx
lea r8, [0x14018a934]
xor edx, dword [rdi + 4]
lea eax, [r14 + 1]
lea r9, [rax*4]
mov dword [r9 + rdi], edx
xor edx, dword [rdi + 8]
lea eax, [r14 + 2]
lea r10, [rax*4]
mov dword [r10 + rdi], edx
lea eax, [r14 + 3]
lea r11, [rax*4]
xor edx, dword [rdi + 0xc]
mov dword [r11 + rdi], edx
mov rcx, qword [rbx + 0x120]
mov rax, qword [rbx + 0x128]
lea rdx, [rax + rcx*4]
lea rax, [rdi + 0x10]
add rax, rsi
cmp rax, rdx
je 0x14013b79e
cmp ebp, 0x18
jne 0x14013b70d
mov eax, dword [rdi + 0x24]
xor eax, dword [rdi + 0x10]
mov dword [rdi + 0x28], eax
xor eax, dword [rdi + 0x14]
mov dword [rdi + 0x2c], eax
pinsrd xmm6, eax, 3
jmp 0x14013b74c
cmp ebp, 0x20
jne 0x14013b745
pinsrd xmm6, dword [rdi + 0x2c], 3
aeskeygenassist xmm0, xmm6, 0
pextrd eax, xmm0, 2
xor eax, dword [rdi + 0x10]
mov dword [rdi + 0x30], eax
xor eax, dword [rdi + 0x14]
mov dword [rdi + 0x34], eax
xor eax, dword [rdi + 0x18]
mov dword [rdi + 0x38], eax
xor eax, dword [rdi + 0x1c]
mov dword [rdi + 0x3c], eax
pinsrd xmm6, eax, 3
jmp 0x14013b74c
pinsrd xmm6, dword [rdi + 0x1c], 3
add rdi, rsi
aeskeygenassist xmm0, xmm6, 0
pextrd eax, xmm0, 3
xor eax, dword [r8]
xor eax, dword [rdi]
mov dword [rsi + rdi], eax
add r8, 4
xor eax, dword [rdi + 4]
mov dword [r9 + rdi], eax
xor eax, dword [rdi + 8]
mov dword [r10 + rdi], eax
xor eax, dword [rdi + 0xc]
mov dword [r11 + rdi], eax
mov rcx, qword [rbx + 0x120]
mov rax, qword [rbx + 0x128]
lea rdx, [rax + rcx*4]
lea rax, [rsi + 0x10]
add rax, rdi
cmp rax, rdx
jne 0x14013b6f1
lea rcx, [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x38]
test al, al
jne 0x14013c1e7
mov rdi, qword [rbx + 0x128]
mov eax, dword [rbx + 0x18]
shl eax, 2
movdqu xmm1, xmmword [rdi]
movdqu xmm0, xmmword [rdi + rax*4]
movdqu xmmword [rdi], xmm0
movdqu xmmword [rdi + rax*4], xmm1
mov r11d, 4
mov eax, dword [rbx + 0x18]
lea edx, [rax*4 - 4]
cmp edx, r11d
jbe 0x14013b80b
mov eax, r11d
lea rcx, [rdi + rax*4]
aesimc xmm1, xmmword [rcx]
aesimc xmm0, xmmword [rdi + rdx*4]
movdqu xmmword [rcx], xmm0
movdqu xmmword [rdi + rdx*4], xmm1
add r11d, 4
add edx, 0xfffffffc
cmp r11d, edx
jb 0x14013b7e4
mov eax, r11d
aesimc xmm0, xmmword [rdi + rax*4]
movdqu xmmword [rdi + rax*4], xmm0
jmp 0x14013c1e7
mov r13, rsi
shr r13, 2
lea r15, [r13*4]
test ebp, ebp
je 0x14013b891
test rdi, rdi
jne 0x14013b843
call fcn.140166788
mov dword [rax], 0x16
jmp 0x14013b88c
test r12, r12
je 0x14013b85d
cmp r15, rsi
jb 0x14013b85d
mov r8, rsi
mov rdx, r12
mov rcx, rdi
call fcn.140152300
jmp 0x14013b891
mov r8, r15
xor edx, edx
mov rcx, rdi
call fcn.1401529b0
test r12, r12
jne 0x14013b87c
call fcn.140166788
mov dword [rax], 0x16
jmp 0x14013b88c
cmp r15, rsi
jae 0x14013b891
call fcn.140166788
mov dword [rax], 0x22
call fcn.140165dd0
mov r8, r15
sub r8, rsi
lea rcx, [rdi + rbp]
xor edx, edx
call fcn.1401529b0
lea r9, [rbp + 3]
and r9, 0xfffffffffffffffc
mov r8, rdi
mov rdx, rdi
mov ecx, 1
call fcn.14013adf0
lea eax, [r14 - 1]
lea r11, [rax*4]
mov edx, dword [r11 + rdi]
mov eax, edx
shr eax, 0x10
movzx ecx, al
lea r9, [0x140000000]
movzx r8d, byte [rcx + r9 + 0x18b9a0]
shl r8d, 8
mov eax, edx
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r9 + 0x18b9a0]
xor r8d, eax
shl r8d, 8
movzx eax, dl
movzx eax, byte [rax + r9 + 0x18b9a0]
xor r8d, eax
shl r8d, 8
mov eax, edx
shr rax, 0x18
movzx eax, byte [rax + r9 + 0x18b9a0]
xor r8d, eax
xor r8d, dword [rdi]
xor r8d, dword [0x14018bba0]
mov dword [r15 + rdi], r8d
lea r9, [0x14018bba4]
xor r8d, dword [rdi + 4]
lea eax, [r14 + 1]
lea r12, [rax*4]
mov dword [r12 + rdi], r8d
xor r8d, dword [rdi + 8]
lea eax, [r14 + 2]
lea rax, [rax*4]
mov qword [rsp + 0x20], rax
mov dword [rax + rdi], r8d
lea eax, [r14 + 3]
lea rax, [rax*4]
mov qword [rsp + 0x28], rax
xor r8d, dword [rdi + 0xc]
mov dword [rax + rdi], r8d
mov rsi, qword [rbx + 0x128]
lea rdx, [r15 + 0x10]
mov rax, qword [rbx + 0x120]
lea rcx, [rsi + rax*4]
lea rax, [rdx + rdi]
cmp rax, rcx
je 0x14013ba70
lea r10, [r13*4]
mov r14, qword [rsp + 0x20]
mov r15, qword [rsp + 0x28]
mov r13, rdx
cmp ebp, 0x18
jne 0x14013bb4a
mov eax, dword [rdi + 0x24]
xor eax, dword [rdi + 0x10]
mov dword [rdi + 0x28], eax
xor eax, dword [rdi + 0x14]
mov dword [rdi + 0x2c], eax
lea rsi, [0x140000000]
add rdi, r10
mov edx, dword [r11 + rdi]
mov eax, edx
shr eax, 0x10
movzx ecx, al
movzx r8d, byte [rcx + rsi + 0x18b9a0]
shl r8d, 8
mov eax, edx
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + rsi + 0x18b9a0]
xor r8d, eax
shl r8d, 8
movzx eax, dl
movzx eax, byte [rax + rsi + 0x18b9a0]
xor r8d, eax
shl r8d, 8
mov eax, edx
shr rax, 0x18
movzx eax, byte [rax + rsi + 0x18b9a0]
xor r8d, eax
xor r8d, dword [r9]
xor r8d, dword [rdi]
mov dword [r10 + rdi], r8d
add r9, 4
xor r8d, dword [rdi + 4]
mov dword [r12 + rdi], r8d
xor r8d, dword [rdi + 8]
mov dword [r14 + rdi], r8d
xor r8d, dword [rdi + 0xc]
mov dword [r15 + rdi], r8d
mov rsi, qword [rbx + 0x128]
mov rax, qword [rbx + 0x120]
lea rcx, [rsi + rax*4]
lea rax, [rdi + r13]
cmp rax, rcx
jne 0x14013b9b6
lea rcx, [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x38]
test al, al
je 0x14013bbd1
movzx eax, byte [0x1401c4e60]
test al, al
jne 0x14013bb14
xor ebp, ebp
mov r11d, ebp
lea r14, [0x140000000]
nop dword [rax]
movzx r9d, byte [r11 + r14 + 0x18b9a0]
lea r8d, [r9 + r9]
mov edi, r9d
shr edi, 7
mov r10d, r8d
shl r10d, 0x18
imul ecx, edi, 0x1b000000
xor r10, rcx
mov eax, r9d
shl eax, 8
or eax, r9d
shl eax, 8
or r10, rax
imul ecx, edi, 0x11b
mov eax, r8d
xor rcx, rax
xor rcx, r9
or rcx, r10
shl rcx, 0x20
or rcx, r10
mov qword [r14 + r11*8 + 0x1c3e50], rcx
inc r11
cmp r11, 0x100
jl 0x14013baa0
mov qword [0x1401c4658], rbp
mov qword [0x1401c4650], rbp
mov byte [0x1401c4e60], 1
mov r9d, 0x10
mov r8, rsi
mov rdx, rsi
lea ecx, [r9 - 0xf]
call fcn.14013adf0
mov eax, dword [rbx + 0x18]
shl eax, 2
lea rdx, [rsi + rax*4]
mov r9d, 0x10
mov r8, rdx
lea ecx, [r9 - 0xf]
call fcn.14013adf0
jmp 0x14013c1b3
cmp ebp, 0x20
jne 0x14013b9ce
mov edx, dword [rdi + 0x2c]
mov eax, edx
shr rax, 0x18
lea rsi, [0x140000000]
movzx r8d, byte [rax + rsi + 0x18b9a0]
shl r8d, 8
mov eax, edx
shr eax, 0x10
movzx ecx, al
movzx eax, byte [rcx + rsi + 0x18b9a0]
xor r8d, eax
shl r8d, 8
mov eax, edx
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + rsi + 0x18b9a0]
xor r8d, eax
shl r8d, 8
movzx eax, dl
movzx eax, byte [rax + rsi + 0x18b9a0]
xor r8d, eax
xor r8d, dword [rdi + 0x10]
mov dword [rdi + 0x30], r8d
xor r8d, dword [rdi + 0x14]
mov dword [rdi + 0x34], r8d
xor r8d, dword [rdi + 0x18]
mov dword [rdi + 0x38], r8d
xor r8d, dword [rdi + 0x1c]
mov dword [rdi + 0x3c], r8d
jmp 0x14013b9d5
movzx eax, byte [0x1401c4e61]
test al, al
jne 0x14013bbe1
call fcn.14013b3a0
mov r11d, 4
mov eax, dword [rbx + 0x18]
lea ebp, [rax*4 - 4]
lea r12, [0x140000000]
cmp ebp, r11d
jbe 0x14013bf7e
lea r14d, [rbp + 2]
lea r15d, [r11 + 2]
nop dword [rax]
mov eax, r11d
lea r10, [rsi + rax*4]
mov edi, dword [r10]
mov eax, edi
shr rax, 0x18
movzx edx, byte [rax + r12 + 0x18b9a0]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
mov r9d, dword [r12 + rdx*8 + 0x1c4664]
xor r9d, dword [r12 + rax*8 + 0x1c4661]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
xor r9d, dword [r12 + rax*8 + 0x1c4662]
movzx eax, dil
movzx ecx, byte [rax + r12 + 0x18b9a0]
xor r9d, dword [r12 + rcx*8 + 0x1c4663]
lea r8, [rsi + rbp*4]
mov edi, dword [r8]
mov eax, edi
shr rax, 0x18
movzx edx, byte [rax + r12 + 0x18b9a0]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
mov edx, dword [r12 + rdx*8 + 0x1c4664]
xor edx, dword [r12 + rax*8 + 0x1c4661]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
xor edx, dword [r12 + rax*8 + 0x1c4662]
movzx eax, dil
movzx ecx, byte [rax + r12 + 0x18b9a0]
xor edx, dword [r12 + rcx*8 + 0x1c4663]
mov dword [r10], edx
mov dword [r8], r9d
lea eax, [r15 - 1]
lea r10, [rsi + rax*4]
mov edi, dword [r10]
mov eax, edi
shr rax, 0x18
movzx edx, byte [rax + r12 + 0x18b9a0]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
mov r9d, dword [r12 + rdx*8 + 0x1c4664]
xor r9d, dword [r12 + rax*8 + 0x1c4661]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
xor r9d, dword [r12 + rax*8 + 0x1c4662]
movzx eax, dil
movzx ecx, byte [rax + r12 + 0x18b9a0]
xor r9d, dword [r12 + rcx*8 + 0x1c4663]
lea eax, [r14 - 1]
lea r8, [rsi + rax*4]
mov edi, dword [r8]
mov eax, edi
shr rax, 0x18
movzx edx, byte [rax + r12 + 0x18b9a0]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
mov edx, dword [r12 + rdx*8 + 0x1c4664]
xor edx, dword [r12 + rax*8 + 0x1c4661]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
xor edx, dword [r12 + rax*8 + 0x1c4662]
movzx eax, dil
movzx ecx, byte [rax + r12 + 0x18b9a0]
xor edx, dword [r12 + rcx*8 + 0x1c4663]
mov dword [r10], edx
mov dword [r8], r9d
mov eax, r15d
lea r10, [rsi + rax*4]
mov edi, dword [r10]
mov eax, edi
shr rax, 0x18
movzx edx, byte [rax + r12 + 0x18b9a0]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
mov r9d, dword [r12 + rdx*8 + 0x1c4664]
xor r9d, dword [r12 + rax*8 + 0x1c4661]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
xor r9d, dword [r12 + rax*8 + 0x1c4662]
movzx eax, dil
movzx ecx, byte [rax + r12 + 0x18b9a0]
xor r9d, dword [r12 + rcx*8 + 0x1c4663]
lea r8, [rsi + r14*4]
mov edi, dword [r8]
mov eax, edi
shr rax, 0x18
movzx edx, byte [rax + r12 + 0x18b9a0]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
mov edx, dword [r12 + rdx*8 + 0x1c4664]
xor edx, dword [r12 + rax*8 + 0x1c4661]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
xor edx, dword [r12 + rax*8 + 0x1c4662]
movzx eax, dil
movzx ecx, byte [rax + r12 + 0x18b9a0]
xor edx, dword [r12 + rcx*8 + 0x1c4663]
mov dword [r10], edx
mov dword [r8], r9d
lea eax, [r15 + 1]
lea r10, [rsi + rax*4]
mov edi, dword [r10]
mov eax, edi
shr rax, 0x18
movzx edx, byte [rax + r12 + 0x18b9a0]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
mov r9d, dword [r12 + rdx*8 + 0x1c4664]
xor r9d, dword [r12 + rax*8 + 0x1c4661]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
xor r9d, dword [r12 + rax*8 + 0x1c4662]
movzx eax, dil
movzx ecx, byte [rax + r12 + 0x18b9a0]
xor r9d, dword [r12 + rcx*8 + 0x1c4663]
lea eax, [r14 + 1]
lea r8, [rsi + rax*4]
mov edi, dword [r8]
mov eax, edi
shr rax, 0x18
movzx edx, byte [rax + r12 + 0x18b9a0]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
mov edx, dword [r12 + rdx*8 + 0x1c4664]
xor edx, dword [r12 + rax*8 + 0x1c4661]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
xor edx, dword [r12 + rax*8 + 0x1c4662]
movzx eax, dil
movzx ecx, byte [rax + r12 + 0x18b9a0]
xor edx, dword [r12 + rcx*8 + 0x1c4663]
mov dword [r10], edx
mov dword [r8], r9d
add r11d, 4
add r15d, 4
add ebp, 0xfffffffc
lea r14d, [r14 - 4]
cmp r11d, ebp
jb 0x14013bc10
mov eax, r11d
lea r8, [rsi + rax*4]
mov edi, dword [r8]
mov eax, edi
shr rax, 0x18
movzx edx, byte [rax + r12 + 0x18b9a0]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
mov edx, dword [r12 + rdx*8 + 0x1c4664]
xor edx, dword [r12 + rax*8 + 0x1c4661]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
xor edx, dword [r12 + rax*8 + 0x1c4662]
movzx eax, dil
movzx ecx, byte [rax + r12 + 0x18b9a0]
xor edx, dword [r12 + rcx*8 + 0x1c4663]
mov dword [r8], edx
lea eax, [r11 + 1]
lea r8, [rsi + rax*4]
mov edi, dword [r8]
mov eax, edi
shr rax, 0x18
movzx edx, byte [rax + r12 + 0x18b9a0]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
mov edx, dword [r12 + rdx*8 + 0x1c4664]
xor edx, dword [r12 + rax*8 + 0x1c4661]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
xor edx, dword [r12 + rax*8 + 0x1c4662]
movzx eax, dil
movzx ecx, byte [rax + r12 + 0x18b9a0]
xor edx, dword [r12 + rcx*8 + 0x1c4663]
mov dword [r8], edx
lea eax, [r11 + 2]
lea r8, [rsi + rax*4]
mov edi, dword [r8]
mov eax, edi
shr rax, 0x18
movzx edx, byte [rax + r12 + 0x18b9a0]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
mov edx, dword [r12 + rdx*8 + 0x1c4664]
xor edx, dword [r12 + rax*8 + 0x1c4661]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
xor edx, dword [r12 + rax*8 + 0x1c4662]
movzx eax, dil
movzx ecx, byte [rax + r12 + 0x18b9a0]
xor edx, dword [r12 + rcx*8 + 0x1c4663]
mov dword [r8], edx
lea eax, [r11 + 3]
lea r8, [rsi + rax*4]
mov edi, dword [r8]
mov eax, edi
shr rax, 0x18
movzx edx, byte [rax + r12 + 0x18b9a0]
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
mov edx, dword [r12 + rdx*8 + 0x1c4664]
xor edx, dword [r12 + rax*8 + 0x1c4661]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x18b9a0]
xor edx, dword [r12 + rax*8 + 0x1c4662]
movzx eax, dil
movzx ecx, byte [rax + r12 + 0x18b9a0]
xor edx, dword [r12 + rcx*8 + 0x1c4663]
mov dword [r8], edx
mov edx, dword [rsi]
bswap edx
mov eax, dword [rbx + 0x18]
shl eax, 2
mov ecx, dword [rsi + rax*4]
bswap ecx
mov dword [rsi], ecx
mov eax, dword [rbx + 0x18]
shl eax, 2
mov dword [rsi + rax*4], edx
mov edx, dword [rsi + 4]
bswap edx
mov eax, dword [rbx + 0x18]
lea eax, [rax*4 + 1]
mov eax, dword [rsi + rax*4]
bswap eax
mov dword [rsi + 4], eax
mov eax, dword [rbx + 0x18]
lea eax, [rax*4 + 1]
mov dword [rsi + rax*4], edx
mov edx, dword [rsi + 8]
bswap edx
mov eax, dword [rbx + 0x18]
lea eax, [rax*4 + 2]
mov eax, dword [rsi + rax*4]
bswap eax
mov dword [rsi + 8], eax
mov eax, dword [rbx + 0x18]
lea eax, [rax*4 + 2]
mov dword [rsi + rax*4], edx
mov edx, dword [rsi + 0xc]
bswap edx
mov eax, dword [rbx + 0x18]
lea eax, [rax*4 + 3]
mov eax, dword [rsi + rax*4]
bswap eax
mov dword [rsi + 0xc], eax
mov eax, dword [rbx + 0x18]
lea eax, [rax*4 + 3]
mov dword [rsi + rax*4], edx
cmp byte [0x1401c5300], 0
jne 0x14013c1c1
call fcn.14014b700
cmp byte [0x1401c5306], 0
je 0x14013c1e7
lea rdx, [rsi + 0x10]
mov r9d, dword [rbx + 0x18]
shl r9d, 4
sub r9d, 0x10
mov r8, rdx
mov ecx, 1
call fcn.14013adf0
mov rbx, qword [rsp + 0xa8]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret