Function at 0x18008f430
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov eax, dword [0x18011dd38]
movaps xmmword [rsp + 0x150], xmm6
cmp eax, 6
jge 0x18008f65b
movups xmm0, xmmword [0x1800ff040]
xor edi, edi
cmp dword [0x18011c018], 2
movups xmm1, xmmword [0x1800ff050]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x1800ff060]
movups xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x1800ff080]
movups xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [0x1800ff070]
movsd qword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x80], xmm1
jl 0x18008f5e9
movdqa xmm0, xmmword [str.9999999999999999]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x1801063b0]
mov edx, edi
movdqa xmm4, xmmword [0x1801065a0]
movdqa xmm6, xmmword [0x1801063f0]
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 [0x180106490]
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 [0x180106490]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x48
jl 0x18008f4e0
jmp 0x18008f625
lea r9, [rsp + 0x50]
mov r8d, edi
mov eax, 0x8d3dcb09
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, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x48
jl 0x18008f5f1
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x80]
call fcn.18001e840
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x18008fbe4
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
jmp 0x18008fbe4
cmp eax, 0xb
jge 0x18008f860
movups xmm0, xmmword [0x1800feff8]
mov eax, dword [0x1800ff030]
xor edi, edi
cmp dword [0x18011c018], 2
mov r8d, edi
movups xmm1, xmmword [str.isluo]
mov dword [rbp - 0x78], eax
movzx eax, byte [0x1800ff034]
movups xmmword [rsp + 0x50], xmm0
mov byte [rbp - 0x74], al
movups xmm0, xmmword [0x1800ff018]
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x1800ff028]
movsd qword [rbp - 0x80], xmm0
jl 0x18008f7ff
movdqa xmm0, xmmword [str.9999999999999999]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x1801063b0]
movdqa xmm4, xmmword [0x1801065a0]
movdqa xmm6, xmmword [0x1801063f0]
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 [0x180106490]
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 [0x180106490]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x38
jl 0x18008f6f0
cmp r8d, 0x3d
jge 0x18008f844
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
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, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x3d
jl 0x18008f810
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x80]
call fcn.18001e840
mov rcx, qword [rax]
jmp 0x18008fbe4
movsd xmm0, qword [0x180105f80]
movsd xmm1, qword [0x18011dd30]
comisd xmm0, xmm1
mov qword [rsp + 0x160], rbx
jbe 0x18008f88a
lea rdx, [0x18011ef48]
jmp 0x18008fb59
movsd xmm0, qword [0x180105fc0]
ucomisd xmm1, xmm0
jp 0x18008fad2
jne 0x18008fad2
lea rax, [0x1800fef50]
xor edi, edi
cmp dword [0x18011c018], 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 0x18008fa75
movdqa xmm0, xmmword [str.9999999999999999]
lea rcx, [rbp - 0x5c]
movdqa xmm5, xmmword [0x1801063b0]
movdqa xmm4, xmmword [0x1801065a0]
movdqa xmm6, xmmword [0x1801063f0]
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 [0x180106490]
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 [0x180106490]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0xa0
jl 0x18008f960
cmp r8d, 0xa4
jge 0x18008fab7
movsxd rax, r8d
lea r9, [rbp - 0x60]
add r9, rax
nop
mov eax, 0x8d3dcb09
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, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0xa4
jl 0x18008fa80
xor r8d, r8d
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x80]
call fcn.18001e840
mov rcx, qword [rax]
jmp 0x18008fbdc
comisd xmm0, xmm1
ja 0x18008fb52
add eax, 0xffffffee
cmp eax, 5
jbe 0x18008fb52
movsd xmm0, qword [0x180106040]
lea rcx, [rsp + 0x50]
comisd xmm0, xmm1
jbe 0x18008fafc
lea rdx, [0x18011ef08]
jmp 0x18008fb5e
lea rdx, [0x18011eee8]
call fcn.180034490
mov r9b, 1
lea rcx, [rbp + 0x80]
mov r8d, 1
mov rdx, rax
call fcn.180094930
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.18002f690
mov rcx, qword [rsp + 0x30]
mov byte [rcx], 0xe8
inc rcx
mov qword [rsp + 0x38], rcx
jmp 0x18008fba8
lea rdx, [0x18011ef28]
lea rcx, [rsp + 0x50]
call fcn.180034490
mov r9b, 1
lea rcx, [rbp + 0x80]
xor r8d, r8d
mov rdx, rax
call fcn.180094930
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.18002f690
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.180095490
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x18008fbdc
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 [0x18011e6c8], rcx
test rcx, rcx
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x48], rdi
jne 0x18008fc39
mov r8d, 0x1c
lea rdx, str.Couldnt_find_FNameToString_
call fcn.18001d4b0
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18008dfc0
xor al, al
add rsp, 0x168
pop rdi
pop rbp
ret
mov r8d, socket
lea rdx, str.Found_FNameToString_
call fcn.18001d4b0
lea rcx, [rsp + 0x30]
call fcn.18008dcc0
mov al, 1
add rsp, 0x168
pop rdi
pop rbp
ret