Function at 0x140056ed0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r14
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xd0
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x1408f0280]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov edi, dword [reloc.WS2_32.dll_accept]
lea rbx, [0x140911904]
xor r14d, r14d
mov qword [r11 + 8], rsi
cmp byte [rbx + 1], 0
je 0x140057562
cmp byte [rbx], 0
jne 0x140057562
movups xmm0, xmmword [0x1408d2800]
movups xmm1, xmmword [0x1408d2810]
mov eax, dword [0x1408d2858]
movups xmmword [rbp - 0x29], xmm0
movups xmm0, xmmword [0x1408d2820]
movups xmmword [rbp - 9], xmm0
movups xmm0, xmmword [0x1408d2840]
movups xmmword [rbp + 0x17], xmm0
movsd xmm0, qword [0x1408d2850]
movups xmmword [rbp - 0x19], xmm1
movups xmm1, xmmword [0x1408d2830]
mov dword [rbp + 0x2f], eax
mov rax, qword [str._U_RUWA:_U_RUWA]
movsd qword [rbp + 0x27], xmm0
movups xmmword [rbp + 7], xmm1
mov qword [rbp - 0x39], rax
call fcn.1400402a0
cmp byte [rbp - 0x32], 0
mov r10, rax
je 0x1400570c2
cmp edi, 2
jl 0x14005708a
movdqa xmm2, xmmword [0x1408d3b80]
movdqa xmm4, xmmword [0x1408d3cb0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1408d3b90]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1408d3ba0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x39]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1408d3c30]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1408d3c70]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x39], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1408d3ba0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x35]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1408d3c30]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1408d3c70]
xorps xmm2, xmm0
movd dword [rbp - 0x35], xmm2
jmp 0x1400570c2
lea r9, [rbp - 0x39]
xor r8d, r8d
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x140057091
cmp byte [rbp + 0x32], 0
je 0x140057252
xor r8d, r8d
cmp edi, 2
jl 0x140057217
movdqa xmm0, xmmword [0x1408d3c70]
lea rcx, [rbp - 0x25]
movdqa xmm5, xmmword [0x1408d3b80]
movdqa xmm4, xmmword [0x1408d3cb0]
movdqa xmm6, xmmword [0x1408d3ba0]
movdqa xmmword [rbp - 0x49], xmm0
mov edx, dword [rbp - 0x49]
nop dword [rax]
nop dword [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
psrad xmm1, 4
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 [0x1408d3c30]
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
psrad xmm1, 4
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 [0x1408d3c30]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x58
jl 0x140057110
cmp r8d, 0x5c
jge 0x140057252
movsxd rax, r8d
lea r9, [rbp - 0x29]
add r9, rax
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x5c
jl 0x140057221
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x29]
xor ecx, ecx
call r10
cmp byte [rbp + 0x32], 0
jne 0x1400573ed
xor ecx, ecx
cmp edi, 2
jl 0x1400573b4
movdqa xmm0, xmmword [0x1408d3c70]
lea rdx, [rbp - 0x25]
movdqa xmm5, xmmword [0x1408d3b80]
movdqa xmm4, xmmword [0x1408d3cb0]
movdqa xmm6, xmmword [0x1408d3ba0]
movdqa xmmword [rbp - 0x49], xmm0
mov r8d, dword [rbp - 0x49]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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 [0x1408d3c30]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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 [0x1408d3c30]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x58
jl 0x1400572b0
cmp ecx, 0x5c
jge 0x1400573ed
movsxd rax, ecx
lea r8, [rbp - 0x29]
add r8, rax
nop
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0x5c
jl 0x1400573c0
cmp byte [rbp - 0x32], 0
jne 0x140057531
cmp edi, 2
jl 0x1400574f8
movdqa xmm2, xmmword [0x1408d3b80]
movdqa xmm4, xmmword [0x1408d3cb0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1408d3b90]
movdqa xmm0, xmm2
mov eax, dword [0x1408d3c70]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1408d3ba0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1408d3c30]
movd xmm1, dword [rbp - 0x39]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movd dword [rbp - 0x39], xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1408d3ba0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1408d3c30]
movd xmm1, dword [rbp - 0x35]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x35], xmm2
jmp 0x140057531
lea r9, [rbp - 0x39]
xor r8d, r8d
nop
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x140057500
call fcn.14003d060
cmp byte [0x1408d0cfd], 0
mov rsi, rax
movzx ecx, word [0x1408d0cfc]
mov word [rbp - 0x59], cx
je 0x140057555
xor byte [rbp - 0x58], 0x34
mov byte [rbp - 0x59], Ordinal_50
lea rcx, [rbp - 0x59]
call fcn.140132c5c
mov ecx, eax
call rsi
inc r14d
add rbx, 0x30
cmp r14d, 0x1e
jb 0x140056f12
mov rsi, qword [rsp + 0xe0]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140117aa0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret