Function at 0x140080c80
Capabilities:
Create thread
Encode data using xor
Initialize winsock library
Resolve dns
Terminate process

Disassembly:
push rbp
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x1402f3010]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov ecx, 0x202
lea rdx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140080f77
mov qword [rsp + 0x220], rbx
xor ebx, ebx
mov ecx, ebx
mov qword [rsp + 0x228], rsi
mov dword [rsp + 0x30], 0x8120e0b
mov dword [rsp + 0x34], 0xaceeec1e
mov dword [rsp + 0x38], 0xf1e1ed
mov byte [rsp + 0x3c], 1
nop dword [rax + rax]
lea eax, [rcx + 0x7b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0xb
jb 0x140080cf0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x230], rdi
mov byte [rsp + 0x3c], bl
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rsi, rax
test rax, rax
jne 0x140080e80
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x140080eb5
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
lea r8, [0x14007eb20]
cmp eax, 0x2af9
jne 0x140080dab
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [0x1406903d0]
call fcn.14007b560
movdqa xmm0, xmmword [0x1402d6b60]
lea rcx, [rsp + 0x30]
movdqu xmmword [rsp + 0x30], xmm0
mov r8, rax
mov dword [rsp + 0x40], 0x6c373263
mov dword [rsp + 0x44], 0x7e245a41
mov word [rsp + 0x48], 0x100
call fcn.140080f90
mov rdx, rax
lea r9d, [rsi + 0x10]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 0x2afc
jne 0x140080e0c
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [0x1406903d0]
call fcn.14007b560
movdqa xmm0, xmmword [0x1402d6b10]
lea rcx, [rsp + 0x30]
movdqa xmm1, xmmword [str.n923_2____ySJQ]
mov r8, rax
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x50], 1
movdqu xmmword [rsp + 0x40], xmm1
call fcn.14007b3f0
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [0x1406903d0]
call fcn.14007b560
movdqa xmm0, xmmword [0x1402d6bb0]
lea rcx, [rsp + 0x30]
movdqa xmm1, xmmword [0x1402d6ba0]
mov r8, rax
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x50], 0x773f495a
movdqu xmmword [rsp + 0x40], xmm1
mov dword [rsp + 0x54], 0x16751c52
mov dword [rsp + 0x58], 0x1277611d
mov word [rsp + 0x5c], 0x100
call fcn.140080fc0
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
test rcx, rcx
je 0x140080eb5
mov rdi, rbx
nop
mov ecx, dword [rcx]
lea rdi, [rdi + 1]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
mov qword [0x140692f80], rax
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax + rdi*8]
test rcx, rcx
jne 0x140080e90
jmp 0x140080ebc
mov rdx, qword [0x140692f80]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rdx + r8], bl
jne 0x140080ec6
lea rsi, [0x14068fc70]
mov rcx, rsi
call fcn.14007c5d0
mov dword [rsp + 0x30], 0x57414447
mov dword [rsp + 0x34], 0x45524243
mov dword [rsp + 0x38], 0xb0b4514a
mov word [rsp + 0x3c], 0x100
nop dword [rax]
lea eax, [rbx + 0x76]
xor byte [rsp + rbx + 0x30], al
inc rbx
cmp rbx, 0xc
jb 0x140080f00
mov byte [rsp + 0x3d], 0
lea rax, [rsp + 0x30]
nop word [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140080f20
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
mov r8, qword [0x14068fc80]
cmovae rsi, qword [0x14068fc70]
cmp r8, rdi
jne 0x140080f56
lea rdx, [rsp + 0x30]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140080f5f
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rdi, qword [rsp + 0x230]
mov rbx, qword [rsp + 0x220]
mov rsi, qword [rsp + 0x228]
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140087600
add rsp, 0x210
pop rbp
ret