Function at 0x140004d80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x140123240]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov r15, r8
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x40], rdx
mov qword [rbp + 0xb0], r8
xor r13d, r13d
mov dword [rsp + 0x78], r13d
call fcn.1400032c0
mov dword [rsp + 0x30], 0xa4bea7e1
mov dword [rsp + 0x34], 0xaaa4beae
mov word [rsp + 0x38], 0xf2
mov byte [rsp + 0x3a], 1
mov ecx, r13d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x39]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x140004e00
mov byte [rsp + 0x3a], 0
mov dword [rsp + 0x40], 0xa7a8a6e1
mov dword [rsp + 0x44], 0x100f1ae
mov dword [rsp + 0x68], 0xb9acbbe1
mov dword [rsp + 0x6c], 0xa0a2a5b8
mov dword [rsp + 0x70], 0xecb4a6
mov byte [rsp + 0x74], 1
mov dword [rsp + 0x48], 0xa6a0aee1
mov dword [rsp + 0x4c], 0xf3a9a5ae
mov word [rsp + 0x50], 0x100
mov dword [rsp + 0x58], 0xafb9b1b3
mov dword [rsp + 0x5c], 0xa2a4aaf6
mov word [rsp + 0x60], 0xaa
mov byte [rsp + 0x62], 1
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x40]
call fcn.140005380
nop
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140004e96
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
mov rcx, rax
call fcn.140006b80
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd8], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0x20]
call fcn.1400045d0
nop
lea rdx, [rsi + 0x268]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140004ef1
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140006b80
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x20]
lea rcx, [rbp]
call fcn.140004370
nop
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140004f37
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.140006b80
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140004f80
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.140006b80
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rsi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140004fd4
mov rdx, qword [rdx]
lea rcx, [rbp - 0x80]
call fcn.140006b80
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf8], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, qword [rbp - 0x68]
cmp r8, 0x10
jb 0x140005017
inc r8
mov rdx, qword [rbp - 0x80]
call fcn.140007eb0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
mov r8, qword [rbp - 0x48]
cmp r8, 0x10
jb 0x14000503d
inc r8
mov rdx, qword [rbp - 0x60]
call fcn.140007eb0
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
mov r8, qword [rbp + 0x18]
cmp r8, 0x10
jb 0x140005063
inc r8
mov rdx, qword [rbp]
call fcn.140007eb0
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
mov r8, qword [rbp - 8]
cmp r8, 0x10
jb 0x14000508a
inc r8
mov rdx, qword [rbp - 0x20]
call fcn.140007eb0
nop
mov r8, qword [rbp + 0x38]
cmp r8, 0x10
jb 0x1400050a0
inc r8
mov rdx, qword [rbp + 0x20]
call fcn.140007eb0
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x20], 0
mov r8, qword [rbp + 0xe0]
cmp r8, 0x10
jb 0x1400050cd
inc r8
mov rdx, qword [rbp + 0xc8]
call fcn.140007eb0
nop
mov r8, qword [rbp + 0x58]
cmp r8, 0x10
jb 0x1400050e3
inc r8
mov rdx, qword [rbp + 0x40]
call fcn.140007eb0
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x40], 0
lea rax, [rbp + 0xc8]
mov qword [rbp + 0x80], rax
lea rdx, [rsi + 0xa0]
lea rcx, [rbp + 0xc8]
call fcn.140006c60
mov rdi, rax
lea rax, [rbp - 0x20]
mov qword [rbp + 0x88], rax
lea rdx, [rsi + 0x80]
lea rcx, [rbp - 0x20]
call fcn.140006c60
mov rbx, rax
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0x90]
call fcn.140006c60
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x108]
call fcn.140005680
nop
call fcn.1400032c0
mov qword [rbp + 0x78], r13
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0xb8]
call fcn.140008570
nop
lea rdx, [rbp + 0xb8]
lea rcx, [rsp + 0x68]
call fcn.1400067a0
mov rdx, rax
mov rcx, rsi
call fcn.140002e80
lea rdx, str.success
lea rcx, [rbp + 0xb8]
call fcn.1400082a0
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, r13
cmp byte [rcx], 0
je 0x140005319
lea rdx, str.contents
lea rcx, [rbp + 0xb8]
call fcn.1400082a0
nop
mov qword [rbp - 0x40], r13
movdqa xmm0, xmmword [0x140112080]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov dword [rsp + 0x78], 0xbe
cmp byte [rax], 3
jne 0x140005208
mov rdx, qword [rax + 8]
lea rax, [rbp - 0x40]
cmp rax, rdx
je 0x140005223
jmp 0x14000520b
mov rdx, r13
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140005219
mov rdx, qword [rdx]
lea rcx, [rbp - 0x40]
call fcn.1400078b0
nop
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xc8]
call fcn.1400054f0
nop
lea rcx, [rbp - 0x40]
call fcn.140006c00
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0x90]
call fcn.140006c60
mov rdi, rax
mov qword [rsp + 0x30], rax
mov rsi, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14000526b
add rsi, qword [rax]
mov r12, qword [rax]
jmp 0x140005271
add rsi, rdi
mov r12, rdi
mov qword [r14], r13
mov qword [r14 + 8], r13
mov qword [r14 + 0x10], r13
sub rsi, r12
je 0x1400052c8
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x140005379
mov rdx, rsi
mov rcx, r14
call fcn.140010db0
mov rbx, qword [r14]
mov r8, rsi
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi]
mov qword [r14 + 8], rax
mov qword [rsp + 0x40], r13
lea rcx, [rsp + 0x40]
call fcn.140010150
nop
mov rcx, rdi
call fcn.140006c00
nop
lea rcx, [rbp + 0xc8]
call fcn.140006c00
nop
movzx edx, byte [rbp + 0xb8]
lea rcx, [rbp + 0xc0]
call fcn.140007350
nop
lea rcx, [rbp + 0x108]
call fcn.140006c00
nop
lea rcx, [rbp + 0xe8]
call fcn.140006c00
nop
mov rcx, r15
call fcn.140006c00
mov rax, r14
jmp 0x14000534f
movzx edx, byte [rbp + 0xb8]
lea rcx, [rbp + 0xc0]
call fcn.140007350
nop
lea rcx, [rbp + 0x108]
call fcn.140006c00
nop
lea rcx, [rbp + 0xe8]
call fcn.140006c00
nop
mov rcx, r15
call fcn.140006c00
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.1400b7e00
mov rbx, qword [rsp + 0x288]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140007a20
nop
int3