Function at 0x140047d30
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x270
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1400e0068]
xor rax, rsp
mov qword [rbp + 0x148], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp + 0xd0], rdx
call fcn.140046c70
lea rcx, [rbp + 0xe8]
call fcn.140053080
nop
mov dword [rsp + 0x58], 0xa4bea7e1
mov dword [rsp + 0x5c], 0xaaa4beae
mov word [rsp + 0x60], 0xf2
mov byte [rsp + 0x62], 1
mov dword [rsp + 0x50], 0xa7a8a6e1
mov dword [rsp + 0x54], 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], 0xa3bea0e1
mov dword [rsp + 0x4c], 0x100f1af
mov dword [rsp + 0x30], 0xb3aca3e1
mov word [rsp + 0x34], 0xf6
mov byte [rsp + 0x36], 1
mov dword [rsp + 0x38], 0xafb9b1b3
mov dword [rsp + 0x3c], 0xada4a0f6
mov dword [rsp + 0x40], 0xb7a2beaa
mov word [rsp + 0x44], 0x100
xor r14d, r14d
mov ecx, r14d
nop word [rax + rax]
lea eax, [rcx - 0x39]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 5
jb 0x140047e20
mov byte [rsp + 0x36], r14b
mov qword [rbp - 0x60], r14
movdqa xmm0, xmmword [0x1400ce690]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], r14b
mov r8d, 5
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.140007e60
nop
cmp byte [rsp + 0x45], 0
je 0x140047e85
mov rcx, r14
nop dword [rax]
lea eax, [rcx - 0x39]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 0xc
jb 0x140047e70
mov byte [rsp + 0x45], 0
mov qword [rsp + 0x78], r14
movdqa xmm0, xmmword [0x1400ce690]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
mov r8d, recvfrom
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.140007e60
nop
lea r9, [rbp - 0x60]
lea r8, [rsp + 0x78]
lea rcx, [rbp + 0x10]
call fcn.14003b740
nop
lea rcx, [rsp + 0x78]
call fcn.140007de0
nop
lea rcx, [rbp - 0x60]
call fcn.140007de0
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140047ee7
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp + 0x10]
call fcn.140038d90
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r14
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x30]
call fcn.140047a60
nop
lea rdx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0x10
cmovae rdx, qword [rbp + 0xe8]
mov r8, qword [rbp + 0xf8]
mov rcx, rax
call fcn.140038d90
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xb0]
call fcn.140047c50
nop
lea rdx, [rsi + 0x268]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140047f91
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140038d90
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x90]
call fcn.140047a60
nop
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140047fd8
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.140038d90
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x70]
call fcn.140047b40
nop
lea rdx, [rsi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140048023
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140038d90
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x108], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp + 0x118], xmm7
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea rcx, [rbp + 0x70]
call fcn.140007de0
nop
lea rcx, [rbp - 0x60]
call fcn.140007de0
nop
lea rcx, [rbp + 0x90]
call fcn.140007de0
nop
lea rcx, [rsp + 0x78]
call fcn.140007de0
nop
lea rcx, [rbp + 0xb0]
call fcn.140007de0
nop
lea rcx, [rbp - 0x40]
call fcn.140007de0
nop
lea rcx, [rbp + 0x30]
call fcn.140007de0
nop
lea rcx, [rbp - 0x20]
call fcn.140007de0
nop
lea rcx, [rbp + 0x10]
call fcn.140007de0
lea rax, [rbp - 0x20]
mov qword [rbp], rax
lea rdx, [rsi + 0xa0]
lea rcx, [rbp - 0x20]
call fcn.14000a3c0
mov r12, rax
lea rax, [rbp - 0x40]
mov qword [rbp + 8], rax
lea rdx, [rsi + 0x80]
lea rcx, [rbp - 0x40]
call fcn.14000a3c0
mov r13, rax
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
lea r15, [rbp + 0x108]
movq rcx, xmm6
movdqa xmm0, xmm7
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae r15, rcx
movq r14, xmm7
cmp r14, 0x10
jae 0x140048126
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x78], xmm0
jmp 0x14004819f
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14004817d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400482c3
mov rcx, rax
call fcn.1400a2458
mov rcx, rax
test rax, rax
je 0x140048176
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14004818b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140048189
call fcn.1400a2458
jmp 0x14004818b
xor eax, eax
mov qword [rsp + 0x78], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], rbx
mov r9, r12
mov r8, r13
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x128]
call fcn.140048bc0
nop
call fcn.140046c70
xor ebx, ebx
mov qword [rbp + 0x68], rbx
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0xd8]
call fcn.14004a0e0
nop
lea rdx, [rbp + 0xd8]
lea rcx, [rsp + 0x38]
call fcn.140048e90
mov rdx, rax
mov rcx, rsi
call fcn.140046860
lea rdx, str.success
lea rcx, [rbp + 0xd8]
call fcn.140049ed0
lea rdx, [rax + 8]
cmp byte [rax], 4
cmovne rdx, rbx
cmp byte [rdx], bl
je 0x14004824c
lea rdx, str.info
lea rcx, [rbp + 0xd8]
call fcn.140049ed0
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140048e90
mov rdx, rax
mov rcx, rsi
call fcn.1400464e0
nop
movzx edx, byte [rbp + 0xd8]
lea rcx, [rbp + 0xe0]
call fcn.1400495b0
nop
lea rcx, [rbp + 0x128]
call fcn.140007de0
nop
lea rcx, [rbp + 0x108]
call fcn.140007de0
nop
lea rcx, [rbp + 0xe8]
call fcn.140007de0
nop
mov rcx, rdi
call fcn.140007de0
mov rcx, qword [rbp + 0x148]
xor rcx, rsp
call fcn.1400a2b00
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140007410
nop
int3