Function at 0x140022240
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 [0x140090080]
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.14000d470
nop
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140022324
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
mov rcx, rax
call fcn.1400162d0
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.14000e040
nop
lea rdx, [rsi + 0x240]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140022376
mov rdx, qword [rdx]
mov rcx, rax
call fcn.1400162d0
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.14000d350
nop
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400223bc
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.1400162d0
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.14000dbd0
nop
lea rdx, [rsi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140022414
mov rdx, qword [rdx]
mov rcx, rax
call fcn.1400162d0
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 0x14002247e
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022479
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022479
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007210c
movdqa xmm0, xmmword [0x140084db0]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x1400224d4
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400224ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400224ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007210c
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140022512
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002250d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002250d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007210c
movdqa xmm0, xmmword [0x140084db0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x140022562
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002255c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002255c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007210c
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1400225a0
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002259b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002259b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007210c
movdqa xmm0, xmmword [0x140084db0]
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1400225f0
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400225ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400225ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007210c
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x14002262e
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022629
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022629
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007210c
movdqa xmm0, xmmword [0x140084db0]
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.14000b9f0
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 0x140022c91
mov qword [rbp + 0xa8], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x1400226cf
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 0x14002272d
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x1400226ea
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.14000c7e0
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.14001fbc0
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.1400113e0
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x100]
call fcn.140073170
lea rax, [0x140075f10]
mov qword [rbp + 0x100], rax
lea rax, [0x140075f18]
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.140071e80
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 0x140022884
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.1400276e0
mov rsi, r14
cmp r14, r13
je 0x14002290e
nop dword [rax]
movzx edi, byte [rsi]
lea rdx, [0x14001b160]
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 0x1400228b0
xor ebx, ebx
mov qword [rbp - 0x78], rbx
movdqa xmm0, xmmword [0x140084db0]
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 0x140022974
mov rax, qword [rbp + 0x158]
mov r8, qword [rax]
test r8, r8
je 0x140022974
mov rax, qword [rbp + 0x138]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x180]
cmovb r8, qword [rbp + 0x180]
sub r8, rdx
jmp 0x1400229ae
test cl, 4
jne 0x1400229a4
mov rax, qword [rbp + 0x150]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400229a4
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 0x1400229ae
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x1400229bd
lea rcx, [rbp - 0x78]
call fcn.140016360
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 [0x140090010]
jne 0x140022a03
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140022a03
xor sil, sil
jmp 0x140022a06
mov sil, 1
cmp rdi, 0x10
jb 0x140022a40
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140022a38
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022a38
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14007210c
test sil, sil
je 0x140022a4c
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.140013bb0
mov rdx, rax
mov rcx, qword [rbp - 0x50]
call fcn.14001d450
lea rdx, str.message
lea rcx, [rbp + 0xd0]
call fcn.14000d020
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 0x140022aa8
mov rdx, qword [rax + 8]
jmp 0x140022aab
mov rdx, rbx
cmp r12, rdx
je 0x140022ac7
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140022abe
mov rdx, qword [rdx]
mov rcx, r12
call fcn.140016360
nop
test r14, r14
je 0x140022b00
sub r13, r14
cmp r13, 0x1000
jb 0x140022af4
add r13, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140022bac
mov r14, rcx
mov rdx, r13
mov rcx, r14
call fcn.14007210c
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.140014670
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.1400188b0
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x140022bb8
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022bb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022bb3
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.14007210c
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 0x140022c17
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022c11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022c11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007210c
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140022c4d
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140022c48
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140022c8a
mov rcx, r8
call fcn.14007210c
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.140071e60
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.1400019c0
nop
int3