Function at 0x180007010
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 - 0x290]
sub rsp, 0x390
mov rax, qword [0x1803435b8]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov r12, r8
mov r13, rdx
mov rbx, rcx
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x18], rdx
mov qword [rbp + 0xe8], r8
xor edi, edi
mov dword [rbp - 0x40], edi
call fcn.180008750
mov dword [rsp + 0x30], 0xa1b9a2ea
mov dword [rsp + 0x34], 0xb7bba3b5
mov word [rsp + 0x38], 0xe9
mov byte [rsp + 0x3a], 1
mov ecx, edi
lea eax, [rcx - 0x34]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x180007080
mov byte [rsp + 0x3a], 0
mov dword [rsp + 0x40], 0xa2afa3ea
mov dword [rsp + 0x44], 0x100ecb5
mov dword [rsp + 0x68], 0xbcabbeea
mov dword [rsp + 0x6c], 0xbdbdb8a3
mov dword [rsp + 0x70], 0xebb1bd
mov byte [rsp + 0x74], 1
mov dword [rsp + 0x48], 0xa3a7abea
mov dword [rsp + 0x4c], 0xeeb6b8b5
mov word [rsp + 0x50], 0x100
mov dword [rsp + 0x58], 0xaabeb4b8
mov dword [rsp + 0x5c], 0xbfbbb7ed
mov word [rsp + 0x60], 0xb1
mov byte [rsp + 0x62], 1
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x80]
call fcn.180007ff0
nop
mov rdx, r12
mov rcx, rax
call fcn.180009b30
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x60]
call fcn.180006090
nop
lea rdx, [rbx + 0x260]
mov rcx, rax
call fcn.180009b30
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x40]
call fcn.1800058e0
nop
mov rdx, rbx
mov rcx, rax
call fcn.180009b30
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800071d0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.180009aa0
mov qword [rbp + 0x100], rdi
mov qword [rbp + 0x110], rdi
mov qword [rbp + 0x118], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x100], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x110], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbx + 0x20]
lea rcx, [rbp + 0x100]
call fcn.180009b30
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp + 0x260], xmm0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp + 0x270], xmm0
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x1800072a2
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000729d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000729d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
mov qword [rbp + 0x110], rdi
mov qword [rbp + 0x118], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x100], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1800072fa
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800072f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800072f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x180007349
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007344
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007344
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x40], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x180007398
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007392
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007392
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x1800073d6
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800073d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800073d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
mov qword [rbp + 0x70], rdi
mov qword [rbp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x180007425
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000741f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000741f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x180007469
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007464
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007464
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
mov qword [rbp + 0x90], rdi
mov qword [rbp + 0x98], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x80], 0
lea rax, [rbp + 0x20]
mov qword [rbp + 0xc0], rax
lea rdx, [rbx + 0xa0]
lea rcx, [rbp + 0x20]
call fcn.180009d20
mov r14, rax
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x30], rax
lea rdx, [rbx + 0x80]
lea rcx, [rbp + 0xc8]
call fcn.180009d20
mov r15, rax
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rdi
lea rdi, [rbp + 0x260]
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x18], rax
movups xmm1, xmmword [rbp - 0x60]
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rcx, xmm0
mov qword [rbp - 0x10], rcx
cmp rcx, 0x10
cmovae rdi, rax
movabs rax, 0x7fffffffffffffff
movq rsi, xmm1
cmp rsi, 0x10
jae 0x18000751e
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x38], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x18000758c
mov rbx, rsi
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x18000756b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180007fe3
mov rcx, rax
call fcn.1800ef564
mov rcx, rax
test rax, rax
je 0x180007564
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180007579
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x180007577
call fcn.1800ef564
jmp 0x180007579
xor eax, eax
mov qword [rbp - 0x38], rax
lea r8, [rsi + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rbx
mov r9, r14
mov r8, r15
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x120]
call fcn.1800082f0
nop
call fcn.180008750
mov qword [rbp + 0xb8], 0
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0xf0]
call fcn.18000b300
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x160]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x160]
call fcn.180009430
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800ef564
mov rsi, rax
mov qword [rbp + 0x140], rax
lea r14, [rax + 0x20]
mov qword [rbp + 0x150], r14
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x148], r14
lea r8, [rbp + 0x120]
cmp qword [rbp + 0x138], 0x10
cmovae r8, qword [rbp + 0x120]
mov rax, qword [rbp - 0x68]
lea rcx, [rax + 0x280]
cmp qword [rcx + 0x18], 0x10
jb 0x18000765d
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp + 0x130]
mov rdx, qword [rax + 0x290]
call fcn.180018c50
mov r15, rsi
cmp rsi, r14
je 0x1800076ed
nop word [rax + rax]
movzx edi, byte [r15]
lea rdx, [0x1800026a0]
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 rax, qword [rax]
movsxd rcx, dword [rax + 4]
mov byte [rcx + rbx + 0x58], Ordinal_50
mov edx, 2
lea rcx, [rbp - 0x60]
call qword [sym.imp.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 r15
cmp r15, r14
jne 0x180007690
xor eax, eax
mov qword [rbp - 0x38], rax
mov ecx, eax
mov qword [rbp - 0x28], rax
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x20], rdi
mov byte [rbp - 0x38], al
mov dword [rbp - 0x40], 0x7c4
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
mov rdx, qword [rbp + 0x1e8]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x180007753
mov rax, qword [rbp + 0x1b8]
mov r8, qword [rax]
test r8, r8
je 0x180007753
mov rax, qword [rbp + 0x198]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x1e0]
cmovb r8, qword [rbp + 0x1e0]
sub r8, rdx
jmp 0x18000778b
test dl, 4
jne 0x180007783
mov rax, qword [rbp + 0x1b0]
mov r9, qword [rax]
test r9, r9
je 0x180007783
mov rax, qword [rbp + 0x190]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x1c8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, r9
jmp 0x18000778b
mov r8, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
test rdx, rdx
je 0x1800077a1
lea rcx, [rbp - 0x38]
call fcn.18000a920
mov rdi, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x28]
lea rdx, [0x1803435f8]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1803435f8]
lea rax, [rbp - 0x38]
mov rbx, qword [rbp - 0x38]
cmp rdi, 0x10
cmovae rax, rbx
cmp rcx, qword [0x180343608]
jne 0x1800077e5
mov r8, rcx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800077e5
xor r15b, r15b
jmp 0x1800077e8
mov r15b, 1
cmp rdi, 0x10
jb 0x180007822
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000781a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000781a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1800ef5a0
test r15b, r15b
je 0x18000782e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rdx, [rbp + 0xf0]
lea rcx, [rbp - 0x60]
call fcn.180009500
mov rdx, rax
mov rcx, qword [rbp - 0x68]
call fcn.180003c90
movzx ecx, byte [rbp + 0xf0]
test cl, cl
jne 0x18000787b
mov byte [rbp + 0xf0], 1
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.18000ac10
mov rbx, qword [rbp - 0x68]
mov qword [rbp + 0xf8], rbx
movzx ecx, byte [rbp + 0xf0]
jmp 0x180007882
mov rbx, qword [rbp + 0xf8]
xor r15d, r15d
cmp cl, 1
jne 0x180007932
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], r15b
lea r8d, [r15 + 7]
lea rdx, str.success
lea rcx, [rsp + 0x78]
call fcn.18000a920
nop
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.1800138f0
mov rdi, qword [rax]
add rdi, 0x40
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x180007911
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000790c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000790c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov rbx, qword [rbp + 0xf8]
movzx ecx, byte [rbp + 0xf0]
jmp 0x180007937
mov rdi, qword [rsp + 0x30]
lea rax, [rdi + 8]
cmp byte [rdi], 4
cmovne rax, r15
cmp byte [rax], 0
je 0x180007e09
mov rdi, qword [rsp + 0x30]
test cl, cl
jne 0x180007978
mov byte [rbp + 0xf0], 1
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.18000ac10
mov rbx, qword [rbp - 0x68]
mov qword [rbp + 0xf8], rbx
movzx ecx, byte [rbp + 0xf0]
cmp cl, 1
jne 0x180007a17
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov r8d, 8
lea rdx, str.contents
lea rcx, [rsp + 0x78]
call fcn.18000a920
nop
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.1800138f0
mov rdi, qword [rax]
add rdi, 0x40
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x180007a06
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007a01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007a01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov qword [rbp], r15
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
mov dword [rbp - 0x40], 0x7d2
cmp byte [rdi], 3
jne 0x180007a46
mov rdx, qword [rdi + 8]
lea rax, [rbp]
cmp rax, rdx
je 0x180007a61
jmp 0x180007a49
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180007a57
mov rdx, qword [rdx]
lea rcx, [rbp]
call fcn.18000a920
nop
lea rdx, [rbp]
lea rcx, [rbp + 0x100]
call fcn.180008160
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x180007ab0
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007aab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007aab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
mov rdi, qword [rbp + 0x110]
lea r15, [rbp + 0x100]
cmp qword [rbp + 0x118], 0x10
cmovae r15, qword [rbp + 0x100]
cmp rdi, 0x10
jae 0x180007aef
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x60], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x180007b64
mov rbx, rdi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x180007b43
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180007fdd
mov rcx, rax
call fcn.1800ef564
mov rcx, rax
test rax, rax
je 0x180007bfd
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180007b51
test rcx, rcx
je 0x180007b4f
call fcn.1800ef564
jmp 0x180007b51
xor eax, eax
mov qword [rbp - 0x60], rax
lea r8, [rdi + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rbx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x60]
mov rcx, qword [rbp - 0x60]
cmp rbx, 0x10
jb 0x180007b8b
add rdi, rcx
mov r15, rcx
jmp 0x180007b92
add rdi, rax
lea r15, [rbp - 0x60]
xor eax, eax
mov qword [r13], rax
mov qword [r13 + 8], rax
mov qword [r13 + 0x10], rax
sub rdi, r15
je 0x180007bd2
mov rdx, rdi
mov rcx, r13
call fcn.18000ca10
mov rbx, qword [r13]
mov r8, rdi
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rdi]
mov qword [r13 + 8], rax
mov rbx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x60]
cmp rbx, 0x10
jb 0x180007c09
lea rdx, [rbx + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007c04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007c04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
xor ebx, ebx
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], bl
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x180007c5e
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007c59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007c59
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
mov qword [rbp + 0x110], rbx
mov qword [rbp + 0x118], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x100], 0
test rsi, rsi
je 0x180007cb0
sub r14, rsi
cmp r14, 0x1000
jb 0x180007ca4
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x180007d5c
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.1800ef5a0
nop
mov rax, qword [rbp + 0x160]
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 + 0x160], rax
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x15c], edx
lea rcx, [rbp + 0x178]
call fcn.180009370
lea rcx, [rbp + 0x180]
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 + 0x1f8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
movzx edx, byte [rbp + 0xf0]
lea rcx, [rbp + 0xf8]
call fcn.18000a3b0
nop
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x180007d68
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007d63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007d63
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.1800ef5a0
mov qword [rbp + 0x130], rbx
mov qword [rbp + 0x138], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x120], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x180007dc0
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007dba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007dba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x180007df8
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x180007df3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180007e02
mov rcx, r8
call fcn.1800ef5a0
mov qword [r12 + 0x10], rbx
jmp 0x180007f9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [r13], r15
mov qword [r13 + 8], r15
mov qword [r13 + 0x10], r15
test rsi, rsi
je 0x180007e4e
sub r14, rsi
cmp r14, 0x1000
jb 0x180007e42
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x180007efa
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.1800ef5a0
nop
mov rax, qword [rbp + 0x160]
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 + 0x160], rax
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x15c], edx
lea rcx, [rbp + 0x178]
call fcn.180009370
lea rcx, [rbp + 0x180]
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 + 0x1f8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
movzx edx, byte [rbp + 0xf0]
lea rcx, [rbp + 0xf8]
call fcn.18000a3b0
nop
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x180007f06
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007f01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007f01
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.1800ef5a0
mov qword [rbp + 0x130], r15
mov qword [rbp + 0x138], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x120], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x180007f5e
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007f58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007f58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x180007f96
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x180007f91
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180007fd6
mov rcx, r8
call fcn.1800ef5a0
mov qword [r12 + 0x10], r15
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov rax, r13
mov byte [r12], 0
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.1800ef6c0
mov rbx, qword [rsp + 0x3e8]
add rsp, 0x390
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]
nop
call fcn.180002530
nop
call fcn.180002530
int3