Function at 0x140020830
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3d8]
sub rsp, 0x4d8
mov rax, qword [0x1400ad960]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov rbx, r9
mov qword [rbp + 0x18], rbx
mov r12, r8
mov qword [rbp + 0x10], rdx
mov r14, rcx
mov qword [rbp - 8], rcx
mov qword [rbp + 0xa8], rdx
mov qword [rbp + 0x210], r8
mov qword [rbp + 0x208], rbx
mov rdi, qword [rbp + 0x440]
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x200], rdi
mov r13, qword [rbp + 0x448]
mov qword [rbp + 0x1f8], r13
xor r15d, r15d
mov dword [rsp + 0x58], r15d
call fcn.140016650
call fcn.140022fc0
mov rsi, rax
mov dword [rbp - 0x70], 0xf0eaf3bd
mov dword [rbp - 0x6c], 0xc6c8d2fa
mov word [rbp - 0x68], 0x9e
mov byte [rbp - 0x66], 1
mov dword [rsp + 0x70], 0xf3fcf2bd
mov dword [rsp + 0x74], 0x1009dfa
mov dword [rbp - 0x60], 0xedf8efbd
mov dword [rbp - 0x5c], 0xcccec9ec
mov dword [rbp - 0x58], 0x98c0ca
mov byte [rbp - 0x54], 1
mov dword [rsp + 0x60], 0xf0f2ffbd
mov dword [rsp + 0x64], 0xd2d8d4eb
mov dword [rsp + 0x68], 0x10099c6
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140020922
mov rdx, qword [rdi]
xor r8d, r8d
mov rcx, rsi
call fcn.140021af0
mov rdi, rax
mov dword [rsp + 0x78], 0xfaf2febd
mov dword [rsp + 0x7c], 0x1009de6
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14002094d
mov rdx, qword [rbx]
xor r8d, r8d
mov rcx, rsi
call fcn.140021af0
mov rbx, rax
mov dword [rbp - 0x80], 0xecfcecbd
mov dword [rbp - 0x7c], 0x9fd2cdfe
mov word [rbp - 0x78], 0x100
mov dword [rsp + 0x30], 0xfcf8ebbd
mov dword [rsp + 0x34], 0x9cc4f6
mov byte [rsp + 0x38], 1
mov dword [rbp + 0x220], 0xfbede5ef
mov dword [rbp + 0x224], 0xc0c4d7a2
mov dword [rbp + 0x228], 0xcdcacbcb
mov word [rbp + 0x22c], 0x100
mov rcx, r15
nop
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x1400209b0
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0x218]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x88]
call fcn.140001530
nop
cmp byte [rbp + 0x22d], 0
je 0x140020a0a
mov rcx, r15
nop
lea eax, [rcx - 0x65]
xor byte [rbp + rcx + 0x220], al
inc rcx
cmp rcx, 0xc
jb 0x1400209f0
mov byte [rbp + 0x22d], 0
lea r9, [rbp + 0x218]
lea r8, [rbp + 0x22c]
lea rdx, [rbp + 0x220]
lea rcx, [rbp - 0x48]
call fcn.140001530
nop
lea r9, [rbp + 0x88]
lea r8, [rbp - 0x48]
movzx edx, byte [rbp + 0x218]
lea rcx, [rbp + 0x48]
call fcn.1400135b0
nop
mov r8, qword [rbp - 0x30]
cmp r8, 0x10
jb 0x140020a60
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.140004da0
nop
mov r8, qword [rbp + 0xa0]
cmp r8, 0x10
jb 0x140020a84
inc r8
mov rdx, qword [rbp + 0x88]
lea rcx, [rbp + 0x88]
call fcn.140004da0
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x140020a93
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
lea rcx, [rbp + 0x48]
call fcn.140003d90
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x78], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0xb8]
call fcn.14000d850
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x1b8]
call fcn.14000d5a0
nop
lea r8, [rsp + 0x78]
mov rdx, rax
lea rcx, [rbp + 0x198]
call fcn.14000d770
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x178]
call fcn.14000d5a0
mov rbx, rax
cmp byte [rsp + 0x6b], 0
je 0x140020b35
mov rcx, r15
nop dword [rax + rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0xa
jb 0x140020b20
mov byte [rsp + 0x6b], 0
lea r9, [rbp + 0x218]
lea r8, [rsp + 0x6a]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x48]
call fcn.140001530
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140020b5e
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.14001b300
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], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, qword [rbp - 0x30]
cmp r8, 0x10
jb 0x140020bb3
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.140004da0
movdqa xmm0, xmmword [0x140075f40]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x140020bd2
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
lea rcx, [rbp - 0x28]
call fcn.140003d90
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x38], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x1d8]
call fcn.14000da10
nop
lea r8, [r14 + 0x238]
mov rdx, rax
lea rcx, [rbp + 0x158]
call fcn.140001ae0
nop
lea r8, [rsp + 0x70]
mov rdx, rax
lea rcx, [rbp + 0x138]
call fcn.14000d770
nop
mov r8, r14
mov rdx, rax
lea rcx, [rbp + 0x118]
call fcn.140001ae0
nop
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rbp + 0xf8]
call fcn.14000d930
nop
lea r8, [r14 + 0x20]
mov rdx, rax
lea rcx, [rbp + 0x280]
call fcn.140001ae0
nop
lea rcx, [rbp + 0xf8]
call fcn.140002e30
nop
lea rcx, [rbp + 0x118]
call fcn.140002e30
nop
lea rcx, [rbp + 0x138]
call fcn.140002e30
nop
lea rcx, [rbp + 0x158]
call fcn.140002e30
nop
lea rcx, [rbp + 0x1d8]
call fcn.140002e30
nop
lea rcx, [rbp + 0x28]
call fcn.140002e30
nop
lea rcx, [rbp - 0x28]
call fcn.140002e30
nop
lea rcx, [rbp + 0x178]
call fcn.140002e30
nop
lea rcx, [rbp + 0x198]
call fcn.140002e30
nop
lea rcx, [rbp + 0x1b8]
call fcn.140002e30
nop
lea rcx, [rbp + 0xb8]
call fcn.140002e30
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 0x10
jb 0x140020d44
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020d3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020d3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070c08
nop
lea rcx, [rbp + 0x48]
call fcn.140002e30
mov rcx, rsi
call fcn.140022fa0
lea rax, [rbp + 0x28]
mov qword [rbp + 0xb0], rax
lea rdx, [r14 + 0x80]
lea rcx, [rbp + 0x28]
call fcn.1400026d0
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
lea rsi, [rbp + 0x280]
cmp qword [rbp + 0x298], 0x10
cmovae rsi, qword [rbp + 0x280]
movabs rbx, 0x7fffffffffffffff
mov rdi, qword [rbp + 0x290]
cmp rdi, rbx
ja 0x140021864
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x140020dce
mov qword [rbp - 0x38], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x48], xmm0
jmp 0x140020e20
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x140020de9
mov rbx, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rax, rcx
cmovb rbx, rcx
mov rdx, rbx
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp - 0x48]
call fcn.140003c80
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
mov r8, r14
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x240]
call fcn.14001e2b0
nop
mov qword [rbp + 0xf0], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0xb8]
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x230]
call fcn.140010bc0
nop
mov dword [rsp + 0x30], 0xedeef9f6
mov dword [rsp + 0x34], 0xc4c7fe
mov byte [rsp + 0x38], 1
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x140020e80
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0x218]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x28]
call fcn.140001530
nop
mov rbx, qword [rsp + 0x48]
movzx ecx, byte [rbp + 0x230]
test cl, cl
jne 0x140020edc
mov byte [rbp + 0x230], 1
call fcn.14000f600
mov qword [rbp + 0x238], rax
movzx ecx, byte [rbp + 0x230]
jmp 0x140020ee3
mov rax, qword [rbp + 0x238]
cmp cl, 1
jne 0x140020ef7
lea rdx, [rbp - 0x28]
mov rcx, rax
call fcn.140014720
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x260], xmm0
movdqa xmm1, xmmword [0x140075f40]
movdqu xmmword [rbp + 0x270], xmm1
mov byte [rbp + 0x260], 0
mov dword [rsp + 0x58], 0x7fb6000
cmp byte [rbx], 3
jne 0x140020f37
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x260]
cmp rax, rdx
je 0x140020f55
jmp 0x140020f3a
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140020f48
mov rdx, qword [rdx]
lea rcx, [rbp + 0x260]
call fcn.140003e20
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140020f93
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020f8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020f8e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070c08
movdqa xmm0, xmmword [0x140075f40]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x2c0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140076238]
mov qword [rbp + 0x2c0], rax
lea rax, [0x140076240]
mov qword [rbp + 0x2d0], rax
lea rcx, [rbp + 0x358]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x58], 0x7fee000
xor r8d, r8d
lea rdx, [rbp + 0x2d8]
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x2c0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x2c0], rax
mov rax, qword [rbp + 0x2c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x2bc], edx
lea rcx, [rbp + 0x2d8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x2d8], rax
mov qword [rbp + 0x340], r15
mov dword [rbp + 0x348], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x2a0], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140070bcc
mov r14, rax
mov qword [rbp + 0x2a0], rax
lea r15, [rax + 0x20]
mov qword [rbp + 0x2b0], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x2a8], r15
lea r8, [rbp + 0x240]
cmp qword [rbp + 0x258], 0x10
cmovae r8, qword [rbp + 0x240]
mov rdi, qword [rbp - 8]
lea rcx, [rdi + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x1400210c3
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r14
mov r9, qword [rbp + 0x250]
mov rdx, qword [rdi + 0x268]
call fcn.140026620
mov rsi, r14
cmp r14, r15
je 0x140021158
nop dword [rax]
movzx edi, byte [rsi]
lea rdx, [0x140019eb0]
lea rcx, [rbp + 0x2d0]
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, [rbp + 0x220]
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 rsi
cmp rsi, r15
jne 0x1400210f0
mov rdi, qword [rbp - 8]
lea rbx, [0x1400ad8c0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rbx, qword [0x1400ad8c0]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x2c0]
call fcn.1400205a0
cmp qword [rax + 0x18], 0x10
jb 0x140021190
mov rax, qword [rax]
nop dword [rax]
movd xmm2, dword [rax]
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
psrad xmm2, 0x18
movd xmm0, dword [rbx]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
pxor xmm2, xmm0
movd xmm1, dword [rax + 4]
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
psrad xmm1, 0x18
movd xmm0, dword [rbx + 4]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
pxor xmm1, xmm0
por xmm1, xmm2
movdqa xmm0, xmm1
psrldq xmm0, 8
por xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
por xmm1, xmm0
movd ebx, xmm1
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x14002123e
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021239
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021239
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070c08
test ebx, ebx
je 0x140021264
lea r8, [rbp + 0x260]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp + 0xb8]
call fcn.14000d610
mov rcx, rax
call fcn.140018e20
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x220]
call fcn.1400132a0
mov rdx, rax
mov rcx, rdi
call fcn.14001c800
mov dword [rsp + 0x30], 0xeeeef9e9
mov dword [rsp + 0x34], 0xc7d2cef0
mov word [rsp + 0x38], 0x100
xor ecx, ecx
nop dword [rax + rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 8
jb 0x1400212a0
mov byte [rsp + 0x39], 0
lea r9, [rbp + 0x218]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.140001530
mov dword [rsp + 0x58], 0x7fee030
movzx ecx, byte [rbp + 0x230]
test cl, cl
jne 0x1400212fe
mov byte [rbp + 0x230], 1
call fcn.14000f600
mov qword [rbp + 0x238], rax
movzx ecx, byte [rbp + 0x230]
jmp 0x140021305
mov rax, qword [rbp + 0x238]
cmp cl, 1
jne 0x140021318
lea rdx, [rbp - 0x48]
mov rcx, rax
call fcn.140014720
jmp 0x14002131d
mov rax, qword [rsp + 0x48]
cmp byte [rax], 0
je 0x1400213d6
mov dword [rsp + 0x48], 0xeeeef9e9
mov dword [rsp + 0x4c], 0xc7d2cef0
mov word [rsp + 0x50], 0x100
xor ecx, ecx
nop
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x140021340
mov byte [rsp + 0x51], 0
lea r9, [rbp + 0x218]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x28]
call fcn.140001530
nop
mov dword [rsp + 0x58], 0x7fee331
movzx ecx, byte [rbp + 0x230]
test cl, cl
jne 0x14002139f
mov byte [rbp + 0x230], 1
call fcn.14000f600
mov qword [rbp + 0x238], rax
movzx ecx, byte [rbp + 0x230]
jmp 0x1400213a6
mov rax, qword [rbp + 0x238]
cmp cl, 1
jne 0x1400213b9
lea rdx, [rbp - 0x28]
mov rcx, rax
call fcn.140014720
jmp 0x1400213be
mov rax, qword [rsp + 0x48]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.1400132a0
nop
mov ebx, 0x7fee333
movzx esi, byte [rbp]
jmp 0x140021439
mov word [rsp + 0x40], 0x100
mov sil, 3
mov byte [rbp], sil
xorps xmm0, xmm0
movups xmmword [rbp + 0x220], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140070bcc
mov rbx, rax
lea rax, [rbp + 0x218]
mov qword [rbp + 0x220], rax
mov qword [rbp + 0x228], rbx
mov byte [rsp + 0x41], 0
lea r9, [rbp - 0x50]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140001530
nop
mov qword [rbp + 8], rbx
lea rax, [rbp]
mov ebx, 0x7feec34
xorps xmm0, xmm0
mov rdi, qword [rbp + 0x10]
movups xmmword [rdi], xmm0
xor ecx, ecx
mov qword [rdi + 0x10], rcx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], cl
bts ebx, 7
mov dword [rsp + 0x58], ebx
cmp byte [rax], 3
jne 0x140021466
mov rdx, qword [rax + 8]
jmp 0x140021469
mov rdx, rcx
cmp rdi, rdx
je 0x140021484
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14002147c
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.140003e20
btr ebx, 7
or ebx, 0x48
test bl, 4
je 0x1400214a1
and ebx, 0xfffffffb
movzx edx, sil
lea rcx, [rbp + 8]
call fcn.140018290
nop
test bl, 2
je 0x1400214b7
and ebx, 0xfffffffd
movzx edx, byte [rbp - 0x60]
lea rcx, [rbp - 0x58]
call fcn.140018290
nop
test bl, 1
je 0x14002150b
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400214fa
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400214f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400214f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070c08
movdqa xmm0, xmmword [0x140075f40]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140021549
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021544
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021544
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070c08
movdqa xmm0, xmmword [0x140075f40]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
test r14, r14
je 0x140021593
sub r15, r14
cmp r15, 0x1000
jb 0x140021587
add r15, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x14002162b
mov r14, rcx
mov rdx, r15
mov rcx, r14
call fcn.140070c08
nop
mov rax, qword [rbp + 0x2c0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x2c0], rax
mov rax, qword [rbp + 0x2c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x2bc], edx
lea rcx, [rbp + 0x2d8]
call fcn.140002e90
lea rcx, [rbp + 0x2e0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x358]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x278]
cmp rdx, 0x10
jb 0x140021638
inc rdx
mov rcx, qword [rbp + 0x260]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021632
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021632
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.140070c08
nop
movzx edx, byte [rbp + 0x230]
lea rcx, [rbp + 0x238]
call fcn.140018290
nop
mov rdx, qword [rbp + 0x258]
cmp rdx, 0x10
jb 0x140021690
inc rdx
mov rcx, qword [rbp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002168b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002168b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070c08
xor esi, esi
mov qword [rbp + 0x250], rsi
mov qword [rbp + 0x258], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x240], sil
mov rax, qword [rbp + 0x298]
cmp rax, 0x10
jb 0x1400216f1
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x280]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400216eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400216eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070c08
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x14002172d
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x140021728
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140021848
mov rcx, r8
call fcn.140070c08
mov qword [r12 + 0x10], rsi
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r12], 0
mov rbx, qword [rbp + 0x18]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14002177e
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140021779
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002184f
mov rcx, r8
call fcn.140070c08
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rbx, qword [rbp + 0x20]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400217cb
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400217c6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140021856
mov rcx, r8
call fcn.140070c08
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x140021811
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x14002180c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002185d
mov rcx, r8
call fcn.140070c08
mov qword [r13 + 0x10], rsi
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r13], 0
mov rax, rdi
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.140071140
add rsp, 0x4d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
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 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.140003c40
int3