Function at 0x1800a4790
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
cmp word [0x18015f73a], 0
movsd xmm0, qword [str.s_A_t:]
mov eax, dword [0x18015f738]
movsd qword [rbp - 0x59], xmm0
mov dword [rbp - 0x51], eax
je 0x1800a47e9
xor word [rbp - 0x57], 0x36
mov eax, 0x46
xor word [rbp - 0x55], 0x37
xor word [rbp - 0x53], 0x38
xor word [rbp - 0x51], 0x39
xor word [rbp - 0x4f], 0x3a
mov word [rbp - 0x59], ax
xor edi, edi
lea rax, [rbp - 0x59]
xorps xmm0, xmm0
mov qword [rbp - 0x31], rdi
mov rbx, 0xffffffffffffffff
mov qword [rbp - 0x29], rdi
movups xmmword [rbp - 0x41], xmm0
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], di
jne 0x1800a4810
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x41]
call fcn.180008da0
lea rcx, [rbp - 0x41]
call fcn.1800a46e0
test al, al
jne 0x1800a4af6
cmp word [0x18015f976], di
movups xmm3, xmmword [str.wZXW_iONTUZ_]
movsd xmm0, qword [0x18015f970]
movups xmmword [rbp - 0x59], xmm3
movsd qword [rbp - 0x49], xmm0
je 0x1800a49b1
cmp dword [reloc.WS2_32.dll_accept], 2
mov ecx, edi
jl 0x1800a4968
movdqa xmm2, xmmword [0x1801600f0]
mov eax, 4
movdqa xmm4, xmmword [0x1801602e0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0xc0], xmm6
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180160120]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x180160100]
paddw xmm2, xmmword [0x180160200]
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rbp - 0x59], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0xc0]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180160120]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x51]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x180160200]
xorps xmm2, xmm0
movq qword [rbp - 0x51], xmm2
movsxd rax, ecx
lea r8, [rbp - 0x59]
lea r8, [r8 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x32
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x35
xor word [r8 - 2], ax
cmp ecx, 0xc
jl 0x1800a4980
xorps xmm0, xmm0
mov qword [rbp - 0x11], rdi
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 9], rdi
lea rax, [rbp - 0x59]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], di
jne 0x1800a49d0
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x21]
call fcn.180008da0
lea rcx, [rbp - 0x21]
call fcn.1800a46e0
test al, al
jne 0x1800a4af6
movsd xmm0, qword [str._OO9]
mov ecx, 0x68
movzx eax, word [0x18015f958]
mov r8, rbx
movsd qword [rbp - 0x59], xmm0
xorps xmm0, xmm0
xor word [rbp - 0x57], 0x36
xor word [rbp - 0x55], 0x37
xor word [rbp - 0x53], 0x38
xor ax, 0x39
mov word [rbp - 0x59], cx
mov word [rbp - 0x51], ax
lea rax, [rbp - 0x59]
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rdi
mov qword [rbp + 0x17], rdi
inc r8
cmp word [rax + r8*2], di
jne 0x1800a4a42
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 1]
call fcn.180008da0
lea rcx, [rbp - 1]
call fcn.1800a46e0
test al, al
jne 0x1800a4af6
cmp word [0x18015fa82], di
movups xmm0, xmmword [str.rWZ_fB_r_bO_]
mov eax, dword [0x18015fa80]
mov dword [rbp - 0x49], eax
movups xmmword [rbp - 0x59], xmm0
je 0x1800a4abd
xor word [rbp - 0x57], 0x36
mov eax, 0x47
xor word [rbp - 0x55], 0x37
xor word [rbp - 0x53], 0x38
xor word [rbp - 0x51], 0x39
xor word [rbp - 0x4f], 0x3a
xor word [rbp - 0x4d], 0x3b
xor word [rbp - 0x4b], 0x3c
xor word [rbp - 0x49], 0x3d
xor word [rbp - 0x47], 0x3e
mov word [rbp - 0x59], ax
xorps xmm0, xmm0
mov qword [rbp + 0x2f], rdi
movups xmmword [rbp + 0x1f], xmm0
mov qword [rbp + 0x37], rdi
lea rax, [rbp - 0x59]
inc rbx
cmp word [rax + rbx*2], di
jne 0x1800a4ad0
mov r8, rbx
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 0x1f]
call fcn.180008da0
lea rcx, [rbp + 0x1f]
call fcn.1800a46e0
test al, al
je 0x1800a4af8
mov al, 1
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret