Function at 0x14003e960
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14031f010]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rdx
mov r14, rcx
mov qword [rbp - 0x28], rcx
call fcn.140081f80
mov r15, rax
xor r12d, r12d
test rax, rax
jne 0x14003ea09
mov dword [r14], r12d
mov byte [rsp + 0x40], r12b
lea rbx, [r14 + 8]
mov qword [rbx], r12
mov qword [rbx + 0x10], r12
lea esi, [rax + 0xf]
mov qword [rbx + 0x18], rsi
mov byte [rbx], r12b
lea rax, [rsp + 0x40]
or rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], r12b
jne 0x14003e9cc
mov rcx, rbx
cmp rdi, rsi
ja 0x14003e9f7
mov qword [rbx + 0x10], rdi
mov r8, rdi
lea rdx, [rsp + 0x40]
call fcn.14012dc80
mov byte [rdi + rbx], r12b
jmp 0x14003ee3a
lea r9, [rsp + 0x40]
mov rdx, rdi
call fcn.14004cc58
jmp 0x14003ee3a
cmp qword [rbx + 0x18], 0x10
jb 0x14003ea13
mov rbx, qword [rbx]
mov r8, rbx
mov edx, 0x2712
mov rcx, r15
call fcn.1400851d0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x10], r12
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 8], rsi
mov byte [rbp - 0x20], r12b
lea r8, [0x14003e93c]
mov edx, 0x4e2b
mov rcx, r15
call fcn.1400851d0
lea r8, [rbp - 0x20]
mov edx, 0x2711
mov rcx, r15
call fcn.1400851d0
movsd xmm0, qword [str.LINS_R_B]
movsd qword [rsp + 0x48], xmm0
movzx eax, word [0x14030a920]
mov word [rsp + 0x50], ax
mov ebx, 0x24924925
cmp byte [0x14030a921], r12b
je 0x14003eaba
mov r8d, r12d
lea r9, [rsp + 0x48]
mov eax, ebx
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0xa
jl 0x14003ea8d
lea rax, [rsp + 0x48]
or rdi, 0xffffffffffffffff
mov rcx, rdi
inc rcx
cmp byte [rax + rcx], r12b
jne 0x14003eac6
mov rdx, qword [0x140332708]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x14003ef05
lea rax, [0x1403326f8]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rax, qword [0x1403326f8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.140050174
nop
movsd xmm0, qword [0x140309f60]
movsd qword [rsp + 0x48], xmm0
movzx eax, word [0x140309f68]
mov word [rsp + 0x50], ax
mov al, byte [0x140309f6a]
mov byte [rsp + 0x52], al
mov r8d, r12d
lea r9, [rsp + 0x48]
mov eax, ebx
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0xb
jl 0x14003eb4e
lea rax, [rsp + 0x48]
mov r8, rdi
inc r8
cmp byte [rax + r8], r12b
jne 0x14003eb83
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.1400483c4
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rsi
mov byte [rax], r12b
lea rdx, [0x140332778]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x140332778]
mov r8, qword [0x140332788]
lea rcx, [rsp + 0x58]
call fcn.1400483c4
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rsi
mov byte [rax], r12b
mov ebx, 0x1000
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14003ec52
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, rbx
jb 0x14003ec4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ef0b
call fcn.14005e360
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x58], r12b
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14003ec99
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, rbx
jb 0x14003ec94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ef11
call fcn.14005e360
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], rsi
mov byte [rsp + 0x78], r12b
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae r8, qword [rbp - 0x48]
mov edx, 0x271f
mov rcx, r15
call fcn.1400851d0
mov rcx, r15
call fcn.140082030
mov r10d, eax
test eax, eax
je 0x14003ee65
movups xmm0, xmmword [0x14030a480]
movups xmmword [rbp - 0x68], xmm0
movsd xmm1, qword [0x14030a490]
movsd qword [rbp - 0x58], xmm1
mov eax, dword [0x14030a498]
mov dword [rbp - 0x50], eax
cmp byte [0x14030a49b], r12b
je 0x14003ed35
mov r8d, r12d
lea r9, [rbp - 0x68]
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0x1c
jl 0x14003ed05
mov ecx, r10d
call fcn.1400834f0
mov rbx, rax
lea rdx, [rbp - 0x68]
lea rcx, [0x140334610]
call fcn.14004c074
mov rcx, rax
mov rdx, rbx
call fcn.14004c074
mov rcx, rax
call fcn.14004c258
mov dword [r14], r12d
mov byte [rsp + 0x40], r12b
lea rbx, [r14 + 8]
mov qword [rbx], r12
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], rsi
mov byte [rbx], r12b
lea rax, [rsp + 0x40]
inc rdi
cmp byte [rax + rdi], r12b
jne 0x14003ed82
mov rcx, rbx
cmp rdi, rsi
ja 0x14003edaa
mov qword [rbx + 0x10], rdi
mov r8, rdi
lea rdx, [rsp + 0x40]
call fcn.14012dc80
mov byte [rdi + rbx], r12b
jmp 0x14003edb8
lea r9, [rsp + 0x40]
mov rdx, rdi
call fcn.14004cc58
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14003edf3
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003edee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003eef9
call fcn.14005e360
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], rsi
mov byte [rbp - 0x48], r12b
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14003ee3a
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rbp - 0x20]
mov rax, rcx
jb 0x14003ee35
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003eeff
call fcn.14005e360
mov rax, r14
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14005e190
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov dword [rbp - 0x28], r12d
lea r8, [rbp - 0x28]
mov edx, 0x200002
mov rcx, r15
call fcn.1400820a0
mov rcx, r15
call fcn.140082060
mov eax, dword [rbp - 0x28]
mov dword [r14], eax
lea rcx, [r14 + 8]
mov qword [rcx], r12
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], r12
lea rdx, [rbp - 0x20]
call fcn.14004a504
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14003eed4
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, rbx
jb 0x14003eecf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003eef9
call fcn.14005e360
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], rsi
mov byte [rbp - 0x48], r12b
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14003ee3a
inc rdx
cmp rdx, rbx
jmp 0x14003ee13
call fcn.14015e7b0
nop
call fcn.14015e7b0
nop
call fcn.140037be8
nop
call fcn.14015e7b0
nop
call fcn.14015e7b0
int3