Function at 0x14005d2e0
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 - 0x280]
sub rsp, 0x380
mov rax, qword [0x1400e9080]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov r12, r8
mov r13, rdx
mov rdi, rcx
mov qword [rbp - 0x18], rcx
mov qword [rbp + 0xb0], rdx
mov qword [rbp + 0xb8], r8
xor esi, esi
mov dword [rsp + 0x58], esi
cmp byte [0x140491558], sil
jne 0x14005d375
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
mov qword [rbp + 0xe8], rsi
mov qword [rbp + 0xf0], rsi
lea r8d, [rsi + 0x52]
lea rdx, str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
lea rcx, [rbp + 0xd8]
call fcn.14004fdd0
lea rcx, [rbp + 0xd8]
call fcn.14005c600
mov dword [rsp + 0x70], 0xf0eaf3bd
mov dword [rsp + 0x74], 0xc6c8d2fa
mov word [rsp + 0x78], 0x9e
mov byte [rsp + 0x7a], 1
mov dword [rsp + 0x60], 0xf3fcf2bd
mov dword [rsp + 0x64], 0x1009dfa
mov dword [rbp + 0xd8], 0xedf8efbd
mov dword [rbp + 0xdc], 0xcccec9ec
mov dword [rbp + 0xe0], 0x98c0ca
mov byte [rbp + 0xe4], 1
mov dword [rsp + 0x68], 0xecfceabd
mov word [rsp + 0x6c], 0xa2
mov byte [rsp + 0x6e], 1
mov dword [rbp - 0x80], 0xfbede5ef
mov dword [rbp - 0x7c], 0xd6c4c7a2
mov dword [rbp - 0x78], 0xd7c5d5
mov byte [rbp - 0x74], 1
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x30]
call fcn.140051890
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14005d415
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.14004ef90
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp + 0xd8]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x90]
call fcn.1400519b0
nop
lea rdx, [rdi + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14005d46d
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14004ef90
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], 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 - 0x10]
lea rcx, [rbp + 0x70]
call fcn.1400512d0
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14005d4b3
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.14004ef90
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], 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 - 0x58]
lea rcx, [rbp - 0x38]
call fcn.140051690
nop
lea rdx, [rdi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14005d502
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14004ef90
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x150], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x160], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14005d56c
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d567
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d567
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b699c
movdqa xmm0, xmmword [0x1400d7c50]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14005d5bc
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d5b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d5b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b699c
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x14005d5fd
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d5f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d5f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b699c
movdqa xmm0, xmmword [0x1400d7c50]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x14005d650
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d64a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d64a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b699c
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x14005d694
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d68f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d68f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b699c
movdqa xmm0, xmmword [0x1400d7c50]
movdqu xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x14005d6ea
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d6e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d6e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b699c
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x14005d728
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d723
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d723
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b699c
movdqa xmm0, xmmword [0x1400d7c50]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
lea rax, [rbp + 0x10]
mov qword [rsp + 0x48], rax
lea rdx, [rdi + 0x80]
lea rcx, [rbp + 0x10]
call fcn.14004e9f0
mov rbx, rax
lea rdx, [rbp + 0x150]
lea rcx, [rbp - 0x10]
call fcn.14004e9f0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0xf8]
call fcn.1400645f0
nop
mov qword [rbp + 0x68], rsi
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0xf8]
lea rcx, [rbp + 0xc8]
call fcn.140054e10
nop
mov dword [rsp + 0x30], 0xedeef9f6
mov dword [rsp + 0x34], 0xc4c7fe
mov byte [rsp + 0x38], 1
mov rcx, rsi
nop word [rax + rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x14005d7c0
mov byte [rsp + 0x38], 0
lea r9, [rbp + 0xc0]
lea r8, [rsp + 0x37]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xd8]
call fcn.140050ba0
nop
mov rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0xc8]
test cl, cl
jne 0x14005d81f
mov byte [rbp + 0xc8], 1
call fcn.140053850
mov qword [rbp + 0xd0], rax
movzx ecx, byte [rbp + 0xc8]
jmp 0x14005d826
mov rax, qword [rbp + 0xd0]
cmp cl, 1
jne 0x14005d83d
lea rdx, [rbp + 0xd8]
mov rcx, rax
call fcn.140058900
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
movdqa xmm1, xmmword [0x1400d7c50]
movdqu xmmword [rbp + 0x128], xmm1
mov byte [rbp + 0x118], 0
mov dword [rsp + 0x58], 0xbf000
cmp byte [rbx], 3
jne 0x14005d87d
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x118]
cmp rax, rdx
je 0x14005d89b
jmp 0x14005d880
mov rdx, rsi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14005d88e
mov rdx, qword [rdx]
lea rcx, [rbp + 0x118]
call fcn.140059ad0
nop
mov r8, qword [rbp + 0xf0]
cmp r8, 0x10
jb 0x14005d8be
inc r8
mov rdx, qword [rbp + 0xd8]
lea rcx, [rbp + 0xd8]
call fcn.14004f0b0
movdqa xmm0, xmmword [0x1400d7c50]
movdqu xmmword [rbp + 0xe8], xmm0
mov byte [rbp + 0xd8], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x170]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x170]
call fcn.1400579b0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x138], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400b6b34
mov rsi, rax
mov qword [rbp + 0x138], rax
lea r15, [rax + 0x20]
mov qword [rbp + 0x148], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x140], r15
lea r8, [rbp + 0xf8]
cmp qword [rbp + 0x110], 0x10
cmovae r8, qword [rbp + 0xf8]
lea rcx, [rdi + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x14005d95d
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp + 0x108]
mov rdx, qword [rdi + 0x268]
call fcn.14006c460
mov r14, rsi
cmp rsi, r15
je 0x14005d9f9
nop word [rax + rax]
movzx edi, byte [r14]
lea rdx, [0x14005e3c0]
lea rcx, [rbp + 0x180]
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, [rbp + 0xd8]
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 0x14005d990
mov rdi, qword [rbp - 0x18]
lea rbx, [section..data]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rbx, qword [section..data]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x170]
call fcn.140067350
cmp qword [rax + 0x18], 0x10
jb 0x14005da30
mov rax, qword [rax]
nop word [rax + rax]
movd xmm2, dword [rbx]
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
psrad xmm2, 0x18
movd xmm0, dword [rax]
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 xmm1, xmm2
movdqa xmm0, xmm1
psrldq xmm0, 8
por xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
por xmm1, xmm0
movd ebx, xmm1
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x14005dade
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005dad9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005dad9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b699c
test ebx, ebx
je 0x14005db01
lea r8, [rbp + 0x118]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp + 0x30]
call fcn.140051090
mov rcx, rax
call fcn.14005c600
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0xd8]
call fcn.1400574f0
mov rdx, rax
mov rcx, rdi
call fcn.1400600f0
mov dword [rsp + 0x30], 0xeeeef9e9
mov dword [rsp + 0x34], 0xc7d2cef0
mov word [rsp + 0x38], 0x100
xor r14d, r14d
mov ecx, r14d
nop dword [rax]
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 8
jb 0x14005db40
mov byte [rsp + 0x39], r14b
lea r9, [rbp + 0xc0]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x38]
call fcn.140050ba0
mov dword [rsp + 0x58], 0x7f030
movzx ecx, byte [rbp + 0xc8]
test cl, cl
jne 0x14005db9e
mov byte [rbp + 0xc8], 1
call fcn.140053850
mov qword [rbp + 0xd0], rax
movzx ecx, byte [rbp + 0xc8]
jmp 0x14005dba5
mov rax, qword [rbp + 0xd0]
cmp cl, 1
jne 0x14005dbb8
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.140058900
jmp 0x14005dbbd
mov rax, qword [rsp + 0x30]
cmp byte [rax], 0
je 0x14005dc76
mov dword [rsp + 0x48], 0xeeeef9e9
mov dword [rsp + 0x4c], 0xc7d2cef0
mov word [rsp + 0x50], 0x100
mov rcx, r14
lea eax, [rcx - 0x65]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x14005dbe0
mov byte [rsp + 0x51], 0
lea r9, [rbp + 0xc0]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x58]
call fcn.140050ba0
nop
mov dword [rsp + 0x58], 0x7f331
movzx ecx, byte [rbp + 0xc8]
test cl, cl
jne 0x14005dc3f
mov byte [rbp + 0xc8], 1
call fcn.140053850
mov qword [rbp + 0xd0], rax
movzx ecx, byte [rbp + 0xc8]
jmp 0x14005dc46
mov rax, qword [rbp + 0xd0]
cmp cl, 1
jne 0x14005dc59
lea rdx, [rbp - 0x58]
mov rcx, rax
call fcn.140058900
jmp 0x14005dc5e
mov rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400574f0
nop
mov ebx, 0x7f333
movzx edi, byte [rbp - 0x68]
jmp 0x14005dcd9
mov word [rsp + 0x40], 0x100
mov dil, 3
mov byte [rbp - 0x68], dil
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400b6b34
mov rbx, rax
lea rax, [rbp + 0xc0]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], rbx
mov byte [rsp + 0x41], 0
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140050ba0
nop
mov qword [rbp - 0x60], rbx
lea rax, [rbp - 0x68]
mov ebx, 0x7fc34
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r13], 0
bts ebx, 7
mov dword [rsp + 0x58], ebx
cmp byte [rax], 3
jne 0x14005dd05
mov rdx, qword [rax + 8]
jmp 0x14005dd08
mov rdx, r14
cmp r13, rdx
je 0x14005dd23
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14005dd1b
mov rdx, qword [rdx]
mov rcx, r13
call fcn.140059ad0
btr ebx, 7
or ebx, 0x48
test bl, 4
je 0x14005dd40
and ebx, 0xfffffffb
movzx edx, dil
lea rcx, [rbp - 0x60]
call fcn.14005ad40
nop
test bl, 2
je 0x14005dd56
and ebx, 0xfffffffd
movzx edx, byte [rbp - 0x80]
lea rcx, [rbp - 0x78]
call fcn.14005ad40
nop
test bl, 1
je 0x14005ddaa
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14005dd99
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005dd94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005dd94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b699c
movdqa xmm0, xmmword [0x1400d7c50]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14005dde8
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005dde3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005dde3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b699c
movdqa xmm0, xmmword [0x1400d7c50]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
test rsi, rsi
je 0x14005de32
sub r15, rsi
cmp r15, 0x1000
jb 0x14005de26
add r15, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14005deca
mov rsi, rcx
mov rdx, r15
mov rcx, rsi
call fcn.1400b699c
nop
mov rax, qword [rbp + 0x170]
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 + 0x170], rax
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x16c], edx
lea rcx, [rbp + 0x188]
call fcn.140057f30
lea rcx, [rbp + 0x190]
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 + 0x208]
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 + 0x130]
cmp rdx, 0x10
jb 0x14005ded7
inc rdx
mov rcx, qword [rbp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ded1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ded1
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.1400b699c
nop
movzx edx, byte [rbp + 0xc8]
lea rcx, [rbp + 0xd0]
call fcn.14005ad40
nop
mov rdx, qword [rbp + 0x110]
cmp rdx, 0x10
jb 0x14005df2f
inc rdx
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005df2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005df2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b699c
mov qword [rbp + 0x108], r14
mov qword [rbp + 0x110], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xf8], 0
mov rdx, qword [rbp + 0x168]
cmp rdx, 0x10
jb 0x14005df8d
inc rdx
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005df87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005df87
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b699c
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x14005dfc5
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x14005dfc0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005e005
mov rcx, r8
call fcn.1400b699c
mov qword [r12 + 0x10], r14
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r12], 0
mov rax, r13
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1400b7160
mov rbx, qword [rsp + 0x3d8]
add rsp, 0x380
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