Function at 0x14003d598
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 [0x140322010]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rdx
mov r14, rcx
mov qword [rbp - 0x28], rcx
call fcn.1400845d0
mov r15, rax
xor r12d, r12d
test rax, rax
jne 0x14003d641
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 0x14003d604
mov rcx, rbx
cmp rdi, rsi
ja 0x14003d62f
mov qword [rbx + 0x10], rdi
mov r8, rdi
lea rdx, [rsp + 0x40]
call fcn.1401302d0
mov byte [rdi + rbx], r12b
jmp 0x14003da57
lea r9, [rsp + 0x40]
mov rdx, rdi
call fcn.14004ed78
jmp 0x14003da57
cmp qword [rbx + 0x18], 0x10
jb 0x14003d64b
mov rbx, qword [rbx]
mov r8, rbx
mov edx, 0x2712
mov rcx, r15
call fcn.140087820
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, [0x14003d574]
mov edx, 0x4e2b
mov rcx, r15
call fcn.140087820
lea r8, [rbp - 0x20]
mov edx, 0x2711
mov rcx, r15
call fcn.140087820
movsd xmm0, qword [0x14030c0c0]
movsd qword [rsp + 0x48], xmm0
movzx eax, word [0x14030c0c8]
mov word [rsp + 0x50], ax
mov ebx, 0x8d3dcb09
cmp byte [0x14030c0c9], r12b
je 0x14003d6e9
mov r8d, r12d
lea r9, [rsp + 0x48]
mov eax, ebx
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x3a
mov al, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0xa
jl 0x14003d6c5
lea rax, [rsp + 0x48]
or rdi, 0xffffffffffffffff
mov rcx, rdi
inc rcx
cmp byte [rax + rcx], r12b
jne 0x14003d6f5
mov rdx, qword [0x140335708]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x14003db22
lea rax, [0x1403356f8]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rax, qword [0x1403356f8]
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.140052604
nop
movsd xmm0, qword [0x14030bfc8]
movsd qword [rsp + 0x48], xmm0
movzx eax, word [0x14030bfd0]
mov word [rsp + 0x50], ax
mov al, byte [0x14030bfd2]
mov byte [rsp + 0x52], al
mov r8d, r12d
lea r9, [rsp + 0x48]
mov eax, ebx
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x3a
mov al, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0xb
jl 0x14003d77d
lea rax, [rsp + 0x48]
mov r8, rdi
inc r8
cmp byte [rax + r8], r12b
jne 0x14003d7a9
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.1400495e8
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, [0x140335778]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x140335778]
mov r8, qword [0x140335788]
lea rcx, [rsp + 0x58]
call fcn.1400495e8
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 0x14003d878
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, rbx
jb 0x14003d873
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003db28
call fcn.1400609b0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x58], r12b
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14003d8bf
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, rbx
jb 0x14003d8ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003db2e
call fcn.1400609b0
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.140087820
mov rcx, r15
call fcn.140084680
mov r10d, eax
test eax, eax
je 0x14003da82
movups xmm0, xmmword [0x14030c710]
movups xmmword [rbp - 0x68], xmm0
movsd xmm1, qword [0x14030c720]
movsd qword [rbp - 0x58], xmm1
mov eax, dword [0x14030c728]
mov dword [rbp - 0x50], eax
cmp byte [0x14030c72b], r12b
je 0x14003d952
mov r8d, r12d
lea r9, [rbp - 0x68]
mov eax, 0x8d3dcb09
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x3a
mov al, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0x1c
jl 0x14003d92b
mov ecx, r10d
call fcn.140085b40
mov rbx, rax
lea rdx, [rbp - 0x68]
lea rcx, [0x1403377d0]
call fcn.14004de88
mov rcx, rax
mov rdx, rbx
call fcn.14004de88
mov rcx, rax
call fcn.14004e06c
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 0x14003d99f
mov rcx, rbx
cmp rdi, rsi
ja 0x14003d9c7
mov qword [rbx + 0x10], rdi
mov r8, rdi
lea rdx, [rsp + 0x40]
call fcn.1401302d0
mov byte [rdi + rbx], r12b
jmp 0x14003d9d5
lea r9, [rsp + 0x40]
mov rdx, rdi
call fcn.14004ed78
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14003da10
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003da0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003db16
call fcn.1400609b0
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], rsi
mov byte [rbp - 0x48], r12b
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14003da57
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rbp - 0x20]
mov rax, rcx
jb 0x14003da52
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003db1c
call fcn.1400609b0
mov rax, r14
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400607e0
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.1400846f0
mov rcx, r15
call fcn.1400846b0
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.14004bef8
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14003daf1
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, rbx
jb 0x14003daec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003db16
call fcn.1400609b0
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], rsi
mov byte [rbp - 0x48], r12b
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14003da57
inc rdx
cmp rdx, rbx
jmp 0x14003da30
call fcn.140160d50
nop
call fcn.140160d50
nop
call fcn.140037f68
nop
call fcn.140160d50
nop
call fcn.140160d50
int3