Function at 0x140057770
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x328]
sub rsp, 0x428
mov rax, qword [0x1400d8080]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov r13, r9
mov rbx, r8
mov qword [rbp - 0x48], rbx
mov r12, rdx
mov rdi, rcx
mov qword [rbp - 0x50], rcx
mov qword [rbp + 0x168], rdx
mov qword [rbp + 0x170], rbx
mov qword [rbp + 0x178], r9
xor r15d, r15d
mov dword [rsp + 0x30], r15d
lea rcx, [rbp + 0x1c8]
call fcn.14005f220
nop
mov dword [rsp + 0x50], 0x233b246c
mov dword [rsp + 0x54], 0x35393d2b
mov word [rsp + 0x58], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x5a], 1
mov dword [rsp + 0x48], 0x202d256c
mov dword [rsp + 0x4c], 0x100722b
mov dword [rbp + 0x180], 0x3e29386c
mov dword [rbp + 0x184], 0x3f3f263d
mov dword [rbp + 0x188], 0x69373b
mov byte [rbp + 0x18c], 1
mov dword [rsp + 0x40], 0x243b236c
mov dword [rsp + 0x44], 0x100722a
mov dword [rsp + 0x30], 0x3429206c
mov word [rsp + 0x34], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x36], 1
mov dword [rsp + 0x38], 0x3e2d3b6c
mov dword [rsp + 0x3c], 0x100723d
mov dword [rsp + 0x60], 0x283f3e6c
mov dword [rsp + 0x64], 0x3c31213c
mov dword [rsp + 0x68], 0x1006e37
mov dword [rsp + 0x70], 0x283c323e
mov dword [rsp + 0x74], 0x36353d73
mov dword [rsp + 0x78], 0x3020203b
mov word [rsp + 0x7c], Ordinal_41
mov byte [rsp + 0x7e], 1
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x128]
call fcn.140047e60
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x1400578c2
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.140046930
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x100]
call fcn.140047510
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140057910
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140046930
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0xc0]
call fcn.1400473f0
nop
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x140057967
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
mov rcx, rax
call fcn.140046930
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x80]
call fcn.140047510
nop
lea rdx, [rbp + 0x1c8]
cmp qword [rbp + 0x1e0], 0x10
cmovae rdx, qword [rbp + 0x1c8]
mov r8, qword [rbp + 0x1d8]
mov rcx, rax
call fcn.140046930
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp + 0x180]
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x40]
call fcn.140047d40
nop
lea rdx, [rdi + 0x240]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140057a1e
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140046930
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], 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 + 0x20]
lea rcx, [rbp]
call fcn.140047510
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140057a64
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140046930
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], 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 - 0x78]
lea rcx, [rbp - 0x20]
call fcn.1400478d0
nop
lea rdx, [rdi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140057ab3
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140046930
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1e8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1f8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, qword [rbp - 8]
cmp r8, 0x10
jb 0x140057af9
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.14003e850
movdqa xmm0, xmmword [0x1400c9510]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140057b49
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057b43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057b43
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa3c8
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140057b87
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057b82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057b82
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa3c8
movdqa xmm0, xmmword [0x1400c9510]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x140057bd7
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057bd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057bd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa3c8
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x140057c15
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057c10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057c10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa3c8
movdqa xmm0, xmmword [0x1400c9510]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x140057c65
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057c5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057c5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa3c8
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x140057ca9
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057ca4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057ca4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa3c8
movdqa xmm0, xmmword [0x1400c9510]
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0x80], 0
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x140057d05
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057cff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057cff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa3c8
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x140057d49
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057d44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057d44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa3c8
movdqa xmm0, xmmword [0x1400c9510]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x140057da5
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057d9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057d9f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa3c8
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x140057de9
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057de4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057de4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa3c8
movdqa xmm0, xmmword [0x1400c9510]
movdqu xmmword [rbp + 0x110], xmm0
mov byte [rbp + 0x100], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140057e3f
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057e39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057e39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa3c8
nop
mov rdx, qword [rbp + 0x140]
cmp rdx, 0x10
jb 0x140057e83
inc rdx
mov rcx, qword [rbp + 0x128]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057e7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057e7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa3c8
movdqa xmm0, xmmword [0x1400c9510]
movdqu xmmword [rbp + 0x138], xmm0
mov byte [rbp + 0x128], 0
lea rax, [rbp - 0x40]
mov qword [rbp + 0x120], rax
lea rdx, [rdi + 0x80]
lea rcx, [rbp - 0x40]
call fcn.1400466a0
mov r14, rax
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], r15
lea rsi, [rbp + 0x1e8]
cmp qword [rbp + 0x200], 0x10
cmovae rsi, qword [rbp + 0x1e8]
movabs rbx, 0x7fffffffffffffff
mov rdi, qword [rbp + 0x1f8]
cmp rdi, rbx
ja 0x1400585ce
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x140057f1b
mov qword [rbp - 0x68], rdi
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rsi
lea rcx, [rbp - 0x78]
call sub.VCRUNTIME140.dll_memmove
jmp 0x140057f6d
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x140057f36
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 - 0x78]
call fcn.14003ebd0
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
mov r8, r14
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x1a8]
call fcn.1400585e0
nop
mov qword [rbp + 0x160], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x128]
lea rdx, [rbp + 0x1a8]
lea rcx, [rbp + 0x198]
call fcn.14004b430
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x210]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400adf68]
mov qword [rbp + 0x210], rax
lea rax, [0x1400adf70]
mov qword [rbp + 0x220], rax
lea rcx, [rbp + 0x2a8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x30], 0x7f4
xor r8d, r8d
lea rdx, [rbp + 0x228]
lea rcx, [rbp + 0x210]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x210]
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 + 0x210], rax
mov rax, qword [rbp + 0x210]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x20c], edx
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x228], rax
mov qword [rbp + 0x290], r15
mov dword [rbp + 0x298], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400aa07c
mov r14, rax
mov qword [rbp + 0x180], rax
lea r15, [rax + 0x20]
mov qword [rbp + 0x190], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x188], r15
lea r8, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 0x10
cmovae r8, qword [rbp + 0x1a8]
mov rax, qword [rbp - 0x50]
lea rcx, [rax + 0x260]
cmp qword [rcx + 0x18], 0x10
jb 0x1400580ca
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r14
mov r9, qword [rbp + 0x1b8]
mov rdx, qword [rax + 0x270]
call fcn.14005f690
mov rsi, r14
cmp r14, r15
je 0x14005814f
movzx edi, byte [rsi]
lea rdx, [0x140053550]
lea rcx, [rbp + 0x220]
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, [rsp + 0x70]
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 rsi
cmp rsi, r15
jne 0x1400580f3
mov qword [rbp - 0x78], 0
movdqa xmm0, xmmword [0x1400c9510]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov dword [rsp + 0x30], 0x7f6
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
mov ecx, dword [rbp + 0x298]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400581b9
mov rax, qword [rbp + 0x268]
mov r8, qword [rax]
test r8, r8
je 0x1400581b9
mov rax, qword [rbp + 0x248]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x290]
cmovb r8, qword [rbp + 0x290]
sub r8, rdx
jmp 0x1400581f3
test cl, 4
jne 0x1400581e9
mov rax, qword [rbp + 0x260]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400581e9
mov rax, qword [rbp + 0x240]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x278]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x1400581f3
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x140058202
lea rcx, [rbp - 0x78]
call fcn.1400467c0
nop
lea rdx, [section..data]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [section..data]
lea rcx, [rbp - 0x78]
mov rbx, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x60]
cmp rdi, 0x10
cmovae rcx, rbx
mov r8, qword [rbp - 0x68]
cmp r8, qword [0x1400d8010]
jne 0x140058248
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140058248
xor sil, sil
jmp 0x14005824b
mov sil, 1
cmp rdi, 0x10
jb 0x140058285
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14005827d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005827d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400aa3c8
test sil, sil
je 0x140058291
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rdx, [rbp + 0x198]
lea rcx, [rsp + 0x70]
call fcn.14004dc00
mov rdx, rax
mov rbx, qword [rbp - 0x50]
mov rcx, rbx
call fcn.140054b60
lea rdx, str.success
lea rcx, [rbp + 0x198]
call fcn.1400470c0
lea rdx, [rax + 8]
cmp byte [rax], 4
mov edi, 0
cmovne rdx, rdi
cmp byte [rdx], dil
je 0x140058305
lea rdx, str.info
lea rcx, [rbp + 0x198]
call fcn.1400470c0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14004dc00
mov rdx, rax
mov rcx, rbx
call fcn.140054c10
nop
test r14, r14
je 0x14005833e
sub r15, r14
cmp r15, 0x1000
jb 0x140058332
add r15, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x1400583ea
mov r14, rcx
mov rdx, r15
mov rcx, r14
call fcn.1400aa3c8
nop
mov rax, qword [rbp + 0x210]
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 + 0x210], rax
mov rax, qword [rbp + 0x210]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x20c], edx
lea rcx, [rbp + 0x228]
call fcn.14004e5a0
lea rcx, [rbp + 0x230]
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 + 0x2a8]
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 + 0x198]
lea rcx, [rbp + 0x1a0]
call fcn.140051af0
nop
mov rdx, qword [rbp + 0x1c0]
cmp rdx, 0x10
jb 0x1400583f6
inc rdx
mov rcx, qword [rbp + 0x1a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400583f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400583f1
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.1400aa3c8
mov qword [rbp + 0x1b8], rdi
mov qword [rbp + 0x1c0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1a8], 0
mov rax, qword [rbp + 0x200]
cmp rax, 0x10
jb 0x140058455
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x1e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005844f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005844f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa3c8
nop
mov rdx, qword [rbp + 0x1e0]
cmp rdx, 0x10
jb 0x140058499
inc rdx
mov rcx, qword [rbp + 0x1c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058494
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058494
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa3c8
mov qword [rbp + 0x1d8], rdi
mov qword [rbp + 0x1e0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1c8], 0
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x1400584ee
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x1400584e9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400585b9
mov rcx, r8
call fcn.1400aa3c8
mov qword [r12 + 0x10], rdi
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r12], 0
mov rbx, qword [rbp - 0x48]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14005853f
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14005853a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400585c0
mov rcx, r8
call fcn.1400aa3c8
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x140058585
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x140058580
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400585c7
mov rcx, r8
call fcn.1400aa3c8
mov qword [r13 + 0x10], rdi
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r13], 0
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.1400aa580
add rsp, 0x428
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140033870
int3