Function at 0x140004580
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
lea r12, [0x140093140]
mov qword [rbp + 0x6f], r12
movsd xmm0, qword [str.qMBRJW_WqXSP28B]
movsd qword [rbp - 0x79], xmm0
mov eax, dword [0x140084e40]
mov dword [rbp - 0x71], eax
movzx eax, word [0x140084e44]
mov word [rbp - 0x6d], ax
movzx eax, byte [0x140084e46]
mov byte [rbp - 0x6b], al
xor esi, esi
mov r8d, esi
lea r14d, [rsi + 4]
lea r15d, [rsi + 0x1f]
mov edi, dword [reloc.WS2_32.dll_accept]
cmp edi, 2
jl 0x140004704
movdqa xmm4, xmmword [0x1400854a0]
movd xmm6, r14d
movd xmm5, r15d
movdqa xmm2, xmmword [0x140085430]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140085460]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140085480]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.4444444444444444]
movd xmm0, dword [str.qMBRJW_WqXSP28B]
pxor xmm2, xmm0
movd dword [rbp - 0x79], xmm2
movdqa xmm3, xmmword [0x140085440]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140085460]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140085480]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.4444444444444444]
movd xmm0, dword [rbp - 0x75]
pxor xmm2, xmm0
movd dword [rbp - 0x75], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x79]
add r9, rax
nop
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x140004710
xorps xmm0, xmm0
movups xmmword [0x140093140], xmm0
mov qword [0x140093150], rsi
mov qword [0x140093158], rsi
lea rax, [rbp - 0x79]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], sil
jne 0x140004766
lea rdx, [rbp - 0x79]
mov rcx, r12
call fcn.140006e80
nop
movsd xmm0, qword [0x140084d48]
movsd qword [rbp - 0x79], xmm0
movzx ecx, word [0x140084d50]
mov word [rbp - 0x71], cx
movzx eax, byte [0x140084d52]
mov byte [rbp - 0x79], 0x75
xor byte [rbp - 0x78], 0x35
xor byte [rbp - 0x77], 0x36
xor byte [rbp - 0x76], 0x37
xor byte [rbp - 0x75], 0x38
xor byte [rbp - 0x74], 0x39
xor byte [rbp - 0x73], 0x3a
xor byte [rbp - 0x72], 0x3b
xor cl, 0x3c
mov byte [rbp - 0x71], cl
xor byte [rbp - 0x70], 0x3d
xor al, 0x3e
mov byte [rbp - 0x6f], al
xorps xmm0, xmm0
movups xmmword [0x140093160], xmm0
mov qword [0x140093170], rsi
mov qword [0x140093178], rsi
lea rax, [rbp - 0x79]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400047f0
lea rdx, [rbp - 0x79]
lea rcx, [0x140093160]
call fcn.140006e80
nop
movups xmm0, xmmword [0x140084df0]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [0x140084e00]
movups xmmword [rbp - 0x39], xmm1
movups xmm0, xmmword [0x140084e10]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [0x140084e20]
movups xmmword [rbp - 0x19], xmm1
movzx eax, byte [0x140084e30]
mov byte [rbp - 9], al
mov r8d, esi
cmp edi, 2
jl 0x140004997
movdqa xmm5, xmmword [0x140085430]
movdqa xmm4, xmmword [0x1400854a0]
movd xmm6, r14d
movdqa xmm7, xmmword [0x140085460]
movd xmm8, r15d
movdqa xmm0, xmmword [str.4444444444444444]
movdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rbp - 0x45]
mov edx, dword [rbp - 0x79]
nop dword [rax]
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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140085480]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor 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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140085480]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x40
jl 0x140004890
cmp r8d, 0x41
jge 0x1400049e0
movsxd rax, r8d
lea r9, [rbp - 0x49]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x41
jl 0x1400049b0
xorps xmm0, xmm0
movups xmmword [0x140093180], xmm0
mov qword [0x140093190], rsi
mov qword [0x140093198], rsi
lea rax, [rbp - 0x49]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140004a00
lea rdx, [rbp - 0x49]
lea rcx, [0x140093180]
call fcn.140006e80
nop
mov eax, dword [0x140084d9c]
mov dword [rbp + 0x67], eax
cmp byte [0x140084d9f], 0
je 0x140004b00
cmp edi, 2
jl 0x140004ac1
movdqa xmm3, xmmword [0x140085430]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400854a0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400854a0]
shufps xmm2, xmm0, 0xdd
movd xmm0, r14d
psrad xmm2, xmm0
movd xmm0, r15d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140085460]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140085480]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.4444444444444444]
movd xmm0, eax
pxor xmm2, xmm0
movd dword [rbp + 0x67], xmm2
jmp 0x140004b00
lea r9, [rbp + 0x67]
mov r8d, esi
nop dword [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140004ad0
xorps xmm0, xmm0
movups xmmword [0x1400931a0], xmm0
mov qword [0x1400931b0], rsi
mov qword [0x1400931b8], rsi
lea rax, [rbp + 0x67]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140004b20
lea rdx, [rbp + 0x67]
lea rcx, [0x1400931a0]
call fcn.140006e80
nop
movups xmm0, xmmword [str.ABGK]
movups xmmword [rbp - 0x69], xmm0
movsd xmm0, qword [0x140084d28]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x140084d30]
mov dword [rbp - 0x51], eax
movzx eax, byte [0x140084d34]
mov byte [rbp - 0x4d], al
mov ecx, esi
cmp edi, 2
jl 0x140004cb4
movdqa xmm5, xmmword [0x140085430]
movdqa xmm4, xmmword [0x1400854a0]
movd xmm6, r14d
movdqa xmm7, xmmword [0x140085460]
movd xmm8, r15d
movdqa xmm0, xmmword [str.4444444444444444]
movdqa xmmword [rbp - 0x79], xmm0
lea rdx, [rbp - 0x65]
mov r8d, dword [rbp - 0x79]
nop dword [rax + rax]
movd xmm2, ecx
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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140085480]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
pxor xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140085480]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
pxor xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x140004bb0
cmp ecx, 0x1d
jge 0x140004cec
movsxd rax, ecx
lea r8, [rbp - 0x69]
add r8, rax
nop
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1d
jl 0x140004cc0
xorps xmm0, xmm0
movups xmmword [0x1400931c0], xmm0
mov qword [0x1400931d0], rsi
mov qword [0x1400931d8], rsi
lea rax, [rbp - 0x69]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140004d10
mov r8, rbx
lea rdx, [rbp - 0x69]
lea rcx, [0x1400931c0]
call fcn.140006e80
nop
mov word [0x1400931e0], 0
mov byte [0x1400931e2], 0
xorps xmm0, xmm0
movups xmmword [0x1400931e8], xmm0
mov qword [0x1400931f8], rsi
mov qword [0x140093200], 0xf
mov byte [0x1400931e8], 0
movups xmmword [0x140093208], xmm0
mov qword [0x140093218], rsi
mov qword [0x140093220], 0xf
mov byte [0x140093208], 0
movups xmmword [0x140093228], xmm0
mov qword [0x140093238], rsi
mov qword [0x140093240], 0xf
mov byte [0x140093228], 0
movups xmmword [0x140093248], xmm0
mov qword [0x140093258], rsi
mov qword [0x140093260], 0xf
mov byte [0x140093248], 0
movups xmmword [0x140093268], xmm0
mov qword [0x140093278], rsi
mov qword [0x140093280], 0xf
mov byte [0x140093268], 0
movups xmmword [0x140093288], xmm0
mov qword [0x140093298], rsi
mov qword [0x1400932a0], 0xf
mov byte [0x140093288], 0
movups xmmword [0x1400932a8], xmm0
mov qword [0x1400932b8], rsi
mov qword [0x1400932c0], 0xf
mov byte [0x1400932a8], 0
movups xmmword [0x1400932c8], xmm0
mov qword [0x1400932d8], rsi
mov qword [0x1400932e0], 0xf
mov byte [0x1400932c8], 0
mov dword [0x1400932e8], 0x212
mov dword [0x1400932ec], 0x10e
mov byte [0x1400932f0], 0
mov dword [0x1400932f4], 3
mov dword [0x1400932f8], 0xc3
mov dword [0x1400932fc], 2
mov dword [0x140093300], 0x12c
mov dword [0x140093304], 0x5e
lea rax, str._H:_M:_S
mov qword [0x140093308], rax
movups xmmword [0x140093310], xmm0
mov qword [0x140093320], rsi
mov qword [0x140093328], rsi
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.Sessionmanager
lea rcx, [0x140093310]
call fcn.140006e80
nop
xorps xmm0, xmm0
movups xmmword [0x140093330], xmm0
mov qword [0x140093340], rsi
mov qword [0x140093348], rsi
mov r8d, 8
lea rdx, str.Keys.log
lea rcx, [0x140093330]
call fcn.140006e80
mov ecx, 9
mov word [0x140093350], cx
mov rax, r12
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret