Function at 0x1401f28c0
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 8], ecx
push rbx
push r12
push r14
push r15
sub rsp, 0x78
mov eax, ecx
movaps xmmword [rsp + 0x20], xmm9
imul ecx, ecx, 0x32
xor r12d, r12d
movaps xmmword [rsp + 0x50], xmm6
mov ebx, r8d
mov r15, rdx
mov dword [rsp + 0xb0], r12d
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov dword [rsp + 0xb8], ecx
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movsd xmm6, qword [0x1404538b8]
divsd xmm6, xmm0
cmp ebx, 0xffffffff
jne 0x1401f2921
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
imul ebx, eax, 0x1e240
mov ecx, ebx
mov qword [rsp + 0x68], rdi
call sym.ErrorReportClient.exe_SfRand_Create
mov r10d, dword [rsp + 0xa0]
mov rbx, rax
movsd xmm9, qword [0x140453f80]
mov r14d, r12d
test r10d, r10d
jle 0x1401f2acf
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x60], r13
mov r13, r12
movaps xmmword [rsp + 0x40], xmm7
movaps xmmword [rsp + 0x30], xmm8
nop dword [rax]
movsxd rdx, dword [rbx + 4]
mov ebp, r12d
movsxd rcx, dword [rbx]
mov edi, r12d
imul r9, r13, 0x158
mov eax, dword [rbx + rdx*4 + 0x104]
mov rsi, r12
xor dword [rbx + rcx*4 + 0x104], eax
mov r8d, dword [rbx + rcx*4 + 0x104]
movzx eax, byte [rcx + rbx + 8]
mov dword [rbx], eax
movzx eax, byte [rbx + rdx + 8]
mov dword [rbx + 4], eax
movzx eax, r8w
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm9
movsd qword [r9 + r15], xmm0
movsxd r8, dword [rbx + 4]
movsxd rcx, dword [rbx]
mov eax, dword [rbx + r8*4 + 0x104]
xor dword [rbx + rcx*4 + 0x104], eax
movzx eax, byte [rcx + rbx + 8]
mov edx, dword [rbx + rcx*4 + 0x104]
mov dword [rbx], eax
movzx eax, byte [rbx + r8 + 8]
mov dword [rbx + 4], eax
movzx eax, dx
movd xmm7, eax
cvtdq2pd xmm7, xmm7
mulsd xmm7, xmm9
movsd qword [r9 + r15 + 8], xmm7
test r14d, r14d
jle 0x1401f2a78
movsd xmm8, qword [r9 + r15]
mov r12d, 1
nop dword [rax + rax]
imul rax, rsi, 0x158
movaps xmm1, xmm7
movaps xmm0, xmm8
subsd xmm0, qword [rax + r15]
subsd xmm1, qword [rax + r15 + 8]
mulsd xmm0, xmm0
mulsd xmm1, xmm1
addsd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
comisd xmm6, xmm0
mov eax, r14d
cmovb eax, edi
cmovae ebp, r12d
lea edi, [rax + 1]
mov rax, r13
cmovb rax, rsi
lea rsi, [rax + 1]
cmp edi, r14d
jl 0x1401f2a20
mov r10d, dword [rsp + 0xa0]
xor r12d, r12d
mov eax, dword [rsp + 0xb0]
inc eax
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0xb8], eax
jle 0x1401f2ab2
test ebp, ebp
lea eax, [r14 + 1]
cmovne eax, r14d
mov r14d, eax
lea rax, [r13 + 1]
cmovne rax, r13
mov r13, rax
cmp r14d, r10d
jl 0x1401f2970
movaps xmm7, xmmword [rsp + 0x40]
mov r13, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xa8]
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x50]
movsxd r11, r14d
movsxd r10, r10d
cmp r11, r10
jge 0x1401f2e10
mov rax, r10
sub rax, r11
cmp rax, 4
jl 0x1401f2d5a
lea rax, [r11 + 1]
mov rdi, r10
sub rdi, r11
imul r9, rax, 0x158
sub rdi, 4
add r9, r15
shr rdi, 2
inc rdi
lea r14d, [r14 + rdi*4]
lea r11, [r11 + rdi*4]
nop word [rax + rax]
movsxd r8, dword [rbx + 4]
movsxd rcx, dword [rbx]
mov eax, dword [rbx + r8*4 + 0x104]
xor dword [rbx + rcx*4 + 0x104], eax
mov edx, dword [rbx + rcx*4 + 0x104]
movzx eax, byte [rcx + rbx + 8]
mov dword [rbx], eax
movzx eax, byte [rbx + r8 + 8]
mov dword [rbx + 4], eax
movzx eax, dx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm9
movsd qword [r9 - 0x158], xmm0
movsxd r8, dword [rbx + 4]
movsxd rcx, dword [rbx]
mov eax, dword [rbx + r8*4 + 0x104]
xor dword [rbx + rcx*4 + 0x104], eax
mov edx, dword [rbx + rcx*4 + 0x104]
movzx eax, byte [rcx + rbx + 8]
mov dword [rbx], eax
movzx eax, byte [rbx + r8 + 8]
mov dword [rbx + 4], eax
movzx eax, dx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm9
movsd qword [r9 - 0x150], xmm0
movsxd r8, dword [rbx + 4]
movsxd rcx, dword [rbx]
mov eax, dword [rbx + r8*4 + 0x104]
xor dword [rbx + rcx*4 + 0x104], eax
mov edx, dword [rbx + rcx*4 + 0x104]
movzx eax, byte [rcx + rbx + 8]
mov dword [rbx], eax
movzx eax, byte [rbx + r8 + 8]
mov dword [rbx + 4], eax
movzx eax, dx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm9
movsd qword [r9], xmm0
movsxd r8, dword [rbx + 4]
movsxd rcx, dword [rbx]
mov eax, dword [rbx + r8*4 + 0x104]
xor dword [rbx + rcx*4 + 0x104], eax
mov edx, dword [rbx + rcx*4 + 0x104]
movzx eax, byte [rcx + rbx + 8]
mov dword [rbx], eax
movzx eax, byte [rbx + r8 + 8]
mov dword [rbx + 4], eax
movzx eax, dx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm9
movsd qword [r9 + 8], xmm0
movsxd r8, dword [rbx + 4]
movsxd rcx, dword [rbx]
mov eax, dword [rbx + r8*4 + 0x104]
xor dword [rbx + rcx*4 + 0x104], eax
mov edx, dword [rbx + rcx*4 + 0x104]
movzx eax, byte [rcx + rbx + 8]
mov dword [rbx], eax
movzx eax, byte [rbx + r8 + 8]
mov dword [rbx + 4], eax
movzx eax, dx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm9
movsd qword [r9 + 0x158], xmm0
movsxd r8, dword [rbx + 4]
movsxd rcx, dword [rbx]
mov eax, dword [rbx + r8*4 + 0x104]
xor dword [rbx + rcx*4 + 0x104], eax
movzx eax, byte [rcx + rbx + 8]
mov edx, dword [rbx + rcx*4 + 0x104]
mov dword [rbx], eax
movzx eax, byte [rbx + r8 + 8]
mov dword [rbx + 4], eax
movzx eax, dx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
lea r9, [r9 + 0x560]
mulsd xmm0, xmm9
movsd qword [r9 - 0x400], xmm0
movsxd r8, dword [rbx + 4]
movsxd rcx, dword [rbx]
mov eax, dword [rbx + r8*4 + 0x104]
xor dword [rbx + rcx*4 + 0x104], eax
mov edx, dword [rbx + rcx*4 + 0x104]
movzx eax, byte [rcx + rbx + 8]
mov dword [rbx], eax
movzx eax, byte [r8 + rbx + 8]
mov dword [rbx + 4], eax
movzx eax, dx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm9
movsd qword [r9 - 0x2b0], xmm0
movsxd r8, dword [rbx + 4]
movsxd rcx, dword [rbx]
mov eax, dword [rbx + r8*4 + 0x104]
xor dword [rbx + rcx*4 + 0x104], eax
movzx eax, byte [rcx + rbx + 8]
mov edx, dword [rbx + rcx*4 + 0x104]
mov dword [rbx], eax
movzx eax, byte [r8 + rbx + 8]
mov dword [rbx + 4], eax
movzx eax, dx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm9
movsd qword [r9 - 0x2a8], xmm0
sub rdi, 1
jne 0x1401f2b20
cmp r11, r10
jge 0x1401f2e10
imul r9, r11, 0x158
sub r10, r11
add r9, r15
add r14d, r10d
movsxd r8, dword [rbx + 4]
lea r9, [r9 + 0x158]
movsxd rcx, dword [rbx]
mov eax, dword [rbx + r8*4 + 0x104]
xor dword [rbx + rcx*4 + 0x104], eax
mov edx, dword [rbx + rcx*4 + 0x104]
movzx eax, byte [rcx + rbx + 8]
mov dword [rbx], eax
movzx eax, byte [rbx + r8 + 8]
mov dword [rbx + 4], eax
movzx eax, dx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm9
movsd qword [r9 - 0x158], xmm0
movsxd r8, dword [rbx + 4]
movsxd rcx, dword [rbx]
mov eax, dword [rbx + r8*4 + 0x104]
xor dword [rbx + rcx*4 + 0x104], eax
movzx eax, byte [rcx + rbx + 8]
mov edx, dword [rbx + rcx*4 + 0x104]
mov dword [rbx], eax
movzx eax, byte [rbx + r8 + 8]
mov dword [rbx + 4], eax
movzx eax, dx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm9
movsd qword [r9 - 0x150], xmm0
sub r10, 1
jne 0x1401f2d73
mov rcx, rbx
call sym.ErrorReportClient.exe_SfRand_Free
mov ecx, dword [rsp + 0xa0]
mov rdi, qword [rsp + 0x68]
dec ecx
movaps xmm9, xmmword [rsp + 0x20]
cmp r14d, ecx
sete r12b
mov eax, r12d
add rsp, 0x78
pop r15
pop r14
pop r12
pop rbx
ret