Function at 0x14003a830
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov eax, dword [0x1401288ac]
test eax, eax
jne 0x14003aa7a
lea rax, [rbp - 0x19]
mov qword [rbp + 0x6f], rax
movsd xmm0, qword [0x1400eb9e8]
movsd qword [rbp - 0x29], xmm0
movzx ecx, word [0x1400eb9f0]
mov word [rbp - 0x21], cx
movzx eax, byte [0x1400eb9f2]
mov byte [rbp - 0x29], reloc.WLDAP32.dll_Ordinal_50
xor byte [rbp - 0x28], 0x3a
xor byte [rbp - 0x27], 0x3b
xor byte [rbp - 0x26], 0x3c
xor byte [rbp - 0x25], 0x3d
xor byte [rbp - 0x24], 0x3e
xor byte [rbp - 0x23], 0x3f
xor byte [rbp - 0x22], 0x40
xor cl, 0x41
mov byte [rbp - 0x21], cl
xor byte [rbp - 0x20], 0x42
xor al, 0x43
mov byte [rbp - 0x1f], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xor edi, edi
mov qword [rbp - 9], rdi
mov qword [rbp - 1], rdi
lea rax, [rbp - 0x29]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], dil
jne 0x14003a8c3
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x19]
call fcn.140047d40
nop
lea rax, [rbp + 7]
mov qword [rbp + 0x77], rax
movsd xmm0, qword [0x1400eba20]
movsd qword [rbp - 0x29], xmm0
movzx ecx, word [0x1400eba28]
mov word [rbp - 0x21], cx
movzx eax, byte [0x1400eba2a]
mov byte [rbp - 0x29], 0x55
xor byte [rbp - 0x28], 0x3a
xor byte [rbp - 0x27], 0x3b
xor byte [rbp - 0x26], 0x3c
xor byte [rbp - 0x25], 0x3d
xor byte [rbp - 0x24], 0x3e
xor byte [rbp - 0x23], 0x3f
xor byte [rbp - 0x22], 0x40
xor cl, 0x41
mov byte [rbp - 0x21], cl
xor byte [rbp - 0x20], 0x42
xor al, 0x43
mov byte [rbp - 0x1f], al
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], rdi
lea rax, [rbp - 0x29]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14003a946
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 7]
call fcn.140047d40
nop
mov eax, dword [0x1400ebbb0]
mov dword [rbp + 0x67], eax
cmp byte [reloc.WLDAP32.dll_Ordinal_60], 0
je 0x14003aa40
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14003a9fa
movdqa xmm3, xmmword [0x1400ec080]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400ec1b0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400ec1b0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400ec0b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400ec100]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400ec110]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp + 0x67], xmm2
jmp 0x14003aa40
lea r9, [rbp + 0x67]
mov r8d, edi
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x14003aa10
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], rdi
mov qword [rbp + 0x3f], rdi
lea rax, [rbp + 0x67]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14003aa53
mov r8, rbx
lea rdx, [rbp + 0x67]
lea rcx, [rbp + 0x27]
call fcn.140047d40
nop
lea r8, [rbp - 0x19]
lea rcx, [rbp + 0x27]
jmp 0x14003aca5
cmp eax, 1
jne 0x14003acae
lea rax, [rbp + 0x27]
mov qword [rbp + 0x6f], rax
movsd xmm0, qword [0x1400eb9e8]
movsd qword [rbp - 0x29], xmm0
movzx ecx, word [0x1400eb9f0]
mov word [rbp - 0x21], cx
movzx eax, byte [0x1400eb9f2]
mov byte [rbp - 0x29], reloc.WLDAP32.dll_Ordinal_50
xor byte [rbp - 0x28], 0x3a
xor byte [rbp - 0x27], 0x3b
xor byte [rbp - 0x26], 0x3c
xor byte [rbp - 0x25], 0x3d
xor byte [rbp - 0x24], 0x3e
xor byte [rbp - 0x23], 0x3f
xor byte [rbp - 0x22], 0x40
xor cl, 0x41
mov byte [rbp - 0x21], cl
xor byte [rbp - 0x20], 0x42
xor al, 0x43
mov byte [rbp - 0x1f], al
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
xor edi, edi
mov qword [rbp + 0x37], rdi
mov qword [rbp + 0x3f], rdi
lea rax, [rbp - 0x29]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14003ab00
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x27]
call fcn.140047d40
nop
lea rax, [rbp + 7]
mov qword [rbp + 0x77], rax
movsd xmm0, qword [0x1400eba20]
movsd qword [rbp - 0x29], xmm0
movzx ecx, word [0x1400eba28]
mov word [rbp - 0x21], cx
movzx eax, byte [0x1400eba2a]
mov byte [rbp - 0x29], 0x55
xor byte [rbp - 0x28], 0x3a
xor byte [rbp - 0x27], 0x3b
xor byte [rbp - 0x26], 0x3c
xor byte [rbp - 0x25], 0x3d
xor byte [rbp - 0x24], 0x3e
xor byte [rbp - 0x23], 0x3f
xor byte [rbp - 0x22], 0x40
xor cl, 0x41
mov byte [rbp - 0x21], cl
xor byte [rbp - 0x20], 0x42
xor al, 0x43
mov byte [rbp - 0x1f], al
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], rdi
lea rax, [rbp - 0x29]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14003ab83
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 7]
call fcn.140047d40
nop
mov eax, dword [0x1400ebbb0]
mov dword [rbp + 0x67], eax
cmp byte [reloc.WLDAP32.dll_Ordinal_60], 0
je 0x14003ac70
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14003ac37
movdqa xmm3, xmmword [0x1400ec080]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400ec1b0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400ec1b0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400ec0b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400ec100]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400ec110]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp + 0x67], xmm2
jmp 0x14003ac70
lea r9, [rbp + 0x67]
mov r8d, edi
nop
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x14003ac40
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rdi
mov qword [rbp - 1], rdi
lea rax, [rbp + 0x67]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14003ac83
mov r8, rbx
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x19]
call fcn.140047d40
nop
lea r8, [rbp + 0x27]
lea rcx, [rbp - 0x19]
lea rdx, [rbp + 7]
call fcn.14003a5e0
add rsp, 0x90
pop rdi
pop rbx
pop rbp
ret