Function at 0x140064e10
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x4f]
sub rsp, 0x98
cmp byte [reloc.WLDAP32.dll_Ordinal_60], 0
movsd xmm0, qword [0x140197408]
movzx eax, word [0x140197410]
movsd qword [rbp - 0x29], xmm0
mov word [rbp - 0x21], ax
je 0x140064e68
xor byte [rbp - 0x28], 0x34
xor byte [rbp - 0x27], 0x35
xor byte [rbp - 0x26], 0x36
xor byte [rbp - 0x25], 0x37
xor byte [rbp - 0x24], 0x38
xor byte [rbp - 0x23], 0x39
xor byte [rbp - 0x22], 0x3a
xor byte [rbp - 0x21], 0x3b
xor byte [rbp - 0x20], 0x3c
mov byte [rbp - 0x29], WSAGetLastError
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
je 0x14006546a
movups xmm0, xmmword [str._gSVoSIHH_S_r___6_F]
mov eax, dword [0x1401977d0]
mov qword [rsp + 0xb0], rbx
xor ebx, ebx
cmp byte [0x1401977d3], bl
mov qword [rsp + 0xb8], rsi
mov esi, dword [reloc.WS2_32.dll_accept]
mov qword [rsp + 0xc0], r14
lea r14d, [rbx + 5]
mov qword [rsp + 0x90], r15
lea r15d, [rbx + 0x1f]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [rsp + 0x60], xmm8
movups xmmword [rbp - 9], xmm0
mov dword [rbp + 7], eax
je 0x140065086
mov r8d, ebx
cmp esi, 2
jl 0x14006503d
movdqa xmm0, xmmword [0x140198d20]
lea rcx, [rbp - 5]
movdqa xmm5, xmmword [0x140198b10]
movdqa xmm4, xmmword [0x140198df0]
movdqa xmm7, xmmword [0x140198b60]
movdqa xmmword [rbp - 0x19], xmm0
mov edx, dword [rbp - 0x19]
movd xmm6, r14d
movd xmm8, r15d
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, 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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140198ce0]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140064f30
cmp r8d, 0x14
jge 0x140065086
movsxd rax, r8d
lea r9, [rbp - 9]
add r9, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x33
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x14
jl 0x140065050
lea rdx, [rbp - 9]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401bafb0], rax
mov r8d, ebx
mov eax, dword [0x1401973c8]
mov dword [rbp + 7], eax
movzx eax, byte [0x1401973cc]
mov byte [rbp + 0xb], al
movups xmm0, xmmword [0x1401973b8]
movups xmmword [rbp - 9], xmm0
cmp esi, 2
jl 0x14006520d
movdqa xmm0, xmmword [0x140198d20]
lea rcx, [rbp - 5]
movdqa xmm5, xmmword [0x140198b10]
movdqa xmm4, xmmword [0x140198df0]
movdqa xmm7, xmmword [0x140198b60]
movdqa xmmword [rbp - 0x19], xmm0
mov edx, dword [rbp - 0x19]
movd xmm6, r14d
movd xmm8, r15d
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, 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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140198ce0]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140065100
cmp r8d, 0x15
jge 0x140065256
movsxd rax, r8d
lea r9, [rbp - 9]
add r9, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x33
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x15
jl 0x140065220
lea rdx, [rbp - 9]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movups xmm0, xmmword [str._dCRJ_lRNIK__f.7_G]
mov qword [0x1401bb070], rax
cmp esi, 2
mov eax, dword [0x140196f40]
mov rsi, qword [rsp + 0xb8]
mov dword [rbp + 7], eax
movzx eax, byte [0x140196f44]
mov byte [rbp + 0xb], al
movups xmmword [rbp - 9], xmm0
jl 0x1400653d8
movdqa xmm0, xmmword [0x140198d20]
lea rcx, [rbp - 5]
movdqa xmm5, xmmword [0x140198b10]
movdqa xmm4, xmmword [0x140198df0]
movdqa xmm7, xmmword [0x140198b60]
movdqa xmmword [rbp - 0x19], xmm0
mov edx, dword [rbp - 0x19]
movd xmm6, r14d
movd xmm8, r15d
nop
movd xmm2, ebx
lea eax, [rbx + 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 ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140198ce0]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x1400652d0
cmp ebx, 0x15
jge 0x140065421
movsxd rax, ebx
lea r8, [rbp - 9]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x33
add cl, bl
inc ebx
xor byte [r8 - 1], cl
cmp ebx, 0x15
jl 0x1400653f0
lea rdx, [rbp - 9]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb0]
mov qword [0x1401bb048], rax
add rsp, 0x98
pop rdi
pop rbp
ret
movss xmm0, dword [0x140198a80]
call fcn.140064b80
int3