Function at 0x180037850
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
cmp byte [0x1801699f4], 0
je 0x180038404
cmp byte [0x1801616f1], 0
movsd xmm0, qword [str.uKtZG__Y_9]
movzx eax, word [0x1801616f0]
movsd qword [rbp - 0x49], xmm0
mov word [rbp - 0x41], ax
movaps xmmword [rsp + 0xb0], xmm6
je 0x1800378bc
xor byte [rbp - 0x48], 0x31
xor byte [rbp - 0x47], 0x32
xor byte [rbp - 0x46], 0x33
xor byte [rbp - 0x45], 0x34
xor byte [rbp - 0x44], 0x35
xor byte [rbp - 0x43], 0x36
xor byte [rbp - 0x42], 0x37
xor byte [rbp - 0x41], 0x38
xor byte [rbp - 0x40], 0x39
mov byte [rbp - 0x49], 0x45
mov r8d, 3
lea rdx, [0x1801699f4]
lea rcx, [rbp - 0x49]
call fcn.18000d4a0
mov rcx, qword [0x180169998]
lea rdx, [rbp + 0x67]
xor r8d, r8d
mov dword [rbp + 0x67], 0x43c80000
mov dword [rbp + 0x6b], 0x43e10000
mov rcx, qword [rcx + 0x3ea8]
call fcn.180010c90
mov rcx, qword [0x180169998]
movss xmm6, dword [0x1801618a4]
mov rax, qword [rcx + 0x3ea8]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ea8]
cmp byte [rax + 0x9b], 0
jne 0x18003793b
movaps xmm1, xmm6
mov qword [rbp + 0x67], 0
lea rcx, [rbp + 0x67]
call fcn.180011e60
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180012170
cmp byte [0x1801616f1], 0
movsd xmm4, qword [str.uKtZG__Y_9]
movzx eax, word [0x1801616f0]
movsd qword [rbp - 0x49], xmm4
mov word [rbp - 0x41], ax
je 0x18003798f
xor byte [rbp - 0x48], 0x31
xor byte [rbp - 0x47], 0x32
xor byte [rbp - 0x46], 0x33
xor byte [rbp - 0x45], 0x34
xor byte [rbp - 0x44], 0x35
xor byte [rbp - 0x43], 0x36
xor byte [rbp - 0x42], 0x37
xor byte [rbp - 0x41], 0x38
xor byte [rbp - 0x40], 0x39
mov byte [rbp - 0x49], 0x45
lea rcx, [rbp - 0x49]
call fcn.1800310a0
cmp qword [0x180169288], 0
je 0x1800379fc
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180012170
cmp qword [0x180169290], 0x10
lea r8, [0x180169278]
movzx eax, word [0x1801616ac]
mov word [rbp + 0x67], ax
movzx eax, byte [0x1801616ae]
jb 0x1800379d7
mov r8, qword [0x180169278]
movaps xmm0, xmmword [0x180161b60]
lea rdx, [rbp + 0x67]
xor byte [rbp + 0x68], 0x31
lea rcx, [rbp - 0x39]
xor al, 0x32
mov byte [rbp + 0x67], 0x25
mov byte [rbp + 0x69], al
movups xmmword [rbp - 0x39], xmm0
call fcn.1800311a0
mov rcx, qword [0x180169998]
mov rax, qword [rcx + 0x3ea8]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ea8]
cmp byte [rax + 0x9b], 0
jne 0x180037a3c
movaps xmm1, xmm6
mov qword [rbp + 0x6f], 0
lea rcx, [rbp + 0x6f]
call fcn.180011e60
mov rcx, qword [0x180169998]
mov rax, qword [rcx + 0x3ea8]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ea8]
cmp byte [rax + 0x9b], 0
jne 0x180037a6e
movaps xmm1, xmm6
mov qword [rbp + 0x67], 0
lea rcx, [rbp + 0x67]
call fcn.180011e60
lea r8, [rbp + 0x67]
mov qword [rbp + 0x67], 0
call fcn.18000a460
test al, al
je 0x1800383f2
mov qword [rsp + 0xf0], rbx
xor ecx, ecx
mov qword [rsp + 0xf8], rsi
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xc0], r14
call fcn.180038410
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.18003bd90
xor edx, edx
mov rcx, rax
call fcn.1800374f0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180012170
cmp byte [0x180169993], 0
lea rcx, [rbp - 0x39]
je 0x180037af9
mov eax, dword [str.kn4]
lea rdx, [rbp + 0x67]
movaps xmm0, xmmword [0x180161b60]
mov dword [rbp + 0x67], eax
movzx eax, byte [0x180161664]
jmp 0x180037b1c
mov eax, dword [0x180161670]
lea rdx, [rbp + 0x67]
movaps xmm0, xmmword [0x180161b10]
mov dword [rbp + 0x67], eax
movzx eax, word [0x180161674]
mov word [rbp + 0x6b], ax
xor byte [rbp + 0x6c], 0x35
xor byte [rbp + 0x68], 0x31
xor al, 0x34
xor byte [rbp + 0x69], 0x32
xor byte [rbp + 0x6a], 0x33
mov byte [rbp + 0x6b], al
mov byte [rbp + 0x67], 0x5b
movups xmmword [rbp - 0x39], xmm0
call fcn.1800311a0
mov cl, 1
call fcn.180038410
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.18003bd90
mov dl, 1
mov rcx, rax
call fcn.1800374f0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180012170
cmp byte [0x180169992], 0
lea rcx, [rbp - 0x39]
je 0x180037b8c
mov eax, dword [str.kn4]
lea rdx, [rbp + 0x67]
movaps xmm0, xmmword [0x180161b60]
mov dword [rbp + 0x67], eax
movzx eax, byte [0x180161664]
jmp 0x180037baf
mov eax, dword [0x180161670]
lea rdx, [rbp + 0x67]
movaps xmm0, xmmword [0x180161b10]
mov dword [rbp + 0x67], eax
movzx eax, word [0x180161674]
mov word [rbp + 0x6b], ax
xor byte [rbp + 0x6c], 0x35
xor byte [rbp + 0x68], 0x31
xor al, 0x34
xor byte [rbp + 0x69], 0x32
xor byte [rbp + 0x6a], 0x33
mov byte [rbp + 0x6b], al
mov byte [rbp + 0x67], 0x5b
movups xmmword [rbp - 0x39], xmm0
call fcn.1800311a0
mov cl, 2
call fcn.180038410
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.18003bd90
mov dl, 2
mov rcx, rax
call fcn.1800374f0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180012170
cmp byte [0x1801699f3], 0
lea rcx, [rbp - 0x39]
je 0x180037c1f
mov eax, dword [str.kn4]
lea rdx, [rbp + 0x67]
movaps xmm0, xmmword [0x180161b60]
mov dword [rbp + 0x67], eax
movzx eax, byte [0x180161664]
jmp 0x180037c42
mov eax, dword [0x180161670]
lea rdx, [rbp + 0x67]
movaps xmm0, xmmword [0x180161b10]
mov dword [rbp + 0x67], eax
movzx eax, word [0x180161674]
mov word [rbp + 0x6b], ax
xor byte [rbp + 0x6c], 0x35
xor byte [rbp + 0x68], 0x31
xor al, 0x34
xor byte [rbp + 0x69], 0x32
xor byte [rbp + 0x6a], 0x33
mov byte [rbp + 0x6b], al
mov byte [rbp + 0x67], 0x5b
movups xmmword [rbp - 0x39], xmm0
call fcn.1800311a0
mov cl, 3
call fcn.180038410
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.18003bd90
mov dl, 3
mov rcx, rax
call fcn.1800374f0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180012170
cmp byte [0x1801699f0], 0
lea rcx, [rbp - 0x39]
je 0x180037cb2
mov eax, dword [str.kn4]
lea rdx, [rbp + 0x67]
movaps xmm0, xmmword [0x180161b60]
mov dword [rbp + 0x67], eax
movzx eax, byte [0x180161664]
jmp 0x180037cd5
mov eax, dword [0x180161670]
lea rdx, [rbp + 0x67]
movaps xmm0, xmmword [0x180161b10]
mov dword [rbp + 0x67], eax
movzx eax, word [0x180161674]
mov word [rbp + 0x6b], ax
xor byte [rbp + 0x6c], 0x35
xor byte [rbp + 0x68], 0x31
xor al, 0x34
xor byte [rbp + 0x69], 0x32
xor byte [rbp + 0x6a], 0x33
mov byte [rbp + 0x6b], al
mov byte [rbp + 0x67], 0x5b
movups xmmword [rbp - 0x39], xmm0
call fcn.1800311a0
mov cl, 4
call fcn.180038410
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.18003bd90
mov dl, 4
mov rcx, rax
call fcn.1800374f0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180012170
cmp byte [0x1801699f1], 0
lea rcx, [rbp - 0x39]
je 0x180037d45
mov eax, dword [str.kn4]
lea rdx, [rbp + 0x67]
movaps xmm0, xmmword [0x180161b60]
mov dword [rbp + 0x67], eax
movzx eax, byte [0x180161664]
jmp 0x180037d68
mov eax, dword [0x180161670]
lea rdx, [rbp + 0x67]
movaps xmm0, xmmword [0x180161b10]
mov dword [rbp + 0x67], eax
movzx eax, word [0x180161674]
mov word [rbp + 0x6b], ax
xor byte [rbp + 0x6c], 0x35
xor byte [rbp + 0x68], 0x31
xor al, 0x34
xor byte [rbp + 0x69], 0x32
xor byte [rbp + 0x6a], 0x33
mov byte [rbp + 0x6b], al
mov byte [rbp + 0x67], 0x5b
movups xmmword [rbp - 0x39], xmm0
call fcn.1800311a0
mov cl, 5
call fcn.180038410
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.18003bd90
mov dl, 5
mov rcx, rax
call fcn.1800374f0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180012170
cmp byte [0x1801699f2], 0
lea rcx, [rbp - 0x39]
je 0x180037dd8
mov eax, dword [str.kn4]
lea rdx, [rbp + 0x67]
movaps xmm0, xmmword [0x180161b60]
mov dword [rbp + 0x67], eax
movzx eax, byte [0x180161664]
jmp 0x180037dfb
mov eax, dword [0x180161670]
lea rdx, [rbp + 0x67]
movaps xmm0, xmmword [0x180161b10]
mov dword [rbp + 0x67], eax
movzx eax, word [0x180161674]
mov word [rbp + 0x6b], ax
xor byte [rbp + 0x6c], 0x35
xor byte [rbp + 0x68], 0x31
xor al, 0x34
xor byte [rbp + 0x69], 0x32
xor byte [rbp + 0x6a], 0x33
mov byte [rbp + 0x6b], al
mov byte [rbp + 0x67], 0x5b
movups xmmword [rbp - 0x39], xmm0
call fcn.1800311a0
mov cl, 6
call fcn.180038410
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.18003bd90
mov dl, 6
mov rcx, rax
call fcn.1800374f0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180012170
cmp byte [0x180169991], 0
lea rcx, [rbp - 0x39]
je 0x180037e6b
mov eax, dword [str.kn4]
lea rdx, [rbp + 0x67]
movaps xmm0, xmmword [0x180161b60]
mov dword [rbp + 0x67], eax
movzx eax, byte [0x180161664]
jmp 0x180037e8e
mov eax, dword [0x180161670]
lea rdx, [rbp + 0x67]
movaps xmm0, xmmword [0x180161b10]
mov dword [rbp + 0x67], eax
movzx eax, word [0x180161674]
mov word [rbp + 0x6b], ax
xor byte [rbp + 0x6c], 0x35
xor byte [rbp + 0x68], 0x31
xor al, 0x34
xor byte [rbp + 0x69], 0x32
xor byte [rbp + 0x6a], 0x33
mov byte [rbp + 0x6b], al
mov byte [rbp + 0x67], 0x5b
movups xmmword [rbp - 0x39], xmm0
call fcn.1800311a0
mov cl, 7
call fcn.180038410
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.18003bd90
mov dl, 7
mov rcx, rax
call fcn.1800374f0
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.180012170
cmp byte [0x180169251], 0
je 0x180037f1d
movzx ecx, word [0x1801616d4]
lea rdx, [rbp + 0x67]
mov eax, dword [0x1801616d0]
mov dword [rbp + 0x67], eax
movzx eax, byte [0x1801616d6]
xor byte [rbp + 0x68], 0x31
xor byte [rbp + 0x69], 0x32
xor byte [rbp + 0x6a], 0x33
mov word [rbp + 0x6b], cx
xor cl, 0x34
xor byte [rbp + 0x6c], 0x35
xor al, 0x36
mov byte [rbp + 0x67], 0x4d
mov byte [rbp + 0x6d], al
mov byte [rbp + 0x6b], cl
jmp 0x180037f5a
movsd xmm0, qword [str.yBVFW_8]
lea rdx, [rbp - 0x49]
movzx eax, byte [0x180161710]
movsd qword [rbp - 0x49], xmm0
xor byte [rbp - 0x48], 0x31
xor byte [rbp - 0x47], 0x32
xor byte [rbp - 0x46], 0x33
xor byte [rbp - 0x45], 0x34
xor byte [rbp - 0x44], 0x35
xor byte [rbp - 0x43], 0x36
xor byte [rbp - 0x42], 0x37
xor al, 0x38
mov byte [rbp - 0x49], 0x49
mov byte [rbp - 0x41], al
movaps xmm0, xmmword [0x180161b60]
lea rcx, [rbp - 0x39]
movups xmmword [rbp - 0x39], xmm0
call fcn.1800311a0
mov rcx, qword [0x180169998]
mov rax, qword [rcx + 0x3ea8]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ea8]
cmp byte [rax + 0x9b], 0
jne 0x180037fa7
movaps xmm1, xmm6
mov qword [rbp + 0x67], 0
lea rcx, [rbp + 0x67]
call fcn.180011e60
movups xmm0, xmmword [str.qDF__G_f]
movzx eax, word [0x1801616a8]
xor ebx, ebx
cmp byte [0x1801616a9], bl
mov edi, dword [0x180169018]
movaps xmmword [rsp + 0xa0], xmm7
movaps xmmword [rsp + 0x90], xmm8
lea esi, [rbx + 5]
lea r14d, [rbx + 0x1f]
movaps xmmword [rsp + 0x80], xmm9
movups xmmword [rbp - 0x29], xmm0
mov word [rbp - 0x19], ax
je 0x180038194
mov r8d, ebx
cmp edi, 2
jl 0x180038153
movdqa xmm0, xmmword [str.0000000000000000]
lea rcx, [rbp - 0x25]
movdqa xmm5, xmmword [0x180161920]
movdqa xmm4, xmmword [0x180161d70]
movdqa xmm8, xmmword [0x180161950]
movdqa xmmword [rbp - 0x49], xmm0
mov edx, dword [rbp - 0x49]
movd xmm7, esi
movd xmm9, r14d
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm7
movdqa xmm0, xmm1
psrld xmm0, xmm9
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x180161960]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm7
movdqa xmm0, xmm1
psrld xmm0, xmm9
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180161960]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x180038040
cmp r8d, 0x12
jge 0x180038194
movsxd rax, r8d
lea r9, [rbp - 0x29]
add r9, rax
nop dword [rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
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
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x180038160
movaps xmm0, xmmword [0x180161cf0]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x39]
movups xmmword [rbp - 0x39], xmm0
call fcn.1800311a0
movups xmm0, xmmword [str.E_Y__BXTP_OO]
mov eax, dword [0x180161740]
cmp edi, 2
movups xmm1, xmmword [0x180161728]
mov rdi, qword [rsp + 0xc8]
movups xmmword [rbp - 0x29], xmm0
mov dword [rbp - 1], eax
movsd xmm0, qword [0x180161738]
movsd qword [rbp - 9], xmm0
movups xmmword [rbp - 0x19], xmm1
jl 0x18003832e
movdqa xmm0, xmmword [str.0000000000000000]
lea rcx, [rbp - 0x25]
movdqa xmm5, xmmword [0x180161920]
movdqa xmm4, xmmword [0x180161d70]
movdqa xmm8, xmmword [0x180161950]
movdqa xmmword [rbp - 0x49], xmm0
mov edx, dword [rbp - 0x49]
movd xmm7, esi
movd xmm9, r14d
nop
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm7
movdqa xmm0, xmm1
psrld xmm0, xmm9
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x180161960]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm7
movdqa xmm0, xmm1
psrld xmm0, xmm9
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180161960]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x28
jl 0x180038220
cmp ebx, 0x2c
jge 0x18003836f
movsxd rax, ebx
lea r8, [rbp - 0x29]
add r8, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
inc ebx
sub al, cl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 0x2c
jl 0x180038340
movaps xmm0, xmmword [0x180161cf0]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x39]
movups xmmword [rbp - 0x39], xmm0
call fcn.1800311a0
mov rcx, qword [0x180169998]
movaps xmm9, xmmword [rsp + 0x80]
movaps xmm8, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
mov rax, qword [rcx + 0x3ea8]
mov r14, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0xf0]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ea8]
cmp byte [rax + 0x9b], 0
jne 0x1800383f2
movaps xmm1, xmm6
mov qword [rbp + 0x67], 0
lea rcx, [rbp + 0x67]
call fcn.180011e60
call fcn.18000a700
call fcn.18000fc30
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xd0
pop rbp
ret