Function at 0x1800395c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x180069240]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, rcx
mov qword [rbp - 0x19], rcx
mov rax, qword [0x18006a0c8]
mov rcx, qword [rax + 8]
sub rcx, qword [rax]
sar rcx, 3
cmp rcx, 1
ja 0x180039a0d
movups xmm2, xmmword [0x18005abf0]
movups xmmword [rbp - 0x49], xmm2
mov edx, dword [0x18005ac00]
mov dword [rbp - 0x39], edx
movdqa xmm5, xmmword [0x18005b5d0]
movdqa xmm8, xmmword [0x18005b5e0]
movdqa xmm6, xmmword [str.5555]
movdqa xmm4, xmmword [0x18005b660]
movdqa xmm7, xmmword [0x180059d20]
xor ecx, ecx
mov r10d, dword [0x1800692a8]
cmp byte [0x18005ac03], cl
je 0x180039882
mov r8d, ecx
cmp r10d, 2
jl 0x180039846
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm4
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
movdqa xmm1, xmm7
psubd xmm1, xmm0
andps xmm1, xmm5
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm8
movd eax, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movd dword [rbp - 0x49], xmm1
movdqa xmm2, xmmword [0x18005b570]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm8
movd xmm0, dword [rbp - 0x45]
xorps xmm2, xmm0
movd dword [rbp - 0x45], xmm2
movdqa xmm3, xmmword [0x18005b580]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm5
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm8
movd xmm0, dword [rbp - 0x41]
xorps xmm3, xmm0
movd dword [rbp - 0x41], xmm3
movdqa xmm2, xmmword [0x18005b590]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm8
movd xmm0, dword [rbp - 0x3d]
xorps xmm2, xmm0
movd dword [rbp - 0x3d], xmm2
movdqa xmm3, xmmword [0x18005b5a0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm5
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm8
movd xmm0, edx
xorps xmm3, xmm0
movd dword [rbp - 0x39], xmm3
jmp 0x180039882
lea r9, [rbp - 0x49]
nop word [rax + rax]
mov eax, 0x3521cfb3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul edx, eax, 0x35
movzx eax, r8b
sub al, dl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x14
jl 0x180039850
mov eax, dword [0x18005abe8]
mov dword [rbp + 0xf], eax
movups xmm0, xmmword [0x18005abc8]
movups xmm1, xmmword [0x18005abd8]
movzx eax, word [0x18005abec]
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm1
mov word [rbp + 0x13], ax
cmp r10d, 2
jl 0x1800399b4
movdqa xmmword [rbp - 0x29], xmm8
lea rdx, [rbp - 0xd]
mov r8d, dword [rbp - 0x29]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x1800398d0
cmp ecx, 0x26
jge 0x1800399ec
movsxd rax, ecx
lea r8, [rbp - 0x11]
add r8, rax
nop
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x26
jl 0x1800399c0
lea rdx, [rbp - 0x11]
lea r8, [rbp - 0x49]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
mov rcx, rbx
call fcn.18002fec0
jmp 0x180039f10
call fcn.1800304d0
test al, al
jne 0x180039e15
movups xmm2, xmmword [0x18005ac28]
movups xmmword [rbp - 0x49], xmm2
mov r9d, dword [0x18005ac38]
mov dword [rbp - 0x39], r9d
movdqa xmm5, xmmword [0x18005b5d0]
movdqa xmm8, xmmword [0x18005b5e0]
movdqa xmm6, xmmword [str.5555]
movdqa xmm4, xmmword [0x18005b660]
movdqa xmm7, xmmword [0x180059d20]
xor ecx, ecx
mov r10d, dword [0x1800692a8]
cmp byte [0x18005ac3b], cl
je 0x180039ca2
mov r8d, ecx
cmp r10d, 2
jl 0x180039c66
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm4
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
movdqa xmm1, xmm7
psubd xmm1, xmm0
andps xmm1, xmm5
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd edx, xmm8
movd xmm0, edx
paddb xmm1, xmm0
movd eax, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movd dword [rbp - 0x49], xmm1
movdqa xmm2, xmmword [0x18005b570]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x45]
xorps xmm2, xmm1
movd dword [rbp - 0x45], xmm2
movdqa xmm3, xmmword [0x18005b580]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm5
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, edx
paddb xmm3, xmm0
movd xmm1, dword [rbp - 0x41]
xorps xmm3, xmm1
movd dword [rbp - 0x41], xmm3
movdqa xmm2, xmmword [0x18005b590]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x3d]
xorps xmm2, xmm1
movd dword [rbp - 0x3d], xmm2
movdqa xmm3, xmmword [0x18005b5a0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm5
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, edx
paddb xmm3, xmm0
movd xmm1, r9d
xorps xmm3, xmm1
movd dword [rbp - 0x39], xmm3
jmp 0x180039ca2
lea r9, [rbp - 0x49]
nop word [rax + rax]
mov eax, 0x3521cfb3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul edx, eax, 0x35
movzx eax, r8b
sub al, dl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x14
jl 0x180039c70
movups xmm0, xmmword [0x18005ac08]
movups xmmword [rbp - 0x11], xmm0
movsd xmm0, qword [0x18005ac18]
movsd qword [rbp - 1], xmm0
mov eax, dword [0x18005ac20]
mov dword [rbp + 7], eax
cmp byte [0x18005ac23], cl
je 0x180039e0c
cmp r10d, 2
jl 0x180039dd4
movdqa xmmword [rbp - 0x29], xmm8
lea rdx, [rbp - 0xd]
mov r8d, dword [rbp - 0x29]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x180039cf0
cmp ecx, 0x1c
jge 0x180039e0c
movsxd rax, ecx
lea r8, [rbp - 0x11]
add r8, rax
nop
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1c
jl 0x180039de0
lea rdx, [rbp - 0x11]
jmp 0x1800399f0
mov dword [0x18006a0f4], 1
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.18002fc20
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.18003a2f0
nop
mov byte [0x18006a0d0], 1
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rdx, qword [rbp - 0x11]
mov r8, qword [rbp - 1]
lea rcx, [0x1800691d8]
call fcn.180031d30
mov rdx, qword [0x18006a0e8]
add rdx, 0xd0
lea rcx, [0x1800691f8]
cmp rcx, rdx
je 0x180039e8b
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x180039e85
mov rdx, qword [rdx]
call fcn.180031d30
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x180039eca
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180039ec4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180039ec4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180052484
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x180039f00
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180039efb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180039f3c
mov rcx, r8
call fcn.180052484
xor ecx, ecx
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], 0xf
mov byte [rbx], cl
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1800525a0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3