Function at 0x140020e04
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2b8]
sub rsp, 0x390
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1400c60c0]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rbx, rcx
xor r13d, r13d
call fcn.140020b50
lea rcx, [rbp + 0x140]
call fcn.140030e98
nop
mov dword [rsp + 0x40], 0xd8f8aed6
mov dword [rsp + 0x44], 0xd7ab17c6
mov word [rsp + 0x48], 0x9abb
mov ecx, r13d
lea edx, [r13 + 0xa]
lea r8, [0x140000000]
mov al, byte [rsp + rcx + 0x40]
xor al, byte [rcx + r8 + 0x8b1e8]
mov byte [rsp + rcx + 0x40], al
inc rcx
sub rdx, 1
jne 0x140020e80
mov dword [rsp + 0x38], 0xd9e67f12
or rsi, 0xffffffffffffffff
mov byte [rsp + 0x3c], sil
mov word [rsp + 0x3d], 0x5417
mov rcx, r13
lea edx, [rsi + 8]
mov al, byte [rsp + rcx + 0x38]
xor al, byte [rcx + r8 + 0x8b1dc]
mov byte [rsp + rcx + 0x38], al
inc rcx
sub rdx, 1
jne 0x140020eb7
mov dword [rsp + 0x78], 0x782c7334
mov dword [rsp + 0x7c], 0xb42034cf
mov dword [rbp - 0x80], 0x569c0623
mov rcx, r13
mov edx, recv
mov al, byte [rsp + rcx + 0x78]
xor al, byte [rcx + r8 + 0x8b1d0]
mov byte [rsp + rcx + 0x78], al
inc rcx
sub rdx, 1
jne 0x140020eef
lea r12d, [rdx + 0x1b]
mov dword [rsp + 0x30], 0x2948561b
mov dword [rsp + 0x34], 0x1007f25
movdqa xmm0, xmmword [str.IGO__________sJl_5_v__4___]
movdqu xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x68], 0x3b3d24
mov byte [rsp + 0x6c], 1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x58]
call fcn.14001bd54
nop
lea r9, [rbp + 0x140]
mov r8, rax
mov dl, byte [rsp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.14000f900
nop
lea rax, [rsp + 0x78]
mov r8, rsi
inc r8
cmp byte [rax + r8], r13b
jne 0x140020f6b
lea rdx, [rsp + 0x78]
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], r13
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rax + 0x18], rdi
mov byte [rax], r13b
lea rdx, [rbx + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], rdi
jbe 0x140020fc4
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], r13
mov qword [rax + 0x18], rdi
mov byte [rax], r13b
lea rax, [rsp + 0x38]
mov r8, rsi
inc r8
cmp byte [rax + r8], r13b
jne 0x140020ffe
lea rdx, [rsp + 0x38]
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], r13
mov qword [rax + 0x18], rdi
mov byte [rax], r13b
mov rdx, rbx
cmp qword [rbx + 0x18], rdi
jbe 0x14002104a
mov rdx, qword [rbx]
mov r8, qword [rbx + 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], r13
mov qword [rax + 0x18], rdi
mov byte [rax], r13b
lea rax, [rsp + 0x40]
mov r8, rsi
inc r8
cmp byte [rax + r8], r13b
jne 0x140021088
lea rdx, [rsp + 0x40]
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], r13
mov qword [rax + 0x18], rdi
mov byte [rax], r13b
lea rdx, [rbx + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], rdi
jbe 0x1400210d9
mov rdx, qword [rdx]
lea rcx, [rbp - 0x48]
call fcn.140009b40
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x120], xmm6
movups xmm7, xmmword [rax + 0x10]
movdqu xmmword [rbp + 0x130], xmm7
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], rdi
mov byte [rax], r13b
mov r14d, 0x1000
mov rdx, qword [rbp - 0x30]
cmp rdx, rdi
jbe 0x140021142
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, r14
jb 0x14002113d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002113d
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], r13b
mov rdx, qword [rbp - 0x10]
cmp rdx, rdi
jbe 0x14002118c
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, r14
jb 0x140021187
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021187
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], r13b
mov rdx, qword [rbp + 0x10]
cmp rdx, rdi
jbe 0x1400211d6
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, r14
jb 0x1400211d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400211d1
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], r13b
mov rdx, qword [rbp + 0x30]
cmp rdx, rdi
jbe 0x140021220
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, r14
jb 0x14002121b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002121b
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], r13b
mov rdx, qword [rbp + 0x50]
cmp rdx, rdi
jbe 0x14002126a
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, r14
jb 0x140021265
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021265
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], r13b
mov rdx, qword [rbp - 0x50]
cmp rdx, rdi
jbe 0x1400212b4
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, r14
jb 0x1400212af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400212af
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], r13b
mov rdx, qword [rbp + 0x70]
cmp rdx, rdi
jbe 0x1400212fe
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, r14
jb 0x1400212f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400212f9
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 + 0x68], xmm0
mov byte [rbp + 0x58], r13b
lea rdx, [rbx + 0x80]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], rdi
jbe 0x140021333
mov rdx, qword [rdx]
lea rcx, [rsp + 0x78]
call fcn.14000e240
movups xmmword [rbp + 0x98], xmm6
movups xmmword [rbp + 0xa8], xmm7
movdqa xmm0, xmmword [0x1400b8490]
movdqu xmmword [rbp + 0x130], xmm0
mov byte [rbp + 0x120], r13b
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0xf0]
call fcn.140029e74
nop
mov qword [rbp + 0x90], r13
mov byte [rsp + 0x20], r13b
mov r9b, 1
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x110]
call fcn.14001c9bc
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x160]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x160]
call fcn.14001eb24
nop
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd8], xmm1
mov qword [rbp + 0xe8], r13
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rbp + 0xd8]
call fcn.14001c218
nop
mov rax, qword [rbp + 0xe0]
mov r9, qword [rbp + 0xd8]
sub rax, r9
lea r8, [rbp + 0xf0]
cmp qword [rbp + 0x108], rdi
cmova r8, qword [rbp + 0xf0]
lea rcx, [rbx + 0x258]
cmp qword [rcx + 0x18], rdi
jbe 0x140021423
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9, qword [rbp + 0x100]
mov rdx, qword [rbx + 0x268]
call fcn.140031138
mov r15, qword [rbp + 0xe0]
mov r14, qword [rbp + 0xd8]
cmp r14, r15
je 0x1400214bb
movzx edi, byte [r14]
lea rdx, [0x140022a18]
lea rcx, [rbp + 0x170]
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 rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
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 + 0x78]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov r8, qword [rax]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
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 r14
cmp r14, r15
jne 0x140021453
mov edi, reloc.WS2_32.dll_ntohs
lea rbx, [section..data]
cmp qword [reloc.WS2_32.dll_ntohs], rdi
cmova rbx, qword [section..data]
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x178]
call fcn.14002bf24
lea rdx, [rbp + 0xb8]
mov r8, qword [rbp + 0xb8]
mov r9, qword [rbp + 0xd0]
cmp r9, rdi
cmova rdx, r8
mov edi, r13d
sub rbx, rdx
mov r14d, 8
mov r10d, r14d
movsx ecx, byte [rbx + rdx]
movsx eax, byte [rdx]
xor ecx, eax
or edi, ecx
inc rdx
sub r10, 1
jne 0x14002150f
lea r15d, [r10 + 0xf]
cmp r9, r15
jbe 0x140021560
lea rdx, [r9 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x140021558
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021558
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14007b770
lea rbx, [0x140000000]
test edi, edi
je 0x1400215e7
movdqa xmm0, xmmword [0x14008b450]
movdqu xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x68], 0x13a4b30e
mov dword [rsp + 0x6c], 0x751d1280
mov word [rsp + 0x70], 0x8d52
mov byte [rsp + 0x72], Ordinal_46
mov rcx, r13
mov al, byte [rsp + rcx + 0x58]
xor al, byte [rcx + rbx + 0x8b1f8]
mov byte [rsp + rcx + 0x58], al
inc rcx
sub r12, 1
jne 0x140021598
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
lea rax, [rsp + 0x58]
inc rsi
cmp byte [rax + rsi], r13b
jne 0x1400215c4
mov r8, rsi
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.140003e60
lea rcx, [rbp - 0x68]
call fcn.140021b10
mov dword [rsp + 0x30], 0xb907be55
mov dword [rsp + 0x34], 0xbc03e9b2
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov rcx, r13
mov al, byte [rsp + rcx + 0x30]
xor al, byte [rcx + rbx + 0x8b218]
mov byte [rsp + rcx + 0x30], al
inc rcx
sub r14, 1
jne 0x140021604
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x110]
call fcn.14001b9dc
lea rcx, [rax + 8]
mov rdx, r13
cmp byte [rax], 4
cmove rdx, rcx
mov bl, byte [rdx]
mov rcx, qword [rbp + 0xd8]
mov edi, 0x1000
test rcx, rcx
je 0x140021693
mov rdx, qword [rbp + 0xe8]
sub rdx, rcx
mov rax, rcx
cmp rdx, rdi
jb 0x14002167c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002167c
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 + 0xd8], xmm0
mov qword [rbp + 0xe8], r13
lea rcx, [rbp + 0x1f8]
call fcn.14001ed90
lea rcx, [rbp + 0x1f8]
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 + 0x110]
lea rcx, [rbp + 0x118]
call fcn.14000b2e0
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, r15
jbe 0x1400216ff
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, rdi
jb 0x1400216fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400216fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b770
mov qword [rbp + 0x100], r13
mov qword [rbp + 0x108], r15
mov byte [rbp + 0xf0], r13b
mov rdx, qword [rbp + 0x158]
cmp rdx, r15
jbe 0x140021753
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, rdi
jb 0x14002174e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002174e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b770
mov al, bl
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14007b750
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret