Function at 0x140243360
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x1402f9040]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov qword [rbp - 0x50], rcx
mov qword [rbp + 0x38], rdx
mov qword [rbp + 0x88], r8
xor ebx, ebx
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x58], 0x233b246c
mov dword [rsp + 0x5c], 0x35393d2b
mov word [rsp + 0x60], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x62], 1
mov dword [rsp + 0x30], 0x202d256c
mov dword [rsp + 0x34], 0x100722b
mov dword [rsp + 0x70], 0x3e29386c
mov dword [rsp + 0x74], 0x3f3f263d
mov dword [rsp + 0x78], 0x69373b
mov byte [rsp + 0x7c], 1
mov dword [rsp + 0x38], 0x3f2d3d6c
mov dword [rsp + 0x3c], 0x6d2b27
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x48], 0x283c323e
mov dword [rsp + 0x4c], 0x23313973
mov word [rsp + 0x50], 0x100
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x48]
call fcn.140230da0
nop
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140243444
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
mov rcx, rax
call fcn.14003fc30
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x18]
call fcn.140231630
nop
lea rdx, [rsi + 0x240]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140243496
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14003fc30
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x30]
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.140230c80
nop
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1402434dc
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.14003fc30
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa0], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x78]
call fcn.140231370
nop
lea rdx, [rsi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140243534
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14003fc30
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf0], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14024359e
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140243599
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140243599
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14022f7c0
movdqa xmm0, xmmword [0x1402c83e0]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x1402435f4
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402435ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402435ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14022f7c0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140243632
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14024362d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14024362d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14022f7c0
movdqa xmm0, xmmword [0x1402c83e0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x140243682
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14024367c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14024367c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14022f7c0
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1402436c0
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402436bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402436bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14022f7c0
movdqa xmm0, xmmword [0x1402c83e0]
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140243710
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14024370a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14024370a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14022f7c0
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x14024374e
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140243749
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140243749
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14022f7c0
movdqa xmm0, xmmword [0x1402c83e0]
movdqu xmmword [rbp + 0x58], xmm0
mov byte [rbp + 0x48], 0
lea rax, [rbp - 0x48]
mov qword [rbp + 0x40], rax
lea rdx, [rsi + 0x80]
lea rcx, [rbp - 0x48]
call fcn.14002b7a0
mov r13, rax
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0xa0], rbx
mov qword [rbp + 0xa8], rbx
lea r14, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
cmovae r14, qword [rbp + 0xe0]
movabs rbx, 0x7fffffffffffffff
mov rdi, qword [rbp + 0xf0]
cmp rdi, rbx
ja 0x140243db1
mov qword [rbp + 0xa8], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x1402437ef
mov qword [rbp + 0xa0], rdi
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r14
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memmove
jmp 0x14024384d
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x14024380a
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 + 0x90]
call fcn.14002bfe0
mov qword [rbp + 0x90], rax
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], rbx
lea r8, [rdi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
mov r8, r13
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0xb0]
call fcn.140240500
nop
xor ebx, ebx
mov qword [rbp + 0x80], rbx
mov byte [rsp + 0x20], bl
mov r9b, 1
lea r8, [rbp + 0x48]
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0xd0]
call fcn.140234400
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1402be5a0]
mov qword [rbp + 0x100], rax
lea rax, [0x1402be598]
mov qword [rbp + 0x110], rax
lea rcx, [rbp + 0x198]
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 + 0x68], 0x7c0
xor r8d, r8d
lea rdx, [rbp + 0x118]
lea rcx, [rbp + 0x100]
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 + 0x100]
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 + 0x100], rax
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xfc], edx
lea rcx, [rbp + 0x118]
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 + 0x118], rax
mov qword [rbp + 0x180], rbx
mov dword [rbp + 0x188], ebx
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
lea ecx, [rbx + 0x20]
call fcn.14022f7fc
mov r14, rax
mov qword [rbp + 0x90], rax
lea r13, [rax + 0x20]
mov qword [rbp + 0xa0], r13
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x98], r13
lea r8, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0x10
cmovae r8, qword [rbp + 0xb0]
lea rcx, [rsi + 0x260]
cmp qword [rcx + 0x18], 0x10
jb 0x1402439a4
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r14
mov r9, qword [rbp + 0xc0]
mov rdx, qword [rsi + 0x270]
call fcn.140248760
mov rsi, r14
cmp r14, r13
je 0x140243a2e
nop dword [rax]
movzx edi, byte [rsi]
lea rdx, [0x14007de70]
lea rcx, [rbp + 0x110]
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 + 0x70]
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 rsi
cmp rsi, r13
jne 0x1402439d0
xor ebx, ebx
mov qword [rbp - 0x78], rbx
movdqa xmm0, xmmword [0x1402c83e0]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov dword [rsp + 0x68], 0x7c4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
mov ecx, dword [rbp + 0x188]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140243a94
mov rax, qword [rbp + 0x158]
mov r8, qword [rax]
test r8, r8
je 0x140243a94
mov rax, qword [rbp + 0x138]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x180]
cmovb r8, qword [rbp + 0x180]
sub r8, rdx
jmp 0x140243ace
test cl, 4
jne 0x140243ac4
mov rax, qword [rbp + 0x150]
mov rcx, qword [rax]
test rcx, rcx
je 0x140243ac4
mov rax, qword [rbp + 0x130]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x168]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140243ace
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x140243add
lea rcx, [rbp - 0x78]
call fcn.14003e7e0
nop
lea rdx, [0x1402f90b0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1402f90b0]
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 [0x1402f90c0]
jne 0x140243b23
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140243b23
xor sil, sil
jmp 0x140243b26
mov sil, 1
cmp rdi, 0x10
jb 0x140243b60
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140243b58
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140243b58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14022f7c0
test sil, sil
je 0x140243b6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x70]
call fcn.140236bd0
mov rdx, rax
mov rcx, qword [rbp - 0x50]
call fcn.14023cea0
lea rdx, str.message
lea rcx, [rbp + 0xd0]
call fcn.1402308a0
nop
xor ebx, ebx
mov qword [r12], rbx
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r12], bl
mov dword [rsp + 0x68], 0x7d2
cmp byte [rax], 3
jne 0x140243bc8
mov rdx, qword [rax + 8]
jmp 0x140243bcb
mov rdx, rbx
cmp r12, rdx
je 0x140243be7
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140243bde
mov rdx, qword [rdx]
mov rcx, r12
call fcn.14003e7e0
nop
test r14, r14
je 0x140243c20
sub r13, r14
cmp r13, 0x1000
jb 0x140243c14
add r13, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140243ccc
mov r14, rcx
mov rdx, r13
mov rcx, r14
call fcn.14022f7c0
nop
mov rax, qword [rbp + 0x100]
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 + 0x100], rax
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xfc], edx
lea rcx, [rbp + 0x118]
call fcn.14007dd20
lea rcx, [rbp + 0x120]
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 + 0x198]
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 + 0xd0]
lea rcx, [rbp + 0xd8]
call fcn.140239170
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x140243cd8
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140243cd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140243cd3
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.14022f7c0
mov qword [rbp + 0xc0], rbx
mov qword [rbp + 0xc8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb0], 0
mov rax, qword [rbp + 0xf8]
cmp rax, 0x10
jb 0x140243d37
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140243d31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140243d31
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14022f7c0
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140243d6d
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140243d68
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140243daa
mov rcx, r8
call fcn.14022f7c0
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov rax, r12
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14022f560
mov rbx, qword [rsp + 0x368]
add rsp, 0x310
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.14002be40
nop
int3