Function at 0x14005c080
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x1400d5080]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov r12, r8
mov r13, rdx
mov rdi, rcx
mov qword [rbp - 0x30], rcx
mov qword [rbp + 0x98], rdx
mov qword [rbp + 0xe8], r8
xor esi, esi
mov dword [rbp - 0x80], esi
cmp byte [0x1400d5b38], sil
jne 0x14005c105
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], rsi
lea r8d, [rsi + 0x52]
lea rdx, str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
lea rcx, [rbp - 0x78]
call fcn.1400441f0
lea rcx, [rbp - 0x78]
call fcn.140053ec0
mov dword [rsp + 0x60], 0xf0eaf3bd
mov dword [rsp + 0x64], 0xc6c8d2fa
mov word [rsp + 0x68], 0x9e
mov byte [rsp + 0x6a], 1
mov dword [rsp + 0x58], 0xf3fcf2bd
mov dword [rsp + 0x5c], 0x1009dfa
mov dword [rsp + 0x70], 0xedf8efbd
mov dword [rsp + 0x74], 0xcccec9ec
mov dword [rsp + 0x78], 0x98c0ca
mov byte [rsp + 0x7c], 1
mov dword [rsp + 0x38], 0xecfceabd
mov dword [rsp + 0x3c], 0x9cc4f6
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x48], 0xfbede5ef
mov dword [rsp + 0x4c], 0xd0c0d6a2
mov word [rsp + 0x50], 0x100
mov rcx, rsi
nop dword [rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x14005c180
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x50]
call fcn.140048c90
nop
cmp byte [rsp + 0x51], 0
je 0x14005c1d5
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x14005c1c0
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x28]
call fcn.140048c90
nop
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x28]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x78]
call fcn.14004ef70
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14005c244
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c23e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c23e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac344
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14005c283
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c27d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c27d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac344
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14005c292
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
lea rcx, [rbp - 0x78]
call fcn.140047ec0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb8], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x78]
call fcn.140049410
nop
lea rdx, [rdi + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14005c2ef
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140047ec0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x68], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x38]
call fcn.140049170
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14005c335
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140047ec0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x28], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 8]
call fcn.140049330
nop
lea rdx, [rdi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14005c384
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140047ec0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x158], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x168], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x14005c3ee
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c3e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c3e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac344
movdqa xmm0, xmmword [0x1400c4530]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x14005c43e
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c438
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c438
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac344
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x14005c47c
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c477
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c477
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac344
movdqa xmm0, xmmword [0x1400c4530]
movdqu xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x14005c4cc
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c4c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c4c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac344
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x14005c50d
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c508
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c508
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac344
movdqa xmm0, xmmword [0x1400c4530]
movdqu xmmword [rbp + 0x88], xmm0
mov byte [rbp + 0x78], 0
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x14005c566
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c560
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c560
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac344
nop
mov r8, qword [rbp - 0x60]
cmp r8, 0x10
jb 0x14005c580
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.140047f50
movdqa xmm0, xmmword [0x1400c4530]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
lea rax, [rbp - 0x50]
mov qword [rbp + 0xa0], rax
lea rdx, [rdi + 0x80]
lea rcx, [rbp - 0x50]
call fcn.1400477c0
mov rbx, rax
lea rdx, [rbp + 0x158]
lea rcx, [rbp - 0x28]
call fcn.1400477c0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x100]
call fcn.1400597a0
nop
mov qword [rbp + 0xe0], rsi
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0xa8]
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xf0]
call fcn.14004c580
nop
mov dword [rsp + 0x38], 0xedeef9f6
mov dword [rsp + 0x3c], 0xc4c7fe
mov byte [rsp + 0x40], 1
mov rcx, rsi
nop word [rax + rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x14005c620
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x78]
call fcn.140048c90
nop
mov rbx, qword [rbp - 0x58]
movzx ecx, byte [rbp + 0xf0]
test cl, cl
jne 0x14005c679
mov byte [rbp + 0xf0], 1
call fcn.14004afc0
mov qword [rbp + 0xf8], rax
movzx ecx, byte [rbp + 0xf0]
jmp 0x14005c680
mov rax, qword [rbp + 0xf8]
cmp cl, 1
jne 0x14005c694
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.140050150
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
movdqa xmm1, xmmword [0x1400c4530]
movdqu xmmword [rbp + 0x130], xmm1
mov byte [rbp + 0x120], 0
mov dword [rbp - 0x80], 0x7fac0
cmp byte [rbx], 3
jne 0x14005c6d3
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x120]
cmp rax, rdx
je 0x14005c6f1
jmp 0x14005c6d6
mov rdx, rsi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14005c6e4
mov rdx, qword [rdx]
lea rcx, [rbp + 0x120]
call fcn.140051390
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14005c72f
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c72a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c72a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac344
movdqa xmm0, xmmword [0x1400c4530]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400b1190]
mov qword [rbp + 0x180], rax
lea rax, [0x1400b1198]
mov qword [rbp + 0x190], rax
lea rcx, [rbp + 0x218]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rbp - 0x80], 0x7fdc0
xor r8d, r8d
lea rdx, [rbp + 0x198]
lea rcx, [rbp + 0x180]
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 + 0x180]
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 + 0x180], rax
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x17c], edx
lea rcx, [rbp + 0x198]
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 + 0x198], rax
mov qword [rbp + 0x200], rsi
mov dword [rbp + 0x208], esi
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400ac658
mov rsi, rax
mov qword [rbp + 0x140], rax
lea r15, [rax + 0x20]
mov qword [rbp + 0x150], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x148], r15
lea r8, [rbp + 0x100]
cmp qword [rbp + 0x118], 0x10
cmovae r8, qword [rbp + 0x100]
lea rcx, [rdi + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x14005c859
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp + 0x110]
mov rdx, qword [rdi + 0x268]
call fcn.140061b00
mov r14, rsi
cmp rsi, r15
je 0x14005c8e9
movzx edi, byte [r14]
lea rdx, [0x140054f50]
lea rcx, [rbp + 0x190]
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]
add rcx, rbx
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 + 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 r14
cmp r14, r15
jne 0x14005c882
mov rdi, qword [rbp - 0x30]
lea rbx, [section..data]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rbx, qword [section..data]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x180]
call fcn.14005bd20
cmp qword [rax + 0x18], 0x10
jb 0x14005c920
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 - 0x38]
cmp rdx, 0x10
jb 0x14005c9ce
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c9c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005c9c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac344
test ebx, ebx
je 0x14005c9f1
lea r8, [rbp + 0x120]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp - 0x50]
call fcn.140048270
mov rcx, rax
call fcn.140053ec0
lea rdx, [rbp + 0xf0]
lea rcx, [rsp + 0x70]
call fcn.14004ec60
mov rdx, rax
mov rcx, rdi
call fcn.140057ad0
mov dword [rsp + 0x38], 0xedeef9f6
mov dword [rsp + 0x3c], 0xc4c7fe
mov byte [rsp + 0x40], 1
xor ebx, ebx
mov ecx, ebx
nop word [rax + rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x14005ca30
mov byte [rsp + 0x40], bl
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x78]
call fcn.140048c90
nop
movzx ecx, byte [rbp + 0xf0]
test cl, cl
jne 0x14005ca84
mov byte [rbp + 0xf0], 1
call fcn.14004afc0
mov qword [rbp + 0xf8], rax
movzx ecx, byte [rbp + 0xf0]
jmp 0x14005ca8b
mov rax, qword [rbp + 0xf8]
cmp cl, 1
jne 0x14005ca9e
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.140050150
jmp 0x14005caa2
mov rax, qword [rbp - 0x58]
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r13], 0
mov dword [rbp - 0x80], 0x7fddc
cmp byte [rax], 3
jne 0x14005cacd
mov rdx, qword [rax + 8]
jmp 0x14005cad0
mov rdx, rbx
cmp r13, rdx
je 0x14005caec
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14005cae3
mov rdx, qword [rdx]
mov rcx, r13
call fcn.140051390
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14005cb2a
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cb25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005cb25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac344
movdqa xmm0, xmmword [0x1400c4530]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
test rsi, rsi
je 0x14005cb74
sub r15, rsi
cmp r15, 0x1000
jb 0x14005cb68
add r15, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14005cc0c
mov rsi, rcx
mov rdx, r15
mov rcx, rsi
call fcn.1400ac344
nop
mov rax, qword [rbp + 0x180]
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 + 0x180], rax
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x17c], edx
lea rcx, [rbp + 0x198]
call fcn.14004f760
lea rcx, [rbp + 0x1a0]
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 + 0x218]
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 + 0x138]
cmp rdx, 0x10
jb 0x14005cc19
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cc13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005cc13
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.1400ac344
nop
movzx edx, byte [rbp + 0xf0]
lea rcx, [rbp + 0xf8]
call fcn.140052600
nop
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x14005cc71
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cc6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005cc6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac344
mov qword [rbp + 0x110], rbx
mov qword [rbp + 0x118], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x100], 0
mov rdx, qword [rbp + 0x170]
cmp rdx, 0x10
jb 0x14005cccf
inc rdx
mov rcx, qword [rbp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ccc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ccc9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac344
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x14005cd07
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x14005cd02
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005cd47
mov rcx, r8
call fcn.1400ac344
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r12], 0
mov rax, r13
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.1400abf20
mov rbx, qword [rsp + 0x3e8]
add rsp, 0x390
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]
int3