Function at 0x140004654
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r15
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov rax, qword [0x140096980]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rbx, [0x140097740]
mov r15d, 0x1000
mov rdx, rbx
lea rcx, [rbp + 0x2f]
call fcn.14000403c
nop
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0xf
cmova rcx, qword [rbp + 0x2f]
call fcn.14000ce94
test rax, rax
jne 0x140004701
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x1400046ea
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, r15
jb 0x1400046e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000489b
call fcn.140072b14
add rbx, 0x20
lea rax, [0x1400977c0]
cmp rbx, rax
jne 0x14000468e
xor al, al
jmp 0x1400048a9
mov byte [0x1400974f0], 1
movdqa xmm0, xmmword [0x14008b400]
movdqu xmmword [rbp - 0x29], xmm0
mov dword [rbp - 0x19], 0x566650
xor ecx, ecx
mov al, byte [rbp - 0x29]
xor byte [rbp + rcx - 0x28], al
inc rcx
cmp rcx, 0x12
jb 0x14000471e
mov byte [rbp - 0x16], 0
lea rax, [rbp - 0x28]
or rdi, 0xffffffffffffffff
mov rbx, rdi
inc rbx
cmp byte [rax + rbx], 0
jne 0x14000473d
mov rax, qword [reloc.WS2_32.dll_ntohs]
cmp rbx, rax
ja 0x140004781
lea rsi, [0x140096a38]
cmp rax, 0xf
cmova rsi, qword [0x140096a38]
mov qword [0x140096a48], rbx
mov r8, rbx
lea rdx, [rbp - 0x28]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
jmp 0x140004794
lea r9, [rbp - 0x28]
mov rdx, rbx
lea rcx, [0x140096a38]
call fcn.140002c54
mov cl, 0x46
mov dword [rbp - 0x29], 0x90b1d46
mov dword [rbp - 0x25], 0x30a1302
mov word [rbp - 0x21], 0x661b
xor eax, eax
mov byte [rbp - 0x1f], al
xor byte [rbp + rax - 0x28], cl
inc rax
cmp rax, 9
jae 0x1400047c1
mov cl, byte [rbp - 0x29]
jmp 0x1400047af
mov byte [rbp - 0x1f], 0
lea rax, [rbp - 0x28]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400047c9
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x3f]
sub rax, rcx
cmp rax, rdi
jb 0x1400048d2
lea rax, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0xf
cmova rax, qword [rbp + 0x2f]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x28]
lea rcx, [rbp - 0x11]
call fcn.140002f70
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 0xf]
call fcn.140006630
nop
mov edx, 1
mov rcx, rax
call fcn.1400064a8
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x14000486d
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, r15
jb 0x140004867
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004867
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072b14
nop
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x1400048a7
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, r15
jb 0x1400048a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400048a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072b14
mov al, 1
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140072870
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400016d4
nop