Function at 0x180007940
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 [0x1802ee528]
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.180009080
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 0x1800079b0
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.180008920
nop
mov rdx, r12
mov rcx, rax
call fcn.18000a360
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.180005dc0
nop
lea rdx, [rbx + 0x260]
mov rcx, rax
call fcn.18000a360
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.180005610
nop
mov rdx, rbx
mov rcx, rax
call fcn.18000a360
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 0x180007b00
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.18000a2d0
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.18000a360
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 0x180007bd2
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007bcd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007bcd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180106b84
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 0x180007c2a
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007c25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007c25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180106b84
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 0x180007c79
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007c74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007c74
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180106b84
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 0x180007cc8
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007cc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007cc2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180106b84
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x180007d06
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007d01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007d01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180106b84
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 0x180007d55
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007d4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007d4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180106b84
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x180007d99
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007d94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007d94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180106b84
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.18000a550
mov r14, rax
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x30], rax
lea rdx, [rbx + 0x80]
lea rcx, [rbp + 0xc8]
call fcn.18000a550
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 0x180007e4e
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x38], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x180007ebc
mov rbx, rsi
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x180007e9b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180008913
mov rcx, rax
call fcn.180106c6c
mov rcx, rax
test rax, rax
je 0x180007e94
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180007ea9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x180007ea7
call fcn.180106c6c
jmp 0x180007ea9
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.180008c20
nop
call fcn.180009080
mov qword [rbp + 0xb8], 0
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0xf0]
call fcn.18000ba10
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x160]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x160]
call fcn.180009d60
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.180106c6c
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 0x180007f8d
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.180018ac0
mov r15, rsi
cmp rsi, r14
je 0x18000801d
nop word [rax + rax]
movzx edi, byte [r15]
lea rdx, [0x180002450]
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 0x180007fc0
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 0x180008083
mov rax, qword [rbp + 0x1b8]
mov r8, qword [rax]
test r8, r8
je 0x180008083
mov rax, qword [rbp + 0x198]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x1e0]
cmovb r8, qword [rbp + 0x1e0]
sub r8, rdx
jmp 0x1800080bb
test dl, 4
jne 0x1800080b3
mov rax, qword [rbp + 0x1b0]
mov r9, qword [rax]
test r9, r9
je 0x1800080b3
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 0x1800080bb
mov r8, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
test rdx, rdx
je 0x1800080d1
lea rcx, [rbp - 0x38]
call fcn.18000b0f0
mov rdi, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x28]
lea rdx, [0x1802ee568]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1802ee568]
lea rax, [rbp - 0x38]
mov rbx, qword [rbp - 0x38]
cmp rdi, 0x10
cmovae rax, rbx
cmp rcx, qword [0x1802ee578]
jne 0x180008115
mov r8, rcx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180008115
xor r15b, r15b
jmp 0x180008118
mov r15b, 1
cmp rdi, 0x10
jb 0x180008152
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000814a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000814a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180106b84
test r15b, r15b
je 0x18000815e
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.180009e30
mov rdx, rax
mov rcx, qword [rbp - 0x68]
call fcn.180003a40
movzx ecx, byte [rbp + 0xf0]
test cl, cl
jne 0x1800081ab
mov byte [rbp + 0xf0], 1
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.18000b3e0
mov rbx, qword [rbp - 0x68]
mov qword [rbp + 0xf8], rbx
movzx ecx, byte [rbp + 0xf0]
jmp 0x1800081b2
mov rbx, qword [rbp + 0xf8]
xor r15d, r15d
cmp cl, 1
jne 0x180008262
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.18000b0f0
nop
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.180013b40
mov rdi, qword [rax]
add rdi, 0x40
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x180008241
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000823c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000823c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180106b84
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 0x180008267
mov rdi, qword [rsp + 0x30]
lea rax, [rdi + 8]
cmp byte [rdi], 4
cmovne rax, r15
cmp byte [rax], 0
je 0x180008739
mov rdi, qword [rsp + 0x30]
test cl, cl
jne 0x1800082a8
mov byte [rbp + 0xf0], 1
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.18000b3e0
mov rbx, qword [rbp - 0x68]
mov qword [rbp + 0xf8], rbx
movzx ecx, byte [rbp + 0xf0]
cmp cl, 1
jne 0x180008347
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.18000b0f0
nop
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.180013b40
mov rdi, qword [rax]
add rdi, 0x40
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x180008336
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008331
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008331
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180106b84
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 0x180008376
mov rdx, qword [rdi + 8]
lea rax, [rbp]
cmp rax, rdx
je 0x180008391
jmp 0x180008379
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180008387
mov rdx, qword [rdx]
lea rcx, [rbp]
call fcn.18000b0f0
nop
lea rdx, [rbp]
lea rcx, [rbp + 0x100]
call fcn.180008a90
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x1800083e0
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800083db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800083db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180106b84
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 0x18000841f
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x60], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x180008494
mov rbx, rdi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x180008473
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18000890d
mov rcx, rax
call fcn.180106c6c
mov rcx, rax
test rax, rax
je 0x18000852d
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180008481
test rcx, rcx
je 0x18000847f
call fcn.180106c6c
jmp 0x180008481
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 0x1800084bb
add rdi, rcx
mov r15, rcx
jmp 0x1800084c2
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 0x180008502
mov rdx, rdi
mov rcx, r13
call fcn.18000d1d0
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 0x180008539
lea rdx, [rbx + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008534
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008534
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180106b84
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 0x18000858e
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008589
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008589
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180106b84
mov qword [rbp + 0x110], rbx
mov qword [rbp + 0x118], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x100], 0
test rsi, rsi
je 0x1800085e0
sub r14, rsi
cmp r14, 0x1000
jb 0x1800085d4
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x18000868c
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.180106b84
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.180009ca0
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.18000ab50
nop
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x180008698
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008693
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008693
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.180106b84
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 0x1800086f0
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800086ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800086ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180106b84
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x180008728
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x180008723
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180008732
mov rcx, r8
call fcn.180106b84
mov qword [r12 + 0x10], rbx
jmp 0x1800088cb
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 0x18000877e
sub r14, rsi
cmp r14, 0x1000
jb 0x180008772
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x18000882a
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.180106b84
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.180009ca0
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.18000ab50
nop
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x180008836
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008831
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008831
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.180106b84
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 0x18000888e
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008888
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008888
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180106b84
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x1800088c6
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x1800088c1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180008906
mov rcx, r8
call fcn.180106b84
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.180106c20
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.1800022e0
nop
call fcn.1800022e0
int3