Function at 0x140003c00
Capabilities:
Encode data using xor

Disassembly:
push rdi
sub rsp, 0x2a0
movups xmm0, xmmword [str.YFGDF_f]
xor r8d, r8d
cmp dword [0x14003b010], 2
mov r10, rdx
movups xmm1, xmmword [0x140037040]
mov r11, rcx
movzx eax, word [0x140037078]
movups xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x78], ax
movups xmm0, xmmword [0x140037050]
movzx eax, byte [0x14003707a]
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x2c0], r8d
movsd xmm0, qword [0x140037070]
movups xmmword [rsp + 0x40], xmm1
mov byte [rsp + 0x7a], al
movups xmm1, xmmword [0x140037060]
movsd qword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x60], xmm1
jl 0x140003db2
movdqa xmm0, xmmword [0x140037100]
lea rcx, [rsp + 0x34]
movdqa xmm4, xmmword [0x1400370d0]
movdqa xmm3, xmmword [0x140037120]
movdqa xmm5, xmmword [str.2222]
movdqa xmmword [rsp + 0x80], xmm0
mov edx, dword [rsp + 0x80]
movaps xmmword [rsp + 0x290], xmm6
movdqa xmm6, xmmword [0x1400370f0]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x48
jl 0x140003cc1
movaps xmm6, xmmword [rsp + 0x290]
cmp r8d, 0x4b
jge 0x140003df1
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x4b
jl 0x140003dc0
mov r9, r11
mov qword [rsp + 0x20], r10
lea r8, [rsp + 0x30]
mov edx, 0x200
lea rcx, [rsp + 0x90]
call fcn.140001170
mov ecx, 3
call qword [sym.imp.libcurl.dll_curl_global_init]
call qword [sym.imp.libcurl.dll_curl_easy_init]
mov rdi, rax
test rax, rax
je 0x140003ecc
lea r8, [rsp + 0x90]
mov edx, 0x2712
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
xor r8d, r8d
mov edx, 0x40
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [0x140003ef0]
mov edx, 0x4e2b
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [rsp + 0x2c0]
mov edx, 0x2711
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_perform]
test eax, eax
je 0x140003ec3
mov ecx, eax
mov qword [rsp + 0x2b0], rbx
call qword [sym.imp.libcurl.dll_curl_easy_strerror]
mov ecx, 2
mov rbx, rax
call fcn.14000a780
mov r8, rbx
lea rdx, [0x140036e90]
mov rcx, rax
call fcn.140001020
mov rbx, qword [rsp + 0x2b0]
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_cleanup]
call qword [sym.imp.libcurl.dll_curl_global_cleanup]
mov eax, dword [rsp + 0x2c0]
add rsp, 0x2a0
pop rdi
ret