Function at 0x140057940
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x1401798e0]
xor rax, rsp
mov qword [rbp - 9], rax
xor edi, edi
mov dword [rsp + 0x34], edi
movsd xmm0, qword [str.v_fkXN_]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x1400909e0]
mov dword [rbp - 0x51], eax
movzx eax, byte [0x1400909e4]
mov byte [rbp - 0x4d], al
mov r8d, edi
lea ebx, [rdi + 5]
lea eax, [rdi + 0x1f]
mov r12d, dword [0x1401798c0]
cmp r12d, 2
jl 0x140057ac7
movdqa xmm4, xmmword [0x140092a90]
movd xmm6, ebx
movd xmm5, eax
movdqa xmm2, xmmword [0x1400b0940]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.::::]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b0970]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.5555555555555555YYP]
movd xmm0, dword [str.v_fkXN_]
pxor xmm2, xmm0
movd dword [rbp - 0x59], xmm2
movdqa xmm3, xmmword [0x1400b0950]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.::::]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b0970]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.5555555555555555YYP]
movd xmm0, dword [rbp - 0x55]
pxor xmm2, xmm0
movd dword [rbp - 0x55], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x59]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x140057ae0
lea rax, [rbp - 0x49]
mov qword [rbp - 0x79], rax
lea rax, [rbp - 0x59]
mov rsi, 0xffffffffffffffff
mov r14, rsi
nop dword [rax]
inc r14
cmp byte [rax + r14], dil
jne 0x140057b30
call fcn.14008207c
mov r13d, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rdi
mov edx, 7
mov qword [rbp - 0x31], rdx
mov word [rbp - 0x49], di
mov r15d, 4
mov dword [rsp + 0x34], r15d
test r14, r14
je 0x140057bdd
cmp r14, 0x7fffffff
ja 0x140058460
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8d, r14d
lea rdx, [rbp - 0x59]
mov ecx, eax
call fcn.1400820a4
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x14005846b
xor r8d, r8d
movsxd rdx, ebx
lea rcx, [rbp - 0x49]
call fcn.1400578b0
lea r9, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae r9, qword [rbp - 0x49]
mov dword [rsp + 0x20], ebx
mov r8d, r14d
lea rdx, [rbp - 0x59]
mov ecx, r13d
call fcn.1400820a4
shr rax, 0x20
test eax, eax
jne 0x140058443
mov rdx, qword [rbp - 0x31]
lea ebx, [rax + 5]
lea rcx, [rbp - 0x49]
cmp rdx, 8
cmovae rcx, qword [rbp - 0x49]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp - 0x29]
call fcn.1400821b8
mov edx, eax
test eax, eax
jne 0x140057c4d
mov eax, dword [rbp - 0x19]
test al, 1
mov ecx, 0x1ff
mov r8d, 0x16d
cmovne ecx, r8d
mov dword [rbp - 0x75], ecx
bt eax, 0xa
jae 0x140057c3b
mov ecx, dword [rbp - 0x15]
cmp ecx, 0xa000000c
je 0x140057c71
cmp ecx, 0xa0000003
jne 0x140057c3b
lea r15d, [rdx + 0xa]
jmp 0x140057c71
movzx r15d, al
and r15d, 0x10
or r15d, 0x20
shr r15d, 4
jmp 0x140057c71
mov dword [rbp - 0x75], 0xffff
sub eax, 2
je 0x140057c6b
sub eax, 1
je 0x140057c6b
sub eax, 0x32
je 0x140057c6b
cmp eax, 0x46
mov r15d, edi
jne 0x140057c71
mov r15d, 1
mov dword [rbp - 0x79], edx
lea rax, str.H_t_t_
mov qword [rbp - 0x71], rax
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x79], xmm0
test r15d, r15d
je 0x140057e72
cmp r15d, 1
setne al
mov byte [0x140179fff], al
lea rcx, [rbp - 0x49]
call fcn.140048820
movzx ecx, byte [0x140179ffc]
test ecx, ecx
je 0x140058362
sub ecx, 1
je 0x140058150
sub ecx, 1
je 0x140057f10
cmp ecx, 3
jne 0x140058407
mov byte [0x140179ffc], 0
movsd xmm0, qword [str._XL_mUXR32B]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x140090a10]
mov dword [rbp - 0x51], eax
movzx eax, word [0x140090a14]
mov word [rbp - 0x4d], ax
cmp byte [0x140090a15], 0
je 0x140057e81
cmp r12d, 2
jl 0x140057e23
movdqa xmm4, xmmword [0x140092a90]
movd xmm6, ebx
mov eax, 0x1f
movd xmm5, eax
movdqa xmm2, xmmword [0x1400b0940]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.::::]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b0970]
packuswb xmm2, xmm2
mov eax, dword [str.5555555555555555YYP]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str._XL_mUXR32B]
pxor xmm2, xmm0
movd dword [rbp - 0x59], xmm2
movdqa xmm3, xmmword [0x1400b0950]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.::::]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b0970]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x55]
pxor xmm2, xmm1
movd dword [rbp - 0x55], xmm2
mov edi, 8
movsxd rax, edi
lea r8, [rbp - 0x59]
add r8, rax
nop dword [rax]
mov eax, 0x8d3dcb09
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, dil
sub al, cl
add al, 0x35
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0xe
jl 0x140057e30
lea rax, [rbp - 0x59]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140057e66
jmp 0x140057e9a
xor al, al
test edx, edx
jne 0x14005844b
jmp 0x140057c98
lea rax, [rbp - 0x59]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140057e90
lea rdx, [rbp - 0x59]
lea rcx, [0x1401797d8]
call fcn.140020970
mov eax, dword [str.gCDL9]
mov dword [rsp + 0x34], eax
movzx eax, byte [0x140090a1c]
mov byte [rsp + 0x34], 0x52
xor byte [rsp + 0x35], 0x36
xor byte [rsp + 0x36], 0x37
xor byte [rsp + 0x37], 0x38
xor al, 0x39
mov byte [rsp + 0x38], al
lea rax, [rsp + 0x34]
nop word [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140057ee0
mov r8, rsi
lea rdx, [rsp + 0x34]
lea rcx, [0x1401797f8]
call fcn.140020970
mov byte [0x140179ffd], 0xff
mov byte [0x140179ffe], 0
jmp 0x140058400
movsd xmm0, qword [str.gSDHXMU_f_r]
movsd qword [rbp - 0x79], xmm0
movzx ecx, word [0x140090a28]
mov word [rbp - 0x71], cx
movzx eax, byte [0x140090a2a]
mov byte [rbp - 0x79], 0x52
xor byte [rbp - 0x78], 0x36
xor byte [rbp - 0x77], 0x37
xor byte [rbp - 0x76], 0x38
xor byte [rbp - 0x75], 0x39
xor byte [rbp - 0x74], 0x3a
xor byte [rbp - 0x73], 0x3b
xor byte [rbp - 0x72], 0x3c
xor cl, 0x3d
mov byte [rbp - 0x71], cl
xor byte [rbp - 0x70], 0x3e
xor al, 0x3f
mov byte [rbp - 0x6f], al
lea rax, [rbp - 0x79]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140057f65
lea rdx, [rbp - 0x79]
lea rcx, [0x1401797d8]
call fcn.140020970
movsd xmm0, qword [str.tFR_]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x140090a38]
mov dword [rbp - 0x51], eax
movzx eax, byte [0x140090a3c]
mov byte [rbp - 0x4d], al
cmp r12d, 2
jl 0x1400580bc
movdqa xmm4, xmmword [0x140092a90]
movd xmm6, ebx
mov eax, 0x1f
movd xmm5, eax
movdqa xmm2, xmmword [0x1400b0940]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.::::]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b0970]
packuswb xmm2, xmm2
mov eax, dword [str.5555555555555555YYP]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.tFR_]
pxor xmm2, xmm0
movd dword [rbp - 0x59], xmm2
movdqa xmm3, xmmword [0x1400b0950]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.::::]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b0970]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x55]
pxor xmm2, xmm1
movd dword [rbp - 0x55], xmm2
mov edi, 8
movsxd rax, edi
lea r8, [rbp - 0x59]
add r8, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, dil
sub al, cl
add al, 0x35
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0xd
jl 0x1400580d0
lea rax, [rbp - 0x59]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140058103
mov r8, rsi
lea rdx, [rbp - 0x59]
lea rcx, [0x1401797f8]
call fcn.140020970
mov eax, 2
mov ecx, 0x67
cmp byte [0x140179fff], 0
cmovne eax, ecx
mov byte [0x140179ffd], al
mov byte [0x140179ffe], 0
jmp 0x140058400
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140058160
lea rdx, [rsp + 0x30]
lea rcx, [0x1401797d8]
call fcn.140020970
movups xmm0, xmmword [str.pETYI_NRSk_3__2E]
movups xmmword [rbp - 0x79], xmm0
movzx eax, byte [0x140090a00]
mov byte [rbp - 0x69], al
cmp r12d, 2
jl 0x1400582ec
movdqa xmm5, xmmword [0x1400b0940]
movdqa xmm4, xmmword [0x140092a90]
movd xmm6, ebx
movdqa xmm7, xmmword [str.::::]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [str.5555555555555555YYP]
movdqa xmmword [rbp - 0x59], xmm0
lea rcx, [rbp - 0x75]
mov edx, dword [rbp - 0x59]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, edi
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b0970]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdi + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b0970]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add edi, 8
mov eax, edi
lea rcx, [rcx + 8]
cmp edi, 0x10
jl 0x1400581e0
cmp eax, 0x11
jge 0x14005832f
movsxd rax, edi
lea r8, [rbp - 0x79]
add r8, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, dil
sub al, cl
add al, 0x35
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0x11
jl 0x140058300
lea rax, [rbp - 0x79]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140058333
mov r8, rsi
lea rdx, [rbp - 0x79]
lea rcx, [0x1401797f8]
call fcn.140020970
mov byte [0x140179ffd], 0xc
mov byte [0x140179ffe], 0
jmp 0x140058400
mov eax, dword [0x1400909e8]
mov dword [rsp + 0x34], eax
movzx ecx, word [0x1400909ec]
mov word [rsp + 0x38], cx
movzx eax, byte [0x1400909ee]
mov byte [rsp + 0x34], 0x52
xor byte [rsp + 0x35], 0x36
xor byte [rsp + 0x36], 0x37
xor byte [rsp + 0x37], 0x38
xor cl, 0x39
mov byte [rsp + 0x38], cl
xor byte [rbp - 0x80], 0x3a
xor al, 0x3b
mov byte [rbp - 0x7f], al
lea rax, [rsp + 0x34]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400583b0
lea rdx, [rsp + 0x34]
lea rcx, [0x1401797d8]
call fcn.140020970
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x30]
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400583d5
mov r8, rsi
lea rdx, [rsp + 0x30]
lea rcx, [0x1401797f8]
call fcn.140020970
mov byte [0x140179ffd], 0xb
mov byte [0x140179ffe], 1
mov byte [0x14017a000], 0
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140082c20
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, eax
call fcn.140054f50
nop
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x79]
lea rcx, str.exists
call fcn.140054eb0
nop
mov ecx, 0x16
call fcn.140054f10
int3
mov ecx, eax
call fcn.140054f50
int3