Function at 0x14002c0c8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2b8]
sub rsp, 0x380
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1400c60c0]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov r15, r8
mov r14, rdx
mov qword [rbp - 0x70], rdx
mov r13, rcx
mov qword [rbp + 0x58], rdx
mov qword [rbp + 0xe0], r8
xor edi, edi
mov dword [rbp - 0x74], edi
call fcn.140020b50
mov dword [rsp + 0x38], 0x9fbbc292
mov dword [rsp + 0x3c], 0xd4e74100
mov word [rsp + 0x40], 0xa740
mov ecx, edi
lea edx, [rdi + 0xa]
lea r8, [0x140000000]
mov al, byte [rsp + rcx + 0x38]
xor al, byte [rcx + r8 + 0x8b270]
mov byte [rsp + rcx + 0x38], al
inc rcx
sub rdx, 1
jne 0x14002c146
mov dword [rsp + 0x30], 0x75b6db6d
mov word [rsp + 0x34], 0x6431
mov byte [rsp + 0x36], 0xa7
mov rcx, rdi
mov edx, 7
mov al, byte [rsp + rcx + 0x30]
xor al, byte [rcx + r8 + 0x8b264]
mov byte [rsp + rcx + 0x30], al
inc rcx
sub rdx, 1
jne 0x14002c17b
mov dword [rsp + 0x48], 0x1ce72cf8
mov dword [rsp + 0x4c], 0x204be0f8
mov dword [rsp + 0x50], 0xac267882
mov rcx, rdi
mov edx, recv
mov al, byte [rsp + rcx + 0x48]
xor al, byte [rcx + r8 + 0x8b258]
mov byte [rsp + rcx + 0x48], al
inc rcx
sub rdx, 1
jne 0x14002c1b4
mov dword [rsp + 0x68], 0x325e481b
mov dword [rsp + 0x6c], 0x7e2628
mov byte [rsp + 0x70], 1
mov dword [rsp + 0x78], 0x254f4749
mov dword [rsp + 0x7c], 0x3622347c
mov word [rbp - 0x80], 0x100
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x60]
call fcn.14001bab4
nop
mov r9, r15
mov r8, rax
mov dl, byte [rbp - 0x78]
lea rcx, [rbp - 0x68]
call fcn.14000f900
mov esi, reloc.WS2_32.dll_recv
lea rax, [rsp + 0x48]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], dil
jne 0x14002c22f
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x68]
call fcn.140009b40
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x48], xmm1
mov qword [rax + 0x10], rdi
mov r12d, reloc.WS2_32.dll_ntohs
mov qword [rax + 0x18], r12
mov byte [rax], dil
or esi, 0x20
lea rdx, [r13 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], r12
jbe 0x14002c28c
mov rdx, qword [rdx]
lea rcx, [rbp + 0x38]
call fcn.140009b40
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x28], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x28], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
mov byte [rax], dil
or esi, 0x40
lea rax, [rsp + 0x30]
mov r8, rbx
inc r8
cmp byte [rax + r8], dil
jne 0x14002c2c9
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x18]
call fcn.140009b40
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
mov byte [rax], dil
bts esi, 7
mov rdx, r13
cmp qword [r13 + 0x18], r12
jbe 0x14002c31a
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
lea rcx, [rbp - 8]
call fcn.140009b40
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
mov byte [rax], dil
bts esi, 8
lea rax, [rsp + 0x38]
mov r8, rbx
inc r8
cmp byte [rax + r8], dil
jne 0x14002c35c
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.140009b40
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
mov byte [rax], dil
bts esi, 9
lea rdx, [r13 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], r12
jbe 0x14002c3b1
mov rdx, qword [rdx]
lea rcx, [rbp - 0x48]
call fcn.140009b40
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x130], xmm6
movups xmm7, xmmword [rax + 0x10]
movdqu xmmword [rbp + 0x140], xmm7
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
mov byte [rax], dil
bts esi, 0xa
mov ebx, 0x1000
mov rdx, qword [rbp - 0x30]
cmp rdx, r12
jbe 0x14002c41d
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, rbx
jb 0x14002c418
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002c418
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b770
movdqa xmm0, xmmword [0x1400b8490]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], dil
mov rdx, qword [rbp - 0x10]
cmp rdx, r12
jbe 0x14002c467
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, rbx
jb 0x14002c462
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002c462
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b770
movdqa xmm0, xmmword [0x1400b8490]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], dil
mov rdx, qword [rbp + 0x10]
cmp rdx, r12
jbe 0x14002c4b1
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, rbx
jb 0x14002c4ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002c4ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b770
movdqa xmm0, xmmword [0x1400b8490]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], dil
mov rdx, qword [rbp + 0x30]
cmp rdx, r12
jbe 0x14002c4fb
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, rbx
jb 0x14002c4f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002c4f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b770
movdqa xmm0, xmmword [0x1400b8490]
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], dil
mov rdx, qword [rbp + 0x50]
cmp rdx, r12
jbe 0x14002c545
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, rbx
jb 0x14002c540
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002c540
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b770
movdqa xmm0, xmmword [0x1400b8490]
movdqu xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x38], dil
mov rdx, qword [rbp - 0x50]
cmp rdx, r12
jbe 0x14002c58f
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, rbx
jb 0x14002c58a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002c58a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b770
movdqa xmm0, xmmword [0x1400b8490]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], dil
mov rdx, qword [rbp + 0x78]
cmp rdx, r12
jbe 0x14002c5d9
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, rbx
jb 0x14002c5d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002c5d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b770
movdqa xmm0, xmmword [0x1400b8490]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], dil
lea rdx, [r13 + 0x80]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], r12
jbe 0x14002c610
mov rdx, qword [rdx]
lea rcx, [rsp + 0x48]
call fcn.14000e240
movups xmmword [rbp + 0xa0], xmm6
movups xmmword [rbp + 0xb0], xmm7
movdqa xmm0, xmmword [0x1400b8490]
movdqu xmmword [rbp + 0x140], xmm0
mov byte [rbp + 0x130], dil
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x100]
call fcn.140029e74
nop
mov qword [rbp + 0x98], rdi
mov byte [rsp + 0x20], dil
mov r9b, 1
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x120]
call fcn.14001c9bc
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x150]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x150]
call fcn.14001eb24
nop
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe8], xmm1
mov qword [rbp + 0xf8], rdi
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rbp + 0xe8]
call fcn.14001c218
nop
mov rax, qword [rbp + 0xf0]
mov r9, qword [rbp + 0xe8]
sub rax, r9
lea r8, [rbp + 0x100]
cmp qword [rbp + 0x118], r12
cmova r8, qword [rbp + 0x100]
lea rcx, [r13 + 0x258]
cmp qword [rcx + 0x18], r12
jbe 0x14002c700
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9, qword [rbp + 0x110]
mov rdx, qword [r13 + 0x268]
call fcn.140031138
mov rax, qword [rbp + 0xf0]
mov r12, qword [rbp + 0xe8]
cmp r12, rax
je 0x14002c79d
mov r14, rax
movzx edi, byte [r12]
lea rdx, [0x140022a18]
lea rcx, [rbp + 0x160]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0x30
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::fill_char____ptr64]
mov edx, 2
lea rcx, [rsp + 0x48]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov rdx, qword [rax + 8]
mov r8, qword [rax]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
call r8
mov edx, edi
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
inc r12
cmp r12, r14
jne 0x14002c733
mov r14, qword [rbp - 0x70]
xor edi, edi
lea rbx, [section..data]
mov r12d, reloc.WS2_32.dll_ntohs
cmp qword [reloc.WS2_32.dll_ntohs], r12
cmova rbx, qword [section..data]
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x168]
call fcn.14002bf24
or esi, 2
lea rdx, [rbp + 0xc0]
mov r8, qword [rbp + 0xc0]
mov r9, qword [rbp + 0xd8]
cmp r9, r12
cmova rdx, r8
sub rbx, rdx
lea r10d, [r12 - 7]
movsx ecx, byte [rbx + rdx]
movsx eax, byte [rdx]
xor ecx, eax
or edi, ecx
inc rdx
sub r10, 1
jne 0x14002c7f3
cmp r9, r12
jbe 0x14002c840
lea rdx, [r9 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x14002c838
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002c838
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14007b770
xor ebx, ebx
test edi, edi
lea rdi, [0x140000000]
je 0x14002c8cc
movdqa xmm0, xmmword [0x14008b550]
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x58], 0xc065497e
mov dword [rsp + 0x5c], 0xf3bd8e97
mov word [rsp + 0x60], 0x62de
mov byte [rsp + 0x62], Ordinal_79
mov ecx, ebx
lea edx, [rbx + 0x1b]
mov al, byte [rsp + rcx + 0x48]
xor al, byte [rcx + rdi + 0x8b280]
mov byte [rsp + rcx + 0x48], al
inc rcx
sub rdx, 1
jne 0x14002c87c
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], rbx
lea rax, [rsp + 0x48]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x14002c8ac
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x68]
call fcn.140003e60
lea rcx, [rbp - 0x68]
call fcn.140021b10
lea rdx, [rbp + 0x120]
lea rcx, [rsp + 0x48]
call fcn.1400175e0
mov rdx, rax
mov rcx, r13
call fcn.140024180
mov dword [rsp + 0x30], 0x3888ecfb
mov dword [rsp + 0x34], 0x82921bcf
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov rcx, rbx
mov edx, 8
mov al, byte [rsp + rcx + 0x30]
xor al, byte [rcx + rdi + 0x8b2a0]
mov byte [rsp + rcx + 0x30], al
inc rcx
sub rdx, 1
jne 0x14002c90a
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x120]
call fcn.14001b9dc
nop
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], r12
mov byte [r14], bl
or esi, 8
mov dword [rbp - 0x74], esi
cmp byte [rax], 3
jne 0x14002c957
mov rdx, qword [rax + 8]
jmp 0x14002c95a
mov rdx, rbx
mov rcx, r14
call fcn.140009be0
nop
mov rcx, qword [rbp + 0xe8]
mov edi, 0x1000
test rcx, rcx
je 0x14002c9b9
mov rdx, qword [rbp + 0xf8]
sub rdx, rcx
mov rax, rcx
cmp rdx, rdi
jb 0x14002c9a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002c9a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b770
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xe8], xmm0
mov qword [rbp + 0xf8], rbx
lea rcx, [rbp + 0x1e8]
call fcn.14001ed90
lea rcx, [rbp + 0x1e8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov dl, byte [rbp + 0x120]
lea rcx, [rbp + 0x128]
call fcn.14000b2e0
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, r12
jbe 0x14002ca25
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, rdi
jb 0x14002ca20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ca20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b770
mov qword [rbp + 0x110], rbx
mov qword [rbp + 0x118], r12
mov byte [rbp + 0x100], bl
mov rdx, qword [r15 + 0x18]
cmp rdx, r12
jbe 0x14002ca6a
inc rdx
mov rcx, qword [r15]
cmp rdx, rdi
jb 0x14002ca65
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002caac
mov rcx, r8
call fcn.14007b770
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], r12
mov byte [r15], bl
mov rax, r14
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.14007b750
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x58]
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3