Function at 0x140059690
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 [0x1400cd080]
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.140049500
nop
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140059774
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
mov rcx, rax
call fcn.14001f400
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.140049a60
nop
lea rdx, [rsi + 0x240]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400597c6
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14001f400
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.1400493e0
nop
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14005980c
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.14001f400
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.140049940
nop
lea rdx, [rsi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140059864
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14001f400
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 0x1400598ce
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400598c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400598c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a91b0
movdqa xmm0, xmmword [0x1400b0150]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140059924
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005991e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005991e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a91b0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140059962
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005995d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005995d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a91b0
movdqa xmm0, xmmword [0x1400b0150]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x1400599b2
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400599ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400599ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a91b0
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1400599f0
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400599eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400599eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a91b0
movdqa xmm0, xmmword [0x1400b0150]
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140059a40
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059a3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059a3a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a91b0
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x140059a7e
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059a79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059a79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a91b0
movdqa xmm0, xmmword [0x1400b0150]
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.14001f810
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 0x14005a0e1
mov qword [rbp + 0xa8], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x140059b1f
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 0x140059b7d
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x140059b3a
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.140021410
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.140057300
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.14004c8b0
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400b0068]
mov qword [rbp + 0x100], rax
lea rax, [0x1400b0070]
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.1400a96ec
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 0x140059cd4
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.14005eaa0
mov rsi, r14
cmp r14, r13
je 0x140059d5e
nop dword [rax]
movzx edi, byte [rsi]
lea rdx, [0x140053720]
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 0x140059d00
xor ebx, ebx
mov qword [rbp - 0x78], rbx
movdqa xmm0, xmmword [0x1400b0150]
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 0x140059dc4
mov rax, qword [rbp + 0x158]
mov r8, qword [rax]
test r8, r8
je 0x140059dc4
mov rax, qword [rbp + 0x138]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x180]
cmovb r8, qword [rbp + 0x180]
sub r8, rdx
jmp 0x140059dfe
test cl, 4
jne 0x140059df4
mov rax, qword [rbp + 0x150]
mov rcx, qword [rax]
test rcx, rcx
je 0x140059df4
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 0x140059dfe
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x140059e0d
lea rcx, [rbp - 0x78]
call fcn.1400227d0
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 [0x1400cd010]
jne 0x140059e53
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140059e53
xor sil, sil
jmp 0x140059e56
mov sil, 1
cmp rdi, 0x10
jb 0x140059e90
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140059e88
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059e88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400a91b0
test sil, sil
je 0x140059e9c
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.14004f080
mov rdx, rax
mov rcx, qword [rbp - 0x50]
call fcn.1400557e0
lea rdx, str.message
lea rcx, [rbp + 0xd0]
call fcn.140049120
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 0x140059ef8
mov rdx, qword [rax + 8]
jmp 0x140059efb
mov rdx, rbx
cmp r12, rdx
je 0x140059f17
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140059f0e
mov rdx, qword [rdx]
mov rcx, r12
call fcn.1400227d0
nop
test r14, r14
je 0x140059f50
sub r13, r14
cmp r13, 0x1000
jb 0x140059f44
add r13, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140059ffc
mov r14, rcx
mov rdx, r13
mov rcx, r14
call fcn.1400a91b0
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.14001e6f0
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.140051ed0
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x14005a008
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a003
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a003
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.1400a91b0
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 0x14005a067
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a061
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a061
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a91b0
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x14005a09d
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14005a098
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005a0da
mov rcx, r8
call fcn.1400a91b0
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.1400a9190
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.140002120
nop
int3