Function at 0x180042880
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
cmp edx, 1
jne 0x1800432c0
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r14
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
movups xmm0, xmmword [0x1801229f0]
movzx eax, word [0x180122a20]
xor r8d, r8d
movups xmm1, xmmword [0x180122a00]
mov ebx, dword [0x180226a00]
mov word [rbp - 0x19], ax
lea esi, [r8 + 4]
lea r14d, [r8 + 0x1f]
movups xmmword [rbp - 0x49], xmm0
movups xmm0, xmmword [0x180122a10]
movups xmmword [rbp - 0x39], xmm1
movups xmmword [rbp - 0x29], xmm0
cmp ebx, 2
jl 0x180042a3b
movdqa xmm0, xmmword [str.5555555555555555]
lea rcx, [rbp - 0x45]
movdqa xmm5, xmmword [0x1800bd8f0]
movdqa xmm4, xmmword [0x180122b50]
movdqa xmm7, xmmword [str.4444]
movdqa xmmword [rbp + 0x17], xmm0
mov edx, dword [rbp + 0x17]
movd xmm6, esi
movd xmm8, r14d
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
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 [0x1800bd950]
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
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 [0x1800bd950]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x30
jl 0x180042932
cmp r8d, 0x32
jge 0x180042a81
movsxd rax, r8d
lea r9, [rbp - 0x49]
add r9, rax
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x32
jl 0x180042a50
mov r8d, 7
lea rcx, [rbp - 0x49]
xor edx, edx
call fcn.1800426b0
movups xmm1, xmmword [0x180122a40]
movups xmm0, xmmword [0x180122a30]
movups xmmword [rbp - 0x39], xmm1
movups xmm1, xmmword [0x180122a60]
movups xmmword [rbp - 0x49], xmm0
movups xmm0, xmmword [0x180122a50]
movups xmmword [rbp - 0x19], xmm1
movups xmmword [rbp - 0x29], xmm0
mov qword [0x180227138], rax
cmp ebx, 2
jl 0x180042c30
movdqa xmm0, xmmword [str.5555555555555555]
lea rcx, [rbp - 0x45]
movdqa xmm5, xmmword [0x1800bd8f0]
xor edx, edx
movdqa xmm4, xmmword [0x180122b50]
movdqa xmm7, xmmword [str.4444]
movdqa xmmword [rbp + 0x17], xmm0
mov r8d, dword [rbp + 0x17]
movd xmm6, esi
movd xmm8, r14d
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 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 edx, 8
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
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1800bd950]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
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
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, r8d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800bd950]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x40
jl 0x180042b10
xor edx, edx
lea rcx, [rbp - 0x49]
lea r8d, [rdx + 7]
call fcn.1800426b0
movzx ecx, word [0x180122aa8]
mov rdx, rax
mov word [rbp - 0x11], cx
jmp 0x180042c8e
lea r9, [rbp - 0x49]
xor r8d, r8d
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x40
jl 0x180042c40
xor edx, edx
lea rcx, [rbp - 0x49]
lea r8d, [rdx + 7]
call fcn.1800426b0
mov rdx, rax
movzx eax, word [0x180122aa8]
mov word [rbp - 0x11], ax
movups xmm0, xmmword [0x180122a70]
xor r8d, r8d
mov qword [0x180227140], rdx
movups xmm1, xmmword [0x180122a80]
movups xmmword [rbp - 0x49], xmm0
movups xmm0, xmmword [0x180122a90]
movups xmmword [rbp - 0x39], xmm1
movsd xmm1, qword [0x180122aa0]
movsd qword [rbp - 0x19], xmm1
movups xmmword [rbp - 0x29], xmm0
cmp ebx, 2
jl 0x180042e40
movdqa xmm0, xmmword [str.5555555555555555]
lea rcx, [rbp - 0x45]
movdqa xmm5, xmmword [0x1800bd8f0]
movdqa xmm4, xmmword [0x180122b50]
movdqa xmm7, xmmword [str.4444]
movdqa xmmword [rbp + 0x17], xmm0
mov edx, dword [rbp + 0x17]
movd xmm6, esi
movd xmm8, 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
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 [0x1800bd950]
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
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 [0x1800bd950]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x38
jl 0x180042d10
cmp r8d, 0x3a
jl 0x180042e40
xor edx, edx
lea rcx, [rbp - 0x49]
lea r8d, [rdx + 7]
call fcn.1800426b0
mov ecx, dword [0x180122ad0]
mov rdx, rax
mov dword [rbp - 0x29], ecx
movzx ecx, byte [0x180122ad4]
mov byte [rbp - 0x25], cl
jmp 0x180042ea6
movsxd rax, r8d
lea r9, [rbp - 0x49]
add r9, rax
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x3a
jl 0x180042e50
xor edx, edx
lea rcx, [rbp - 0x49]
lea r8d, [rdx + 7]
call fcn.1800426b0
mov rdx, rax
mov eax, dword [0x180122ad0]
mov dword [rbp - 0x29], eax
movzx eax, byte [0x180122ad4]
mov byte [rbp - 0x25], al
movups xmm1, xmmword [0x180122ac0]
xor r8d, r8d
mov qword [0x1802279b0], rdx
movups xmm0, xmmword [0x180122ab0]
movups xmmword [rbp - 0x39], xmm1
movups xmmword [rbp - 0x49], xmm0
cmp ebx, 2
jl 0x180043036
movdqa xmm0, xmmword [str.5555555555555555]
lea rcx, [rbp - 0x45]
movdqa xmm5, xmmword [0x1800bd8f0]
movdqa xmm4, xmmword [0x180122b50]
movdqa xmm7, xmmword [str.4444]
movdqa xmmword [rbp + 0x17], xmm0
mov edx, dword [rbp + 0x17]
movd xmm6, esi
movd xmm8, 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
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 [0x1800bd950]
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
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 [0x1800bd950]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x20
jl 0x180042f10
cmp r8d, 0x25
jl 0x180043036
xor edx, edx
lea rcx, [rbp - 0x49]
lea r8d, [rdx + 7]
call fcn.1800426b0
mov ecx, dword [0x180122b30]
mov rdx, rax
mov dword [rbp + 7], ecx
jmp 0x18004308c
movsxd rax, r8d
lea r9, [rbp - 0x49]
add r9, rax
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x25
jl 0x180043040
xor edx, edx
lea rcx, [rbp - 0x49]
lea r8d, [rdx + 7]
call fcn.1800426b0
mov rdx, rax
mov eax, dword [0x180122b30]
mov dword [rbp + 7], eax
movups xmm0, xmmword [0x180122ae0]
xor ecx, ecx
movups xmm1, xmmword [0x180122af0]
cmp ebx, 2
mov rbx, qword [rsp + 0xe0]
movups xmmword [rbp - 0x49], xmm0
movups xmm0, xmmword [0x180122b00]
movups xmmword [rbp - 0x29], xmm0
movups xmm0, xmmword [str.xbweth_nkncq]
movups xmmword [rbp - 0x39], xmm1
movups xmm1, xmmword [0x180122b10]
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp - 0x19], xmm1
mov qword [0x180227148], rdx
jl 0x180043226
movdqa xmm0, xmmword [str.5555555555555555]
lea rdx, [rbp - 0x45]
movdqa xmm5, xmmword [0x1800bd8f0]
movdqa xmm4, xmmword [0x180122b50]
movdqa xmm7, xmmword [str.4444]
movdqa xmmword [rbp + 0x17], xmm0
mov r8d, dword [rbp + 0x17]
movd xmm6, esi
movd xmm8, r14d
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 8
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
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1800bd950]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
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, r8d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800bd950]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x50
jl 0x180043120
cmp ecx, 0x54
jge 0x18004325d
movsxd rax, ecx
lea r8, [rbp - 0x49]
add r8, rax
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 0x54
jl 0x180043230
xor r8d, r8d
lea rcx, [rbp - 0x49]
xor edx, edx
call fcn.1800426b0
xor r9d, r9d
mov qword [rsp + 0x28], 0
lea r8, [0x18002ced0]
mov qword [0x180227130], rax
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xc0]
mov r14, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xe8]
mov al, 1
add rsp, 0xd0
pop rbp
ret