Function at 0x7ff7cbefd384
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x7ff7cbf93a08]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r15, qword [0x7ff7cbf945c0]
xor r12d, r12d
mov rdi, rcx
mov qword [rbp - 0x19], r15
mov eax, dword [r15 + 0x1b18]
and byte [rcx + 0xb5], 0xfb
mov dword [rcx + 0x98], eax
mov qword [rcx + 0x90], r12
mov qword [rcx + 0x88], r12
cmp qword [rcx + 0x10], r12
jne 0x7ff7cbefd3f7
call fcn.7ff7cbefddb0
mov rcx, qword [rdi + 0x38]
mov r13d, 1
test rcx, rcx
je 0x7ff7cbefd41a
mov eax, dword [rdi + 8]
shr eax, 0xc
test r13b, al
je 0x7ff7cbefd41a
call fcn.7ff7cbef2110
mov qword [rdi + 0x38], r12
mov edx, dword [rdi + 0x28]
mov ebx, 0x400
cmp edx, r13d
jg 0x7ff7cbefd556
cmp qword [rdi + 0x10], r12
jne 0x7ff7cbefd556
test dword [rdi + 8], ebx
jne 0x7ff7cbefd556
cmp qword [rdi + 0x18], r12
jne 0x7ff7cbefd556
cmp byte [r15 + 0xca], r12b
jne 0x7ff7cbefd556
test edx, edx
je 0x7ff7cbefd502
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
cmp byte [rcx + 0x2c], r12b
jne 0x7ff7cbefd556
cmp edx, r13d
jne 0x7ff7cbefd502
mov rbx, qword [rax]
mov eax, dword [rdi + 0xb0]
mov rcx, qword [rdi + 0x78]
and eax, 0xfffffebf
bts eax, 7
movsd xmm0, qword [rbx + 0x48]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rdi + 0x40], xmm0
movsd xmm1, qword [rbx + 0x58]
and eax, 0xfffffffa
or eax, 2
movsd qword [rdi + 0x48], xmm1
mov dword [rdi + 0xb0], eax
mov rax, rcx
test rcx, rcx
je 0x7ff7cbefd4d0
cmp qword [r15 + 0x1d70], rcx
jne 0x7ff7cbefd4d5
mov rcx, rbx
call fcn.7ff7cbf00e1c
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x7ff7cbefd502
mov rdx, qword [rax + 0x30]
mov qword [rbx + 0x30], rdx
mov rax, qword [rdi + 0x78]
mov ecx, dword [rax + 0x38]
mov dword [rbx + 0x38], ecx
mov rax, qword [rdi + 0x78]
cmp byte [rax + 0xbe], r12b
je 0x7ff7cbefd502
mov qword [rdx + 0x98], rbx
mov byte [rbx + 0xbe], r13b
mov rcx, rdi
call fcn.7ff7cbefb5e0
mov al, byte [rdi + 0xb4]
and al, 0xdf
mov dword [rdi + 0xc], r13d
and al, 0xe3
mov dword [rdi + 0xac], r12d
mov byte [rdi + 0xb4], al
mov eax, dword [r15 + 0x1b18]
mov dword [rdi + 0x9c], eax
jge 0x7ff7cbefdd7c
cmp dword [rdi + 0x28], r13d
jne 0x7ff7cbefdd7c
mov rdx, qword [rdi + 0x30]
mov rcx, rdi
mov rdx, qword [rdx]
call fcn.7ff7cbefc6a0
jmp 0x7ff7cbefdd7c
mov cl, byte [rdi + 0xb4]
test r13b, cl
je 0x7ff7cbefd5da
cmp qword [rdi + 0x78], r12
jne 0x7ff7cbefd5da
cmp qword [rdi + 0x10], r12
jne 0x7ff7cbefd5da
test dword [rdi + 8], ebx
jne 0x7ff7cbefd5da
cmp qword [rdi + 0x18], r12
jne 0x7ff7cbefd5da
mov r10d, dword [rdi + 0xa8]
test r10d, r10d
je 0x7ff7cbefd5b5
mov r8d, r12d
test edx, edx
jle 0x7ff7cbefd5b5
mov r11, qword [rdi + 0x30]
mov r9, r11
mov rax, qword [r9]
cmp dword [rax + 8], r10d
je 0x7ff7cbefd5a9
add r8d, r13d
add r9, 8
cmp r8d, edx
jl 0x7ff7cbefd592
jmp 0x7ff7cbefd5b5
movsxd rax, r8d
mov r8, qword [r11 + rax*8]
test r8, r8
jne 0x7ff7cbefd5bc
mov rax, qword [rdi + 0x30]
mov r8, qword [rax]
cmp byte [r8 + 0xd4], r12b
jg 0x7ff7cbefd5ce
cmp byte [r8 + 0xd5], r12b
jle 0x7ff7cbefd5da
mov dword [rdi + 0xc], 2
jmp 0x7ff7cbefdd7c
mov eax, dword [rdi + 8]
and cl, 0xef
mov r14d, eax
mov byte [rbp - 0x39], r12b
or r14d, dword [rdi + 4]
mov rsi, r12
shr eax, 0xa
xorps xmm6, xmm6
test r13b, al
je 0x7ff7cbefd62a
mov rsi, qword [rdi + 0x78]
mov eax, r14d
shr eax, 0xf
shl al, 2
not al
xor al, cl
and al, 4
xor cl, al
mov eax, r14d
shr eax, 0xe
shl al, 3
not al
xor al, cl
and al, 8
xor al, cl
mov byte [rdi + 0xb4], al
jmp 0x7ff7cbefd8da
test edx, edx
jle 0x7ff7cbefd638
mov r8b, 4
bt r14d, 0xf
jae 0x7ff7cbefd63b
mov r8b, r12b
and cl, 0xfb
or cl, r8b
test edx, edx
jle 0x7ff7cbefd64e
mov al, 8
bt r14d, 0xe
jae 0x7ff7cbefd651
mov al, r12b
and cl, 0xf7
mov r9d, r12d
or cl, al
mov byte [rdi + 0xb4], cl
test edx, edx
jle 0x7ff7cbefd6b0
mov r8, r12
mov rax, qword [rdi + 0x30]
cmp dword [rdi + 0x28], r13d
setg cl
add r9d, r13d
mov rdx, qword [r8 + rax]
lea r8, [r8 + 8]
mov al, byte [rdx + 0x472]
and al, 0xfe
or cl, al
mov byte [rdx + 0x472], cl
mov al, byte [rdi + 0xb4]
mov cl, byte [rdx + 0xc8]
shl cl, 4
or cl, al
xor cl, al
and cl, 0x10
xor cl, al
mov byte [rdi + 0xb4], cl
cmp r9d, dword [rdi + 0x28]
jl 0x7ff7cbefd666
mov rax, qword [rdi + 0x10]
test rax, rax
jne 0x7ff7cbefd8b3
test r13b, cl
je 0x7ff7cbefd8ae
cmp dword [rdi + 0x28], r12d
jle 0x7ff7cbefd6d5
mov rax, qword [rdi + 0x30]
mov rdx, qword [rax]
jmp 0x7ff7cbefd6d8
mov rdx, r12
mov eax, dword [rdi + 0xb0]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x7ff7cbefd703
test rdx, rdx
je 0x7ff7cbefd738
mov rax, qword [0x7ff7cbf945c0]
or dword [rax + 0x1c40], r13d
movsd xmm0, qword [rdx + 0x48]
jmp 0x7ff7cbefd71b
cmp eax, r13d
jne 0x7ff7cbefd738
mov rax, qword [0x7ff7cbf945c0]
or dword [rax + 0x1c40], r13d
movsd xmm0, qword [rdi + 0x40]
mov byte [rax + 0x1c7c], r13b
mov dword [rax + 0x1c44], r13d
mov qword [rax + 0x1c5c], r12
movsd qword [rax + 0x1c54], xmm0
mov eax, dword [rdi + 0xb0]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x7ff7cbefd763
test rdx, rdx
je 0x7ff7cbefd78a
mov rax, qword [0x7ff7cbf945c0]
or dword [rax + 0x1c40], 2
movsd xmm0, qword [rdx + 0x58]
jmp 0x7ff7cbefd77b
cmp eax, r13d
jne 0x7ff7cbefd78a
mov rax, qword [0x7ff7cbf945c0]
or dword [rax + 0x1c40], 2
movsd xmm0, qword [rdi + 0x48]
mov dword [rax + 0x1c48], r13d
movsd qword [rax + 0x1c64], xmm0
mov ecx, dword [rdi + 0xb0]
mov eax, ecx
and al, 0x38
cmp al, 0x10
jne 0x7ff7cbefd7c4
test rdx, rdx
je 0x7ff7cbefd7c4
mov rcx, qword [0x7ff7cbf945c0]
mov al, byte [rdx + 0xc2]
or dword [rcx + 0x1c40], 8
mov byte [rcx + 0x1c7d], al
mov dword [rcx + 0x1c4c], r13d
mov ecx, dword [rdi + 0xb0]
and ecx, 0x1c0
cmp ecx, 0x80
jne 0x7ff7cbefd7ef
test rdx, rdx
je 0x7ff7cbefd7ef
mov rax, qword [0x7ff7cbf945c0]
mov ecx, dword [rdx + 0x38]
bts dword [rax + 0x1c40], 8
mov dword [rax + 0x1ca4], ecx
mov rcx, qword [0x7ff7cbf945c0]
lea r8, [0x7ff7cbf7e620]
mov edx, 0x14
or dword [rcx + 0x1c40], ebx
movups xmm0, xmmword [rdi + 0x5c]
movups xmmword [rcx + 0x1cac], xmm0
movsd xmm1, qword [rdi + 0x6c]
movsd qword [rcx + 0x1cbc], xmm1
mov eax, dword [rdi + 0x74]
mov dword [rcx + 0x1cc4], eax
lea rcx, [rbp + 7]
mov r9d, dword [rdi]
call fcn.7ff7cbf022f0
and dword [rbp - 0x29], r12d
lea rdx, [rbp - 0x29]
and dword [rbp - 0x25], r12d
mov ecx, r13d
call fcn.7ff7cbf07aa0
xor edx, edx
lea rcx, [rbp + 7]
mov r8d, 0x20081139
call fcn.7ff7cbef4b30
mov ecx, r13d
call fcn.7ff7cbf075a4
mov rsi, qword [r15 + 0x1b90]
mov qword [rdi + 0x78], rsi
mov byte [rbp - 0x39], r13b
movsd xmm0, qword [rsi + 0x48]
movsd qword [rsi + 0x118], xmm0
mov qword [rsi + 0x450], rdi
mov rcx, qword [rdi + 0x78]
movsd qword [rdi + 0x40], xmm0
movsd xmm0, qword [rsi + 0x50]
movsd qword [rdi + 0x48], xmm0
cmp byte [rcx + 0xc5], r12b
je 0x7ff7cbefd8a6
call fcn.7ff7cbef7dcc
mov cl, byte [rdi + 0xb4]
jmp 0x7ff7cbefd8bb
test rax, rax
je 0x7ff7cbefd8c5
mov rsi, qword [rax + 0x78]
mov qword [rdi + 0x78], rsi
and dword [rdi + 0xb0], 0xfffffe00
test cl, cl
jns 0x7ff7cbefd8da
mov rdx, qword [rdi + 0x78]
test rdx, rdx
je 0x7ff7cbefd8da
mov rcx, rdi
call fcn.7ff7cbefc6a0
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x7ff7cbefd955
mov rax, qword [r15 + 0x1d70]
test rax, rax
je 0x7ff7cbefd913
mov rdx, qword [rax + 0x3f0]
mov rax, qword [rdx + 0x448]
test rax, rax
je 0x7ff7cbefd913
cmp qword [rdx + 0x3e0], rsi
jne 0x7ff7cbefd913
mov eax, dword [rax]
mov dword [rdi + 0xa4], eax
test rsi, rsi
je 0x7ff7cbefd955
mov ebx, r14d
and ebx, 8
je 0x7ff7cbefd955
mov rdx, qword [rsi + 0x318]
mov r8d, 2
lea rcx, [rdx + 0xa8]
call fcn.7ff7cbf163dc
mov rdx, qword [rsi + 0x318]
mov r8d, r13d
lea rcx, [rdx + 0xa8]
call fcn.7ff7cbf1630c
mov rcx, qword [rdi + 0x10]
jmp 0x7ff7cbefd95e
mov ebx, r14d
mov r13b, r12b
and ebx, 8
mov r14, qword [rdi + 0x88]
test rcx, rcx
jne 0x7ff7cbefdacf
test rsi, rsi
je 0x7ff7cbefdacf
test ebx, ebx
je 0x7ff7cbefdacf
test r14, r14
je 0x7ff7cbefdacf
cmp qword [r14 + 0x18], r12
jne 0x7ff7cbefdacf
cmp dword [r14 + 0x28], r12d
jne 0x7ff7cbefdacf
mov rax, qword [0x7ff7cbf945c0]
mov r12b, 1
mov cl, byte [rax + 0x1ef4]
add rax, 0x1f08
neg cl
sbb r15, r15
and r15, rax
je 0x7ff7cbefd9ed
cmp dword [r15 + 0x14], 0xffffffff
je 0x7ff7cbefd9ed
lea rdx, [r15 + 0x18]
lea rcx, [0x7ff7cbf7e3e0]
call sub.ucrtbase.dll_strcmp
test eax, eax
jne 0x7ff7cbefd9ed
mov rdx, qword [r15]
mov rcx, rsi
mov rdx, qword [rdx]
call fcn.7ff7cbefb640
test al, al
jne 0x7ff7cbefdac5
movss xmm2, dword [r14 + 0x40]
movss xmm1, dword [r14 + 0x44]
movaps xmm4, xmm2
addss xmm2, dword [r14 + 0x48]
subss xmm4, dword [0x7ff7cbf7e9d8]
movaps xmm3, xmm1
addss xmm1, dword [r14 + 0x4c]
subss xmm3, dword [0x7ff7cbf7e9d8]
subss xmm2, dword [0x7ff7cbf7e98c]
subss xmm1, dword [0x7ff7cbf7e98c]
comiss xmm4, xmm2
ja 0x7ff7cbefdac5
comiss xmm3, xmm1
ja 0x7ff7cbefdac5
mov rcx, qword [rsi + 0x3e0]
subss xmm1, xmm3
subss xmm2, xmm4
movaps xmm0, xmm4
cvttss2si edx, xmm1
cvttss2si r8d, xmm2
mov word [rbp - 0x27], dx
movaps xmm1, xmm3
mov word [rbp - 0x29], r8w
mov eax, dword [rbp - 0x29]
mov dword [rsi + 0x2d0], eax
subss xmm0, dword [rsi + 0x48]
subss xmm1, dword [rsi + 0x4c]
cvttss2si eax, xmm0
mov word [rbp - 0x29], ax
cvttss2si eax, xmm1
mov word [rbp - 0x27], ax
mov eax, dword [rbp - 0x29]
mov dword [rsi + 0x2d4], eax
mov word [rbp - 0x29], r8w
mov word [rbp - 0x27], dx
mov eax, dword [rbp - 0x29]
mov dword [rcx + 0x2d0], eax
subss xmm4, dword [rcx + 0x48]
subss xmm3, dword [rcx + 0x4c]
cvttss2si eax, xmm4
mov word [rbp - 0x29], ax
cvttss2si eax, xmm3
mov word [rbp - 0x27], ax
mov eax, dword [rbp - 0x29]
mov dword [rcx + 0x2d4], eax
mov rax, qword [rdi + 0x10]
mov r15, qword [rbp - 0x19]
jmp 0x7ff7cbefdadc
mov rax, qword [rdi + 0x10]
test rsi, rsi
je 0x7ff7cbefdb8a
test rax, rax
jne 0x7ff7cbefdafc
mov r8, qword [rsi + 0x50]
xor r9d, r9d
mov rdx, qword [rsi + 0x48]
mov rcx, rdi
call fcn.7ff7cbefcb1c
mov rcx, rdi
call fcn.7ff7cbefcdd0
cmp qword [rdi + 0x18], 0
jne 0x7ff7cbefdb8a
cmp dword [rdi + 0x28], 0
jne 0x7ff7cbefdb8a
test byte [rdi + 0xb4], 1
je 0x7ff7cbefdb8a
test ebx, ebx
jne 0x7ff7cbefdb8a
mov rax, qword [0x7ff7cbf945c0]
lea rcx, [rbp - 0x29]
movss xmm1, dword [rdi + 0x4c]
addss xmm1, dword [rdi + 0x44]
movdqu xmm0, xmmword [rax + 0x196c]
movups xmmword [rbp - 0x29], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1640]
movss dword [rbp - 0x15], xmm1
movss dword [rbp - 0x1d], xmm0
movss xmm0, dword [rdi + 0x40]
addss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x19], xmm0
call fcn.7ff7cbef9274
mov rcx, qword [rsi + 0x318]
lea r8, [rbp - 0x19]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea rdx, [rdi + 0x40]
movss dword [rsp + 0x20], xmm6
call fcn.7ff7cbf11eb0
xor ebx, ebx
test r13b, r13b
je 0x7ff7cbefdcb3
test byte [rdi + 0xb4], 1
je 0x7ff7cbefdcb3
mov rdx, qword [rsi + 0x318]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.7ff7cbf1630c
mov rax, qword [0x7ff7cbf945c0]
lea rcx, [rbp - 9]
movdqu xmm0, xmmword [rax + 0x171c]
movups xmmword [rbp - 9], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1640]
movss dword [rbp + 3], xmm0
movss xmm0, dword [rdi + 0x40]
test r12b, r12b
je 0x7ff7cbefdc5d
movss xmm1, dword [r14 + 0x40]
movss xmm2, dword [r14 + 0x44]
movss xmm3, dword [rdi + 0x44]
movss dword [rbp - 0x19], xmm1
addss xmm1, dword [r14 + 0x48]
movss dword [rbp - 0x15], xmm2
addss xmm2, dword [r14 + 0x4c]
movss dword [rbp - 0x25], xmm3
addss xmm3, dword [rdi + 0x4c]
movss dword [rbp - 0x29], xmm0
addss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x11], xmm1
movss dword [rbp - 0xd], xmm2
movss dword [rbp - 0x1d], xmm3
movss dword [rbp - 0x21], xmm0
call fcn.7ff7cbef9274
mov rcx, qword [rsi + 0x318]
lea r8, [rbp - 0x19]
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea rdx, [rbp - 0x29]
call fcn.7ff7cbf15914
jmp 0x7ff7cbefdca0
movss xmm1, dword [rdi + 0x4c]
addss xmm1, dword [rdi + 0x44]
addss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x15], xmm1
movss dword [rbp - 0x19], xmm0
call fcn.7ff7cbef9274
mov rcx, qword [rsi + 0x318]
lea r8, [rbp - 0x19]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea rdx, [rdi + 0x40]
movss dword [rsp + 0x20], xmm6
call fcn.7ff7cbf11eb0
mov rdx, qword [rsi + 0x318]
lea rcx, [rdx + 0xa8]
call fcn.7ff7cbf14394
test rsi, rsi
je 0x7ff7cbefdcca
cmp dword [rdi + 0x28], ebx
jle 0x7ff7cbefdcca
mov rdx, rsi
mov rcx, rdi
call fcn.7ff7cbefdeb8
jmp 0x7ff7cbefdce0
mov al, byte [rdi + 0xb4]
and al, 0xdf
mov dword [rdi + 0xac], ebx
and al, 0xfd
mov byte [rdi + 0xb4], al
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x7ff7cbefdcf0
mov eax, dword [rax + 0x18]
test eax, eax
jne 0x7ff7cbefdcff
cmp dword [rdi + 0x28], ebx
jle 0x7ff7cbefdd05
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
mov eax, dword [rcx + 8]
mov dword [rdi + 0xa8], eax
test rsi, rsi
je 0x7ff7cbefdd36
test byte [rdi + 0xb4], 1
je 0x7ff7cbefdd36
cmp qword [rdi + 0x10], rbx
jne 0x7ff7cbefdd36
mov rax, qword [r15 + 0x1bb8]
test rax, rax
je 0x7ff7cbefdd2e
cmp qword [rax + 0x3e8], rsi
je 0x7ff7cbefdd36
mov rcx, rsi
call fcn.7ff7cbef711c
mov eax, dword [r15 + 0x1b18]
mov dword [rdi + 0x9c], eax
test rsi, rsi
je 0x7ff7cbefdd72
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x7ff7cbefdd56
call fcn.7ff7cbefd384
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x7ff7cbefdd64
call fcn.7ff7cbefd384
cmp qword [rdi + 0x10], rbx
jne 0x7ff7cbefdd72
mov rcx, rsi
call fcn.7ff7cbf09930
cmp byte [rbp - 0x39], bl
je 0x7ff7cbefdd7c
call fcn.7ff7cbeff408
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.7ff7cbf77d90
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret