Function at 0x14004d550
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 - 0x188]
sub rsp, 0x250
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rax, qword [0x1401b06f8]
xor rax, rsp
mov qword [rbp + 0x118], rax
mov r13, r8
mov r15, rdx
mov qword [rbp - 0x40], rdx
mov qword [rbp + 0x88], r8
xor esi, esi
mov ebx, esi
mov dword [rsp + 0x70], ebx
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x90], xmm1
mov qword [rbp + 0xa0], rsi
call fcn.1400cb0a0
mov r12, rax
test rax, rax
jne 0x14004d5d6
mov qword [r15], rsi
mov qword [r15 + 8], rsi
mov qword [r15 + 0x10], rsi
jmp 0x14004de44
mov r14, qword [r13]
mov rax, qword [r13 + 8]
mov qword [rbp - 0x40], rax
cmp r14, rax
je 0x14004de07
mov edi, dword [reloc.WS2_32.dll_accept]
mov rdx, r14
lea rcx, [rbp + 0xb8]
call fcn.14000f0d0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
mov qword [rbp + 0xe8], rsi
mov qword [rbp + reloc.WS2_32.dll_ntohs0], 0xf
mov byte [rbp + 0xd8], 0
movups xmm0, xmmword [0x1401891f0]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [0x140189200]
movups xmmword [rbp + 0x18], xmm1
movsd xmm0, qword [0x140189210]
movsd qword [rbp + 0x28], xmm0
movzx eax, word [0x140189218]
mov word [rbp + 0x30], ax
mov ecx, esi
cmp edi, 2
jl 0x14004d7a8
movdqa xmm5, xmmword [0x140192830]
movdqa xmm4, xmmword [0x140192b20]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x1401928f0]
mov eax, Ordinal_33
movd xmm8, eax
movdqa xmm0, xmmword [0x140192a30]
movdqa xmmword [rbp - 0x60], xmm0
lea rdx, [rbp + 0xc]
mov r8d, dword [rbp - 0x60]
nop dword [rax]
movd xmm2, ecx
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
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
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x28
jl 0x14004d6a0
cmp ecx, 0x2a
jge 0x14004d7e0
movsxd rax, ecx
lea r8, [rbp + 8]
add r8, rax
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x2a
jl 0x14004d7b2
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rsi
lea rax, [rbp + 8]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004d800
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x38]
call fcn.140016340
nop
lea rdx, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 0x10
cmovae rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc8]
lea rcx, [rbp - 0x38]
call fcn.140078570
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or ebx, 8
lea r8, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae r8, qword [rsp + 0x78]
mov edx, 0x2712
mov rcx, r12
call fcn.1400ce170
lea rcx, [rsp + 0x78]
call fcn.14000d220
nop
lea rcx, [rbp - 0x38]
call fcn.14000d220
lea r8, [0x14004d520]
mov edx, 0x4e2b
mov rcx, r12
call fcn.1400ce170
lea r8, [rbp + 0xd8]
mov edx, 0x2711
mov rcx, r12
call fcn.1400ce170
mov rcx, r12
call fcn.1400cb110
test eax, eax
jne 0x14004de95
mov qword [rbp + 0x40], rsi
lea r8, [rbp + 8]
lea rdx, [rbp + 0xd8]
lea rcx, [rbp + 0xa8]
call fcn.14007a650
nop
mov eax, dword [0x140188910]
mov dword [rsp + 0x34], eax
movzx eax, byte [0x140188914]
mov byte [rsp + 0x34], 0x64
xor byte [rsp + 0x35], 0x32
xor byte [rsp + 0x36], 0x33
xor byte [rsp + 0x37], 0x34
xor al, 0x35
mov byte [rsp + 0x38], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rsi
lea rax, [rsp + 0x34]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004d940
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x78]
call fcn.140016340
nop
or ebx, 2
mov dword [rsp + 0x70], ebx
cmp byte [rbp + 0xa8], 1
jne 0x14004dac1
mov rsi, qword [rbp + 0xb0]
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.140082de0
mov rdi, qword [rbp - 0x50]
cmp byte [rdi + 0x19], 0
jne 0x14004d9a2
lea r8, [rdi + 0x20]
lea rdx, [rsp + 0x78]
call fcn.1400884b0
test al, al
je 0x14004d9a5
mov rdi, qword [rsi]
mov rax, qword [rbp + 0xb0]
cmp rdi, qword [rax]
je 0x14004dabf
mov eax, dword [0x140188910]
mov dword [rsp + 0x3c], eax
movzx eax, byte [0x140188914]
mov byte [rsp + 0x3c], 0x64
xor byte [rsp + 0x3d], 0x32
xor byte [rsp + 0x3e], 0x33
xor byte [rsp + 0x3f], 0x34
xor al, 0x35
mov byte [rsp + 0x40], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xor esi, esi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rsi
lea rax, [rsp + 0x3c]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x14004da00
lea rdx, [rsp + 0x3c]
lea rcx, [rbp - 0x38]
call fcn.140016340
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0xa8]
call fcn.1400773d0
mov rdi, rax
mov ecx, dword [str.ARMPD7]
mov dword [rsp + 0x4c], ecx
movzx edx, word [0x140188d98]
mov word [rsp + 0x50], dx
movzx ecx, byte [0x140188d9a]
mov byte [rsp + 0x4c], reloc.WS2_32.dll_WSASetLastError
xor byte [rsp + 0x4d], 0x32
xor byte [rsp + 0x4e], 0x33
xor byte [rsp + 0x4f], 0x34
xor dl, 0x35
mov byte [rsp + 0x50], dl
xor byte [rsp + 0x51], 0x36
xor cl, 0x37
mov byte [rsp + 0x52], cl
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rsi
mov qword [rbp], rsi
lea rax, [rsp + 0x4c]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x14004da90
lea rdx, [rsp + 0x4c]
lea rcx, [rbp - 0x18]
call fcn.140016340
or ebx, 4
lea rdx, [rbp - 0x18]
mov rcx, rdi
call fcn.1400772a0
test al, al
je 0x14004dac1
mov dil, 1
jmp 0x14004dac4
xor esi, esi
xor dil, dil
test bl, 4
je 0x14004dad6
and ebx, 0xfffffffb
lea rcx, [rbp - 0x18]
call fcn.14000d220
nop
test bl, 2
je 0x14004dae8
and ebx, 0xfffffffd
lea rcx, [rsp + 0x78]
call fcn.14000d220
test dil, dil
je 0x14004ddc6
mov eax, dword [0x140188910]
mov dword [rsp + 0x44], eax
movzx eax, byte [0x140188914]
mov byte [rsp + 0x44], 0x64
xor byte [rsp + 0x45], 0x32
xor byte [rsp + 0x46], 0x33
xor byte [rsp + 0x47], 0x34
xor al, 0x35
mov byte [rsp + 0x48], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rsi
mov qword [rbp], rsi
lea rax, [rsp + 0x44]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004db40
lea rdx, [rsp + 0x44]
lea rcx, [rbp - 0x18]
call fcn.140016340
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0xa8]
call fcn.1400773d0
mov rdi, rax
mov ecx, dword [str.ARMPD7]
mov dword [rsp + 0x54], ecx
movzx edx, word [0x140188d98]
mov word [rsp + 0x58], dx
movzx ecx, byte [0x140188d9a]
mov byte [rsp + 0x54], reloc.WS2_32.dll_WSASetLastError
xor byte [rsp + 0x55], 0x32
xor byte [rsp + 0x56], 0x33
xor byte [rsp + 0x57], 0x34
xor dl, 0x35
mov byte [rsp + 0x58], dl
xor byte [rsp + 0x59], 0x36
xor cl, 0x37
mov byte [rsp + 0x5a], cl
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x60], rsi
lea rax, [rsp + 0x54]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004dbd0
lea rdx, [rsp + 0x54]
lea rcx, [rbp + 0x48]
call fcn.140016340
lea rdx, [rbp + 0x48]
mov rcx, rdi
call fcn.1400773d0
mov rdi, rax
movsd xmm0, qword [str.DAVF_WZ_9]
movsd qword [rsp + 0x60], xmm0
movzx ecx, byte [reloc.WS2_32.dll_gethostname]
mov byte [rsp + 0x60], 0x75
xor byte [rsp + 0x61], 0x32
xor byte [rsp + 0x62], 0x33
xor byte [rsp + 0x63], 0x34
xor byte [rsp + 0x64], 0x35
xor byte [rsp + 0x65], 0x36
xor byte [rsp + 0x66], 0x37
xor byte [rsp + 0x67], 0x38
xor cl, 0x39
mov byte [rsp + 0x68], cl
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x80], rsi
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004dc60
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x68]
call fcn.140016340
lea rdx, [rbp + 0x68]
mov rcx, rdi
call fcn.1400773d0
lea rdx, [rbp + 0xf8]
mov rcx, rax
call fcn.14007a770
or ebx, 0x20
movzx eax, word [0x140189d10]
mov word [rsp + 0x30], ax
movzx eax, byte [0x140189d12]
mov byte [rsp + 0x30], Ordinal_46
xor byte [rsp + 0x31], 0x32
xor al, 0x33
mov byte [rsp + 0x32], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rsi
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14004dcd4
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.140016340
nop
lea rdx, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 0x10
cmovae rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc8]
lea rcx, [rbp - 0x60]
call fcn.140078570
movups xmm0, xmmword [rax]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x18], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or ebx, 0x40
lea rdx, [rbp + 8]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0xf8]
call fcn.140078570
nop
lea rcx, [rbp + 8]
call fcn.14000d220
nop
lea rcx, [rbp - 0x60]
call fcn.14000d220
mov rax, qword [rbp + 0x98]
cmp rax, qword [rbp + 0xa0]
je 0x14004dda2
lea rdx, [rbp + 0xf8]
mov rcx, rax
call fcn.14000f0d0
add qword [rbp + 0x98], 0x20
jmp 0x14004ddb9
lea r8, [rbp + 0xf8]
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.140082360
nop
lea rcx, [rbp + 0xf8]
call fcn.14000d220
nop
movzx edx, byte [rbp + 0xa8]
lea rcx, [rbp + 0xb0]
call fcn.140079d30
nop
lea rcx, [rbp + 0xd8]
call fcn.14000d220
nop
lea rcx, [rbp + 0xb8]
call fcn.14000d220
add r14, 0x20
cmp r14, qword [rbp - 0x40]
mov edi, dword [reloc.WS2_32.dll_accept]
jne 0x14004d5f1
mov rcx, r12
call fcn.1400cb040
mov rdx, qword [rbp + 0xa0]
mov qword [rbp + 0xa0], rsi
mov rcx, qword [rbp + 0x98]
mov qword [rbp + 0x98], rsi
mov rax, qword [rbp + 0x90]
mov qword [rbp + 0x90], rsi
mov qword [r15], rax
mov qword [r15 + 8], rcx
mov qword [r15 + 0x10], rdx
lea rcx, [rbp + 0x90]
call fcn.140079300
nop
mov rcx, r13
call fcn.140079300
mov rax, r15
mov rcx, qword [rbp + 0x118]
xor rcx, rsp
call fcn.1401292a0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x40]
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
mov rcx, r12
call fcn.1400cb040
mov qword [r15], rsi
mov qword [r15 + 8], rsi
mov qword [r15 + 0x10], rsi
lea rcx, [rbp + 0xd8]
call fcn.14000d220
nop
lea rcx, [rbp + 0xb8]
call fcn.14000d220
jmp 0x14004de44