Function at 0x18009a4a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x48]
sub rsp, 0x140
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x180129540]
xor rax, rsp
mov qword [rbp + 0x10], rax
cmp dword [0x18012a608], 6
movsd xmm7, qword [0x1800e6ea8]
jge 0x18009a7ee
lea rcx, [0x1800f0ff0]
xor r8d, r8d
cmp dword [0x180129500], 2
lea rdx, [rsp + 0x60]
movups xmm0, xmmword [rcx]
mov eax, dword [rcx + 0xa0]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmm1, xmmword [rcx + 0x80]
movups xmmword [rdx + 0x60], xmm0
movups xmm0, xmmword [rcx + 0x70]
movups xmmword [rdx + 0x70], xmm0
movups xmm0, xmmword [rcx + 0x90]
movups xmmword [rdx + 0x80], xmm1
movups xmmword [rdx + 0x90], xmm0
mov dword [rdx + 0xa0], eax
movzx eax, byte [rcx + 0xa4]
mov byte [rdx + 0xa4], al
jl 0x18009a6bd
movdqa xmm0, xmmword [0x1800f1680]
lea rcx, [rsp + 0x64]
movdqa xmm5, xmmword [0x1800e4760]
movdqa xmm4, xmmword [0x1800f1690]
movdqa xmm6, xmmword [str.2222]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800e4780]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800e4780]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0xa0
jl 0x18009a5b0
cmp r8d, 0xa5
jge 0x18009a704
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0xa5
jl 0x18009a6d0
mov rcx, qword [0x18012abd0]
xor esi, esi
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x18012abd0]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rsp + 0x60]
movsxd rcx, dword [rax + 0x3c]
mov ebx, dword [rcx + rbx + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18004f0d0
mov rcx, qword [0x18012abd0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r10, qword [rsp + 0x28]
xor r9d, r9d
mov r11, qword [rsp + 0x20]
mov rdi, rax
sub r10, r11
sar r10, 2
sub rbx, r10
je 0x18009a7a9
xor edx, edx
test r10, r10
je 0x18009a790
xor eax, eax
nop
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rdi]
cmp eax, r8d
je 0x18009a787
cmp r8d, 0xffffffff
jne 0x18009a796
inc edx
mov eax, edx
cmp rax, r10
jb 0x18009a770
test esi, esi
jle 0x18009a7a3
dec esi
inc r9d
mov eax, r9d
cmp rax, rbx
jb 0x18009a766
jmp 0x18009a7a9
mov r14d, r9d
add r14, rdi
test r11, r11
je 0x18009aafa
mov rdx, qword [rsp + 0x30]
mov rax, r11
sub rdx, r11
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x18009aaf2
mov r11, qword [r11 - 8]
add rdx, 0x27
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009aaf2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
comisd xmm7, xmmword [0x18012a600]
jbe 0x18009abda
movups xmm0, xmmword [0x1800f10a0]
xor r8d, r8d
cmp dword [0x180129500], 2
movups xmm1, xmmword [0x1800f10b0]
mov eax, dword [0x1800f1128]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x1800f10c0]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x1800f10e0]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x1800f10d0]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [0x1800f1100]
movups xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [0x1800f10f0]
movups xmmword [rbp - 0x40], xmm0
movsd xmm0, qword [0x1800f1120]
movups xmmword [rbp - 0x50], xmm1
movups xmm1, xmmword [0x1800f1110]
mov dword [rbp - 0x18], eax
movzx eax, word [0x1800f112c]
movsd qword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x30], xmm1
mov word [rbp - 0x14], ax
jl 0x18009a9cd
movdqa xmm0, xmmword [0x1800f1680]
lea rcx, [rsp + 0x64]
movdqa xmm5, xmmword [0x1800e4760]
movdqa xmm4, xmmword [0x1800f1690]
movdqa xmm6, xmmword [str.2222]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800e4780]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800e4780]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x88
jl 0x18009a8c0
cmp r8d, 0x8e
jge 0x18009aa14
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x8e
jl 0x18009a9e0
mov rcx, qword [0x18012abd0]
xor esi, esi
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x18012abd0]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rsp + 0x60]
movsxd rcx, dword [rax + 0x3c]
mov ebx, dword [rcx + rbx + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18004f0d0
mov rcx, qword [0x18012abd0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r10, qword [rsp + 0x28]
xor r9d, r9d
mov r11, qword [rsp + 0x20]
mov rdi, rax
sub r10, r11
sar r10, 2
sub rbx, r10
je 0x18009aab9
xor edx, edx
test r10, r10
je 0x18009aaa0
xor eax, eax
nop
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rdi]
cmp eax, r8d
je 0x18009aa97
cmp r8d, 0xffffffff
jne 0x18009aaa6
inc edx
mov eax, edx
cmp rax, r10
jb 0x18009aa80
test esi, esi
jle 0x18009aab3
dec esi
inc r9d
mov eax, r9d
cmp rax, rbx
jb 0x18009aa76
jmp 0x18009aab9
mov r14d, r9d
add r14, rdi
test r11, r11
je 0x18009aafa
mov rdx, qword [rsp + 0x30]
mov rax, r11
sub rdx, r11
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x18009aaf2
mov r11, qword [r11 - 8]
add rdx, 0x27
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009aaf2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r11
call fcn.1800d8994
comisd xmm7, xmmword [0x18012a600]
mov qword [0x18012ac10], r14
jbe 0x18009abda
xorps xmm0, xmm0
mov qword [rsp + 0x50], 0
mov ecx, 0x20
mov qword [rsp + 0x58], socket
movups xmmword [rsp + 0x40], xmm0
call fcn.1800d8958
mov qword [rsp + 0x58], 0x1f
mov rdx, rax
mov qword [rsp + 0x40], rax
test r14, r14
jne 0x18009ab9b
movups xmm0, xmmword [str.Couldnt_find_StaticLoadObject_]
mov qword [rsp + 0x50], 0x1f
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1800f1140]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1800f1148]
mov dword [rax + 0x18], ecx
lea rcx, [rsp + 0x40]
movzx eax, word [0x1800f114c]
mov word [rdx + 0x1c], ax
movzx eax, byte [0x1800f114e]
mov byte [rdx + 0x1e], al
mov byte [rdx + 0x1f], r14b
xor edx, edx
call fcn.180093170
xor al, al
jmp 0x18009abda
movups xmm0, xmmword [str.Found_StaticLoadObject_]
mov qword [rsp + 0x50], reloc.WS2_32.dll_socket
movups xmmword [rax], xmm0
mov ecx, dword [0x1800f1160]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x1800f1164]
mov word [rax + 0x14], cx
lea rcx, [rsp + 0x40]
movzx eax, byte [0x1800f1166]
mov byte [rdx + 0x16], al
mov byte [rdx + 0x17], 0
call fcn.1800935c0
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1800d8e20
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret