Function at 0x14008c550
Capabilities:
Encode data using xor
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x170
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x14018c080]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov rdi, rcx
test rcx, rcx
jne 0x14008c6eb
lea rdx, [r11 - 0x48]
call fcn.14008caa0
mov r9, rax
cmp byte [rax + 0xe], cl
je 0x14008c6cc
xor ebx, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14008c699
movdqa xmm2, xmmword [0x140175f00]
mov ebx, 8
movdqa xmm4, xmmword [0x140176050]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140175f20]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140175f60]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rax]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401760b0]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rax], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140175f60]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rax + 4]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401760b0]
xorps xmm2, xmm0
movd dword [rax + 4], xmm2
movsxd r8, ebx
add r8, r9
nop
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
inc ebx
sub al, cl
add al, 0x39
xor byte [r8 - 1], al
cmp ebx, 0xf
jl 0x14008c6a0
mov rcx, r9
call fcn.140023690
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, Ordinal_46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ebx, ebx
mov qword [rsp + 0x188], rsi
mov dword [rsp + 0x28], ebx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov esi, ebx
lea edx, [rbx + 4]
call qword [sym.imp.CRYPT32.dll_CertGetNameStringW]
test eax, eax
je 0x14008c777
mov dword [rsp + 0x28], ebx
lea edx, [rbx + 4]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.CRYPT32.dll_CertGetNameStringW]
mov ecx, eax
mov eax, 2
mul rcx
mov dword [rsp + 0x120], ecx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140146f34
mov rsi, rax
lea edx, [rbx + 4]
mov eax, dword [rsp + 0x120]
xor r9d, r9d
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.CRYPT32.dll_CertGetNameStringW]
mov r9d, dword [rdi + 0x10]
lea rax, [rsp + 0x140]
mov r8, qword [rdi + 8]
mov edx, 2
mov qword [rsp + 0x38], rax
mov ecx, 0x10001
lea rax, [rsp + 0x128]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x8000
call qword [sym.imp.CRYPT32.dll_CryptDecodeObjectEx]
test eax, eax
je 0x14008c8a8
mov rdx, qword [rsp + 0x128]
test rdx, rdx
je 0x14008c8a8
mov r8, qword [rdx + 0xc8]
lea rcx, str.2.5.29.17
mov edx, dword [rdx + 0xc0]
call qword [sym.imp.CRYPT32.dll_CertFindExtension]
test rax, rax
je 0x14008c8a8
mov r9d, dword [rax + 0x10]
lea rdx, [rsp + 0x120]
mov r8, qword [rax + 0x18]
mov ecx, 0x10001
mov qword [rsp + 0x38], rdx
lea rdx, [rsp + 0x130]
mov qword [rsp + 0x30], rdx
mov edx, reloc.WS2_32.dll_inet_ntoa
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x8000
mov qword [rsp + 0x130], rbx
call qword [sym.imp.CRYPT32.dll_CryptDecodeObjectEx]
test eax, eax
je 0x14008c89a
mov rdx, qword [rsp + 0x130]
mov edi, ebx
cmp dword [rdx], ebx
jbe 0x14008c891
nop dword [rax + rax]
mov eax, edi
lea rcx, [rax + rax*2]
mov rax, qword [rdx + 8]
movups xmm1, xmmword [rax + rcx*8]
movd eax, xmm1
cmp eax, 3
jne 0x14008c88b
psrldq xmm1, 8
lea rdx, str.keyauth
movq rcx, xmm1
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14008c8e1
mov rdx, qword [rsp + 0x130]
inc edi
cmp edi, dword [rdx]
jb 0x14008c850
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call fcn.140146ef8
mov rsi, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.1401468a0
mov rbx, qword [rsp + 0x190]
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x170
pop rdi
ret
lea rdx, [rsp + 0x60]
call fcn.14008cad0
mov r9, rax
cmp word [rax + 0xb6], bx
je 0x14008ca70
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14008ca36
movdqa xmm5, xmmword [0x140175f00]
mov rcx, rax
movdqa xmm4, xmmword [0x140176050]
movdqa xmm6, xmmword [0x140175f60]
movaps xmmword [rsp + 0x150], xmm7
movdqa xmm7, xmmword [0x140176030]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov eax, ebx
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp ebx, 0x58
jl 0x14008c940
movaps xmm7, xmmword [rsp + 0x150]
cmp eax, 0x5c
jge 0x14008ca70
movsxd rax, ebx
lea r8, [r9 + rax*2]
nop dword [rax]
mov eax, 0x94f2095
lea r8, [r8 + 2]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x39
xor word [r8 - 2], ax
cmp ebx, 0x5c
jl 0x14008ca40
mov rdx, rsi
mov rcx, r9
call fcn.14008b2d0
mov ecx, 0x3a98
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, Ordinal_46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3