Function at 0x180003ff0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
xor ebx, ebx
mov esi, 1
mov edi, ebx
xor eax, eax
lock cmpxchg dword [0x18000ec78], esi
je 0x180004042
cmp rdi, 0x20
jae 0x18000402b
xor ecx, ecx
jmp 0x18000402d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rdi
xor eax, eax
lock cmpxchg dword [0x18000ec78], esi
jne 0x180004021
cmp qword [0x18000ec80], rbx
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm7
movaps xmmword [rsp + 0xa0], xmm8
jne 0x1800049c8
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x18000ec80], rax
mov ecx, ebx
test rax, rax
mov edx, 9
mov eax, ebx
xchg dword [0x18000ec78], eax
cmove ecx, edx
test ecx, ecx
jne 0x1800049d0
movzx eax, word [0x18000a9e8]
lea edi, [rdx - 4]
movups xmm0, xmmword [str.aEQM_kNR_Z32]
mov word [rbp + 0x17], ax
lea esi, [rdx + 0x16]
movzx eax, byte [0x18000a9ea]
mov r8d, ebx
mov qword [rsp + 0xe0], r14
mov r14d, dword [0x18000e018]
mov byte [rbp + 0x19], al
movups xmmword [rbp + 7], xmm0
cmp r14d, 2
jl 0x180004221
movdqa xmm0, xmmword [str.6666666666666666]
lea rcx, [rbp + 0xb]
movdqa xmm5, xmmword [0x18000ade0]
movdqa xmm4, xmmword [0x18000ae30]
movdqa xmm7, xmmword [0x18000ae00]
movdqa xmmword [rbp - 0x59], xmm0
mov edx, dword [rbp - 0x59]
movd xmm6, edi
movd xmm8, esi
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, 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
movdqa xmm1, xmm3
pand xmm2, xmmword [0x18000ae10]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x18000ae10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x180004110
cmp r8d, 0x13
jge 0x180004264
movsxd rax, r8d
lea r9, [rbp + 7]
add r9, rax
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
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, 0x33
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x13
jl 0x180004230
mov eax, dword [0x18000aad0]
mov r8d, ebx
movsd xmm0, qword [str._RJW_W]
mov dword [rbp - 0x41], eax
movzx eax, byte [0x18000aad4]
mov byte [rbp - 0x3d], al
movsd qword [rbp - 0x49], xmm0
cmp r14d, 2
jl 0x1800043a0
movdqa xmm2, xmmword [0x18000ade0]
mov r8d, 8
movdqa xmm3, xmmword [0x18000adf0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x18000ae30]
movdqa xmm0, xmm2
mov eax, dword [str.6666666666666666]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, edi
movd xmm5, esi
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18000ae00]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x18000ae10]
movd xmm1, dword [str._RJW_W]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
pxor xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp - 0x49], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18000ae00]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x18000ae10]
movd xmm1, dword [rbp - 0x45]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rbp - 0x45], xmm2
mov eax, r8d
lea r9, [rbp - 0x49]
add r9, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
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, 0x33
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x1800043b0
lea rcx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 7]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18000ec70], rax
test rax, rax
jne 0x180004622
mov eax, dword [0x18000aac0]
mov dword [rbp - 1], eax
movups xmm0, xmmword [0x18000aa88]
movups xmm1, xmmword [0x18000aa98]
movups xmmword [rbp - 0x39], xmm0
movups xmm0, xmmword [0x18000aaa8]
movups xmmword [rbp - 0x29], xmm1
movsd xmm1, qword [0x18000aab8]
movsd qword [rbp - 9], xmm1
movups xmmword [rbp - 0x19], xmm0
cmp r14d, 2
jl 0x18000459c
movdqa xmm0, xmmword [str.6666666666666666]
lea rcx, [rbp - 0x35]
movdqa xmm5, xmmword [0x18000ade0]
movdqa xmm4, xmmword [0x18000ae30]
movdqa xmm7, xmmword [0x18000ae00]
movdqa xmmword [rbp - 0x59], xmm0
mov edx, dword [rbp - 0x59]
movd xmm6, edi
movd xmm8, esi
nop dword [rax]
nop word [rax + rax]
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, 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
movdqa xmm1, xmm3
pand xmm2, xmmword [0x18000ae10]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x18000ae10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x38
jl 0x180004490
cmp ebx, 0x3c
jge 0x1800045df
movsxd rax, ebx
lea r8, [rbp - 0x39]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
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, 0x33
movzx eax, bl
inc ebx
sub al, cl
add al, 0x36
xor byte [r8 - 1], al
cmp ebx, 0x3c
jl 0x1800045b0
lea rcx, [rbp - 0x39]
call fcn.180001040
mov r14, qword [rsp + 0xe0]
movaps xmm8, xmmword [rsp + 0xa0]
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xc0]
mov rsp, r11
pop rbp
ret
call fcn.180007c60
test eax, eax
je 0x1800047ef
cmp byte [0x18000aaef], bl
movups xmm0, xmmword [0x18000aad8]
movsd xmm1, qword [0x18000aae8]
movups xmmword [rbp - 0x39], xmm0
movsd qword [rbp - 0x29], xmm1
je 0x1800047e6
cmp r14d, 2
jl 0x1800047b0
movdqa xmm0, xmmword [str.6666666666666666]
lea rcx, [rbp - 0x35]
movdqa xmm5, xmmword [0x18000ade0]
movdqa xmm4, xmmword [0x18000ae30]
movdqa xmm7, xmmword [0x18000ae00]
movdqa xmmword [rbp - 0x59], xmm0
mov edx, dword [rbp - 0x59]
movd xmm6, edi
movd xmm8, esi
nop dword [rax]
nop word [rax + rax]
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, 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
movdqa xmm1, xmm3
pand xmm2, xmmword [0x18000ae10]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x18000ae10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x18
jl 0x1800046a0
lea rcx, [rbp - 0x39]
jmp 0x1800045e3
lea r8, [rbp - 0x39]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
mul ebx
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, bl
inc ebx
sub al, cl
add al, 0x36
xor byte [r8 - 1], al
cmp ebx, 0x18
jl 0x1800047c0
lea rcx, [rbp - 0x39]
jmp 0x1800045e3
mov rcx, qword [0x18000ec70]
call fcn.180007f40
test eax, eax
je 0x1800045e8
cmp byte [0x18000ad7b], bl
movups xmm0, xmmword [str.sEJVHe_Q]
mov eax, dword [0x18000ad78]
movsd xmm1, qword [0x18000ad70]
movups xmmword [rbp - 0x39], xmm0
mov dword [rbp - 0x21], eax
movsd qword [rbp - 0x29], xmm1
je 0x1800049bf
cmp r14d, 2
jl 0x18000497c
movdqa xmm0, xmmword [str.6666666666666666]
lea rcx, [rbp - 0x35]
movdqa xmm5, xmmword [0x18000ade0]
movdqa xmm4, xmmword [0x18000ae30]
movdqa xmm7, xmmword [0x18000ae00]
movdqa xmmword [rbp - 0x59], xmm0
mov edx, dword [rbp - 0x59]
movd xmm6, edi
movd xmm8, esi
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, 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
movdqa xmm1, xmm3
pand xmm2, xmmword [0x18000ae10]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x18000ae10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x18
jl 0x180004870
cmp ebx, 0x1c
jge 0x1800049bf
movsxd rax, ebx
lea r8, [rbp - 0x39]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
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, 0x33
movzx eax, bl
inc ebx
sub al, cl
add al, 0x36
xor byte [r8 - 1], al
cmp ebx, 0x1c
jl 0x180004990
lea rcx, [rbp - 0x39]
jmp 0x1800045e3
mov eax, ebx
xchg dword [0x18000ec78], eax
cmp byte [0x18000ab45], bl
mov eax, dword [0x18000ab40]
movups xmm0, xmmword [0x18000ab28]
mov dword [rbp - 0x21], eax
movzx eax, word [0x18000ab44]
movsd xmm1, qword [0x18000ab38]
movups xmmword [rbp - 0x39], xmm0
mov word [rbp - 0x1d], ax
movsd qword [rbp - 0x29], xmm1
je 0x180004baf
cmp dword [0x18000e018], 2
jl 0x180004b6c
movdqa xmm0, xmmword [str.6666666666666666]
lea rcx, [rbp - 0x35]
movdqa xmm5, xmmword [0x18000ade0]
mov edi, 5
movdqa xmm4, xmmword [0x18000ae30]
mov esi, 0x1f
movdqa xmm7, xmmword [0x18000ae00]
movdqa xmmword [rbp - 0x59], xmm0
mov edx, dword [rbp - 0x59]
movd xmm6, edi
movd xmm8, esi
nop dword [rax]
nop dword [rax + rax]
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, 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
movdqa xmm1, xmm3
pand xmm2, xmmword [0x18000ae10]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x18000ae10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x18
jl 0x180004a60
cmp ebx, 0x1e
jge 0x180004baf
movsxd rax, ebx
lea r8, [rbp - 0x39]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
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, 0x33
movzx eax, bl
inc ebx
sub al, cl
add al, 0x36
xor byte [r8 - 1], al
cmp ebx, 0x1e
jl 0x180004b80
lea rcx, [rbp - 0x39]
call fcn.180001040
jmp 0x1800045f0