Function at 0x180099710
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], r12
push rbp
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x1a0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x180119040]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov eax, dword [0x18011abec]
cmp eax, 6
jge 0x180099948
movups xmm0, xmmword [0x1800ff290]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x1800ff2a0]
movups xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [0x1800ff2b0]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x1800ff2c0]
movups xmmword [rbp - 0x70], xmm1
movsd xmm0, qword [0x1800ff2d0]
movsd qword [rbp - 0x60], xmm0
xor edi, edi
cmp dword [0x180119010], 2
jl 0x1800998e7
movdqa xmm5, xmmword [0x1801044a0]
mov edx, edi
movdqa xmm4, xmmword [0x1801046b0]
movdqa xmm6, xmmword [0x180104500]
movdqa xmm0, xmmword [str.2222222222222222]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x64]
mov r8d, dword [rsp + 0x40]
nop word [rax + rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
andps xmm2, xmmword [0x1801045a0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801045a0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x48
jl 0x1800997e0
jmp 0x180099923
lea r9, [rsp + 0x60]
mov r8d, edi
nop
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x48
jl 0x1800998f0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.180009330
mov rdx, qword [rax]
movsxd rcx, dword [rdx + 1]
lea r8, [rdx + 5]
add r8, rcx
mov qword [rax], r8
jmp 0x18009a1ed
cmp eax, 0xb
jge 0x180099b4a
movups xmm0, xmmword [0x1800fed08]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x1800fed18]
movups xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [0x1800fed28]
movups xmmword [rbp - 0x80], xmm0
movsd xmm0, qword [0x1800fed38]
movsd qword [rbp - 0x70], xmm0
mov eax, dword [0x1800fed40]
mov dword [rbp - 0x68], eax
movzx eax, byte [0x1800fed44]
mov byte [rbp - 0x64], al
xor edi, edi
mov r8d, edi
cmp dword [0x180119010], 2
jl 0x180099aed
movdqa xmm5, xmmword [0x1801044a0]
movdqa xmm4, xmmword [0x1801046b0]
movdqa xmm6, xmmword [0x180104500]
movdqa xmm0, xmmword [str.2222222222222222]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x64]
mov edx, dword [rsp + 0x40]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
andps xmm2, xmmword [0x1801045a0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801045a0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x38
jl 0x1800999e0
cmp r8d, 0x3d
jge 0x180099b33
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x3d
jl 0x180099b00
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.180009330
mov r8, qword [rax]
jmp 0x18009a1ed
movsd xmm0, qword [0x180104110]
movsd xmm1, qword [0x18011ac10]
comisd xmm0, xmm1
jbe 0x180099c61
lea rdx, [0x18011c408]
lea rcx, [rsp + 0x60]
call fcn.18002d130
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.18009ec40
mov r14, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
xor edi, edi
mov qword [rsp + 0x30], rdi
lea edx, [rdi + 1]
lea rcx, [rsp + 0x20]
call fcn.180039390
mov rcx, qword [rsp + 0x20]
mov byte [rcx], 0xe8
lea rbx, [rcx + 1]
mov qword [rsp + 0x28], rbx
mov r15, qword [r14]
lea rdx, [rdi - 1]
mov r10, r15
mov rsi, qword [rsp + 0x20]
sub r10, rsi
dec r10
cmp edx, 0xfffff800
jle 0x180099c1d
mov r9b, 1
mov r8d, edi
mov r11, rbx
sub r11, rsi
je 0x180099c0f
mov rcx, rsi
test r9b, r9b
je 0x180099c0b
movzx eax, byte [rcx]
cmp al, 0xff
je 0x180099bf8
cmp al, byte [r10 + rcx]
sete r9b
inc r8d
inc rcx
movsxd rax, r8d
cmp rax, r11
jb 0x180099be4
test r9b, r9b
jne 0x180099c0f
dec edx
jmp 0x180099bc8
movsxd rax, edx
add rax, r15
mov qword [r14], rax
mov rsi, qword [rsp + 0x20]
mov rbx, qword [r14]
test rsi, rsi
je 0x18009a1e2
mov rdx, qword [rsp + 0x30]
sub rdx, rsi
mov rax, rsi
cmp rdx, 0x1000
jb 0x18009a1cc
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009a1cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movsd xmm0, qword [0x180104150]
ucomisd xmm1, xmm0
jp 0x180099e9c
jne 0x180099e9c
lea rcx, [rbp - 0x50]
lea rax, [0x1800ffa90]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
movups xmm0, xmmword [rax + 0x70]
movups xmmword [rcx + 0x70], xmm0
movups xmm1, xmmword [rax + 0x80]
movups xmmword [rcx + 0x80], xmm1
movups xmm0, xmmword [rax + 0x90]
movups xmmword [rcx + 0x90], xmm0
mov eax, dword [rax + 0xa0]
mov dword [rcx + 0xa0], eax
xor edi, edi
mov r8d, edi
cmp dword [0x180119010], 2
jl 0x180099e43
movdqa xmm5, xmmword [0x1801044a0]
movdqa xmm4, xmmword [0x1801046b0]
movdqa xmm6, xmmword [0x180104500]
movdqa xmm0, xmmword [str.2222222222222222]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rbp - 0x4c]
mov edx, dword [rsp + 0x40]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
andps xmm2, xmmword [0x1801045a0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801045a0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0xa0
jl 0x180099d30
cmp r8d, 0xa4
jge 0x180099e86
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop dword [rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xa4
jl 0x180099e50
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.180009330
mov r8, qword [rax]
jmp 0x18009a1ed
comisd xmm0, xmm1
ja 0x18009a0cf
add eax, 0xffffffee
cmp eax, 5
jbe 0x18009a0cf
movsd xmm0, qword [0x1801041b0]
lea rcx, [rsp + 0x60]
comisd xmm0, xmm1
jbe 0x180099fd4
lea rdx, [0x18011c4a8]
call fcn.18002d130
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18009ec40
mov r12, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
xor edi, edi
mov qword [rsp + 0x30], rdi
lea edx, [rdi + 1]
lea rcx, [rsp + 0x20]
call fcn.180039390
mov rcx, qword [rsp + 0x20]
mov byte [rcx], 0xe8
lea r15, [rcx + 1]
mov qword [rsp + 0x28], r15
mov r14, qword [r12]
mov rdx, 0xffffffffffffffff
mov rbx, rdx
mov rsi, qword [rsp + 0x20]
nop dword [rax]
cmp edx, 0xfffff800
jle 0x180099f8f
mov r9b, 1
mov r8d, edi
mov r10, r15
sub r10, rsi
je 0x180099f80
mov rcx, rsi
mov r11, rbx
sub r11, rsi
add r11, r14
test r9b, r9b
je 0x180099f79
movzx eax, byte [rcx]
cmp al, 0xff
je 0x180099f66
cmp al, byte [r11 + rcx]
sete r9b
inc r8d
inc rcx
movsxd rax, r8d
cmp rax, r10
jb 0x180099f52
test r9b, r9b
jne 0x180099f80
dec edx
dec rbx
jmp 0x180099f30
movsxd rax, edx
add rax, r14
mov qword [r12], rax
mov rsi, qword [rsp + 0x20]
mov rbx, qword [r12]
test rsi, rsi
je 0x18009a1e2
mov rdx, qword [rsp + 0x30]
sub rdx, rsi
mov rax, rsi
cmp rdx, 0x1000
jb 0x18009a1cc
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009a1cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [0x18011c548]
call fcn.18002d130
mov r8d, 1
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18009ec40
mov r14, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
xor edi, edi
mov qword [rsp + 0x30], rdi
lea edx, [rdi + 1]
lea rcx, [rsp + 0x20]
call fcn.180039390
mov rcx, qword [rsp + 0x20]
mov byte [rcx], 0xe8
lea rbx, [rcx + 1]
mov qword [rsp + 0x28], rbx
mov r15, qword [r14]
lea rdx, [rdi - 1]
mov r11, r15
mov rsi, qword [rsp + 0x20]
sub r11, rsi
dec r11
cmp edx, 0xfffff800
jle 0x18009a08b
mov r9b, 1
mov r8d, edi
mov r10, rbx
sub r10, rsi
je 0x18009a07d
mov rcx, rsi
test r9b, r9b
je 0x18009a079
movzx eax, byte [rcx]
cmp al, 0xff
je 0x18009a066
cmp al, byte [r11 + rcx]
sete r9b
inc r8d
inc rcx
movsxd rax, r8d
cmp rax, r10
jb 0x18009a052
test r9b, r9b
jne 0x18009a07d
dec edx
jmp 0x18009a036
movsxd rax, edx
add rax, r15
mov qword [r14], rax
mov rsi, qword [rsp + 0x20]
mov rbx, qword [r14]
test rsi, rsi
je 0x18009a1e2
mov rdx, qword [rsp + 0x30]
sub rdx, rsi
mov rax, rsi
cmp rdx, 0x1000
jb 0x18009a1cc
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009a1cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [0x18011c428]
lea rcx, [rsp + 0x60]
call fcn.18002d130
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18009ec40
mov r12, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
xor edi, edi
mov qword [rsp + 0x30], rdi
lea edx, [rdi + 1]
lea rcx, [rsp + 0x20]
call fcn.180039390
mov rcx, qword [rsp + 0x20]
mov byte [rcx], 0xe8
lea r15, [rcx + 1]
mov qword [rsp + 0x28], r15
mov r14, qword [r12]
mov rdx, 0xffffffffffffffff
mov rbx, rdx
mov rsi, qword [rsp + 0x20]
cmp edx, 0xfffff800
jle 0x18009a193
mov r9b, 1
mov r8d, edi
mov r10, r15
sub r10, rsi
je 0x18009a184
mov rcx, rsi
mov r11, r14
sub r11, rsi
add r11, rbx
test r9b, r9b
je 0x18009a17d
movzx eax, byte [rcx]
cmp al, 0xff
je 0x18009a16a
cmp al, byte [r11 + rcx]
sete r9b
inc r8d
inc rcx
movsxd rax, r8d
cmp rax, r10
jb 0x18009a156
test r9b, r9b
jne 0x18009a184
dec edx
dec rbx
jmp 0x18009a134
movsxd rax, edx
add rax, r14
mov qword [r12], rax
mov rsi, qword [rsp + 0x20]
mov rbx, qword [r12]
test rsi, rsi
je 0x18009a1e2
mov rdx, qword [rsp + 0x30]
sub rdx, rsi
mov rax, rsi
cmp rdx, 0x1000
jb 0x18009a1cc
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009a1cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800c8790
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
movsxd r8, dword [rbx + 1]
add r8, 5
add r8, rbx
mov qword [0x18011b0c0], r8
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], socket
mov ecx, 0x20
movups xmmword [rsp + 0x20], xmm0
test r8, r8
jne 0x18009a264
call fcn.1800c8160
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0x1c
mov qword [rsp + 0x38], 0x1f
movups xmm0, xmmword [str.Couldnt_find_FNameToString_]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1800fe598]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1800fe5a0]
mov dword [rax + 0x18], ecx
mov byte [rax + 0x1c], 0
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.180097a80
xor al, al
jmp 0x18009a2a3
call fcn.1800c8160
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], socket
mov qword [rsp + 0x38], 0x1f
movups xmm0, xmmword [str.Found_FNameToString_]
movups xmmword [rax], xmm0
mov ecx, dword [0x1800fe5e8]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
lea rcx, [rsp + 0x20]
call fcn.180097780
mov al, 1
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1800c8140
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret