Function at 0x1400a7540
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2b0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1401e56c8]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov r15, r9
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x30], rdx
xor r12d, r12d
mov eax, dword [str.YWWY_]
mov dword [rsp + 0x30], eax
movzx eax, word [0x1401c1700]
mov word [rsp + 0x34], ax
mov byte [rsp + 0x30], WSAGetLastError
xor byte [rsp + 0x31], 0x38
xor byte [rsp + 0x32], 0x39
xor byte [rsp + 0x33], 0x3a
xor al, 0x3b
mov byte [rsp + 0x34], al
xor byte [rsp + 0x35], 0x3c
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rsp + 0x30]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop
inc r8
cmp byte [rax + r8], r12b
jne 0x1400a75e0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140010900
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x58]
call fcn.1400b3bf0
mov qword [rbp + 0x68], r12
lea rdx, [rbp + 0x18]
call fcn.14009f100
nop
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.1400b3bf0
mov qword [rbp + 0x80], r12
lea rax, [rbp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x88]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xd0]
call fcn.1400b1300
mov qword [rbp + 0xe0], r12
movsd xmm0, qword [str.CQT_HHSO_]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x1401c16e0]
mov word [rsp + 0x48], ax
cmp byte [0x1401c16e1], 0
je 0x1400a76aa
mov byte [rsp + 0x40], reloc.WS2_32.dll_WSACleanup
xor byte [rsp + 0x41], 0x38
xor byte [rsp + 0x42], 0x39
xor byte [rsp + 0x43], 0x3a
xor byte [rsp + 0x44], 0x3b
xor byte [rsp + 0x45], 0x3c
xor byte [rsp + 0x46], 0x3d
xor byte [rsp + 0x47], 0x3e
xor byte [rsp + 0x48], 0x3f
xor byte [rsp + 0x49], 0x40
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x40]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x1400a76c3
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140010900
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x98]
call fcn.1400b3bf0
mov qword [rbp + 0xa8], r12
lea rdx, [rbp + 0x130]
lea rcx, [0x1401e5760]
call fcn.14009c1c0
nop
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.1400b3bf0
mov qword [rbp + 0xc0], r12
lea rax, [rbp + 0x98]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xe8]
call fcn.1400b1300
mov qword [rbp + 0xf8], r12
mov rax, qword [str.AYKtZQX_]
mov qword [rsp + 0x30], rax
mov eax, Ordinal_35
lea r13d, [rax - 0x1a]
mov r14d, dword [reloc.WS2_32.dll_accept]
cmp byte [0x1401c18cf], 0
je 0x1400a78c3
cmp r14d, 2
jl 0x1400a7885
movdqa xmm4, xmmword [0x1401c4ec0]
movd xmm6, r13d
movd xmm5, eax
movdqa xmm2, xmmword [0x1401c4b30]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401c4bf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401c4dc0]
movd xmm0, dword [rsp + 0x30]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x1401c4b40]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401c4bf0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401c4dc0]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
jmp 0x1400a78c3
lea r9, [rsp + 0x30]
mov r8d, r12d
nop dword [rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1400a7890
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x48], xmm1
lea rax, [rsp + 0x30]
mov r8, rsi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400a78e0
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x38]
call fcn.140010900
nop
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x38]
call fcn.1400b3bf0
mov qword [rbp - 0x28], r12
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x20], 0
xor eax, eax
mov qword [rbp - 0x18], rax
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.1400bd8d0
nop
mov qword [rbp - 0x10], r12
lea rax, [rbp - 0x38]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x100]
call fcn.1400b1300
mov qword [rbp + 0x110], r12
movsd xmm0, qword [str.CPK_ZXN_Y_5_C]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x1401c17b0]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x1401c17b4]
mov byte [rsp + 0x4c], al
mov ecx, r12d
cmp r14d, 2
jl 0x1400a7aa2
movdqa xmm4, xmmword [0x1401c4ec0]
movd xmm6, r13d
mov eax, Ordinal_35
movd xmm5, eax
movdqa xmm2, xmmword [0x1401c4b30]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401c4bf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
mov eax, dword [0x1401c4dc0]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.CPK_ZXN_Y_5_C]
xorps xmm2, xmm0
movd dword [rsp + 0x40], xmm2
movdqa xmm3, xmmword [0x1401c4b40]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401c4bf0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x44]
xorps xmm2, xmm1
movd dword [rsp + 0x44], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop dword [rax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x37
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xd
jl 0x1400a7ab0
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
lea rax, [rsp + 0x40]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x1400a7af5
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 8]
call fcn.140010900
nop
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x68]
call fcn.1400b3bf0
mov qword [rbp - 0x58], r12
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x50], 0
xor eax, eax
mov qword [rbp - 0x48], rax
movzx ebx, byte [r15]
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.1400b2a60
mov byte [rbp - 0x50], 4
mov byte [rsp + 0x30], bl
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], r12
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x118]
call fcn.1400b1300
mov qword [rbp + 0x128], r12
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x130]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x150]
call fcn.1400b1300
nop
lea r9, [fcn.1400a4d20]
mov edx, Ordinal_27
lea r8d, [rdx - 0x14]
lea rcx, [rbp + 0xd0]
call fcn.14015c0c8
nop
lea r9, [fcn.1400a4d20]
mov edx, Ordinal_27
lea r8d, [rdx - 0x16]
lea rcx, [rbp - 0x68]
call fcn.14015c0c8
nop
lea rcx, [rbp - 8]
call fcn.140010730
nop
lea r9, [fcn.1400a4d20]
mov edx, Ordinal_27
lea r8d, [rdx - 0x16]
lea rcx, [rbp - 0x38]
call fcn.14015c0c8
nop
lea rcx, [rbp + 0x38]
call fcn.140010730
nop
lea r9, [fcn.1400a4d20]
mov edx, Ordinal_27
lea r8d, [rdx - 0x16]
lea rcx, [rbp + 0x98]
call fcn.14015c0c8
nop
lea rcx, [rbp + 0x130]
call fcn.140010730
nop
lea rcx, [rsp + 0x50]
call fcn.140010730
nop
lea r9, [fcn.1400a4d20]
mov edx, Ordinal_27
lea r8d, [rdx - 0x16]
lea rcx, [rbp + 0x58]
call fcn.14015c0c8
nop
lea rcx, [rbp + 0x18]
call fcn.140010730
nop
lea rcx, [rsp + 0x70]
call fcn.140010730
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
movdqa xmm1, xmmword [0x1401c4af0]
movdqu xmmword [rbp + 0x170], xmm1
mov byte [rbp + 0x160], 0
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x150]
call fcn.1400b0d70
mov rbx, rax
mov eax, dword [str.gwjn_]
mov dword [rsp + 0x30], eax
movzx ecx, byte [0x1401c1724]
mov byte [rsp + 0x30], 0x50
xor byte [rsp + 0x31], 0x38
xor byte [rsp + 0x32], 0x39
xor byte [rsp + 0x33], 0x3a
xor cl, 0x3b
mov byte [rsp + 0x34], cl
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x30]
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400a7cf0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140010900
nop
mov rax, qword [0x1401c2cc0]
mov qword [rsp + 0x30], rax
cmp byte [0x1401c2cc7], 0
je 0x1400a7e83
cmp r14d, 2
jl 0x1400a7e3b
movdqa xmm4, xmmword [0x1401c4ec0]
movd xmm6, r13d
mov eax, Ordinal_35
movd xmm5, eax
movdqa xmm2, xmmword [0x1401c4b30]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401c4bf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
mov eax, dword [0x1401c4dc0]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x30]
xorps xmm2, xmm1
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x1401c4b40]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401c4bf0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
jmp 0x1400a7e83
lea r9, [rsp + 0x30]
mov r8d, r12d
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1400a7e50
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rsp + 0x30]
nop dword [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400a7ea0
mov r8, rsi
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140010900
nop
lea rax, [rbp + 0x160]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [0x1401e5760]
call fcn.14009dab0
movzx ebx, al
lea rcx, [rsp + 0x70]
call fcn.140010730
nop
lea rcx, [rsp + 0x50]
call fcn.140010730
nop
lea rcx, [rbp + 0x18]
call fcn.140010730
test bl, bl
je 0x1400a7f78
lea rax, [rbp + 0x18]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x18]
call fcn.140013bf0
mov rbx, rax
mov qword [rbp + 0x90], r12
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0x160]
lea rcx, [rbp - 8]
call fcn.1400b3240
nop
mov r9, rbx
mov r8, rax
mov rdx, rdi
lea rcx, [0x1401e5760]
call fcn.14009f2b0
nop
lea rcx, [rbp + 0x160]
call fcn.140010730
nop
movzx edx, byte [rbp + 0x150]
lea rcx, [rbp + 0x158]
call fcn.1400b2a60
nop
jmp 0x1400a7fdd
mov word [rdi], 0
xorps xmm0, xmm0
movups xmmword [rdi + 8], xmm0
mov qword [rdi + 0x18], r12
mov qword [rdi + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rdi + 8], 0
movups xmmword [rdi + 0x28], xmm0
mov qword [rdi + 0x38], r12
mov qword [rdi + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x28], 0
movups xmmword [rdi + 0x48], xmm0
mov qword [rdi + 0x58], r12
mov qword [rdi + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x48], 0
lea rcx, [rbp + 0x160]
call fcn.140010730
nop
movzx edx, byte [rbp + 0x150]
lea rcx, [rbp + 0x158]
call fcn.1400b2a60
nop
mov rax, rdi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14015bde0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret