Function at 0x180090890
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov eax, dword [0x180120d50]
movaps xmmword [rsp + 0x150], xmm6
cmp eax, 6
jge 0x180090abb
movups xmm0, xmmword [0x1801012a0]
xor edi, edi
cmp dword [0x18011f018], 2
movups xmm1, xmmword [0x1801012b0]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x1801012c0]
movups xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x1801012e0]
movups xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [0x1801012d0]
movsd qword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x80], xmm1
jl 0x180090a49
movdqa xmm0, xmmword [0x180108f50]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x180108e50]
mov edx, edi
movdqa xmm4, xmmword [0x180109040]
movdqa xmm6, xmmword [0x180108e80]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x180108f30]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x180108f30]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x48
jl 0x180090940
jmp 0x180090a85
lea r9, [rsp + 0x50]
mov r8d, edi
mov eax, 0x92492493
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x48
jl 0x180090a51
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x80]
call fcn.18001e430
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x180091044
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
jmp 0x180091044
cmp eax, 0xb
jge 0x180090cc0
movups xmm0, xmmword [0x180101258]
mov eax, dword [0x180101290]
xor edi, edi
cmp dword [0x18011f018], 2
mov r8d, edi
movups xmm1, xmmword [str.isluo]
mov dword [rbp - 0x78], eax
movzx eax, byte [0x180101294]
movups xmmword [rsp + 0x50], xmm0
mov byte [rbp - 0x74], al
movups xmm0, xmmword [0x180101278]
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x180101288]
movsd qword [rbp - 0x80], xmm0
jl 0x180090c5f
movdqa xmm0, xmmword [0x180108f50]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x180108e50]
movdqa xmm4, xmmword [0x180109040]
movdqa xmm6, xmmword [0x180108e80]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
nop dword [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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x180108f30]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x180108f30]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x38
jl 0x180090b50
cmp r8d, 0x3d
jge 0x180090ca4
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop word [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x3d
jl 0x180090c70
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x80]
call fcn.18001e430
mov rcx, qword [rax]
jmp 0x180091044
movsd xmm0, qword [0x180108a10]
movsd xmm1, qword [0x180120d48]
comisd xmm0, xmm1
mov qword [rsp + 0x160], rbx
jbe 0x180090cea
lea rdx, [0x180122048]
jmp 0x180090fb9
movsd xmm0, qword [0x180108a50]
ucomisd xmm1, xmm0
jp 0x180090f32
jne 0x180090f32
lea rax, [0x1801011b0]
xor edi, edi
cmp dword [0x18011f018], 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 0x180090ed5
movdqa xmm0, xmmword [0x180108f50]
lea rcx, [rbp - 0x5c]
movdqa xmm5, xmmword [0x180108e50]
movdqa xmm4, xmmword [0x180109040]
movdqa xmm6, xmmword [0x180108e80]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
nop dword [rax]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x180108f30]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x180108f30]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0xa0
jl 0x180090dc0
cmp r8d, 0xa4
jge 0x180090f17
movsxd rax, r8d
lea r9, [rbp - 0x60]
add r9, rax
nop
mov eax, 0x92492493
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0xa4
jl 0x180090ee0
xor r8d, r8d
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x80]
call fcn.18001e430
mov rcx, qword [rax]
jmp 0x18009103c
comisd xmm0, xmm1
ja 0x180090fb2
add eax, 0xffffffee
cmp eax, 5
jbe 0x180090fb2
movsd xmm0, qword [0x180108ad0]
lea rcx, [rsp + 0x50]
comisd xmm0, xmm1
jbe 0x180090f5c
lea rdx, [0x180122008]
jmp 0x180090fbe
lea rdx, [0x180121fe8]
call fcn.180034050
mov r9b, 1
lea rcx, [rbp + 0x80]
mov r8d, 1
mov rdx, rax
call fcn.180042ad0
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.18002f250
mov rcx, qword [rsp + 0x30]
mov byte [rcx], 0xe8
inc rcx
mov qword [rsp + 0x38], rcx
jmp 0x180091008
lea rdx, [0x180122028]
lea rcx, [rsp + 0x50]
call fcn.180034050
mov r9b, 1
lea rcx, [rbp + 0x80]
xor r8d, r8d
mov rdx, rax
call fcn.180042ad0
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.18002f250
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.18004ad80
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x18009103c
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 [0x1801216f8], rcx
test rcx, rcx
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x48], rdi
jne 0x180091099
mov r8d, 0x1c
lea rdx, str.Couldnt_find_FNameToString_
call fcn.18001d0a0
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18008f420
xor al, al
add rsp, 0x168
pop rdi
pop rbp
ret
mov r8d, socket
lea rdx, str.Found_FNameToString_
call fcn.18001d0a0
lea rcx, [rsp + 0x30]
call fcn.18008f120
mov al, 1
add rsp, 0x168
pop rdi
pop rbp
ret