Function at 0x180004f70
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 [0x180043780]
mov dword [rbp + 0x67], eax
movzx eax, word [0x180043784]
xor word [rbp + 0x69], 0x32
xor ax, 0x33
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 0x180004fc0
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.1800160a0
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], rdi
movsd xmm1, qword [rbp - 0x11]
mov rcx, qword [rax]
mov eax, dword [0x180043778]
mov dword [rbp + 0x67], eax
movzx eax, word [0x18004377c]
xor word [rbp + 0x69], 0x32
mov qword [rbp - 0x21], rcx
xor ax, 0x33
movups xmm0, xmmword [rbp - 0x21]
mov word [rbp + 0x6b], ax
mov ecx, edi
lea rax, [rbp + 0x67]
movsd qword [0x18004d910], xmm1
movups xmmword [0x18004d900], xmm0
mov word [rbp + 0x67], bx
nop dword [rax + rax]
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x180005040
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.1800160a0
mov ebx, dword [0x18004b018]
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 [0x18004d928], xmm1
movups xmm1, xmmword [0x180043768]
movups xmmword [0x18004d918], xmm0
movups xmm0, xmmword [str.WU_xYBKxNHIQQ_w]
pextrw eax, xmm1, 7
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm1
test ax, ax
je 0x18000523f
mov r8d, edi
cmp ebx, 2
jl 0x18000520b
movdqa xmm5, xmmword [0x180045d60]
lea rcx, [rbp - 0x21]
movdqa xmm4, xmmword [0x1800460f0]
mov edx, edi
movdqa xmm7, xmmword [0x180045db0]
movdqa xmm9, xmmword [0x180045e90]
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 0x180005120
jmp 0x18000523f
lea r9, [rbp - 0x21]
nop
mov eax, 0x5397829d
lea r9, [r9 + 2]
mul r8d
mov eax, 1
shr edx, 4
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x31
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0x10
jl 0x180005210
mov qword [rbp - 0x39], rdi
cmp word [rbp - 0x21], di
je 0x180005272
lea rax, [rbp - 0x21]
mov ecx, edi
nop
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x180005250
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 0x180005276
mov qword [rbp - 0x31], rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x67]
call fcn.1800160a0
mov r8d, edi
mov rcx, qword [rax]
movzx eax, word [0x180043750]
mov qword [rbp - 0x21], rcx
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], rdi
movsd xmm1, qword [rbp - 0x11]
movsd qword [0x18004d940], xmm1
mov word [rbp - 1], ax
movups xmm0, xmmword [rbp - 0x21]
movups xmm1, xmmword [0x180043740]
movups xmmword [0x18004d930], xmm0
movups xmm0, xmmword [str.c_TAXMJ_yIIJP.A]
movups xmmword [rbp - 0x11], xmm1
movups xmmword [rbp - 0x21], xmm0
cmp ebx, 2
jl 0x180005403
movdqa xmm5, xmmword [0x180045d60]
lea rcx, [rbp - 0x21]
movdqa xmm4, xmmword [0x1800460f0]
movdqa xmm7, xmmword [0x180045db0]
movdqa xmm9, xmmword [0x180045e90]
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 0x180005310
cmp r8d, 0x11
jge 0x180005446
movsxd rax, r8d
lea r9, [rbp - 0x21]
lea r9, [r9 + rax*2]
nop
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x31
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0x11
jl 0x180005410
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 0x1800054a2
lea rax, [rbp - 0x21]
mov ecx, edi
nop word [rax + rax]
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x180005480
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 0x1800054a6
mov qword [rbp - 0x31], rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x67]
call fcn.1800160a0
cmp word [0x18004372a], di
mov rcx, qword [rax]
mov eax, dword [0x180043728]
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 [0x18004d948], xmm0
mov dword [rbp - 0x11], eax
movups xmm0, xmmword [0x180043718]
movsd qword [0x18004d958], xmm1
movups xmmword [rbp - 0x21], xmm0
je 0x18000552f
xor word [rbp - 0x1f], 0x32
mov eax, 0x42
xor word [rbp - 0x1d], 0x33
xor word [rbp - 0x1b], 0x34
xor word [rbp - 0x19], 0x35
xor word [rbp - 0x17], 0x36
xor word [rbp - 0x15], 0x37
xor word [rbp - 0x13], 0x38
xor word [rbp - 0x11], 0x39
xor word [rbp - 0xf], 0x3a
mov word [rbp - 0x21], ax
jmp 0x180005533
movzx eax, word [rbp - 0x21]
mov qword [rbp - 0x39], rdi
test ax, ax
je 0x180005564
lea rax, [rbp - 0x21]
mov ecx, edi
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x180005542
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 0x180005568
mov qword [rbp - 0x31], rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x67]
call fcn.1800160a0
cmp word [0x180043716], di
mov rcx, qword [rax]
mov eax, dword [0x180043714]
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 [0x18004d960], xmm0
mov dword [rbp + 0x67], eax
movsd qword [0x18004d970], xmm1
je 0x1800055be
xor word [rbp + 0x69], 0x32
mov eax, 0x57
mov word [rbp + 0x67], ax
jmp 0x1800055c2
movzx eax, word [rbp + 0x67]
mov qword [rbp - 0x39], rdi
test ax, ax
je 0x1800055f3
lea rax, [rbp + 0x67]
mov ecx, edi
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x1800055d1
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 0x1800055f7
mov qword [rbp - 0x31], rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x6f]
call fcn.1800160a0
cmp word [0x180043712], di
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], rdi
mov rcx, qword [rax]
movsd xmm1, qword [rbp - 0x11]
mov eax, dword [0x180043710]
mov qword [rbp - 0x21], rcx
movups xmm0, xmmword [rbp - 0x21]
mov dword [rbp + 0x67], eax
movsd qword [0x18004d988], xmm1
movups xmmword [0x18004d978], xmm0
je 0x18000564d
xor word [rbp + 0x69], 0x32
mov eax, 0x41
mov word [rbp + 0x67], ax
jmp 0x180005651
movzx eax, word [rbp + 0x67]
mov qword [rbp - 0x39], rdi
test ax, ax
je 0x180005682
lea rax, [rbp + 0x67]
mov ecx, edi
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x180005660
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 0x180005686
mov qword [rbp - 0x31], rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x6f]
call fcn.1800160a0
cmp word [0x18004370e], 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 [0x18004370c]
mov qword [rbp - 0x21], rcx
movups xmm0, xmmword [rbp - 0x21]
mov dword [rbp + 0x67], eax
movsd qword [0x18004d9a0], xmm1
movups xmmword [0x18004d990], xmm0
je 0x1800056df
xor word [rbp + 0x69], 0x32
movzx eax, si
mov word [rbp + 0x67], ax
jmp 0x1800056e3
movzx eax, word [rbp + 0x67]
mov qword [rbp - 0x39], rdi
test ax, ax
je 0x180005714
lea rax, [rbp + 0x67]
mov ecx, edi
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x1800056f2
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 0x180005718
mov qword [rbp - 0x31], rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x6f]
call fcn.1800160a0
cmp word [0x18004370a], di
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], rdi
mov rcx, qword [rax]
movsd xmm1, qword [rbp - 0x11]
mov eax, dword [0x180043708]
mov qword [rbp - 0x21], rcx
movups xmm0, xmmword [rbp - 0x21]
mov dword [rbp + 0x67], eax
movsd qword [0x18004d9b8], xmm1
movups xmmword [0x18004d9a8], xmm0
je 0x18000576e
xor word [rbp + 0x69], 0x32
mov eax, 0x44
mov word [rbp + 0x67], ax
jmp 0x180005772
movzx eax, word [rbp + 0x67]
mov qword [rbp - 0x39], rdi
test ax, ax
je 0x1800057a3
lea rax, [rbp + 0x67]
mov ecx, edi
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x180005781
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 0x1800057a7
mov qword [rbp - 0x31], rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x6f]
call fcn.1800160a0
cmp word [0x180043706], 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 [0x180043704]
mov qword [rbp - 0x21], rcx
movups xmm0, xmmword [rbp - 0x21]
mov dword [rbp + 0x67], eax
movsd qword [0x18004d9d0], xmm1
movups xmmword [0x18004d9c0], xmm0
je 0x180005800
xor word [rbp + 0x69], 0x32
movzx eax, bx
mov word [rbp + 0x67], bx
jmp 0x180005804
movzx eax, word [rbp + 0x67]
mov qword [rbp - 0x39], rdi
test ax, ax
je 0x180005835
lea rax, [rbp + 0x67]
mov ecx, edi
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x180005813
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 0x180005839
mov qword [rbp - 0x31], rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x6f]
call fcn.1800160a0
cmp word [0x180043702], di
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], rdi
mov rcx, qword [rax]
movsd xmm1, qword [rbp - 0x11]
mov eax, dword [0x180043700]
mov qword [rbp - 0x21], rcx
movups xmm0, xmmword [rbp - 0x21]
mov dword [rbp - 0x11], eax
movsd qword [0x18004d9b8], xmm1
movups xmmword [0x18004d9a8], xmm0
movups xmm0, xmmword [str.WU_fM:t2u2b2p2f2sSP_FFV_:]
movups xmmword [rbp - 0x21], xmm0
je 0x1800058c2
xor word [rbp - 0x1f], 0x32
mov eax, 0x4c
xor word [rbp - 0x1d], 0x33
xor word [rbp - 0x1b], 0x34
xor word [rbp - 0x19], 0x35
xor word [rbp - 0x17], 0x36
xor word [rbp - 0x15], 0x37
xor word [rbp - 0x13], 0x38
xor word [rbp - 0x11], 0x39
xor word [rbp - 0xf], 0x3a
mov word [rbp - 0x21], ax
jmp 0x1800058c6
movzx eax, word [rbp - 0x21]
mov qword [rbp - 0x39], rdi
test ax, ax
je 0x1800058f7
lea rax, [rbp - 0x21]
mov ecx, edi
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x1800058d5
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 0x1800058fb
mov qword [rbp - 0x31], rdi
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x67]
call fcn.1800160a0
mov rcx, qword [rax]
movzx eax, word [0x1800436e8]
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 [0x18004d9d8], xmm0
movups xmm0, xmmword [str.bBRWPTVJ9]
movsd qword [0x18004d9e8], xmm1
movups xmmword [rbp - 0x39], xmm0
xor word [rbp - 0x37], 0x32
xor word [rbp - 0x35], 0x33
xor word [rbp - 0x33], 0x34
xor word [rbp - 0x31], 0x35
xor word [rbp - 0x2f], 0x36
xor word [rbp - 0x2d], 0x37
xor word [rbp - 0x2b], 0x38
xor ax, 0x39
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 0x180005980
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.1800160a0
cmp word [0x1800436d2], di
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], rdi
mov rcx, qword [rax]
movsd xmm1, qword [rbp - 0x11]
mov eax, dword [0x1800436d0]
mov qword [rbp - 0x21], rcx
movups xmm0, xmmword [rbp - 0x21]
mov dword [rbp - 0x31], eax
movsd qword [0x18004da00], xmm1
movups xmmword [0x18004d9f0], xmm0
movsd xmm0, qword [str.tGQG6]
movsd qword [rbp - 0x39], xmm0
je 0x180005a12
xor word [rbp - 0x37], 0x32
xor word [rbp - 0x35], 0x33
xor word [rbp - 0x33], 0x34
xor word [rbp - 0x31], 0x35
xor word [rbp - 0x2f], 0x36
mov word [rbp - 0x39], bx
jmp 0x180005a16
movzx ebx, word [rbp - 0x39]
test bx, bx
mov qword [rbp - 0x21], rdi
mov rbx, qword [rsp + 0xd0]
je 0x180005a52
lea rax, [rbp - 0x39]
mov ecx, edi
nop dword [rax]
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x180005a30
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 0x180005a56
mov qword [rbp - 0x19], rdi
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0x67]
call fcn.1800160a0
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 [0x18004da18], xmm1
movups xmmword [0x18004da08], xmm0
add rsp, 0xa8
pop rdi
pop rbp
ret