Function at 0x140008260
Capabilities:
Encode data using xor
Get mac address on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2be0]
mov eax, 0x2ce0
call fcn.140064cd0
sub rsp, rax
movaps xmmword [rsp + 0x2cd0], xmm6
mov rax, qword [0x1400800c0]
xor rax, rsp
mov qword [rbp + 0x2bc8], rax
mov rbx, rcx
mov qword [rbp - 0x58], rcx
xor r13d, r13d
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
lea r15, [rbp + 0x2c08]
movabs rsi, 0xff00ff00ff00ff00
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], r15
mov r14, qword [r15]
mov rdi, r14
xor rdi, rsi
mov qword [rbp - 0x70], rdi
mov qword [r15], r13
mov dword [rbp - 0x58], 0x2c00
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x50]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
je 0x140008653
cmp eax, 0x6f
jne 0x14000860a
mov ecx, dword [rbp - 0x58]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
jne 0x140008344
mov byte [rsp + 0x50], al
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140008335
jmp 0x1400088ea
lea rdx, [rbp - 0x58]
mov rcx, rsi
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x140008600
cmp dword [rsi + 0x194], eax
je 0x1400085f6
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x2bb0], xmm0
mov word [rbp + 0x2bc0], ax
movzx r11d, byte [rsi + 0x19d]
movzx r14d, byte [rsi + 0x19c]
movzx r15d, byte [rsi + 0x19b]
movzx r12d, byte [rsi + 0x19a]
movzx r13d, byte [rsi + 0x199]
movzx r9d, byte [rsi + 0x198]
movups xmm0, xmmword [0x140067eb0]
movups xmmword [rsp + 0x58], xmm0
movsd xmm0, qword [0x140067ec0]
movsd qword [rsp + 0x68], xmm0
mov eax, dword [0x140067ec8]
mov dword [rsp + 0x70], eax
movzx eax, word [0x140067ecc]
mov word [rsp + 0x74], ax
cmp byte [0x140067ecd], 0
je 0x140008563
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14000851f
movdqa xmm4, xmmword [0x140068a50]
movdqa xmm3, xmmword [0x140068ab0]
movdqa xmm5, xmmword [0x140068a70]
movdqa xmm0, xmmword [0x140068aa0]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rsp + 0x5c]
movdqa xmm6, xmmword [0x140068a80]
mov edx, dword [rbp - 0x80]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
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
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
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
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x140008430
cmp r8d, 0x1e
jge 0x140008563
movsxd rax, r8d
lea r10, [rsp + 0x58]
add r10, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
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
sub al, cl
add al, 0x36
xor byte [r10], al
inc r8d
lea r10, [r10 + 1]
cmp r8d, 0x1e
jl 0x140008530
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r13d
lea r8, [rsp + 0x58]
mov edx, reloc.WS2_32.dll_select
lea rcx, [rbp + 0x2bb0]
call fcn.140016360
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
lea rax, [rbp + 0x2bb0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400085c0
lea rdx, [rbp + 0x2bb0]
mov rcx, rbx
call fcn.140001ab0
nop
movabs rax, 0xff00ff00ff00ff00
xor rdi, rax
lea rax, [rbp + 0x2c08]
mov qword [rax], rdi
jmp 0x1400088fb
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movabs rsi, 0xff00ff00ff00ff00
mov byte [rsp + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140008630
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140001ab0
nop
xor rdi, rsi
mov qword [r15], rdi
jmp 0x1400088fb
xorps xmm0, xmm0
cmp dword [rbp + 0x144], 0
je 0x1400088c0
xor eax, eax
movups xmmword [rbp + 0x2bb0], xmm0
mov word [rbp + 0x2bc0], ax
movzx r11d, byte [rbp + 0x14d]
movzx esi, byte [rbp + 0x14c]
movzx r14d, byte [rbp + 0x14b]
movzx r15d, byte [rbp + 0x14a]
movzx r12d, byte [rbp + 0x149]
movzx r9d, byte [rbp + 0x148]
movups xmm0, xmmword [0x140067ed0]
movups xmmword [rsp + 0x58], xmm0
movsd xmm0, qword [0x140067ee0]
movsd qword [rsp + 0x68], xmm0
mov eax, dword [str.cj_c_nS]
mov dword [rsp + 0x70], eax
movzx eax, word [0x140067eec]
mov word [rsp + 0x74], ax
cmp byte [0x140067eed], 0
je 0x140008863
mov r8d, r13d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14000881f
movdqa xmm4, xmmword [0x140068a50]
movdqa xmm3, xmmword [0x140068ab0]
movdqa xmm5, xmmword [0x140068a70]
movdqa xmm0, xmmword [0x140068aa0]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rsp + 0x5c]
movdqa xmm6, xmmword [0x140068a80]
mov edx, dword [rbp - 0x80]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
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
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
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
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x140008730
cmp r8d, 0x1e
jge 0x140008863
movsxd rax, r8d
lea r10, [rsp + 0x58]
add r10, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
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
sub al, cl
add al, 0x36
xor byte [r10], al
inc r8d
lea r10, [r10 + 1]
cmp r8d, 0x1e
jl 0x140008830
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r12d
lea r8, [rsp + 0x58]
mov edx, reloc.WS2_32.dll_select
lea rcx, [rbp + 0x2bb0]
call fcn.140016360
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
lea rax, [rbp + 0x2bb0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400088b0
jmp 0x1400085ca
mov byte [rsp + 0x50], 0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400088e0
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140001ab0
nop
mov qword [r15], r14
mov rax, rbx
mov rcx, qword [rbp + 0x2bc8]
xor rcx, rsp
call fcn.140064d30
lea r11, [rsp + 0x2ce0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret