Function at 0x180098550
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 - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x180126040]
xor rax, rsp
mov qword [rbp + 0x37], rax
cmp dword [0x180127da4], 5
jge 0x18009882f
movzx eax, word [0x18010a2f0]
xor r8d, r8d
cmp dword [0x180126018], 2
movups xmm0, xmmword [0x18010a2d0]
mov word [rbp + 0x27], ax
movups xmm1, xmmword [0x18010a2e0]
movzx eax, byte [0x18010a2f2]
mov byte [rbp + 0x29], al
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm1
jl 0x180098707
movdqa xmm0, xmmword [0x18010fd40]
lea rcx, [rbp + 0xb]
movdqa xmm5, xmmword [0x18010fc40]
movdqa xmm4, xmmword [0x18010fdf0]
movdqa xmm6, xmmword [0x18010fc60]
movdqa xmmword [rbp - 0x19], xmm0
mov edx, dword [rbp - 0x19]
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 [0x18010fd20]
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 [0x18010fd20]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x20
jl 0x180098600
cmp r8d, 0x23
jge 0x180098742
movsxd rax, r8d
lea r9, [rbp + 7]
add r9, rax
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x23
jl 0x180098711
mov rcx, qword [0x180127be8]
xor r14d, r14d
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x180127be8]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp + 7]
movsxd rcx, dword [rax + 0x3c]
mov ebx, dword [rcx + rbx + 0x50]
lea rcx, [rbp - 0x19]
call fcn.180021330
mov rcx, qword [0x180127be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r10, qword [rbp - 0x11]
xor r9d, r9d
mov r11, qword [rbp - 0x19]
mov rsi, rax
sub r10, r11
sar r10, 2
sub rbx, r10
je 0x1800987eb
xor edx, edx
test r10, r10
je 0x1800987d0
xor eax, eax
nop dword [rax]
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rsi]
cmp eax, r8d
je 0x1800987c7
cmp r8d, 0xffffffff
jne 0x1800987d8
inc edx
mov eax, edx
cmp rax, r10
jb 0x1800987b0
test r14d, r14d
jle 0x1800987e5
dec r14d
inc r9d
mov eax, r9d
cmp rax, rbx
jb 0x1800987a0
jmp 0x1800987eb
mov edi, r9d
add rdi, rsi
test r11, r11
je 0x180098d7b
mov rdx, qword [rbp - 9]
mov rax, r11
sub rdx, r11
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x180098d73
mov r11, qword [r11 - 8]
add rdx, 0x27
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180098d73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movsd xmm0, qword [0x18010f830]
comisd xmm0, xmmword [0x180127c98]
jbe 0x180098adf
cmp dword [0x180126018], 2
movups xmm0, xmmword [0x18010a2a8]
movups xmm1, xmmword [0x18010a2b8]
movups xmmword [rbp + 7], xmm0
movsd xmm0, qword [0x18010a2c8]
movsd qword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x17], xmm1
jl 0x1800989b1
movdqa xmm0, xmmword [0x18010fd40]
lea rcx, [rbp + 0xb]
movdqa xmm5, xmmword [0x18010fc40]
xor edx, edx
movdqa xmm4, xmmword [0x18010fdf0]
movdqa xmm6, xmmword [0x18010fc60]
movdqa xmmword [rbp - 0x19], xmm0
mov r8d, dword [rbp - 0x19]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, edx
lea eax, [rdx + 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 edx, 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 [0x18010fd20]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010fd20]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x28
jl 0x1800988b0
jmp 0x1800989f1
lea r9, [rbp + 7]
xor r8d, r8d
nop dword [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x28
jl 0x1800989c0
mov rcx, qword [0x180127be8]
xor r14d, r14d
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x180127be8]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp + 7]
movsxd rcx, dword [rax + 0x3c]
mov ebx, dword [rcx + rbx + 0x50]
lea rcx, [rbp - 0x19]
call fcn.180021330
mov rcx, qword [0x180127be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r10, qword [rbp - 0x11]
xor r9d, r9d
mov r11, qword [rbp - 0x19]
mov rsi, rax
sub r10, r11
sar r10, 2
sub rbx, r10
je 0x180098a9b
nop
xor edx, edx
test r10, r10
je 0x180098a80
xor eax, eax
nop dword [rax]
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rsi]
cmp eax, r8d
je 0x180098a77
cmp r8d, 0xffffffff
jne 0x180098a88
inc edx
mov eax, edx
cmp rax, r10
jb 0x180098a60
test r14d, r14d
jle 0x180098a95
dec r14d
inc r9d
mov eax, r9d
cmp rax, rbx
jb 0x180098a50
jmp 0x180098a9b
mov edi, r9d
add rdi, rsi
test r11, r11
je 0x180098d7b
mov rdx, qword [rbp - 9]
mov rax, r11
sub rdx, r11
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x180098d73
mov r11, qword [r11 - 8]
add rdx, 0x27
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180098d73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movups xmm0, xmmword [0x18010a278]
movzx eax, byte [0x18010a2a0]
xor r8d, r8d
cmp dword [0x180126018], 2
movups xmm1, xmmword [0x18010a288]
mov byte [rbp + 0x2f], al
movups xmmword [rbp + 7], xmm0
movsd xmm0, qword [0x18010a298]
movsd qword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x17], xmm1
jl 0x180098c57
movdqa xmm0, xmmword [0x18010fd40]
lea rcx, [rbp + 0xb]
movdqa xmm5, xmmword [0x18010fc40]
movdqa xmm4, xmmword [0x18010fdf0]
movdqa xmm6, xmmword [0x18010fc60]
movdqa xmmword [rbp - 0x19], xmm0
mov edx, dword [rbp - 0x19]
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 [0x18010fd20]
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 [0x18010fd20]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x28
jl 0x180098b50
cmp r8d, 0x29
jge 0x180098c92
movsxd rax, r8d
lea r9, [rbp + 7]
add r9, rax
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x29
jl 0x180098c61
mov rcx, qword [0x180127be8]
xor r14d, r14d
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x180127be8]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp + 7]
movsxd rcx, dword [rax + 0x3c]
mov ebx, dword [rcx + rbx + 0x50]
lea rcx, [rbp - 0x19]
call fcn.180021330
mov rcx, qword [0x180127be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r10, qword [rbp - 0x11]
xor r9d, r9d
mov r11, qword [rbp - 0x19]
mov rsi, rax
sub r10, r11
sar r10, 2
sub rbx, r10
je 0x180098d3b
xor edx, edx
test r10, r10
je 0x180098d20
xor eax, eax
nop dword [rax]
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rsi]
cmp eax, r8d
je 0x180098d17
cmp r8d, 0xffffffff
jne 0x180098d28
inc edx
mov eax, edx
cmp rax, r10
jb 0x180098d00
test r14d, r14d
jle 0x180098d35
dec r14d
inc r9d
mov eax, r9d
cmp rax, rbx
jb 0x180098cf0
jmp 0x180098d3b
mov edi, r9d
add rdi, rsi
test r11, r11
je 0x180098d7b
mov rdx, qword [rbp - 9]
mov rax, r11
sub rdx, r11
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x180098d73
mov r11, qword [r11 - 8]
add rdx, 0x27
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180098d73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r11
call fcn.1800d2cf0
test rdi, rdi
je 0x180098d8b
movsxd rax, dword [rdi + 3]
add rdi, 7
add rdi, rax
mov qword [0x180128780], rdi
mov qword [rbp + 0x1f], 0xf
test rdi, rdi
jne 0x180098e04
xorps xmm0, xmm0
mov qword [rbp + 0x17], rdi
lea ecx, [rdi + 0x20]
movups xmmword [rbp + 7], xmm0
call fcn.1800d2d00
movups xmm0, xmmword [str.Couldnt_find_GObjects_]
mov qword [rbp + 7], rax
mov rdx, rax
mov qword [rbp + reloc.WS2_32.dll_socket], 0x17
mov qword [rbp + 0x1f], 0x1f
movups xmmword [rax], xmm0
mov ecx, dword [0x180108fc8]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x180108fcc]
mov word [rax + 0x14], cx
lea rcx, [rbp + 7]
movzx eax, byte [0x180108fce]
mov byte [rdx + 0x16], al
mov byte [rdx + 0x17], dil
xor edx, edx
call fcn.180098070
xor al, al
jmp 0x180098e46
mov eax, dword [0x180108fd8]
lea rcx, [rbp + 7]
movsd xmm0, qword [str.Found_GObjects_]
mov dword [rbp + 0xf], eax
movzx eax, word [0x180108fdc]
mov word [rbp + 0x13], ax
movzx eax, byte [0x180108fde]
mov byte [rbp + 0x15], al
mov qword [rbp + 0x17], 0xf
movsd qword [rbp + 7], xmm0
mov byte [rbp + 0x16], 0
call fcn.180097d70
mov al, 1
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1800d2960
lea r11, [rsp + 0x90]
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]
mov rsp, r11
pop rbp
ret