Function at 0x18005a880
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 - 0x220]
sub rsp, 0x320
mov rax, qword [0x18011f0c0]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r14, r8
mov r13, rdx
mov rdi, rcx
mov qword [rbp - 0x38], rcx
mov qword [rsp + 0x78], rdx
mov qword [rbp + 0x70], r8
xor esi, esi
mov dword [rbp - 0x60], esi
mov dword [rsp + 0x30], 0xc3dbc48c
mov dword [rsp + 0x34], 0xd5d9ddcb
mov word [rsp + 0x38], reloc.WLDAP32.dll_Ordinal_143
mov byte [rsp + 0x3a], 1
mov ecx, esi
nop dword [rax]
lea eax, [rcx - 0x56]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x18005a8f0
mov byte [rsp + 0x3a], 0
mov dword [rsp + 0x78], 0xc0cdc58c
mov dword [rsp + 0x7c], 0x10092cb
mov dword [rsp + 0x48], 0xdec9d88c
mov dword [rsp + 0x4c], 0xdfdfc6dd
mov dword [rsp + 0x50], 0x89d7db
mov byte [rsp + 0x54], 1
mov dword [rbp - 0x80], 0xc1c5cd8c
mov dword [rbp - 0x7c], 0x8cd4c6cb
mov word [rbp - 0x78], 0x100
mov dword [rbp - 0x70], 0xc8dcd2de
mov dword [rbp - 0x6c], 0xddd9c993
mov word [rbp - 0x68], Ordinal_217
mov byte [rbp - 0x66], 1
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x30]
call fcn.1800510f0
nop
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x18005a97d
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.1800159c0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x10]
call fcn.180051540
nop
lea rdx, [rdi + 0x240]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18005a9cf
mov rdx, qword [rdx]
mov rcx, rax
call fcn.1800159c0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x88]
call fcn.180050d30
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18005aa18
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.1800159c0
mov qword [rbp + 0xc8], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xd8], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd8], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18005aa66
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xc8]
call fcn.1800159c0
mov qword [rbp - 0x58], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rdi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18005aabd
mov rdx, qword [rdx]
lea rcx, [rbp - 0x58]
call fcn.1800159c0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf8], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, qword [rbp - 0x40]
cmp r8, 0x10
jb 0x18005ab04
inc r8
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x58]
call fcn.180015a50
movdqa xmm0, xmmword [0x18010cf40]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov r8, qword [rbp + 0xe0]
cmp r8, 0x10
jb 0x18005ab38
inc r8
mov rdx, qword [rbp + 0xc8]
lea rcx, [rbp + 0xc8]
call fcn.180015a50
movdqa xmm0, xmmword [0x18010cf40]
movdqu xmmword [rbp + 0xd8], xmm0
mov byte [rbp + 0xc8], 0
mov r8, qword [rbp + 0xa0]
cmp r8, 0x10
jb 0x18005ab72
inc r8
mov rdx, qword [rbp + 0x88]
lea rcx, [rbp + 0x88]
call fcn.180015a50
movdqa xmm0, xmmword [0x18010cf40]
movdqu xmmword [rbp + 0x98], xmm0
mov byte [rbp + 0x88], 0
mov r8, qword [rbp - 0x18]
cmp r8, 0x10
jb 0x18005aba4
inc r8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.180015a50
nop
mov r8, qword [rbp + 0x28]
cmp r8, 0x10
jb 0x18005abbe
inc r8
mov rdx, qword [rbp + 0x10]
lea rcx, [rbp + 0x10]
call fcn.180015a50
movdqa xmm0, xmmword [0x18010cf40]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
mov r8, qword [rbp + 8]
cmp r8, 0x10
jb 0x18005abea
inc r8
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.180015a50
nop
mov r8, qword [rbp + 0x48]
cmp r8, 0x10
jb 0x18005ac04
inc r8
mov rdx, qword [rbp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.180015a50
movdqa xmm0, xmmword [0x18010cf40]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
lea rax, [rbp - 0x10]
mov qword [rsp + 0x68], rax
lea rdx, [rdi + 0x80]
lea rcx, [rbp - 0x10]
call fcn.180014d70
mov rbx, rax
lea rdx, [rbp + 0xe8]
lea rcx, [rbp - 0x30]
call fcn.180014d70
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0xa8]
call fcn.180061010
nop
mov qword [rbp + 0x68], rsi
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x78]
call fcn.180054790
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x110]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x110]
call fcn.180057540
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800b3388
mov rsi, rax
mov qword [rbp + 0xc8], rax
lea r15, [rax + 0x20]
mov qword [rbp + 0xd8], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0xd0], r15
lea r8, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0x10
cmovae r8, qword [rbp + 0xa8]
lea rcx, [rdi + 0x260]
cmp qword [rcx + 0x18], 0x10
jb 0x18005acfe
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp + 0xb8]
mov rdx, qword [rdi + 0x270]
call fcn.1800680c0
mov r12, rsi
cmp rsi, r15
je 0x18005ad92
nop word [rax + rax]
movzx edi, byte [r12]
lea rdx, [0x18005cbc0]
lea rcx, [rbp + 0x120]
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, [rsp + 0x48]
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 r12
cmp r12, r15
jne 0x18005ad30
mov rdi, qword [rbp - 0x38]
mov qword [rbp + 0x88], 0
movdqa xmm0, xmmword [0x18010cf40]
movdqu xmmword [rbp + 0x98], xmm0
mov byte [rbp + 0x88], 0
mov dword [rbp - 0x60], 0x7c04
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
mov rcx, qword [rbp + 0x198]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x18005ae06
mov rax, qword [rbp + 0x168]
mov r8, qword [rax]
test r8, r8
je 0x18005ae06
mov rax, qword [rbp + 0x148]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x190]
cmovb r8, qword [rbp + 0x190]
sub r8, rdx
jmp 0x18005ae40
test cl, 4
jne 0x18005ae36
mov rax, qword [rbp + 0x160]
mov rcx, qword [rax]
test rcx, rcx
je 0x18005ae36
mov rax, qword [rbp + 0x140]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x178]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x18005ae40
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x18005ae52
lea rcx, [rbp + 0x88]
call fcn.1800591f0
nop
lea rdx, [section..data]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [section..data]
lea rcx, [rbp + 0x88]
mov rbx, qword [rbp + 0x88]
mov r12, qword [rbp + 0xa0]
cmp r12, 0x10
cmovae rcx, rbx
mov r8, qword [rbp + 0x98]
cmp r8, qword [0x18011f010]
jne 0x18005aea4
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov byte [rsp + 0x40], 0
je 0x18005aea9
mov byte [rsp + 0x40], 1
cmp r12, 0x10
jb 0x18005aee4
lea rdx, [r12 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18005aedc
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005aedc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1800b3380
cmp byte [rsp + 0x40], 0
je 0x18005aef2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x48]
call fcn.180056f60
mov rdx, rax
mov rcx, rdi
call fcn.18005e400
mov dword [rsp + 0x30], 0xcecfded9
mov dword [rsp + 0x34], 0xc3dccb
mov byte [rsp + 0x38], 1
xor edi, edi
mov ecx, edi
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x56]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x18005af30
mov byte [rsp + 0x38], dil
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], 7
mov ecx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x60], rcx
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x48], eax
movzx eax, word [rsp + 0x34]
mov word [rsp + 0x4c], ax
movzx eax, byte [rsp + 0x36]
mov byte [rsp + 0x4e], al
mov byte [rsp + 0x4f], dil
cmp byte [rbp + 0x78], 0
jne 0x18005af98
mov byte [rbp + 0x78], 1
call fcn.180053040
mov qword [rbp + 0x80], rax
mov rcx, qword [rsp + 0x60]
cmp byte [rbp + 0x78], 1
jne 0x18005afb9
lea rdx, [rsp + 0x48]
mov rcx, qword [rbp + 0x80]
call fcn.180058260
mov rdx, rax
mov rcx, qword [rsp + 0x60]
jmp 0x18005afbe
mov rdx, qword [rsp + 0x30]
lea rax, [rdx + 8]
cmp byte [rdx], 4
cmovne rax, rdi
movzx ebx, byte [rax]
cmp rcx, 0x10
jb 0x18005b008
lea rdx, [rcx + 1]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b003
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005b003
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b3380
test bl, bl
je 0x18005b4f7
mov dword [rsp + 0x68], 0xd9c2c4c9
mov dword [rsp + 0x6c], 0xc2c4c1cb
mov word [rsp + 0x70], 0x100
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x56]
xor byte [rsp + rcx + 0x68], al
inc rcx
cmp rcx, 8
jb 0x18005b030
mov byte [rsp + 0x71], 0
mov qword [rbp - 0x48], 8
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x58], rax
mov byte [rbp - 0x50], 0
mov rbx, qword [rsp + 0x30]
cmp byte [rbp + 0x78], 0
jne 0x18005b07d
mov byte [rbp + 0x78], 1
call fcn.180053040
mov qword [rbp + 0x80], rax
cmp byte [rbp + 0x78], 1
jne 0x18005b096
lea rdx, [rbp - 0x58]
mov rcx, qword [rbp + 0x80]
call fcn.180058260
mov rbx, rax
mov qword [rsp + 0x48], rdi
movdqa xmm0, xmmword [0x18010cf40]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov dword [rbp - 0x60], 0x7d7a
cmp byte [rbx], 3
jne 0x18005b0ca
mov rdx, qword [rbx + 8]
lea rax, [rsp + 0x48]
cmp rax, rdx
je 0x18005b0e6
jmp 0x18005b0cd
mov rdx, rdi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18005b0db
mov rdx, qword [rdx]
lea rcx, [rsp + 0x48]
call fcn.1800591f0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x88]
call fcn.18005cbe0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18005b139
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b133
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005b133
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b3380
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x18005b177
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b172
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005b172
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b3380
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov rdi, qword [rbp + 0x98]
lea r12, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0x10
cmovae r12, qword [rbp + 0x88]
movabs rbx, 0x7fffffffffffffff
cmp rdi, rbx
ja 0x18005b6c9
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x18005b1f0
mov qword [rsp + 0x58], rdi
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r12
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memmove
jmp 0x18005b245
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x18005b20b
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, [rsp + 0x48]
call fcn.180014e90
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rbx
lea r8, [rdi + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rdi, [rsp + 0x48]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
cmovae rdi, r8
add rdi, qword [rsp + 0x58]
lea r12, [rsp + 0x48]
cmp rdx, 0x10
cmovae r12, r8
xor ebx, ebx
mov qword [r13], rbx
mov qword [r13 + 8], rbx
mov qword [r13 + 0x10], rbx
sub rdi, r12
je 0x18005b2bc
mov rdx, rdi
mov rcx, r13
call fcn.180058610
mov rbx, qword [r13]
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rdi]
mov qword [r13 + 8], rax
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x48]
xor ebx, ebx
cmp rdx, 0x10
jb 0x18005b2f5
inc rdx
mov rax, r8
cmp rdx, 0x1000
jb 0x18005b2ed
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005b2ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.1800b3380
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x18005b34c
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b347
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005b347
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b3380
mov qword [rbp + 0x98], rbx
mov qword [rbp + 0xa0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x88], 0
test rsi, rsi
je 0x18005b39e
sub r15, rsi
cmp r15, 0x1000
jb 0x18005b392
add r15, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x18005b447
mov rsi, rcx
mov rdx, r15
mov rcx, rsi
call fcn.1800b3380
nop
mov rax, qword [rbp + 0x110]
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 + 0x110], rax
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x128]
call fcn.180057970
lea rcx, [rbp + 0x130]
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 + 0x1a8]
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 + 0x78]
lea rcx, [rbp + 0x80]
call fcn.18005a310
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x18005b453
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b44e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005b44e
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.1800b3380
mov qword [rbp + 0xb8], rbx
mov qword [rbp + 0xc0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa8], 0
mov rdx, qword [rbp + 0x100]
cmp rdx, 0x10
jb 0x18005b4b1
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b4ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005b4ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b3380
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x18005b4e7
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x18005b4e2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18005b4f0
mov rcx, r8
call fcn.1800b3380
mov qword [r14 + 0x10], rbx
jmp 0x18005b689
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [r13], rdi
mov qword [r13 + 8], rdi
mov qword [r13 + 0x10], rdi
test rsi, rsi
je 0x18005b53c
sub r15, rsi
cmp r15, 0x1000
jb 0x18005b530
add r15, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x18005b5e5
mov rsi, rcx
mov rdx, r15
mov rcx, rsi
call fcn.1800b3380
nop
mov rax, qword [rbp + 0x110]
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 + 0x110], rax
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x128]
call fcn.180057970
lea rcx, [rbp + 0x130]
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 + 0x1a8]
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 + 0x78]
lea rcx, [rbp + 0x80]
call fcn.18005a310
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x18005b5f1
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b5ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005b5ec
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.1800b3380
mov qword [rbp + 0xb8], rdi
mov qword [rbp + 0xc0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa8], 0
mov rdx, qword [rbp + 0x100]
cmp rdx, 0x10
jb 0x18005b64f
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b649
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005b649
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b3380
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x18005b685
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x18005b680
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18005b6c2
mov rcx, r8
call fcn.1800b3380
mov qword [r14 + 0x10], rdi
mov rax, r13
mov byte [r14], 0
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1800b3360
mov rbx, qword [rsp + 0x378]
add rsp, 0x320
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.180006c40
nop
int3