Function at 0x180037dc0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0xa8
mov qword [rax + 0x18], rbx
mov ebx, 0x46
mov qword [rax + 0x20], rsi
mov qword [rax - 0x18], r14
mov eax, dword [0x180098208]
mov dword [rbp + 0x67], eax
movzx eax, word [0x18009820c]
xor word [rbp + 0x69], 0x31
xor ax, 0x32
xor edi, edi
mov word [rbp + 0x6b], ax
mov ecx, edi
mov word [rbp + 0x67], bx
lea rax, [rbp + 0x67]
nop word [rax + rax]
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x180037e10
add ecx, 1
lea rax, [rbp + 0x67]
mov dword [rbp - 0x19], ecx
lea rdx, [rbp - 0x21]
cmove rax, rdi
mov dword [rbp - 0x15], ecx
lea rcx, [rbp + 0x6f]
mov qword [rbp - 0x21], rax
call fcn.18005df10
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], rdi
movsd xmm1, qword [rbp - 0x11]
mov rcx, qword [rax]
mov eax, dword [0x180098200]
mov dword [rbp + 0x67], eax
movzx eax, word [0x180098204]
xor word [rbp + 0x69], 0x31
mov qword [rbp - 0x21], rcx
xor ax, 0x32
movups xmm0, xmmword [rbp - 0x21]
mov word [rbp + 0x6b], ax
mov ecx, edi
lea rax, [rbp + 0x67]
movsd qword [0x1800a8540], xmm1
movups xmmword [0x1800a8530], xmm0
mov word [rbp + 0x67], bx
nop dword [rax + rax]
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x180037e90
add ecx, 1
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm7
lea rax, [rbp + 0x67]
cmove rax, rdi
mov dword [rbp - 0x19], ecx
mov dword [rbp - 0x15], ecx
lea rdx, [rbp - 0x21]
movaps xmmword [rsp + 0x70], xmm8
lea rcx, [rbp + 0x6f]
mov qword [rbp - 0x21], rax
movaps xmmword [rsp + 0x60], xmm9
call fcn.18005df10
mov ebx, dword [0x1800a5018]
mov esi, 4
mov qword [rbp - 0x11], rdi
movsd xmm1, qword [rbp - 0x11]
mov rcx, qword [rax]
mov qword [rbp - 0x21], rcx
lea r14d, [rsi + 0x1b]
mov qword [rbp - 0x19], rdi
movups xmm0, xmmword [rbp - 0x21]
movsd qword [0x1800a8558], xmm1
movups xmm1, xmmword [0x1800981f0]
movups xmmword [0x1800a8548], xmm0
movups xmm0, xmmword [str.TTGyZCD_OOHRP_v]
pextrw eax, xmm1, 7
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm1
test ax, ax
je 0x18003808e
mov r8d, edi
cmp ebx, 2
jl 0x18003805b
movdqa xmm5, xmmword [0x18009d8f0]
lea rcx, [rbp - 0x21]
movdqa xmm4, xmmword [0x18009dd00]
mov edx, edi
movdqa xmm7, xmmword [0x18009d930]
movdqa xmm9, xmmword [0x18009d9d0]
movd xmm6, esi
movd xmm8, r14d
nop
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add edx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp edx, 0x10
jl 0x180037f70
jmp 0x18003808e
lea r9, [rbp - 0x21]
nop
mov eax, 0x51eb851f
lea r9, [r9 + 2]
mul r8d
shr edx, 4
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x10
jl 0x180038060
mov qword [rbp - 0x39], rdi
cmp word [rbp - 0x21], di
je 0x1800380c2
lea rax, [rbp - 0x21]
mov ecx, edi
nop
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x1800380a0
add ecx, 1
lea rax, [rbp - 0x21]
mov dword [rbp - 0x31], ecx
cmove rax, rdi
mov dword [rbp - 0x2d], ecx
mov qword [rbp - 0x39], rax
jmp 0x1800380c6
mov qword [rbp - 0x31], rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x67]
call fcn.18005df10
mov r8d, edi
mov rcx, qword [rax]
movzx eax, word [0x1800981d8]
mov qword [rbp - 0x21], rcx
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], rdi
movsd xmm1, qword [rbp - 0x11]
movsd qword [0x1800a7b90], xmm1
mov word [rbp - 1], ax
movups xmm0, xmmword [rbp - 0x21]
movups xmm1, xmmword [0x1800981c8]
movups xmmword [0x1800a7b80], xmm0
movups xmm0, xmmword [str.bXU__xYBKxNHIQQ_]
movups xmmword [rbp - 0x11], xmm1
movups xmmword [rbp - 0x21], xmm0
cmp ebx, 2
jl 0x180038253
movdqa xmm5, xmmword [0x18009d8f0]
lea rcx, [rbp - 0x21]
movdqa xmm4, xmmword [0x18009dd00]
movdqa xmm7, xmmword [0x18009d930]
movdqa xmm9, xmmword [0x18009d9d0]
movd xmm6, esi
movd xmm8, r14d
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x10
jl 0x180038160
cmp r8d, 0x11
jge 0x180038295
movsxd rax, r8d
lea r9, [rbp - 0x21]
lea r9, [r9 + rax*2]
nop
mov eax, 0x51eb851f
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x11
jl 0x180038260
movaps xmm9, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r14, qword [rsp + 0xa0]
mov qword [rbp - 0x39], rdi
cmp word [rbp - 0x21], di
je 0x1800382f2
lea rax, [rbp - 0x21]
mov ecx, edi
nop dword [rax]
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x1800382d0
add ecx, 1
lea rax, [rbp - 0x21]
mov dword [rbp - 0x31], ecx
cmove rax, rdi
mov dword [rbp - 0x2d], ecx
mov qword [rbp - 0x39], rax
jmp 0x1800382f6
mov qword [rbp - 0x31], rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x67]
call fcn.18005df10
cmp word [0x1800981b2], di
mov rcx, qword [rax]
mov eax, dword [0x1800981b0]
mov qword [rbp - 0x21], rcx
mov qword [rbp - 0x19], rdi
movups xmm0, xmmword [rbp - 0x21]
mov qword [rbp - 0x11], rdi
movsd xmm1, qword [rbp - 0x11]
movups xmmword [0x1800a8560], xmm0
mov dword [rbp - 0x11], eax
movups xmm0, xmmword [0x1800981a0]
movsd qword [0x1800a8570], xmm1
movups xmmword [rbp - 0x21], xmm0
je 0x18003837f
xor word [rbp - 0x1f], 0x31
mov eax, 0x42
xor word [rbp - 0x1d], 0x32
xor word [rbp - 0x1b], 0x33
xor word [rbp - 0x19], 0x34
xor word [rbp - 0x17], 0x35
xor word [rbp - 0x15], 0x36
xor word [rbp - 0x13], 0x37
xor word [rbp - 0x11], 0x38
xor word [rbp - 0xf], 0x39
mov word [rbp - 0x21], ax
jmp 0x180038383
movzx eax, word [rbp - 0x21]
mov qword [rbp - 0x39], rdi
test ax, ax
je 0x1800383b4
lea rax, [rbp - 0x21]
mov ecx, edi
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x180038392
add ecx, 1
lea rax, [rbp - 0x21]
mov dword [rbp - 0x31], ecx
cmove rax, rdi
mov dword [rbp - 0x2d], ecx
mov qword [rbp - 0x39], rax
jmp 0x1800383b8
mov qword [rbp - 0x31], rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x67]
call fcn.18005df10
cmp word [0x18009819e], di
mov rcx, qword [rax]
mov eax, dword [0x18009819c]
mov qword [rbp - 0x21], rcx
mov qword [rbp - 0x19], rdi
movups xmm0, xmmword [rbp - 0x21]
mov qword [rbp - 0x11], rdi
movsd xmm1, qword [rbp - 0x11]
movups xmmword [0x1800a8410], xmm0
mov dword [rbp + 0x67], eax
movsd qword [0x1800a8420], xmm1
je 0x18003840e
xor word [rbp + 0x69], 0x31
mov eax, 0x57
mov word [rbp + 0x67], ax
jmp 0x180038412
movzx eax, word [rbp + 0x67]
mov qword [rbp - 0x39], rdi
test ax, ax
je 0x180038443
lea rax, [rbp + 0x67]
mov ecx, edi
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x180038421
add ecx, 1
lea rax, [rbp + 0x67]
mov dword [rbp - 0x31], ecx
cmove rax, rdi
mov dword [rbp - 0x2d], ecx
mov qword [rbp - 0x39], rax
jmp 0x180038447
mov qword [rbp - 0x31], rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x6f]
call fcn.18005df10
cmp word [0x18009819a], di
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], rdi
mov rcx, qword [rax]
movsd xmm1, qword [rbp - 0x11]
mov eax, dword [0x180098198]
mov qword [rbp - 0x21], rcx
movups xmm0, xmmword [rbp - 0x21]
mov dword [rbp + 0x67], eax
movsd qword [0x1800a7b78], xmm1
movups xmmword [0x1800a7b68], xmm0
je 0x18003849d
xor word [rbp + 0x69], 0x31
mov eax, 0x41
mov word [rbp + 0x67], ax
jmp 0x1800384a1
movzx eax, word [rbp + 0x67]
mov qword [rbp - 0x39], rdi
test ax, ax
je 0x1800384d2
lea rax, [rbp + 0x67]
mov ecx, edi
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x1800384b0
add ecx, 1
lea rax, [rbp + 0x67]
mov dword [rbp - 0x31], ecx
cmove rax, rdi
mov dword [rbp - 0x2d], ecx
mov qword [rbp - 0x39], rax
jmp 0x1800384d6
mov qword [rbp - 0x31], rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x6f]
call fcn.18005df10
cmp word [0x180098196], di
mov esi, 0x53
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], rdi
mov rcx, qword [rax]
movsd xmm1, qword [rbp - 0x11]
mov eax, dword [0x180098194]
mov qword [rbp - 0x21], rcx
movups xmm0, xmmword [rbp - 0x21]
mov dword [rbp + 0x67], eax
movsd qword [0x1800a7d08], xmm1
movups xmmword [0x1800a7cf8], xmm0
je 0x18003852f
xor word [rbp + 0x69], 0x31
movzx eax, si
mov word [rbp + 0x67], ax
jmp 0x180038533
movzx eax, word [rbp + 0x67]
mov qword [rbp - 0x39], rdi
test ax, ax
je 0x180038564
lea rax, [rbp + 0x67]
mov ecx, edi
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x180038542
add ecx, 1
lea rax, [rbp + 0x67]
mov dword [rbp - 0x31], ecx
cmove rax, rdi
mov dword [rbp - 0x2d], ecx
mov qword [rbp - 0x39], rax
jmp 0x180038568
mov qword [rbp - 0x31], rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x6f]
call fcn.18005df10
cmp word [0x180098192], di
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], rdi
mov rcx, qword [rax]
movsd xmm1, qword [rbp - 0x11]
mov eax, dword [0x180098190]
mov qword [rbp - 0x21], rcx
movups xmm0, xmmword [rbp - 0x21]
mov dword [rbp + 0x67], eax
movsd qword [0x1800a7cf0], xmm1
movups xmmword [0x1800a7ce0], xmm0
je 0x1800385be
xor word [rbp + 0x69], 0x31
mov eax, 0x44
mov word [rbp + 0x67], ax
jmp 0x1800385c2
movzx eax, word [rbp + 0x67]
mov qword [rbp - 0x39], rdi
test ax, ax
je 0x1800385f3
lea rax, [rbp + 0x67]
mov ecx, edi
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x1800385d1
add ecx, 1
lea rax, [rbp + 0x67]
mov dword [rbp - 0x31], ecx
cmove rax, rdi
mov dword [rbp - 0x2d], ecx
mov qword [rbp - 0x39], rax
jmp 0x1800385f7
mov qword [rbp - 0x31], rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x6f]
call fcn.18005df10
cmp word [0x18009818e], di
mov ebx, 0x45
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], rdi
mov rcx, qword [rax]
movsd xmm1, qword [rbp - 0x11]
mov eax, dword [0x18009818c]
mov qword [rbp - 0x21], rcx
movups xmm0, xmmword [rbp - 0x21]
mov dword [rbp + 0x67], eax
movsd qword [0x1800a7d20], xmm1
movups xmmword [0x1800a7d10], xmm0
je 0x180038650
xor word [rbp + 0x69], 0x31
movzx eax, bx
mov word [rbp + 0x67], bx
jmp 0x180038654
movzx eax, word [rbp + 0x67]
mov qword [rbp - 0x39], rdi
test ax, ax
je 0x180038685
lea rax, [rbp + 0x67]
mov ecx, edi
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x180038663
add ecx, 1
lea rax, [rbp + 0x67]
mov dword [rbp - 0x31], ecx
cmove rax, rdi
mov dword [rbp - 0x2d], ecx
mov qword [rbp - 0x39], rax
jmp 0x180038689
mov qword [rbp - 0x31], rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x6f]
call fcn.18005df10
cmp word [0x18009818a], di
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], rdi
mov rcx, qword [rax]
movsd xmm1, qword [rbp - 0x11]
mov eax, dword [0x180098188]
mov qword [rbp - 0x21], rcx
movups xmm0, xmmword [rbp - 0x21]
mov dword [rbp - 0x11], eax
movsd qword [0x1800a7cf0], xmm1
movups xmmword [0x1800a7ce0], xmm0
movups xmm0, xmmword [str.TTGg__QL9u1t1c1q1g1rPQXGEWT_9]
movups xmmword [rbp - 0x21], xmm0
je 0x180038712
xor word [rbp - 0x1f], 0x31
mov eax, 0x4c
xor word [rbp - 0x1d], 0x32
xor word [rbp - 0x1b], 0x33
xor word [rbp - 0x19], 0x34
xor word [rbp - 0x17], 0x35
xor word [rbp - 0x15], 0x36
xor word [rbp - 0x13], 0x37
xor word [rbp - 0x11], 0x38
xor word [rbp - 0xf], 0x39
mov word [rbp - 0x21], ax
jmp 0x180038716
movzx eax, word [rbp - 0x21]
mov qword [rbp - 0x39], rdi
test ax, ax
je 0x180038747
lea rax, [rbp - 0x21]
mov ecx, edi
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x180038725
add ecx, 1
lea rax, [rbp - 0x21]
mov dword [rbp - 0x31], ecx
cmove rax, rdi
mov dword [rbp - 0x2d], ecx
mov qword [rbp - 0x39], rax
jmp 0x18003874b
mov qword [rbp - 0x31], rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x67]
call fcn.18005df10
mov rcx, qword [rax]
movzx eax, word [0x180098170]
mov qword [rbp - 0x21], rcx
mov ecx, edi
mov qword [rbp - 0x19], rdi
movups xmm0, xmmword [rbp - 0x21]
mov qword [rbp - 0x11], rdi
movsd xmm1, qword [rbp - 0x11]
movups xmmword [0x1800a7d40], xmm0
movups xmm0, xmmword [str.cASPQWWE8]
movsd qword [0x1800a7d50], xmm1
movups xmmword [rbp - 0x39], xmm0
xor word [rbp - 0x37], 0x31
xor word [rbp - 0x35], 0x32
xor word [rbp - 0x33], 0x33
xor word [rbp - 0x31], 0x34
xor word [rbp - 0x2f], 0x35
xor word [rbp - 0x2d], 0x36
xor word [rbp - 0x2b], 0x37
xor ax, 0x38
mov word [rbp - 0x39], si
mov rsi, qword [rsp + 0xd8]
mov word [rbp - 0x29], ax
lea rax, [rbp - 0x39]
nop
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x1800387d0
add ecx, 1
lea rax, [rbp - 0x39]
mov dword [rbp - 0x19], ecx
lea rdx, [rbp - 0x21]
cmove rax, rdi
mov dword [rbp - 0x15], ecx
lea rcx, [rbp + 0x67]
mov qword [rbp - 0x21], rax
call fcn.18005df10
cmp word [0x18009815a], di
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], rdi
mov rcx, qword [rax]
movsd xmm1, qword [rbp - 0x11]
mov eax, dword [0x180098158]
mov qword [rbp - 0x21], rcx
movups xmm0, xmmword [rbp - 0x21]
mov dword [rbp - 0x31], eax
movsd qword [0x1800a7d38], xmm1
movups xmmword [0x1800a7d28], xmm0
movsd xmm0, qword [0x180098150]
movsd qword [rbp - 0x39], xmm0
je 0x180038862
xor word [rbp - 0x37], 0x31
xor word [rbp - 0x35], 0x32
xor word [rbp - 0x33], 0x33
xor word [rbp - 0x31], 0x34
xor word [rbp - 0x2f], 0x35
mov word [rbp - 0x39], bx
jmp 0x180038866
movzx ebx, word [rbp - 0x39]
test bx, bx
mov qword [rbp - 0x21], rdi
mov rbx, qword [rsp + 0xd0]
je 0x1800388a2
lea rax, [rbp - 0x39]
mov ecx, edi
nop dword [rax]
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x180038880
add ecx, 1
lea rax, [rbp - 0x39]
mov dword [rbp - 0x19], ecx
cmove rax, rdi
mov dword [rbp - 0x15], ecx
mov qword [rbp - 0x21], rax
jmp 0x1800388a6
mov qword [rbp - 0x19], rdi
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0x67]
call fcn.18005df10
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], rdi
movsd xmm1, qword [rbp - 0x11]
mov rcx, qword [rax]
mov qword [rbp - 0x21], rcx
movups xmm0, xmmword [rbp - 0x21]
movsd qword [0x1800a8438], xmm1
movups xmmword [0x1800a8428], xmm0
add rsp, 0xa8
pop rdi
pop rbp
ret