Function at 0x1800906e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov eax, dword [0x180122c98]
movaps xmmword [rsp + 0x150], xmm6
cmp eax, 6
jge 0x180090907
movups xmm0, xmmword [0x180102ef0]
xor edi, edi
cmp dword [0x180121018], 2
movups xmm1, xmmword [0x180102f00]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x180102f10]
movups xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x180102f30]
movups xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [0x180102f20]
movsd qword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x80], xmm1
jl 0x180090891
movdqa xmm0, xmmword [str.7777777777777777]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x18010ac80]
mov edx, edi
movdqa xmm4, xmmword [0x18010ae60]
movdqa xmm6, xmmword [0x18010aca0]
movdqa xmmword [rsp + 0x30], xmm0
mov r8d, dword [rsp + 0x30]
nop dword [rax]
nop word [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 [0x18010ad80]
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 [0x18010ad80]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x48
jl 0x180090790
jmp 0x1800908d1
lea r9, [rsp + 0x50]
mov r8d, edi
nop dword [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, 0x37
xor byte [r9 - 1], al
cmp r8d, 0x48
jl 0x1800908a0
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x80]
call fcn.18001c7b0
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x180090e81
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
jmp 0x180090e81
cmp eax, 0xb
jge 0x180090b0d
movups xmm0, xmmword [0x180102ea8]
mov eax, dword [0x180102ee0]
xor edi, edi
cmp dword [0x180121018], 2
mov r8d, edi
movups xmm1, xmmword [0x180102eb8]
mov dword [rbp - 0x78], eax
movzx eax, byte [0x180102ee4]
movups xmmword [rsp + 0x50], xmm0
mov byte [rbp - 0x74], al
movups xmm0, xmmword [0x180102ec8]
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x180102ed8]
movsd qword [rbp - 0x80], xmm0
jl 0x180090aa7
movdqa xmm0, xmmword [str.7777777777777777]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x18010ac80]
movdqa xmm4, xmmword [0x18010ae60]
movdqa xmm6, xmmword [0x18010aca0]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
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 [0x18010ad80]
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 [0x18010ad80]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x38
jl 0x1800909a0
cmp r8d, 0x3d
jge 0x180090af1
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [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, 0x37
xor byte [r9 - 1], al
cmp r8d, 0x3d
jl 0x180090ac0
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x80]
call fcn.18001c7b0
mov rcx, qword [rax]
jmp 0x180090e81
movsd xmm0, qword [0x18010a968]
movsd xmm1, qword [0x180122c90]
comisd xmm0, xmm1
mov qword [rsp + 0x160], rbx
jbe 0x180090b37
lea rdx, [0x1801244e8]
jmp 0x180090df6
movsd xmm0, qword [0x18010a9a8]
ucomisd xmm1, xmm0
jp 0x180090d6f
jne 0x180090d6f
lea rax, [0x180102e00]
xor edi, edi
cmp dword [0x180121018], 2
lea rcx, [rbp - 0x60]
movups xmm0, xmmword [rax]
mov r8d, edi
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x80]
movups xmmword [rcx + 0x60], xmm0
movups xmm0, xmmword [rax + 0x70]
movups xmmword [rcx + 0x70], xmm0
movups xmm0, xmmword [rax + 0x90]
mov eax, dword [rax + 0xa0]
movups xmmword [rcx + 0x80], xmm1
movups xmmword [rcx + 0x90], xmm0
mov dword [rcx + 0xa0], eax
jl 0x180090d0d
movdqa xmm0, xmmword [str.7777777777777777]
lea rcx, [rbp - 0x5c]
movdqa xmm5, xmmword [0x18010ac80]
movdqa xmm4, xmmword [0x18010ae60]
movdqa xmm6, xmmword [0x18010aca0]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
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 [0x18010ad80]
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 [0x18010ad80]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0xa0
jl 0x180090c00
cmp r8d, 0xa4
jge 0x180090d54
movsxd rax, r8d
lea r9, [rbp - 0x60]
add r9, rax
nop word [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, 0x37
xor byte [r9 - 1], al
cmp r8d, 0xa4
jl 0x180090d20
xor r8d, r8d
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x80]
call fcn.18001c7b0
mov rcx, qword [rax]
jmp 0x180090e79
comisd xmm0, xmm1
ja 0x180090def
add eax, 0xffffffee
cmp eax, 5
jbe 0x180090def
movsd xmm0, qword [0x18010aa28]
lea rcx, [rsp + 0x50]
comisd xmm0, xmm1
jbe 0x180090d99
lea rdx, [0x1801244a8]
jmp 0x180090dfb
lea rdx, [0x180124488]
call fcn.180033060
mov r9b, 1
lea rcx, [rbp + 0x80]
mov r8d, 1
mov rdx, rax
call fcn.180041e70
xor edi, edi
lea rcx, [rsp + 0x30]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
mov rbx, rax
movdqu xmmword [rsp + 0x30], xmm0
lea edx, [rdi + 1]
call fcn.18002dcf0
mov rcx, qword [rsp + 0x30]
mov byte [rcx], 0xe8
inc rcx
mov qword [rsp + 0x38], rcx
jmp 0x180090e45
lea rdx, [0x1801244c8]
lea rcx, [rsp + 0x50]
call fcn.180033060
mov r9b, 1
lea rcx, [rbp + 0x80]
xor r8d, r8d
mov rdx, rax
call fcn.180041e70
xor edi, edi
lea rcx, [rsp + 0x30]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
mov rbx, rax
movdqu xmmword [rsp + 0x30], xmm0
lea edx, [rdi + 1]
call fcn.18002dcf0
mov rax, qword [rsp + 0x30]
mov byte [rax], 0xe8
inc rax
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea r8, [rsp + 0x30]
mov rcx, rbx
lea rdx, [rbp + 0x90]
call fcn.18004a120
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x180090e79
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
mov rbx, qword [rsp + 0x160]
movaps xmm6, xmmword [rsp + 0x150]
xorps xmm0, xmm0
mov qword [0x180123660], rcx
test rcx, rcx
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x48], rdi
jne 0x180090ed6
mov r8d, 0x1c
lea rdx, str.Couldnt_find_FNameToString_
call fcn.18001ae00
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18008f2f0
xor al, al
add rsp, 0x168
pop rdi
pop rbp
ret
mov r8d, socket
lea rdx, str.Found_FNameToString_
call fcn.18001ae00
lea rcx, [rsp + 0x30]
call fcn.18008eff0
mov al, 1
add rsp, 0x168
pop rdi
pop rbp
ret