Function at 0x140051970
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 - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x14013a088]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14, rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x48], 0x435b440c
mov dword [rsp + 0x4c], 0x55595d4b
mov word [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x52], 1
mov dword [rsp + 0x40], 0x404d450c
mov dword [rsp + 0x44], 0x100124b
mov dword [rsp + 0x68], 0x5e49580c
mov dword [rsp + 0x6c], 0x5f5f465d
mov dword [rsp + 0x70], 0x9575b
mov byte [rsp + 0x74], 1
mov dword [rsp + 0x58], 0x485c525e
mov dword [rsp + 0x5c], 0x54584c13
mov dword [rsp + 0x60], 0x1005851
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x18]
call fcn.140049f70
nop
lea rdx, [r14 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140051a3d
mov rdx, qword [rdx]
mov rcx, rax
call fcn.1400456e0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x38]
call fcn.140049c00
nop
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140051a83
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.1400456e0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x40], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x78]
call fcn.140049e70
nop
lea rdx, [r14 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140051ad2
mov rdx, qword [rdx]
mov rcx, rax
call fcn.1400456e0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x98], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa8], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140051b3c
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051b37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051b37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa4d4
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x140051b8b
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051b85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051b85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa4d4
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x140051bc9
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051bc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051bc4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa4d4
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140051c18
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051c12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051c12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa4d4
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x140051c56
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051c51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051c51
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa4d4
mov qword [rbp - 8], r13
mov qword [rbp], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x18], 0
lea rax, [rbp - 0x58]
mov qword [rbp + 0x28], rax
lea rdx, [r14 + 0x80]
lea rcx, [rbp - 0x58]
call fcn.1400458f0
mov r12, rax
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r13
lea rdi, [rbp + 0x98]
mov r15, qword [rbp + 0x98]
cmp qword [rbp + 0xb0], 0x10
cmovae rdi, r15
mov rsi, qword [rbp + 0xa8]
cmp rsi, 0x10
jae 0x140051cc2
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x30], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x140051d3b
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140051d19
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140052379
mov rcx, rax
call fcn.1400aa54c
mov rcx, rax
test rax, rax
je 0x140051d12
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140051d28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140051d25
call fcn.1400aa54c
jmp 0x140051d28
mov rax, r13
mov qword [rbp + 0x30], rax
lea r8, [rsi + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x48], rbx
mov r8, r12
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x78]
call fcn.140058bc0
nop
mov qword [rbp + 0x20], r13
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp - 0x18]
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x68]
call fcn.14004cf20
nop
mov dword [rsp + 0x30], 0x5e5f4e47
mov dword [rsp + 0x34], 0x55484f
mov byte [rsp + 0x38], 1
mov rcx, r13
nop word [rax + rax]
lea eax, [rcx + 0x2a]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x140051d90
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], 0
mov r8d, 7
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.140046220
nop
mov rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0x68]
test cl, cl
jne 0x140051df2
mov byte [rbp + 0x68], 1
call fcn.14004b7c0
mov qword [rbp + 0x70], rax
movzx ecx, byte [rbp + 0x68]
jmp 0x140051df6
mov rax, qword [rbp + 0x70]
cmp cl, 1
jne 0x140051e0b
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.1400505c0
mov rbx, rax
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x40], r13
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x48], r13
mov byte [rbp + 0x30], 0
mov dword [rsp + 0x40], 0x5f
cmp byte [rbx], 3
jne 0x140051e3d
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x30]
cmp rax, rdx
je 0x140051e5a
jmp 0x140051e3f
xor edx, edx
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140051e4d
mov rdx, qword [rdx]
lea rcx, [rbp + 0x30]
call fcn.140046220
mov r13, qword [rbp + 0x48]
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140051e99
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051e94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051e94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa4d4
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], bl
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400af178]
mov qword [rbp + 0xc0], rax
lea rax, [0x1400af180]
mov qword [rbp + 0xd0], rax
lea rcx, [rbp + 0x158]
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], 0xbf
xor r8d, r8d
lea rdx, [rbp + 0xd8]
lea rcx, [rbp + 0xc0]
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 + 0xc0]
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 + 0xc0], rax
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xbc], edx
lea rcx, [rbp + 0xd8]
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 + 0xd8], rax
mov qword [rbp + 0x140], rbx
mov dword [rbp + 0x148], ebx
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
mov qword [rbp + 0x60], rbx
lea ecx, [rbx + 0x20]
call fcn.1400aa54c
mov qword [rbp + 0x50], rax
lea r9, [rax + 0x20]
mov qword [rbp + 0x60], r9
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x58], r9
mov rax, qword [rbp + 0x50]
sub r9, rax
lea r8, [rbp + 0x78]
cmp qword [rbp + 0x90], 0x10
cmovae r8, qword [rbp + 0x78]
lea rcx, [r14 + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x140051fbb
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x88]
mov rdx, qword [r14 + 0x268]
call fcn.14005f950
mov r12, qword [rbp + 0x58]
mov rsi, qword [rbp + 0x50]
cmp rsi, r12
je 0x140052043
movzx edi, byte [rsi]
lea rdx, [0x140054a20]
lea rcx, [rbp + 0xd0]
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 + 0x68]
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, r12
jne 0x140051fe5
xor ebx, ebx
mov qword [rbp - 0x78], rbx
mov rcx, rbx
mov qword [rbp - 0x68], rbx
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x60], rdi
mov byte [rbp - 0x78], 0
mov dword [rsp + 0x40], 0x2bf
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
mov edx, dword [rbp + 0x148]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x1400520ad
mov rax, qword [rbp + 0x118]
mov r8, qword [rax]
test r8, r8
je 0x1400520ad
mov rax, qword [rbp + 0xf8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x140]
cmovb r8, qword [rbp + 0x140]
sub r8, rdx
jmp 0x1400520e7
test dl, 4
jne 0x1400520dd
mov rax, qword [rbp + 0x110]
mov r9, qword [rax]
test r9, r9
je 0x1400520dd
mov rax, qword [rbp + 0xf0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x128]
movsxd r8, dword [rax]
sub r8, rdx
add r8, r9
jmp 0x1400520e7
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x1400520fd
lea rcx, [rbp - 0x78]
call fcn.140046220
mov rdi, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x68]
lea rdx, [section..data]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [section..data]
lea rax, [rbp - 0x78]
mov rbx, qword [rbp - 0x78]
cmp rdi, 0x10
cmovae rax, rbx
cmp rcx, qword [0x14013a010]
jne 0x140052141
mov r8, rcx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140052141
xor sil, sil
jmp 0x140052144
mov sil, 1
cmp rdi, 0x10
jb 0x14005217e
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140052176
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052176
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400aa4d4
test sil, sil
je 0x1400521a3
lea r8, [rbp + 0x30]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp - 0x58]
call fcn.140046700
mov rcx, rax
call fcn.1400539d0
mov r13, qword [rbp + 0x48]
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.14004f3f0
mov rdx, rax
mov rcx, r14
call fcn.140056ff0
nop
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14005220a
mov rdx, qword [rbp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400521f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400521f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa4d4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], 0
mov rax, qword [rbp + 0xc0]
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 + 0xc0], rax
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xbc], edx
lea rcx, [rbp + 0xd8]
call fcn.14004fcc0
lea rcx, [rbp + 0xe0]
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 + 0x158]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
cmp r13, 0x10
jb 0x14005229f
lea rdx, [r13 + 1]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052299
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052299
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa4d4
nop
movzx edx, byte [rbp + 0x68]
lea rcx, [rbp + 0x70]
call fcn.140053060
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x1400522ee
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400522e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400522e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aa4d4
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x90], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x78], 0
mov rax, qword [rbp + 0xb0]
cmp rax, 0x10
jb 0x140052349
lea rdx, [rax + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140052341
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052341
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1400aa4d4
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400aa940
lea r11, [rsp + 0x2d0]
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.140038a70
nop
int3