Function at 0x140018380
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1400930a8]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r12, rcx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x68], 0x352d367e
mov dword [rsp + 0x6c], 0x3b372f39
mov word [rsp + 0x70], 0x5d
mov byte [rsp + 0x72], 1
mov dword [rsp + 0x40], 0x363b377e
mov dword [rsp + 0x44], 0x1006039
mov dword [rsp + 0x78], 0x283f2a7e
mov dword [rsp + 0x7c], 0x3131342f
mov dword [rbp - 0x80], 0x5f0509
mov byte [rbp - 0x7c], 1
mov dword [rbp + 0x18], 0x3e2a202c
mov dword [rbp + 0x1c], 0x3a363e61
mov dword [rbp + 0x20], 0x1000a03
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x30]
call fcn.14000fa90
nop
lea rdx, [r12 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140018448
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140006ae0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], 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 - 0x70]
lea rcx, [rbp - 0x50]
call fcn.14000f420
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x140018490
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.140006ae0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x40]
call fcn.14000f970
nop
lea rdx, [r12 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400184e4
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140006ae0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x90], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x14001854e
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018549
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018549
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400720fc
movdqa xmm0, xmmword [0x140077f80]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400185a0
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001859a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001859a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400720fc
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x1400185de
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400185d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400185d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400720fc
movdqa xmm0, xmmword [0x140077f80]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14001862e
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018628
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018628
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400720fc
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x14001866c
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018667
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018667
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400720fc
movdqa xmm0, xmmword [0x140077f80]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
lea rax, [rbp - 0x70]
mov qword [rbp + 0x10], rax
lea rdx, [r12 + 0x80]
lea rcx, [rbp - 0x70]
call fcn.140003db0
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
lea rsi, [rbp + 0x80]
mov r13, qword [rbp + 0x80]
cmp qword [rbp + 0x98], 0x10
cmovae rsi, r13
movabs rbx, 0x7fffffffffffffff
mov rdi, qword [rbp + 0x90]
cmp rdi, rbx
ja 0x140018d7d
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x140018708
mov qword [rsp + 0x58], rdi
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rsi
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memmove
jmp 0x14001875e
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x140018723
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.140006a10
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
mov r8, r14
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x60]
call fcn.140020720
nop
mov qword [rbp + 8], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x30]
call fcn.1400130f0
nop
mov dword [rsp + 0x30], 0x28293c35
mov dword [rsp + 0x34], 0x3b3a3d
mov byte [rsp + 0x38], 1
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx + 0x58]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x1400187b0
mov byte [rsp + 0x38], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
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 rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0x30]
test cl, cl
jne 0x14001881a
mov byte [rbp + 0x30], 1
call fcn.1400119a0
mov qword [rbp + 0x38], rax
movzx ecx, byte [rbp + 0x30]
jmp 0x14001881e
mov rax, qword [rbp + 0x38]
cmp cl, 1
jne 0x140018833
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140016dd0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [0x140077f80]
movdqu xmmword [rbp + 0x50], xmm1
mov byte [rbp + 0x40], 0
mov dword [rsp + 0x40], 0x758
cmp byte [rbx], 3
jne 0x140018867
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x40]
cmp rax, rdx
je 0x140018882
jmp 0x14001886a
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140018878
mov rdx, qword [rdx]
lea rcx, [rbp + 0x40]
call fcn.140018030
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400188c2
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400188bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400188bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400720fc
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140078880]
mov qword [rbp + 0xa0], rax
lea rax, [0x140078888]
mov qword [rbp + 0xb0], rax
lea rcx, [rbp + 0x138]
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 + 0x40], 0x7b8
xor r8d, r8d
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0xa0]
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 + 0xa0]
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 + 0xa0], rax
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x9c], edx
lea rcx, [rbp + 0xb8]
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 + 0xb8], rax
mov qword [rbp + 0x120], r15
mov dword [rbp + 0x128], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400720c0
mov rsi, rax
mov qword [rbp + 0x18], rax
lea r14, [rax + 0x20]
mov qword [rbp + 0x28], r14
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x20], r14
lea r8, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae r8, qword [rbp + 0x60]
lea rcx, [r12 + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x1400189dc
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp + 0x70]
mov rdx, qword [r12 + 0x268]
call fcn.140027a10
mov r15, rsi
cmp rsi, r14
je 0x140018a60
movzx edi, byte [r15]
lea rdx, [0x14001b8e0]
lea rcx, [rbp + 0xb0]
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 + 0x78]
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 r15
cmp r15, r14
jne 0x140018a03
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x140077f80]
movdqu xmmword [rsp + 0x58], xmm1
mov byte [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x7ba
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
mov ecx, dword [rbp + 0x128]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140018ac9
mov rax, qword [rbp + 0xf8]
mov r8, qword [rax]
test r8, r8
je 0x140018ac9
mov rax, qword [rbp + 0xd8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x120]
cmovb r8, qword [rbp + 0x120]
sub r8, rdx
jmp 0x140018b02
test cl, 4
jne 0x140018af9
mov rax, qword [rbp + 0xf0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140018af9
mov rax, qword [rbp + 0xd0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x108]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140018b02
mov r8, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x140018b12
lea rcx, [rsp + 0x48]
call fcn.140018030
nop
lea rdx, [0x140093020]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x140093020]
lea rcx, [rsp + 0x48]
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x60]
cmp rdi, 0x10
cmovae rcx, rbx
mov r8, qword [rsp + 0x58]
cmp r8, qword [0x140093030]
jne 0x140018b5c
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140018b5c
xor r15b, r15b
jmp 0x140018b5f
mov r15b, 1
cmp rdi, 0x10
jb 0x140018b99
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140018b91
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018b91
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400720fc
test r15b, r15b
je 0x140018bba
lea r8, [rbp + 0x40]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp - 0x30]
call fcn.14000f2c0
mov rcx, rax
call fcn.14001a860
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.1400158c0
mov rdx, rax
mov rcx, r12
call fcn.14001e000
nop
test rsi, rsi
je 0x140018c0d
sub r14, rsi
cmp r14, 0x1000
jb 0x140018c01
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x140018c9f
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.1400720fc
nop
mov rax, qword [rbp + 0xa0]
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 + 0xa0], rax
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x9c], edx
lea rcx, [rbp + 0xb8]
call fcn.1400162e0
lea rcx, [rbp + 0xc0]
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 + 0x138]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x140018cac
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018ca6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018ca6
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.1400720fc
nop
movzx edx, byte [rbp + 0x30]
lea rcx, [rbp + 0x38]
call fcn.140019cc0
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x140018cf8
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018cf3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018cf3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400720fc
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x60], 0
mov rax, qword [rbp + 0x98]
cmp rax, 0x10
jb 0x140018d4d
lea rdx, [rax + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x140018d45
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018d45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.1400720fc
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140072550
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400069e0
nop
int3