Function at 0x180245be0
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 - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [0x1802f40c0]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov r13, r8
mov r12, rdx
mov rbx, rcx
mov qword [rbp - 0x48], rcx
mov qword [rbp + 0x108], rdx
mov qword [rbp + 0x110], r8
xor r15d, r15d
mov dword [rsp + 0x48], r15d
cmp byte [0x1803776b8], r15b
jne 0x180245c77
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x170], r15
mov qword [rbp + 0x178], r15
lea r8d, [r15 + 0x52]
lea rdx, str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
lea rcx, [rbp + 0x160]
call fcn.180125a30
lea rcx, [rbp + 0x160]
call fcn.180241e20
lea rcx, [rbp + 0x1a0]
call fcn.18024e9f0
nop
mov dword [rsp + 0x60], 0xc0dac38d
mov dword [rsp + 0x64], 0xd6d8c2ca
mov word [rsp + 0x68], Ordinal_143
mov byte [rsp + 0x6a], 1
mov dword [rsp + 0x50], 0xc3ccc28d
mov dword [rsp + 0x54], 0x1008dca
mov dword [rbp - 0x80], 0xddc8df8d
mov dword [rbp - 0x7c], 0xdcded9dc
mov dword [rbp - 0x78], 0x88d0da
mov byte [rbp - 0x74], 1
mov dword [rsp + 0x58], 0xc7dac48d
mov dword [rsp + 0x5c], 0x1008dcb
mov dword [rsp + 0x48], 0xddccdc8d
mov dword [rsp + 0x4c], 0x1008ddc
mov dword [rsp + 0x70], 0xcbded98d
mov dword [rsp + 0x74], 0xdfd0dedd
mov dword [rsp + 0x78], 0x10089d6
mov dword [rbp + 0x148], 0xcbddd5df
mov dword [rbp + 0x14c], 0xd5dedc92
mov dword [rbp + 0x150], 0x100dada
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x148]
lea rcx, [rbp - 0x40]
call fcn.1802386b0
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x180245d44
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.1800268f0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0xe0]
call fcn.180238410
nop
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x180245d93
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
mov rcx, rax
call fcn.1800268f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0xa0]
call fcn.180238410
nop
lea rdx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0x10
cmovae rdx, qword [rbp + 0x1a0]
mov r8, qword [rbp + 0x1b0]
mov rcx, rax
call fcn.1800268f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x90], 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 + 0x80]
lea rcx, [rbp + 0x60]
call fcn.1802387d0
nop
lea rdx, [rbx + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180245e50
mov rdx, qword [rdx]
mov rcx, rax
call fcn.1800268f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.180238410
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180245e96
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.1800268f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x128], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x138], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x128]
lea rcx, [rbp]
call fcn.1802385d0
nop
lea rdx, [rbx + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180245eee
mov rdx, qword [rdx]
mov rcx, rax
call fcn.1800268f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x160], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x170], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, qword [rbp + 0x18]
cmp r8, 0x10
jb 0x180245f34
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.180026b40
movdqa xmm0, xmmword [0x1802baae0]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
mov r8, qword [rbp + 0x140]
cmp r8, 0x10
jb 0x180245f69
inc r8
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x128]
call fcn.180026b40
nop
mov r8, qword [rbp + 0x38]
cmp r8, 0x10
jb 0x180245f83
inc r8
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.180026b40
movdqa xmm0, xmmword [0x1802baae0]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
mov r8, qword [rbp + 0x58]
cmp r8, 0x10
jb 0x180245faf
inc r8
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.180026b40
nop
mov r8, qword [rbp + 0x78]
cmp r8, 0x10
jb 0x180245fc9
inc r8
mov rdx, qword [rbp + 0x60]
lea rcx, [rbp + 0x60]
call fcn.180026b40
movdqa xmm0, xmmword [0x1802baae0]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov r8, qword [rbp + 0x98]
cmp r8, 0x10
jb 0x180245ffe
inc r8
mov rdx, qword [rbp + 0x80]
lea rcx, [rbp + 0x80]
call fcn.180026b40
nop
mov r8, qword [rbp + 0xb8]
cmp r8, 0x10
jb 0x180246021
inc r8
mov rdx, qword [rbp + 0xa0]
lea rcx, [rbp + 0xa0]
call fcn.180026b40
movdqa xmm0, xmmword [0x1802baae0]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
mov r8, qword [rbp + 0xd8]
cmp r8, 0x10
jb 0x18024605c
inc r8
mov rdx, qword [rbp + 0xc0]
lea rcx, [rbp + 0xc0]
call fcn.180026b40
nop
mov r8, qword [rbp + 0xf8]
cmp r8, 0x10
jb 0x18024607f
inc r8
mov rdx, qword [rbp + 0xe0]
lea rcx, [rbp + 0xe0]
call fcn.180026b40
movdqa xmm0, xmmword [0x1802baae0]
movdqu xmmword [rbp + 0xf0], xmm0
mov byte [rbp + 0xe0], 0
mov r8, qword [rbp - 0x50]
cmp r8, 0x10
jb 0x1802460b1
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.180026b40
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1802460ef
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802460ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802460ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
movdqa xmm0, xmmword [0x1802baae0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
lea rax, [rbp - 0x68]
mov qword [rbp + 0x100], rax
lea rdx, [rbx + 0x80]
lea rcx, [rbp - 0x68]
call fcn.1801193c0
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x128], xmm0
mov qword [rbp + 0x138], r15
mov qword [rbp + 0x140], r15
lea rsi, [rbp + 0x160]
cmp qword [rbp + 0x178], 0x10
cmovae rsi, qword [rbp + 0x160]
movabs rbx, 0x7fffffffffffffff
mov rdi, qword [rbp + 0x170]
cmp rdi, rbx
ja 0x180246a2c
mov qword [rbp + 0x140], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x180246196
mov qword [rbp + 0x138], rdi
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rsi
lea rcx, [rbp + 0x128]
call sub.VCRUNTIME140.dll_memmove
jmp 0x1802461f4
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x1802461b1
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 + 0x128]
call fcn.1800274a0
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x138], rdi
mov qword [rbp + 0x140], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
mov r8, r14
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0x180]
call fcn.180247d90
nop
mov qword [rbp - 8], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x118]
call fcn.18023b810
nop
mov dword [rsp + 0x30], 0xdddec9c6
mov dword [rsp + 0x34], 0xd4d7ce
mov byte [rsp + 0x38], 1
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x55]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x180246250
mov byte [rsp + 0x38], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.18012e260
nop
mov rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0x118]
test cl, cl
jne 0x1802462aa
mov byte [rbp + 0x118], 1
call fcn.18023a080
mov qword [rbp + 0x120], rax
movzx ecx, byte [rbp + 0x118]
jmp 0x1802462b1
mov rax, qword [rbp + 0x120]
cmp cl, 1
jne 0x1802462c5
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.18023efe0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x128], xmm0
movdqa xmm1, xmmword [0x1802baae0]
movdqu xmmword [rbp + 0x138], xmm1
mov byte [rbp + 0x128], 0
mov dword [rsp + 0x48], 0x1fd80
cmp byte [rbx], 3
jne 0x180246305
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x128]
cmp rax, rdx
je 0x180246323
jmp 0x180246308
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180246316
mov rdx, qword [rdx]
lea rcx, [rbp + 0x128]
call fcn.18011d230
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x180246361
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18024635c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18024635c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
movdqa xmm0, xmmword [0x1802baae0]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x1c0]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x1c0]
call fcn.18023e2d0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x148], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1802996d0
mov rsi, rax
mov qword [rbp + 0x148], rax
lea r15, [rax + 0x20]
mov qword [rbp + 0x158], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x150], r15
lea r8, [rbp + 0x180]
cmp qword [rbp + 0x198], 0x10
cmovae r8, qword [rbp + 0x180]
mov rdi, qword [rbp - 0x48]
lea rcx, [rdi + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x1802463fe
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp + 0x190]
mov rdx, qword [rdi + 0x268]
call fcn.18024ee60
mov r14, rsi
cmp rsi, r15
je 0x180246490
nop word [rax + rax]
movzx edi, byte [r14]
lea rdx, [0x180243980]
lea rcx, [rbp + 0x1d0]
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 rdx, dword [rcx + 4]
mov byte [rdx + rax + 0x58], Ordinal_50
mov edx, 2
lea rcx, [rbp - 0x80]
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 0x180246430
mov rdi, qword [rbp - 0x48]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
movdqa xmm1, xmmword [0x1802baae0]
movdqu xmmword [rbp - 0x58], xmm1
mov byte [rbp - 0x68], 0
mov dword [rsp + 0x48], 0x1fb82
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
mov rcx, qword [rbp + 0x248]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1802464f6
mov rax, qword [rbp + 0x218]
mov r8, qword [rax]
test r8, r8
je 0x1802464f6
mov rax, qword [rbp + 0x1f8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x240]
cmovb r8, qword [rbp + 0x240]
sub r8, rdx
jmp 0x18024652e
test cl, 4
jne 0x180246526
mov rax, qword [rbp + 0x210]
mov rcx, qword [rax]
test rcx, rcx
je 0x180246526
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x228]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x18024652e
mov r8, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
test rdx, rdx
je 0x18024653d
lea rcx, [rbp - 0x68]
call fcn.18011d230
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x18024657b
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180246576
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180246576
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
lea rdx, [rbp + 0x118]
lea rcx, [rbp - 0x80]
call fcn.18023dfc0
mov rdx, rax
mov rcx, rdi
call fcn.180245660
mov dword [rsp + 0x30], 0xcdced9d8
mov dword [rsp + 0x34], 0xc2c3ca
mov byte [rsp + 0x38], 1
xor r14d, r14d
mov ecx, r14d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x55]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x1802465c0
mov byte [rsp + 0x38], r14b
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.18012e260
nop
movzx ecx, byte [rbp + 0x118]
test cl, cl
jne 0x180246615
mov byte [rbp + 0x118], 1
call fcn.18023a080
mov qword [rbp + 0x120], rax
movzx ecx, byte [rbp + 0x118]
jmp 0x18024661c
mov rax, qword [rbp + 0x120]
cmp cl, 1
jne 0x180246632
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.18023efe0
mov rcx, rax
jmp 0x180246637
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r14
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x180246683
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18024667e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18024667e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
test bl, bl
je 0x18024676b
mov dword [rsp + 0x48], 0xc1cbc2c2
mov word [rsp + 0x4c], 0x100
mov rcx, r14
nop dword [rax]
lea eax, [rcx - 0x55]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 4
jb 0x1802466a0
mov byte [rsp + 0x4d], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x4c]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x40]
call fcn.18012e260
nop
movzx ecx, byte [rbp + 0x118]
test cl, cl
jne 0x1802466f5
mov byte [rbp + 0x118], 1
call fcn.18023a080
mov qword [rbp + 0x120], rax
movzx ecx, byte [rbp + 0x118]
jmp 0x1802466fc
mov rax, qword [rbp + 0x120]
cmp cl, 1
jne 0x18024670f
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.18023efe0
jmp 0x180246714
mov rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.18023dfc0
mov rdx, rax
mov rcx, rdi
call fcn.180245710
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x18024676b
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180246765
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180246765
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
nop
test rsi, rsi
je 0x1802467a4
sub r15, rsi
cmp r15, 0x1000
jb 0x180246798
add r15, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x18024683c
mov rsi, rcx
mov rdx, r15
mov rcx, rsi
call fcn.18029970c
nop
mov rax, qword [rbp + 0x1c0]
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 + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x1bc], edx
lea rcx, [rbp + 0x1d8]
call fcn.18023e6f0
lea rcx, [rbp + 0x1e0]
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 + 0x258]
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 + 0x140]
cmp rdx, 0x10
jb 0x180246849
inc rdx
mov rcx, qword [rbp + 0x128]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180246843
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180246843
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.18029970c
nop
movzx edx, byte [rbp + 0x118]
lea rcx, [rbp + 0x120]
call fcn.180241490
nop
mov rdx, qword [rbp + 0x198]
cmp rdx, 0x10
jb 0x1802468a1
inc rdx
mov rcx, qword [rbp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18024689c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18024689c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
mov qword [rbp + 0x190], r14
mov qword [rbp + 0x198], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x180], 0
mov rax, qword [rbp + 0x178]
cmp rax, 0x10
jb 0x180246900
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802468fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802468fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
nop
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0x10
jb 0x180246944
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18024693f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18024693f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18029970c
mov qword [rbp + 0x1b0], r14
mov qword [rbp + 0x1b8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1a0], 0
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x180246999
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x180246994
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180246a1e
mov rcx, r8
call fcn.18029970c
mov qword [r12 + 0x10], r14
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r12], 0
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x1802469e3
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x1802469de
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180246a25
mov rcx, r8
call fcn.18029970c
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r13], 0
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.180299b50
mov rbx, qword [rsp + 0x428]
add rsp, 0x3d0
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1800266e0
int3