Function at 0x14004b9e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3f8]
sub rsp, 0x4f8
mov rax, qword [0x1400c5ae8]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov rbx, r9
mov qword [rbp + 0x20], rbx
mov r13, r8
mov r12, rdx
mov rsi, rcx
mov qword [rbp - 8], rcx
mov qword [rbp + 0x218], rdx
mov qword [rbp + 0x220], r8
mov qword [rbp + 0x228], rbx
mov rdi, qword [rbp + 0x460]
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x230], rdi
xor r15d, r15d
mov dword [rsp + 0x48], r15d
cmp byte [0x1400c6a80], r15b
jne 0x14004ba85
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
lea r8d, [r15 + 0x52]
lea rdx, str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
lea rcx, [rbp - 0x48]
call fcn.14002a4c8
lea rcx, [rbp - 0x48]
call fcn.140046620
lea rcx, [rbp + 0x268]
call fcn.1400539e0
nop
mov dword [rbp - 0x68], 0xf0eaf3bd
mov dword [rbp - 0x64], 0xc6c8d2fa
mov word [rbp - 0x60], 0x9e
mov byte [rbp - 0x5e], 1
mov dword [rsp + 0x70], 0xf3fcf2bd
mov dword [rsp + 0x74], 0x1009dfa
mov dword [rbp - 0x58], 0xedf8efbd
mov dword [rbp - 0x54], 0xcccec9ec
mov dword [rbp - 0x50], 0x98c0ca
mov byte [rbp - 0x4c], 1
mov dword [rbp - 0x80], 0xf7eaf4bd
mov dword [rbp - 0x7c], 0x1009dfb
mov dword [rbp - 0x78], 0xfff0f9bd
mov dword [rbp - 0x74], 0x9cccf6
mov byte [rbp - 0x70], 1
mov dword [rsp + 0x48], 0xe7f8f7bd
mov word [rsp + 0x4c], 0xa2
mov byte [rsp + 0x4e], 1
mov dword [rsp + 0x78], 0xedfcecbd
mov dword [rsp + 0x7c], 0x1009dec
mov dword [rsp + 0x60], 0xfbeee9bd
mov dword [rsp + 0x64], 0xcfc0ceed
mov dword [rsp + 0x68], 0x10099c6
mov dword [rsp + 0x50], 0xfbede5ef
mov dword [rsp + 0x54], 0xc5c4d2a2
mov dword [rsp + 0x58], 0xc3d1d7ca
mov word [rsp + 0x5c], Ordinal_217
mov byte [rsp + 0x5e], 1
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0xa
jb 0x14004bb60
mov byte [rsp + 0x6b], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x6a]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x30]
call fcn.14003c040
nop
cmp byte [rsp + 0x5e], 0
je 0x14004bbb5
mov rcx, r15
nop dword [rax + rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0xd
jb 0x14004bba0
mov byte [rsp + 0x5e], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x5d]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x48]
call fcn.14003c040
nop
lea r9, [rbp + 0x30]
lea r8, [rbp - 0x48]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp]
call fcn.140042720
nop
mov r8, qword [rbp - 0x30]
cmp r8, 0x10
jb 0x14004bc00
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.14003820c
nop
mov r8, qword [rbp + 0x48]
cmp r8, 0x10
jb 0x14004bc1b
inc r8
mov rdx, qword [rbp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.14003820c
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14004bc2a
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
lea rcx, [rbp]
call fcn.1400448f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x100], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0xd0]
call fcn.14003c760
nop
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x14004bc83
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
mov rcx, rax
call fcn.1400448f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x90]
call fcn.14003c680
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14004bcd9
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.1400448f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x50]
call fcn.14003c840
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14004bd25
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.1400448f0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x138]
call fcn.14003c760
nop
lea rdx, [rbp + 0x268]
cmp qword [rbp + 0x280], 0x10
cmovae rdx, qword [rbp + 0x268]
mov r8, qword [rbp + 0x278]
mov rcx, rax
call fcn.1400448f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x118], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x128], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x58]
lea rdx, [rbp + 0x118]
lea rcx, [rbp + 0x1f8]
call fcn.14003cc00
nop
lea r8, [rsi + 0x238]
mov rdx, rax
lea rcx, [rbp + 0x1d8]
call fcn.14003c440
nop
lea r8, [rsp + 0x70]
mov rdx, rax
lea rcx, [rbp + 0x1b8]
call fcn.14003c760
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rbp + 0x198]
call fcn.14003c440
nop
lea r8, [rbp - 0x68]
mov rdx, rax
lea rcx, [rbp + 0x178]
call fcn.14003ca00
nop
lea r8, [rsi + 0x20]
mov rdx, rax
lea rcx, [rbp + 0x2a8]
call fcn.14003c440
nop
lea rcx, [rbp + 0x178]
call fcn.14002e6f0
nop
lea rcx, [rbp + 0x198]
call fcn.14002e6f0
nop
lea rcx, [rbp + 0x1b8]
call fcn.14002e6f0
nop
lea rcx, [rbp + 0x1d8]
call fcn.14002e6f0
nop
lea rcx, [rbp + 0x1f8]
call fcn.14002e6f0
nop
lea rcx, [rbp + 0x118]
call fcn.14002e6f0
nop
lea rcx, [rbp + 0x138]
call fcn.14002e6f0
nop
lea rcx, [rbp - 0x28]
call fcn.14002e6f0
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x14004bed0
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004becb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004becb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e3ec
movdqa xmm0, xmmword [0x1400aa140]
movdqu xmmword [rbp + 0x60], xmm0
mov byte [rbp + 0x50], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x14004bf23
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004bf1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004bf1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e3ec
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x14004bf67
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004bf62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004bf62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e3ec
movdqa xmm0, xmmword [0x1400aa140]
movdqu xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], 0
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x14004bfc3
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004bfbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004bfbd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e3ec
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x14004c007
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c002
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c002
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e3ec
movdqa xmm0, xmmword [0x1400aa140]
movdqu xmmword [rbp + 0xe0], xmm0
mov byte [rbp + 0xd0], 0
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x14004c063
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c05d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c05d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e3ec
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x14004c0a1
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c09c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c09c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e3ec
movdqa xmm0, xmmword [0x1400aa140]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
lea rax, [rbp - 0x28]
mov qword [rbp + 0x110], rax
lea rdx, [rsi + 0x80]
lea rcx, [rbp - 0x28]
call fcn.14002d930
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
lea rsi, [rbp + 0x2a8]
cmp qword [rbp + 0x2c0], 0x10
cmovae rsi, qword [rbp + 0x2a8]
movabs rbx, 0x7fffffffffffffff
mov rdi, qword [rbp + 0x2b8]
cmp rdi, rbx
ja 0x14004cb0e
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x14004c12b
mov qword [rbp - 0x38], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x48], xmm0
jmp 0x14004c17d
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x14004c146
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 - 0x48]
call fcn.140037dc0
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call fcn.14009f7de
nop
mov r8, r14
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x248]
call fcn.14004cb20
nop
mov qword [rbp + 0x170], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x138]
lea rdx, [rbp + 0x248]
lea rcx, [rbp + 0x238]
call fcn.14003fd30
nop
mov dword [rsp + 0x38], 0xedeef9f6
mov dword [rsp + 0x3c], 0xc4c7fe
mov byte [rsp + 0x40], 1
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x14004c1e0
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp]
call fcn.14003c040
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0x238]
test cl, cl
jne 0x14004c23a
mov byte [rbp + 0x238], 1
call fcn.14003e770
mov qword [rbp + 0x240], rax
movzx ecx, byte [rbp + 0x238]
jmp 0x14004c241
mov rax, qword [rbp + 0x240]
cmp cl, 1
jne 0x14004c255
lea rdx, [rbp]
mov rcx, rax
call fcn.140043870
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x288], xmm0
movdqa xmm1, xmmword [0x1400aa140]
movdqu xmmword [rbp + 0x298], xmm1
mov byte [rbp + 0x288], 0
mov dword [rsp + 0x48], 0x5ff60
cmp byte [rbx], 3
jne 0x14004c295
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x288]
cmp rax, rdx
je 0x14004c2b3
jmp 0x14004c298
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14004c2a6
mov rdx, qword [rdx]
lea rcx, [rbp + 0x288]
call fcn.140037ea8
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x14004c2f1
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c2ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c2ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e3ec
movdqa xmm0, xmmword [0x1400aa140]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x2e0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400a8cc0]
mov qword [rbp + 0x2e0], rax
lea rax, [0x1400a8cc8]
mov qword [rbp + 0x2f0], rax
lea rcx, [rbp + 0x378]
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 + 0x48], 0x3ffe0
xor r8d, r8d
lea rdx, [rbp + 0x2f8]
lea rcx, [rbp + 0x2e0]
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 + 0x2e0]
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 + 0x2e0], rax
mov rax, qword [rbp + 0x2e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x2dc], edx
lea rcx, [rbp + 0x2f8]
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 + 0x2f8], rax
mov qword [rbp + 0x360], r15
mov dword [rbp + 0x368], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x2c8], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14009e9f0
mov r14, rax
mov qword [rbp + 0x2c8], rax
lea r15, [rax + 0x20]
mov qword [rbp + 0x2d8], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x2d0], r15
lea r8, [rbp + 0x248]
cmp qword [rbp + 0x260], 0x10
cmovae r8, qword [rbp + 0x248]
mov rdi, qword [rbp - 8]
lea rcx, [rdi + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x14004c421
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r14
mov r9, qword [rbp + 0x258]
mov rdx, qword [rdi + 0x268]
call fcn.140053e50
mov rsi, r14
cmp r14, r15
je 0x14004c4b6
nop word [rax + rax]
movzx edi, byte [rsi]
lea rdx, [0x1400476b0]
lea rcx, [rbp + 0x2f0]
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 rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0x30
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::fill_char____ptr64]
mov edx, 2
lea rcx, [rsp + 0x50]
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, r15
jne 0x14004c450
mov rdi, qword [rbp - 8]
lea rbx, [0x1400c5a68]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rbx, qword [0x1400c5a68]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x2e0]
call fcn.14004ee10
cmp qword [rax + 0x18], 0x10
jb 0x14004c4f0
mov rax, qword [rax]
nop word [rax + rax]
movd xmm2, dword [rax]
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
psrad xmm2, 0x18
movd xmm0, dword [rbx]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
pxor xmm2, xmm0
movd xmm1, dword [rax + 4]
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
psrad xmm1, 0x18
movd xmm0, dword [rbx + 4]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
pxor xmm1, xmm0
por xmm2, xmm1
movdqa xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd ebx, xmm2
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14004c59e
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c599
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c599
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e3ec
test ebx, ebx
je 0x14004c5c4
lea r8, [rbp + 0x288]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp + 0x138]
call fcn.14003c520
mov rcx, rax
call fcn.140046620
lea rdx, [rbp + 0x238]
lea rcx, [rsp + 0x50]
call fcn.140042410
mov rdx, rax
mov rcx, rdi
call fcn.1400490a0
mov dword [rsp + 0x38], 0xfdfee9e8
mov dword [rsp + 0x3c], 0xd2d3fa
mov byte [rsp + 0x40], 1
xor esi, esi
mov ecx, esi
nop dword [rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x14004c600
mov byte [rsp + 0x40], sil
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.14003c040
nop
movzx ecx, byte [rbp + 0x238]
test cl, cl
jne 0x14004c655
mov byte [rbp + 0x238], 1
call fcn.14003e770
mov qword [rbp + 0x240], rax
movzx ecx, byte [rbp + 0x238]
jmp 0x14004c65c
mov rax, qword [rbp + 0x240]
cmp cl, 1
jne 0x14004c672
lea rdx, [rbp - 0x28]
mov rcx, rax
call fcn.140043870
mov rcx, rax
jmp 0x14004c677
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, rsi
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14004c6c3
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c6be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c6be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e3ec
test bl, bl
je 0x14004c7ac
mov dword [rsp + 0x48], 0xf1fbf2f2
mov word [rsp + 0x4c], 0x100
mov rcx, rsi
nop dword [rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 4
jb 0x14004c6e0
mov byte [rsp + 0x4d], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x4c]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x28]
call fcn.14003c040
nop
movzx ecx, byte [rbp + 0x238]
test cl, cl
jne 0x14004c735
mov byte [rbp + 0x238], 1
call fcn.14003e770
mov qword [rbp + 0x240], rax
movzx ecx, byte [rbp + 0x238]
jmp 0x14004c73c
mov rax, qword [rbp + 0x240]
cmp cl, 1
jne 0x14004c74f
lea rdx, [rbp - 0x28]
mov rcx, rax
call fcn.140043870
jmp 0x14004c754
mov rax, qword [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140042410
mov rdx, rax
mov rcx, rdi
call fcn.140049150
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14004c7ac
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c7a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c7a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e3ec
nop
test r14, r14
je 0x14004c7e5
sub r15, r14
cmp r15, 0x1000
jb 0x14004c7d9
add r15, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x14004c87d
mov r14, rcx
mov rdx, r15
mov rcx, r14
call fcn.14009e3ec
nop
mov rax, qword [rbp + 0x2e0]
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 + 0x2e0], rax
mov rax, qword [rbp + 0x2e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x2dc], edx
lea rcx, [rbp + 0x2f8]
call fcn.14002e740
lea rcx, [rbp + 0x300]
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 + 0x378]
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 + 0x2a0]
cmp rdx, 0x10
jb 0x14004c88a
inc rdx
mov rcx, qword [rbp + 0x288]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c884
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c884
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.14009e3ec
nop
movzx edx, byte [rbp + 0x238]
lea rcx, [rbp + 0x240]
call fcn.140045a90
nop
mov rdx, qword [rbp + 0x260]
cmp rdx, 0x10
jb 0x14004c8e2
inc rdx
mov rcx, qword [rbp + 0x248]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c8dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c8dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e3ec
mov qword [rbp + 0x258], rsi
mov qword [rbp + 0x260], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x248], 0
mov rax, qword [rbp + 0x2c0]
cmp rax, 0x10
jb 0x14004c941
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x2a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c93b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c93b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e3ec
nop
mov rdx, qword [rbp + 0x280]
cmp rdx, 0x10
jb 0x14004c985
inc rdx
mov rcx, qword [rbp + 0x268]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c980
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c980
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e3ec
mov qword [rbp + 0x278], rsi
mov qword [rbp + 0x280], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x268], 0
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x14004c9da
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x14004c9d5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004caf2
mov rcx, r8
call fcn.14009e3ec
mov qword [r12 + 0x10], rsi
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r12], 0
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x14004ca28
mov rcx, qword [r13]
inc rdx
cmp rdx, 0x1000
jb 0x14004ca23
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004caf9
mov rcx, r8
call fcn.14009e3ec
mov qword [r13 + 0x10], rsi
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r13], 0
mov rbx, qword [rbp + 0x20]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14004ca77
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14004ca72
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004cb00
mov rcx, r8
call fcn.14009e3ec
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rbx, qword [rbp + 0x28]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14004cac0
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14004cabb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004cb07
mov rcx, r8
call fcn.14009e3ec
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.14009e970
add rsp, 0x4f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
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 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.1400290ec
int3