Function at 0x180007230
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 [0x1802dc798]
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.180008970
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 0x1800072a0
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.180008210
nop
mov rdx, r12
mov rcx, rax
call fcn.180009bb0
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.1800062b0
nop
lea rdx, [rbx + 0x260]
mov rcx, rax
call fcn.180009bb0
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.180005b00
nop
mov rdx, rbx
mov rcx, rax
call fcn.180009bb0
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 0x1800073f0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.180009b20
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.180009bb0
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 0x1800074c2
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800074bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800074bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
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 0x18000751a
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007515
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007515
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
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 0x180007569
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007564
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007564
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
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 0x1800075b8
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800075b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800075b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x1800075f6
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800075f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800075f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
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 0x180007645
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000763f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000763f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x180007689
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007684
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007684
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
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.180009da0
mov r14, rax
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x30], rax
lea rdx, [rbx + 0x80]
lea rcx, [rbp + 0xc8]
call fcn.180009da0
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 0x18000773e
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x38], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x1800077ac
mov rbx, rsi
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x18000778b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180008203
mov rcx, rax
call fcn.1800b31bc
mov rcx, rax
test rax, rax
je 0x180007784
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180007799
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x180007797
call fcn.1800b31bc
jmp 0x180007799
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.180008510
nop
call fcn.180008970
mov qword [rbp + 0xb8], 0
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0xf0]
call fcn.18000b170
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x160]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x160]
call fcn.180009650
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800b31bc
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 0x18000787d
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.180018340
mov r15, rsi
cmp rsi, r14
je 0x18000790d
nop word [rax + rax]
movzx edi, byte [r15]
lea rdx, [0x180002850]
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 0x1800078b0
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 0x180007973
mov rax, qword [rbp + 0x1b8]
mov r8, qword [rax]
test r8, r8
je 0x180007973
mov rax, qword [rbp + 0x198]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x1e0]
cmovb r8, qword [rbp + 0x1e0]
sub r8, rdx
jmp 0x1800079ab
test dl, 4
jne 0x1800079a3
mov rax, qword [rbp + 0x1b0]
mov r9, qword [rax]
test r9, r9
je 0x1800079a3
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 0x1800079ab
mov r8, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
test rdx, rdx
je 0x1800079c1
lea rcx, [rbp - 0x38]
call fcn.18000a8f0
mov rdi, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x28]
lea rdx, [0x1802dc7d8]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1802dc7d8]
lea rax, [rbp - 0x38]
mov rbx, qword [rbp - 0x38]
cmp rdi, 0x10
cmovae rax, rbx
cmp rcx, qword [0x1802dc7e8]
jne 0x180007a05
mov r8, rcx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180007a05
xor r15b, r15b
jmp 0x180007a08
mov r15b, 1
cmp rdi, 0x10
jb 0x180007a42
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180007a3a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007a3a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1800b29dc
test r15b, r15b
je 0x180007a4e
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.180009720
mov rdx, rax
mov rcx, qword [rbp - 0x68]
call fcn.180003e10
movzx ecx, byte [rbp + 0xf0]
test cl, cl
jne 0x180007a9b
mov byte [rbp + 0xf0], 1
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.18000ac00
mov rbx, qword [rbp - 0x68]
mov qword [rbp + 0xf8], rbx
movzx ecx, byte [rbp + 0xf0]
jmp 0x180007aa2
mov rbx, qword [rbp + 0xf8]
xor r15d, r15d
cmp cl, 1
jne 0x180007b52
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.18000a8f0
nop
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.180013240
mov rdi, qword [rax]
add rdi, 0x40
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x180007b31
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007b2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007b2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
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 0x180007b57
mov rdi, qword [rsp + 0x30]
lea rax, [rdi + 8]
cmp byte [rdi], 4
cmovne rax, r15
cmp byte [rax], 0
je 0x180008029
mov rdi, qword [rsp + 0x30]
test cl, cl
jne 0x180007b98
mov byte [rbp + 0xf0], 1
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.18000ac00
mov rbx, qword [rbp - 0x68]
mov qword [rbp + 0xf8], rbx
movzx ecx, byte [rbp + 0xf0]
cmp cl, 1
jne 0x180007c37
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.18000a8f0
nop
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.180013240
mov rdi, qword [rax]
add rdi, 0x40
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x180007c26
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007c21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007c21
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
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 0x180007c66
mov rdx, qword [rdi + 8]
lea rax, [rbp]
cmp rax, rdx
je 0x180007c81
jmp 0x180007c69
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180007c77
mov rdx, qword [rdx]
lea rcx, [rbp]
call fcn.18000a8f0
nop
lea rdx, [rbp]
lea rcx, [rbp + 0x100]
call fcn.180008380
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x180007cd0
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007ccb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007ccb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
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 0x180007d0f
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x60], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x180007d84
mov rbx, rdi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x180007d63
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800081fd
mov rcx, rax
call fcn.1800b31bc
mov rcx, rax
test rax, rax
je 0x180007e1d
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180007d71
test rcx, rcx
je 0x180007d6f
call fcn.1800b31bc
jmp 0x180007d71
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 0x180007dab
add rdi, rcx
mov r15, rcx
jmp 0x180007db2
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 0x180007df2
mov rdx, rdi
mov rcx, r13
call fcn.18000c3c0
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 0x180007e29
lea rdx, [rbx + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007e24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007e24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
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 0x180007e7e
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007e79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007e79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
mov qword [rbp + 0x110], rbx
mov qword [rbp + 0x118], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x100], 0
test rsi, rsi
je 0x180007ed0
sub r14, rsi
cmp r14, 0x1000
jb 0x180007ec4
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x180007f7c
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.1800b29dc
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.180009590
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.18000a430
nop
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x180007f88
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007f83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007f83
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.1800b29dc
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 0x180007fe0
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007fda
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007fda
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x180008018
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x180008013
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180008022
mov rcx, r8
call fcn.1800b29dc
mov qword [r12 + 0x10], rbx
jmp 0x1800081bb
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 0x18000806e
sub r14, rsi
cmp r14, 0x1000
jb 0x180008062
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x18000811a
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.1800b29dc
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.180009590
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.18000a430
nop
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x180008126
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008121
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008121
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.1800b29dc
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 0x18000817e
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008178
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008178
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x1800081b6
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x1800081b1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800081f6
mov rcx, r8
call fcn.1800b29dc
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.1800b2f90
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.1800026e0
nop
call fcn.1800026e0
int3