Function at 0x14004d370
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 [0x1401ae6f8]
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.1400c9720
mov r12, rax
test rax, rax
jne 0x14004d3f6
mov qword [r15], rsi
mov qword [r15 + 8], rsi
mov qword [r15 + 0x10], rsi
jmp 0x14004dc54
mov r14, qword [r13]
mov rax, qword [r13 + 8]
mov qword [rbp - 0x40], rax
cmp r14, rax
je 0x14004dc17
mov edi, dword [reloc.WS2_32.dll_accept]
mov rdx, r14
lea rcx, [rbp + 0xb8]
call fcn.14000eeb0
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 [str.CLII]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [0x140187900]
movups xmmword [rbp + 0x18], xmm1
movsd xmm0, qword [0x140187910]
movsd qword [rbp + 0x28], xmm0
movzx eax, word [0x140187918]
mov word [rbp + 0x30], ax
mov ecx, esi
cmp edi, 2
jl 0x14004d5c0
movdqa xmm5, xmmword [0x1401906d0]
movdqa xmm4, xmmword [0x1401909a0]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x140190720]
mov eax, Ordinal_33
movd xmm8, eax
movdqa xmm0, xmmword [0x140190920]
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
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 [0x1401908d0]
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
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 [0x1401908d0]
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 0x14004d4c0
cmp ecx, 0x2a
jge 0x14004d5fc
movsxd rax, ecx
lea r8, [rbp + 8]
add r8, rax
nop word [rax + rax]
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x2a
jl 0x14004d5d0
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
inc r8
cmp byte [rax + r8], 0
jne 0x14004d616
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x38]
call fcn.140016190
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.1400774c0
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.1400cc7f0
lea rcx, [rsp + 0x78]
call fcn.14000d000
nop
lea rcx, [rbp - 0x38]
call fcn.14000d000
lea r8, [0x14004d340]
mov edx, 0x4e2b
mov rcx, r12
call fcn.1400cc7f0
lea r8, [rbp + 0xd8]
mov edx, 0x2711
mov rcx, r12
call fcn.1400cc7f0
mov rcx, r12
call fcn.1400c9790
test eax, eax
jne 0x14004dca5
mov qword [rbp + 0x40], rsi
lea r8, [rbp + 8]
lea rdx, [rbp + 0xd8]
lea rcx, [rbp + 0xa8]
call fcn.1400795a0
nop
mov eax, dword [str.RVLX:]
mov dword [rsp + 0x34], eax
movzx eax, byte [0x1401869c0]
mov byte [rsp + 0x34], 0x64
xor byte [rsp + 0x35], 0x37
xor byte [rsp + 0x36], 0x38
xor byte [rsp + 0x37], 0x39
xor al, 0x3a
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
inc r8
cmp byte [rax + r8], 0
jne 0x14004d753
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x78]
call fcn.140016190
nop
or ebx, 2
mov dword [rsp + 0x70], ebx
cmp byte [rbp + 0xa8], 1
jne 0x14004d8d1
mov rsi, qword [rbp + 0xb0]
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.140081d30
mov rdi, qword [rbp - 0x50]
cmp byte [rdi + 0x19], 0
jne 0x14004d7b5
lea r8, [rdi + 0x20]
lea rdx, [rsp + 0x78]
call fcn.140087400
test al, al
je 0x14004d7b8
mov rdi, qword [rsi]
mov rax, qword [rbp + 0xb0]
cmp rdi, qword [rax]
je 0x14004d8cf
mov eax, dword [str.RVLX:]
mov dword [rsp + 0x3c], eax
movzx eax, byte [0x1401869c0]
mov byte [rsp + 0x3c], 0x64
xor byte [rsp + 0x3d], 0x37
xor byte [rsp + 0x3e], 0x38
xor byte [rsp + 0x3f], 0x39
xor al, 0x3a
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
inc r8
cmp byte [rax + r8], sil
jne 0x14004d810
lea rdx, [rsp + 0x3c]
lea rcx, [rbp - 0x38]
call fcn.140016190
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0xa8]
call fcn.140076320
mov rdi, rax
mov ecx, dword [str.F_Y__I_]
mov dword [rsp + 0x4c], ecx
movzx edx, word [0x140187094]
mov word [rsp + 0x50], dx
movzx ecx, byte [reloc.WLDAP32.dll_Ordinal_60]
mov byte [rsp + 0x4c], reloc.WS2_32.dll_WSASetLastError
xor byte [rsp + 0x4d], 0x37
xor byte [rsp + 0x4e], 0x38
xor byte [rsp + 0x4f], 0x39
xor dl, 0x3a
mov byte [rsp + 0x50], dl
xor byte [rsp + 0x51], 0x3b
xor cl, 0x3c
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 0x14004d8a0
lea rdx, [rsp + 0x4c]
lea rcx, [rbp - 0x18]
call fcn.140016190
or ebx, 4
lea rdx, [rbp - 0x18]
mov rcx, rdi
call fcn.1400761f0
test al, al
je 0x14004d8d1
mov dil, 1
jmp 0x14004d8d4
xor esi, esi
xor dil, dil
test bl, 4
je 0x14004d8e6
and ebx, 0xfffffffb
lea rcx, [rbp - 0x18]
call fcn.14000d000
nop
test bl, 2
je 0x14004d8f8
and ebx, 0xfffffffd
lea rcx, [rsp + 0x78]
call fcn.14000d000
test dil, dil
je 0x14004dbd6
mov eax, dword [str.RVLX:]
mov dword [rsp + 0x44], eax
movzx eax, byte [0x1401869c0]
mov byte [rsp + 0x44], 0x64
xor byte [rsp + 0x45], 0x37
xor byte [rsp + 0x46], 0x38
xor byte [rsp + 0x47], 0x39
xor al, 0x3a
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 0x14004d950
lea rdx, [rsp + 0x44]
lea rcx, [rbp - 0x18]
call fcn.140016190
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0xa8]
call fcn.140076320
mov rdi, rax
mov ecx, dword [str.F_Y__I_]
mov dword [rsp + 0x54], ecx
movzx edx, word [0x140187094]
mov word [rsp + 0x58], dx
movzx ecx, byte [reloc.WLDAP32.dll_Ordinal_60]
mov byte [rsp + 0x54], reloc.WS2_32.dll_WSASetLastError
xor byte [rsp + 0x55], 0x37
xor byte [rsp + 0x56], 0x38
xor byte [rsp + 0x57], 0x39
xor dl, 0x3a
mov byte [rsp + 0x58], dl
xor byte [rsp + 0x59], 0x3b
xor cl, 0x3c
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 0x14004d9e0
lea rdx, [rsp + 0x54]
lea rcx, [rbp + 0x48]
call fcn.140016190
lea rdx, [rbp + 0x48]
mov rcx, rdi
call fcn.140076320
mov rdi, rax
movsd xmm0, qword [str.CD_KTZQX_]
movsd qword [rsp + 0x60], xmm0
movzx ecx, byte [0x1401867e0]
mov byte [rsp + 0x60], 0x75
xor byte [rsp + 0x61], 0x37
xor byte [rsp + 0x62], 0x38
xor byte [rsp + 0x63], 0x39
xor byte [rsp + 0x64], 0x3a
xor byte [rsp + 0x65], 0x3b
xor byte [rsp + 0x66], 0x3c
xor byte [rsp + 0x67], 0x3d
xor cl, 0x3e
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 0x14004da70
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x68]
call fcn.140016190
lea rdx, [rbp + 0x68]
mov rcx, rdi
call fcn.140076320
lea rdx, [rbp + 0xf8]
mov rcx, rax
call fcn.1400796c0
or ebx, 0x20
movzx eax, word [0x140186e0c]
mov word [rsp + 0x30], ax
movzx eax, byte [0x140186e0e]
mov byte [rsp + 0x30], Ordinal_46
xor byte [rsp + 0x31], 0x37
xor al, 0x38
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 0x14004dae4
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.140016190
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.1400774c0
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.1400774c0
nop
lea rcx, [rbp + 8]
call fcn.14000d000
nop
lea rcx, [rbp - 0x60]
call fcn.14000d000
mov rax, qword [rbp + 0x98]
cmp rax, qword [rbp + 0xa0]
je 0x14004dbb2
lea rdx, [rbp + 0xf8]
mov rcx, rax
call fcn.14000eeb0
add qword [rbp + 0x98], 0x20
jmp 0x14004dbc9
lea r8, [rbp + 0xf8]
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.1400812b0
nop
lea rcx, [rbp + 0xf8]
call fcn.14000d000
nop
movzx edx, byte [rbp + 0xa8]
lea rcx, [rbp + 0xb0]
call fcn.140078c80
nop
lea rcx, [rbp + 0xd8]
call fcn.14000d000
nop
lea rcx, [rbp + 0xb8]
call fcn.14000d000
add r14, 0x20
cmp r14, qword [rbp - 0x40]
mov edi, dword [reloc.WS2_32.dll_accept]
jne 0x14004d411
mov rcx, r12
call fcn.1400c96c0
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.140078250
nop
mov rcx, r13
call fcn.140078250
mov rax, r15
mov rcx, qword [rbp + 0x118]
xor rcx, rsp
call fcn.140127920
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.1400c96c0
mov qword [r15], rsi
mov qword [r15 + 8], rsi
mov qword [r15 + 0x10], rsi
lea rcx, [rbp + 0xd8]
call fcn.14000d000
nop
lea rcx, [rbp + 0xb8]
call fcn.14000d000
jmp 0x14004dc54