Function at 0x1400aed10
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x110
movaps xmmword [rax - 0x48], xmm6
mov r15, rcx
movaps xmmword [rax - 0x58], xmm7
add rcx, 0x100e0
movaps xmmword [rax - 0x68], xmm8
call fcn.1400b1760
mov rcx, r15
call fcn.1400a1c00
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov r9d, 3
mov edx, 0x12019f
mov rcx, r15
lea r8d, [r9 + 0x7d]
test al, al
je 0x1400af4ab
mov dword [rsp + 0x20], 1
call fcn.1400a1580
test eax, eax
js 0x1400aefd3
mov rcx, r15
call fcn.1400a2040
mov rbx, rax
test rax, rax
je 0x1400af4c8
lea rcx, [rax + 1]
call fcn.1400dcc40
mov r8d, ebx
mov qword [r15 + 0x10120], rax
mov rdx, rax
mov rcx, r15
call fcn.1400a1fd0
mov r9, rax
cmp rax, rbx
je 0x1400aefda
movups xmm0, xmmword [0x140111db0]
xor edi, edi
cmp dword [0x140248200], 2
movups xmm1, xmmword [0x140111dc0]
mov eax, dword [0x140111e20]
movups xmmword [rsp + 0x50], xmm0
mov dword [rbp - 0x40], eax
movups xmm0, xmmword [0x140111dd0]
movzx eax, word [0x140111e24]
movups xmmword [rsp + 0x70], xmm0
mov word [rbp - 0x3c], ax
movups xmm0, xmmword [0x140111df0]
movups xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [0x140111de0]
movups xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [0x140111e10]
movups xmmword [rbp - 0x80], xmm1
movups xmm1, xmmword [0x140111e00]
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x60], xmm1
jl 0x1400aef7f
movdqa xmm5, xmmword [0x14010c2c0]
lea rcx, [rsp + 0x50]
movdqa xmm4, xmmword [0x14010fec0]
mov r13d, 5
movdqa xmm7, xmmword [str.9999]
mov eax, 0x1f
movaps xmmword [rsp + 0xd0], xmm9
movdqa xmm9, xmmword [str.00000000]
movd xmm6, r13d
movd xmm8, eax
nop dword [rax]
movd xmm2, edi
lea eax, [rdi + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add edi, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp edi, 0x38
jl 0x1400aee80
movaps xmm9, xmmword [rsp + 0xd0]
cmp edi, 0x3b
jge 0x1400aefc3
movsxd rax, edi
lea r8, [rsp + 0x50]
lea r8, [r8 + rax*2]
nop dword [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 2]
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x39
movzx eax, di
inc edi
sub ax, cx
add ax, 0x30
xor word [r8 - 2], ax
cmp edi, 0x3b
jl 0x1400aef90
mov r8, rbx
lea rcx, [rsp + 0x50]
mov rdx, r9
call fcn.1400a0e70
xor al, al
jmp 0x1400af4ca
mov rax, qword [r15 + 0x10120]
mov byte [rbx + rax], 0
mov rdx, qword [r15 + 0x10120]
cmp byte [rdx], 0x3c
je 0x1400af003
mov r8d, ebx
mov rcx, r15
call fcn.1400a1a10
mov rdx, qword [r15 + 0x10120]
lea rbx, [r15 + 0x58]
mov qword [rbp + 0x50], rdx
mov rax, qword [rbx + 0x30]
xor edi, edi
test rax, rax
je 0x1400af031
nop word [rax + rax]
mov qword [rax + 0x20], rdi
mov rax, qword [rax + 0x58]
test rax, rax
jne 0x1400af020
mov rdx, qword [rbp + 0x50]
mov rax, qword [rbx + 0x40]
mov qword [rbx + 0x30], rdi
test rax, rax
je 0x1400af051
nop
mov qword [rax + 0x20], rdi
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x1400af040
mov rdx, qword [rbp + 0x50]
mov qword [rbx + 0x40], rdi
cmp byte [rdx], 0xef
jne 0x1400af06e
cmp byte [rdx + 1], 0xbb
jne 0x1400af06e
cmp byte [rdx + 2], 0xbf
jne 0x1400af06e
add rdx, 3
mov qword [rbp + 0x50], rdx
lea rsi, [0x140110df0]
movzx eax, byte [rdx]
cmp byte [rax + rsi], dil
je 0x1400af08d
nop
movzx eax, byte [rdx + 1]
inc rdx
cmp byte [rax + rsi], dil
jne 0x1400af080
mov qword [rbp + 0x50], rdx
movzx eax, byte [rdx]
test al, al
je 0x1400af105
cmp al, 0x3c
jne 0x1400af0f0
lea rax, [rdx + 1]
mov rcx, rbx
lea rdx, [rbp + 0x50]
mov qword [rbp + 0x50], rax
call fcn.1400abe70
mov rcx, rax
test rax, rax
jne 0x1400af0be
mov rdx, qword [rbp + 0x50]
jmp 0x1400af075
cmp qword [rbx + 0x30], rdi
je 0x1400af0d6
mov rax, qword [rbx + 0x38]
mov qword [rcx + 0x50], rax
mov rax, qword [rbx + 0x38]
mov qword [rax + 0x58], rcx
jmp 0x1400af0de
mov qword [rax + 0x50], rdi
mov qword [rbx + 0x30], rcx
mov qword [rbx + 0x38], rcx
mov qword [rcx + 0x20], rbx
mov qword [rcx + 0x58], rdi
mov rdx, qword [rbp + 0x50]
jmp 0x1400af075
lea rcx, [0x140111c18]
call fcn.1400187d0
mov rdx, qword [rbp + 0x50]
jmp 0x1400af075
mov eax, dword [str.FPFQF6]
lea r9, [rbp + 0x50]
mov dword [rbp + 0x50], eax
movzx eax, word [0x140111e2c]
xor byte [rbp + 0x51], 0x31
xor byte [rbp + 0x52], 0x32
xor byte [rbp + 0x53], 0x33
mov word [rbp + 0x54], ax
movzx eax, byte [0x140111e2e]
xor byte [rbp + 0x54], 0x34
xor byte [rbp + 0x55], 0x35
xor al, 0x36
mov byte [rbp + 0x50], 0x76
mov byte [rbp + 0x56], al
inc r9
cmp byte [r9], dil
jne 0x1400af141
mov rsi, qword [r15 + 0x88]
lea rax, [rbp + 0x50]
sub r9, rax
test rsi, rsi
je 0x1400af4c8
lea r11, [0x14024b018]
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400af175
mov rax, qword [rsi + 0x10]
jmp 0x1400af17b
mov rax, rdi
mov rcx, r11
cmp rax, r9
jne 0x1400af2de
lea r8, [rax + rcx]
cmp rcx, r8
jae 0x1400af1a8
lea rdx, [rbp + 0x50]
sub rdx, rcx
movzx eax, byte [rcx + rdx]
cmp byte [rcx], al
jne 0x1400af2de
inc rcx
cmp rcx, r8
jb 0x1400af194
mov r13d, 5
cmp byte [0x140111e37], dil
mov ecx, 0x1f
mov rax, qword [str.CTQG_ZX7FPFQF6]
mov qword [rbp + 0x50], rax
je 0x1400af333
cmp dword [0x140248200], 2
mov r8d, edi
jl 0x1400af2f0
movdqa xmm2, xmmword [0x14010c2c0]
movdqa xmm3, xmmword [0x14010c2d0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x14010fec0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r13d
movd xmm5, ecx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.9999]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x50]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x14010c300]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140111ed0]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp + 0x50], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.9999]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x54]
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14010c300]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140111ed0]
pxor xmm2, xmm0
movd dword [rbp + 0x54], xmm2
jmp 0x1400af333
mov rsi, qword [rsi + 0x58]
test rsi, rsi
jne 0x1400af167
jmp 0x1400af4c8
lea r9, [rbp + 0x50]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x1f7047dd
lea r9, [r9 + 1]
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x1400af300
lea r10, [rbp + 0x50]
cmp byte [rbp + 0x50], dil
je 0x1400af348
nop dword [rax]
inc r10
cmp byte [r10], dil
jne 0x1400af340
mov r9, qword [rsi + 0x40]
lea rax, [rbp + 0x50]
sub r10, rax
test r9, r9
je 0x1400af48e
nop dword [rax]
mov rax, qword [r9]
test rax, rax
je 0x1400af36e
mov rcx, qword [r9 + 0x10]
jmp 0x1400af374
mov rcx, rdi
mov rax, r11
cmp rcx, r10
jne 0x1400af49c
lea r8, [rcx + rax]
cmp rax, r8
jae 0x1400af3a4
lea rdx, [rbp + 0x50]
sub rdx, rax
nop dword [rax]
movzx ecx, byte [rax + rdx]
cmp byte [rax], cl
jne 0x1400af49c
inc rax
cmp rax, r8
jb 0x1400af390
mov rax, qword [r9 + 8]
mov rdx, r11
test rax, rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov r8, 0xffffffffffffffff
cmovne rdx, rax
mov qword [rsp + 0x48], socket
nop dword [rax]
inc r8
cmp byte [rdx + r8], dil
jne 0x1400af3d0
lea rcx, [rsp + 0x30]
call fcn.140018350
call fcn.1400e7b78
cmp qword [rsp + 0x48], 0x10
lea rbx, [rsp + 0x30]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x58]
cmovae rbx, qword [rsp + 0x30]
mov r12, rax
mov rcx, rbx
mov dword [rax], edi
call fcn.1400e8de8
mov r14d, eax
cmp rbx, qword [rbp + 0x58]
je 0x1400af4f4
cmp dword [r12], 0x22
je 0x1400af507
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400af465
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400af460
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400af501
call fcn.1400dc808
mov rbx, qword [rsi + 0x30]
test rbx, rbx
je 0x1400af487
nop
mov r8, rbx
mov edx, r14d
mov rcx, r15
call fcn.1400af520
mov rbx, qword [rbx + 0x58]
test rbx, rbx
jne 0x1400af470
lea r11, [0x14024b018]
mov rsi, qword [rsi + 0x58]
test rsi, rsi
je 0x1400af4c8
jmp 0x1400af1ae
mov r9, qword [r9 + 0x30]
test r9, r9
jne 0x1400af360
jmp 0x1400af48e
mov byte [r15 + 0x10128], 1
mov dword [rsp + 0x20], 3
call fcn.1400a1580
test eax, eax
js 0x1400aefd3
mov al, 1
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.invalid_stoul_argument
call fcn.1400dadb4
int3
call fcn.1400e34bc
int3
lea rcx, str.stoul_argument_out_of_range
call fcn.1400dadfc
int3