Function at 0x1400bf860
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rsi, rdx
xor ebx, ebx
mov ecx, dword [0x1404e7590]
mov rax, qword gs:[0x58]
mov edx, 4
mov rdi, qword [rax + rcx*8]
add rdi, rdx
mov eax, dword [rdi]
cmp dword [0x1404e617c], eax
jg 0x1400bfaf4
lea rbp, [0x1404e6164]
lea r15, [0x1404e6160]
mov r14d, dword [reloc.WS2_32.dll_accept]
mov eax, dword [rdi]
cmp dword [0x1404e61a8], eax
jg 0x1400bfb48
cmp byte [0x1404e617b], 0
jne 0x1400bfa4e
cmp r14d, 2
jl 0x1400bfa12
movdqa xmm5, xmmword [0x14018f690]
movdqa xmm4, xmmword [0x1401937c0]
movdqa xmm6, xmmword [str.1111]
movdqa xmm0, xmmword [0x1401937b0]
movdqa xmmword [rsp + 0x30], xmm0
mov ecx, dword [rsp + 0x30]
nop
movd xmm2, ebx
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, 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
andps xmm2, xmmword [0x140191460]
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm0, dword [rbp - 4]
xorps xmm2, xmm0
movd dword [rbp - 4], xmm2
lea eax, [rbx + 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, 4
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 [0x140191460]
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm0, dword [rbp]
xorps xmm2, xmm0
movd dword [rbp], xmm2
add ebx, 8
lea rbp, [rbp + 8]
cmp ebx, 0x18
jl 0x1400bf910
cmp ebx, 0x1c
jge 0x1400bfa4e
movsxd r8, ebx
add r8, r15
nop dword [rax + rax]
mov eax, 0x5397829d
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x31
add cl, bl
xor byte [r8], cl
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x1c
jl 0x1400bfa20
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1404e6160], xmm0
mov qword [0x1404e6170], rax
mov dword [0x1404e6178], eax
mov rdi, r15
mov ecx, Ordinal_32
rep stosb byte [rdi], al
lea rdx, [0x1404e6180]
mov rcx, rsi
call fcn.14003fa30
movzx eax, byte [0x1404e61a0]
mov byte [rsi + 0x20], al
mov rax, rsi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [rsp + 0x60]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.1400b7450
nop
lea rdx, [rsp + 0x40]
lea rcx, [0x1404e6180]
call fcn.1400b8790
nop
lea rcx, [rsp + 0x40]
call fcn.14003fc80
lea rcx, [0x1401874b0]
call fcn.14017cf54
nop
lea rcx, [0x1404e61a8]
call fcn.14017cfa8
jmp 0x1400bf8ce
lea rcx, [0x1404e617c]
call fcn.14017d014
cmp dword [0x1404e617c], 0xffffffff
jne 0x1400bf8ab
movups xmm0, xmmword [str.YW_XZ]
movups xmmword [0x1404e6160], xmm0
movsd xmm0, qword [0x140191998]
movsd qword [0x1404e6170], xmm0
mov eax, dword [0x1401919a0]
mov dword [0x1404e6178], eax
lea rcx, [0x1404e617c]
call fcn.14017cfa8
jmp 0x1400bf8ab
lea rcx, [0x1404e61a8]
call fcn.14017d014
cmp dword [0x1404e61a8], 0xffffffff
jne 0x1400bf8ce
cmp byte [0x1404e617b], 0
je 0x1400bfaac
mov edi, ebx
cmp r14d, 2
jl 0x1400bfcb4
movdqa xmm5, xmmword [0x14018f690]
movdqa xmm4, xmmword [0x1401937c0]
movdqa xmm6, xmmword [str.1111]
movdqa xmm0, xmmword [0x1401937b0]
movdqa xmmword [rsp + 0x30], xmm0
mov rcx, rbp
mov edx, dword [rsp + 0x30]
nop word [rax + rax]
movd xmm2, edi
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, 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
andps xmm2, xmmword [0x140191460]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdi + 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, 4
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 [0x140191460]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edi, 8
lea rcx, [rcx + 8]
cmp edi, 0x18
jl 0x1400bfbb0
cmp edi, 0x1c
jge 0x1400bfaac
movsxd r8, edi
add r8, r15
nop word [rax + rax]
mov eax, 0x5397829d
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x31
add cl, dil
xor byte [r8], cl
inc edi
lea r8, [r8 + 1]
cmp edi, 0x1c
jl 0x1400bfcc0
jmp 0x1400bfaac