Function at 0x1400852c0
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 - 0x150]
sub rsp, 0x250
mov rax, qword [0x140109140]
xor rax, rsp
mov qword [rbp + 0x148], rax
mov r12, r8
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rbp + 0xb0], r8
xor r13d, r13d
mov dword [rbp - 0x78], r13d
call fcn.14007c7a0
call fcn.140083430
mov dword [rsp + 0x30], 0x71f0840
mov dword [rsp + 0x34], 0x905190f
mov word [rsp + 0x38], 0x53
mov byte [rsp + 0x3a], 1
mov ecx, r13d
nop word [rax + rax]
lea eax, [rcx + 0x66]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x140085340
mov byte [rsp + 0x3a], 0
mov dword [rsp + 0x48], 0x4090940
mov dword [rsp + 0x4c], 0x100560f
mov dword [rbp + 0xc8], 0x1a0d1440
mov dword [rbp + 0xcc], 0x3030219
mov dword [rbp + 0xd0], 0x4d0b07
mov byte [rbp + 0xd4], 1
mov dword [rsp + 0x68], 0x5010140
mov dword [rsp + 0x6c], 0x5008020f
mov word [rsp + 0x70], 0x100
mov dword [rsp + 0x78], 0xc181e12
mov dword [rsp + 0x7c], 0x1050d57
mov word [rbp - 0x80], ntohl
mov byte [rbp - 0x7e], 1
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x30]
call fcn.140073810
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x1400853de
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.140026a10
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp + 0xc8]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x90]
call fcn.140073a10
nop
lea rdx, [rdi + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140085436
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140026a10
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x70]
call fcn.140073650
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14008547c
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140026a10
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], 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
inc r8
cmp byte [rax + r8], 0
jne 0x1400854c1
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.140026a10
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rdi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140085518
mov rdx, qword [rdx]
lea rcx, [rbp - 0x70]
call fcn.140026a10
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x128], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x138], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140085583
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008557e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008557e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e06c0
movdqa xmm0, xmmword [0x1400e6750]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400855d2
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400855cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400855cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e06c0
movdqa xmm0, xmmword [0x1400e6750]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140085624
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008561f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008561f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e06c0
movdqa xmm0, xmmword [0x1400e6750]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140085677
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140085671
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140085671
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e06c0
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x1400856bb
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400856b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400856b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e06c0
movdqa xmm0, xmmword [0x1400e6750]
movdqu xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x140085711
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008570b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008570b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e06c0
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14008574f
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008574a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008574a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e06c0
movdqa xmm0, xmmword [0x1400e6750]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
lea rax, [rbp + 0x10]
mov qword [rsp + 0x58], rax
lea rdx, [rdi + 0x80]
lea rcx, [rbp + 0x10]
call fcn.140014740
mov rbx, rax
lea rdx, [rbp + 0x128]
lea rcx, [rbp - 0x10]
call fcn.140014740
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x108]
call fcn.14008d8d0
nop
mov qword [rbp + 0x68], r13
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0xb8]
call fcn.140077700
nop
mov dword [rsp + 0x58], 0x1a1b020b
mov dword [rsp + 0x5c], 0x90c0b
mov byte [rsp + 0x60], 1
mov rcx, r13
nop dword [rax]
lea eax, [rcx + 0x66]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 7
jb 0x1400857e0
mov byte [rsp + 0x60], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x5f]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x50]
call fcn.140073250
nop
mov rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0xb8]
test cl, cl
jne 0x14008583a
mov byte [rbp + 0xb8], 1
call fcn.140075ea0
mov qword [rbp + 0xc0], rax
movzx ecx, byte [rbp + 0xb8]
jmp 0x140085841
mov rax, qword [rbp + 0xc0]
cmp cl, 1
jne 0x140085855
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.14007b420
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
movdqa xmm1, xmmword [0x1400e6750]
movdqu xmmword [rbp + 0xf8], xmm1
mov byte [rbp + 0xe8], 0
mov dword [rbp - 0x78], 0x2fe
cmp byte [rbx], 3
jne 0x140085894
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0xe8]
cmp rax, rdx
je 0x1400858b2
jmp 0x140085897
mov rdx, r13
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400858a5
mov rdx, qword [rdx]
lea rcx, [rbp + 0xe8]
call fcn.140082870
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400858f0
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400858eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400858eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e06c0
movdqa xmm0, xmmword [0x1400e6750]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0xc8]
call fcn.140079f30
mov rdx, rax
mov rcx, rdi
call fcn.14008b5e0
mov dword [rsp + 0x30], 0xa0b1215
mov dword [rsp + 0x34], 0x1f180f
mov byte [rsp + 0x38], 1
mov rcx, r13
nop word [rax + rax]
lea eax, [rcx + 0x66]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x140085940
mov byte [rsp + 0x38], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.140073250
nop
cmp byte [rbp + 0xb8], 0
jne 0x14008598c
mov byte [rbp + 0xb8], 1
call fcn.140075ea0
mov qword [rbp + 0xc0], rax
jmp 0x140085993
mov rax, qword [rbp + 0xc0]
cmp byte [rbp + 0xb8], 1
jne 0x1400859ad
lea rdx, [rbp + 0x30]
mov rcx, rax
call fcn.14007b420
mov rcx, rax
jmp 0x1400859b2
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r13
movzx ebx, byte [rax]
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x1400859fe
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400859f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400859f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e06c0
test bl, bl
je 0x140085d57
mov dword [rsp + 0x48], 0x1d060805
mov dword [rsp + 0x4c], 0x1e18050f
mov word [rsp + 0x50], 0x100
mov rcx, r13
lea eax, [rcx + 0x66]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x140085a20
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x70]
call fcn.140073250
nop
mov rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0xb8]
test cl, cl
jne 0x140085a7a
mov byte [rbp + 0xb8], 1
call fcn.140075ea0
mov qword [rbp + 0xc0], rax
movzx ecx, byte [rbp + 0xb8]
jmp 0x140085a81
mov rax, qword [rbp + 0xc0]
cmp cl, 1
jne 0x140085a95
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.14007b420
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1400e6750]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
mov dword [rbp - 0x78], 0xbdfe
cmp byte [rbx], 3
jne 0x140085ac8
mov rdx, qword [rbx + 8]
lea rax, [rbp - 0x30]
cmp rax, rdx
je 0x140085ae3
jmp 0x140085acb
mov rdx, r13
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140085ad9
mov rdx, qword [rdx]
lea rcx, [rbp - 0x30]
call fcn.140082870
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0xc8]
call fcn.140087660
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140085b32
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140085b2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140085b2d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e06c0
movdqa xmm0, xmmword [0x1400e6750]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140085b81
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140085b7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140085b7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e06c0
movdqa xmm0, xmmword [0x1400e6750]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0x30]
call fcn.140014740
mov rdi, rax
mov qword [rsp + 0x30], rax
mov rsi, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140085bbd
add rsi, qword [rax]
mov r15, qword [rax]
jmp 0x140085bc3
add rsi, rdi
mov r15, rdi
mov qword [r14], r13
mov qword [r14 + 8], r13
mov qword [r14 + 0x10], r13
sub rsi, r15
je 0x140085bf7
mov rdx, rsi
mov rcx, r14
call fcn.140081b70
mov rbx, qword [r14]
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rbx]
mov qword [r14 + 8], rax
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140085c2d
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140085c28
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140085c7b
mov rcx, r8
call fcn.1400e06c0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x140085c87
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140085c82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140085c82
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400e06c0
movdqa xmm0, xmmword [0x1400e6750]
movdqu xmmword [rbp + 0xd8], xmm0
mov byte [rbp + 0xc8], 0
mov rdx, qword [rbp + 0x100]
cmp rdx, 0xf
jbe 0x140085ce2
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140085cdd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140085cdd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e06c0
movdqa xmm0, xmmword [0x1400e6750]
movdqu xmmword [rbp + 0xf8], xmm0
mov byte [rbp + 0xe8], 0
movzx edx, byte [rbp + 0xb8]
lea rcx, [rbp + 0xc0]
call fcn.140084d40
nop
mov rdx, qword [rbp + 0x120]
cmp rdx, 0xf
jbe 0x140085dcd
inc rdx
mov rcx, qword [rbp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140085d50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140085d50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e06c0
jmp 0x140085dcd
mov qword [r14], r13
mov qword [r14 + 8], r13
mov qword [r14 + 0x10], r13
mov r8, qword [rbp + 0x100]
cmp r8, 0xf
jbe 0x140085d82
mov rdx, qword [rbp + 0xe8]
lea rcx, [rbp + 0xe8]
call fcn.1400251d0
movdqa xmm0, xmmword [0x1400e6750]
movdqu xmmword [rbp + 0xf8], xmm0
mov byte [rbp + 0xe8], 0
movzx edx, byte [rbp + 0xb8]
lea rcx, [rbp + 0xc0]
call fcn.140084d40
nop
mov r8, qword [rbp + 0x120]
cmp r8, 0xf
jbe 0x140085dcd
mov rdx, qword [rbp + 0x108]
lea rcx, [rbp + 0x108]
call fcn.1400251d0
movdqa xmm0, xmmword [0x1400e6750]
mov byte [rbp + 0x108], 0
movdqu xmmword [rbp + 0x118], xmm0
mov r8, qword [rbp + 0x140]
cmp r8, 0xf
jbe 0x140085e05
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x128]
call fcn.1400251d0
nop
mov rcx, r12
call fcn.1400265e0
mov rax, r14
mov rcx, qword [rbp + 0x148]
xor rcx, rsp
call fcn.1400e0a80
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret