Function at 0x140051360
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 - 0x260]
sub rsp, 0x360
mov rax, qword [0x1400c2080]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov r15, r8
mov qword [rbp - 0x48], rdx
mov r12, rcx
mov qword [rbp + 0xa0], rdx
mov qword [rbp + 0xb0], r8
xor edi, edi
mov dword [rsp + 0x58], edi
cmp byte [0x1400e8e61], dil
jne 0x1400513f2
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], rdi
mov qword [rbp + 0xe0], rdi
lea r8d, [rdi + 0x52]
lea rdx, str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
lea rcx, [rbp + 0xc8]
call fcn.1400097e0
lea rcx, [rbp + 0xc8]
call fcn.140047340
mov dword [rsp + 0x68], 0xb1a9b2fa
mov dword [rsp + 0x6c], 0x878b9385
mov word [rsp + 0x70], reloc.WLDAP32.dll_Ordinal_217
mov byte [rsp + 0x72], 1
mov dword [rsp + 0x60], 0xb2bfb3fa
mov dword [rsp + 0x64], 0x100dc85
mov dword [rsp + 0x78], 0xacbbaefa
mov dword [rsp + 0x7c], 0x8d8d8893
mov dword [rbp - 0x80], 0xdb818d
mov byte [rbp - 0x7c], 1
mov dword [rsp + 0x38], 0xadbfabfa
mov dword [rsp + 0x3c], 0xdf8589
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x48], 0xbaaea4a8
mov dword [rsp + 0x4c], 0x918397dd
mov word [rsp + 0x50], 0x100
mov rcx, rdi
nop dword [rax + rax]
lea eax, [rcx - 0x24]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x140051470
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x68]
call fcn.14000a8d0
nop
cmp byte [rsp + 0x51], 0
je 0x1400514c5
mov rcx, rdi
nop dword [rax + rax]
lea eax, [rcx - 0x24]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x1400514b0
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x108]
call fcn.14000a8d0
nop
lea r9, [rbp - 0x68]
lea r8, [rbp + 0x108]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp + 0xc8]
call fcn.140042a10
nop
mov rdx, qword [rbp + 0x120]
cmp rdx, 0x10
jb 0x140051543
inc rdx
mov rcx, qword [rbp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005153d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005153d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a166c
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140051582
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005157c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005157c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a166c
nop
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14005158f
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rbp + 0xc8]
call fcn.140006ee0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x40]
call fcn.14003b480
nop
lea rdx, [r12 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400515e6
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140006ee0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x20]
call fcn.14003aec0
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14005162e
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.140006ee0
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp]
lea rcx, [rbp + 0x60]
call fcn.14003b280
nop
lea rdx, [r12 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14005167f
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140006ee0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x108], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x118], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x1400516e9
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400516e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400516e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a166c
movdqa xmm0, xmmword [0x1400b5750]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov r8, qword [rbp + 0x18]
cmp r8, 0x10
jb 0x140051715
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.140006fe0
nop
mov r8, qword [rbp + 0x38]
cmp r8, 0x10
jb 0x14005172f
inc r8
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.140006fe0
movdqa xmm0, xmmword [0x1400b5750]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
mov r8, qword [rbp - 0x28]
cmp r8, 0x10
jb 0x14005175b
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.140006fe0
nop
mov r8, qword [rbp + 0x58]
cmp r8, 0x10
jb 0x140051775
inc r8
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.140006fe0
movdqa xmm0, xmmword [0x1400b5750]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov r8, qword [rbp - 0x50]
cmp r8, 0x10
jb 0x1400517a1
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.140006fe0
nop
mov r8, qword [rbp + 0xe0]
cmp r8, 0x10
jb 0x1400517c4
inc r8
mov rdx, qword [rbp + 0xc8]
lea rcx, [rbp + 0xc8]
call fcn.140006fe0
movdqa xmm0, xmmword [0x1400b5750]
movdqu xmmword [rbp + 0xd8], xmm0
mov byte [rbp + 0xc8], 0
lea rax, [rbp - 0x68]
mov qword [rbp + 0xa8], rax
lea rdx, [r12 + 0x80]
lea rcx, [rbp - 0x68]
call fcn.140006d90
mov rbx, rax
lea rdx, [rbp + 0x108]
lea rcx, [rbp - 0x40]
call fcn.140006d90
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0xe8]
call fcn.14004e9f0
nop
mov qword [rbp + 0x98], rdi
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0xb8]
call fcn.14003fc50
nop
mov dword [rsp + 0x38], 0xacadb8b1
mov dword [rsp + 0x3c], 0x878681
mov byte [rsp + 0x40], 1
mov rcx, rdi
nop dword [rax]
lea eax, [rcx - 0x24]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x140051860
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x68]
call fcn.14000a8d0
nop
mov rbx, qword [rbp - 0x70]
movzx ecx, byte [rbp + 0xb8]
test cl, cl
jne 0x140051984
mov byte [rbp + 0xb8], 1
call fcn.14003cd00
mov qword [rbp + 0xc0], rax
movzx ecx, byte [rbp + 0xb8]
cmp cl, 1
jne 0x1400518f1
test rax, rax
jne 0x140051990
mov r8d, 0x4c8
lea rdx, str.C:Users_sdffdDesktopkeyauth_cpp_library_main_nlohmannjson.hpp
lea rcx, str.m_type___value_t::object__m_value.object___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbp + 0xc0]
movzx ecx, byte [rbp + 0xb8]
cmp cl, 2
jne 0x140051927
test rax, rax
jne 0x14005199f
mov r8d, 0x4c9
lea rdx, str.C:Users_sdffdDesktopkeyauth_cpp_library_main_nlohmannjson.hpp
lea rcx, str.m_type___value_t::array__m_value.array___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbp + 0xc0]
movzx ecx, byte [rbp + 0xb8]
cmp cl, 3
jne 0x140051959
test rax, rax
jne 0x14005199f
mov r8d, 0x4ca
lea rdx, str.C:Users_sdffdDesktopkeyauth_cpp_library_main_nlohmannjson.hpp
lea rcx, str.m_type___value_t::string__m_value.string___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbp + 0xc0]
movzx ecx, byte [rbp + 0xb8]
cmp cl, 8
jne 0x14005198b
test rax, rax
jne 0x14005199f
mov r8d, 0x4cb
lea rdx, str.C:Users_sdffdDesktopkeyauth_cpp_library_main_nlohmannjson.hpp
lea rcx, str.m_type___value_t::binary__m_value.binary___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx ecx, byte [rbp + 0xb8]
mov rax, qword [rbp + 0xc0]
cmp cl, 1
jne 0x14005199f
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.1400437e0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x128], xmm0
movdqa xmm1, xmmword [0x1400b5750]
movdqu xmmword [rbp + 0x138], xmm1
mov byte [rbp + 0x128], 0
mov dword [rsp + 0x58], 0x1feb00
cmp byte [rbx], 3
jne 0x1400519df
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x128]
cmp rax, rdx
je 0x1400519fd
jmp 0x1400519e2
mov rdx, rdi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400519f0
mov rdx, qword [rdx]
lea rcx, [rbp + 0x128]
call fcn.140044ac0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140051a3b
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051a36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051a36
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a166c
movdqa xmm0, xmmword [0x1400b5750]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x150]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400a5da8]
mov qword [rbp + 0x150], rax
lea rax, [0x1400a5db0]
mov qword [rbp + 0x160], rax
lea rcx, [rbp + 0x1e8]
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 + 0x58], 0x1ff700
xor r8d, r8d
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0x150]
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 + 0x150]
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 + 0x150], rax
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x14c], edx
lea rcx, [rbp + 0x168]
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 + 0x168], rax
mov qword [rbp + 0x1d0], rdi
mov dword [rbp + 0x1d8], edi
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400a13f0
mov r14, rax
mov qword [rbp + 0xc8], rax
lea r13, [rax + 0x20]
mov qword [rbp + 0xd8], r13
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0xd0], r13
lea r8, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0x10
cmovae r8, qword [rbp + 0xe8]
lea rcx, [r12 + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x140051b67
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r14
mov r9, qword [rbp + 0xf8]
mov rdx, qword [r12 + 0x268]
call fcn.140056e90
mov rsi, r14
cmp r14, r13
je 0x140051bed
movzx edi, byte [rsi]
lea rdx, [0x1400483f0]
lea rcx, [rbp + 0x160]
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]
mov byte [rcx + rbx + 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 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 rsi
cmp rsi, r13
jne 0x140051b91
lea rdi, [section..data]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdi, qword [section..data]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1400b5750]
movdqu xmmword [rbp - 0x10], xmm1
mov byte [rbp - 0x20], 0
mov dword [rsp + 0x58], 0x1ff710
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
mov ecx, dword [rbp + 0x1d8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140051c6a
mov rax, qword [rbp + 0x1a8]
mov r8, qword [rax]
test r8, r8
je 0x140051c6a
mov rax, qword [rbp + 0x188]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x1d0]
cmovb r8, qword [rbp + 0x1d0]
sub r8, rdx
jmp 0x140051ca3
test cl, 4
jne 0x140051c9a
mov rax, qword [rbp + 0x1a0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140051c9a
mov rax, qword [rbp + 0x180]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x1b8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140051ca3
mov r8, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x140051cb2
lea rcx, [rbp - 0x20]
call fcn.140044ac0
nop
lea rdx, [rbp - 0x20]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 8]
cmp r9, 0x10
cmovae rdx, r8
movsx ebx, byte [rdx + 7]
movsx eax, byte [rdi + 7]
xor ebx, eax
movsx ecx, byte [rdx + 6]
movsx eax, byte [rdi + 6]
xor ecx, eax
or ebx, ecx
movsx ecx, byte [rdx + 5]
movsx eax, byte [rdi + 5]
xor ecx, eax
or ebx, ecx
movsx ecx, byte [rdx + 4]
movsx eax, byte [rdi + 4]
xor ecx, eax
or ebx, ecx
movsx ecx, byte [rdx + 3]
movsx eax, byte [rdi + 3]
xor ecx, eax
or ebx, ecx
movsx ecx, byte [rdx + 2]
movsx eax, byte [rdi + 2]
xor ecx, eax
or ebx, ecx
movsx ecx, byte [rdx + 1]
movsx eax, byte [rdi + 1]
xor ecx, eax
or ebx, ecx
movsx ecx, byte [rdx]
movsx eax, byte [rdi]
xor ecx, eax
or ebx, ecx
cmp r9, 0x10
jb 0x140051d5c
lea rdx, [r9 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x140051d54
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051d54
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.1400a166c
test ebx, ebx
je 0x140051d7f
lea r8, [rbp + 0x128]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp + 0x60]
call fcn.140007020
mov rcx, rax
call fcn.140047340
lea rdx, [rbp + 0xb8]
lea rcx, [rsp + 0x78]
call fcn.1400426f0
mov rdx, rax
mov rcx, r12
call fcn.14004a310
mov dword [rsp + 0x38], 0xacadb8b1
mov dword [rsp + 0x3c], 0x878681
mov byte [rsp + 0x40], 1
xor edi, edi
mov ecx, edi
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x24]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x140051dc0
mov byte [rsp + 0x40], dil
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x68]
call fcn.14000a8d0
nop
movzx eax, byte [rbp + 0xb8]
test al, al
jne 0x140051edf
mov byte [rbp + 0xb8], 1
call fcn.14003cd00
mov rcx, rax
mov qword [rbp + 0xc0], rax
movzx eax, byte [rbp + 0xb8]
cmp al, 1
jne 0x140051e4f
test rcx, rcx
jne 0x140051eea
mov r8d, 0x4c8
lea rdx, str.C:Users_sdffdDesktopkeyauth_cpp_library_main_nlohmannjson.hpp
lea rcx, str.m_type___value_t::object__m_value.object___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbp + 0xc0]
movzx eax, byte [rbp + 0xb8]
cmp al, 2
jne 0x140051e84
test rcx, rcx
jne 0x140051ef5
mov r8d, 0x4c9
lea rdx, str.C:Users_sdffdDesktopkeyauth_cpp_library_main_nlohmannjson.hpp
lea rcx, str.m_type___value_t::array__m_value.array___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbp + 0xc0]
movzx eax, byte [rbp + 0xb8]
cmp al, 3
jne 0x140051eb5
test rcx, rcx
jne 0x140051ef5
mov r8d, 0x4ca
lea rdx, str.C:Users_sdffdDesktopkeyauth_cpp_library_main_nlohmannjson.hpp
lea rcx, str.m_type___value_t::string__m_value.string___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbp + 0xc0]
movzx eax, byte [rbp + 0xb8]
cmp al, 8
jne 0x140051ee6
test rcx, rcx
jne 0x140051ef5
mov r8d, 0x4cb
lea rdx, str.C:Users_sdffdDesktopkeyauth_cpp_library_main_nlohmannjson.hpp
lea rcx, str.m_type___value_t::binary__m_value.binary___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx eax, byte [rbp + 0xb8]
mov rcx, qword [rbp + 0xc0]
cmp al, 1
jne 0x140051ef5
lea rdx, [rbp - 0x68]
call fcn.1400437e0
jmp 0x140051ef9
mov rax, qword [rbp - 0x70]
xorps xmm0, xmm0
mov rbx, qword [rbp - 0x48]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov dword [rsp + 0x58], 0x1ff76c
cmp byte [rax], 3
jne 0x140051f25
mov rdx, qword [rax + 8]
jmp 0x140051f28
mov rdx, rdi
cmp rbx, rdx
je 0x140051f44
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140051f3b
mov rdx, qword [rdx]
mov rcx, rbx
call fcn.140044ac0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140051f82
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051f7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051f7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a166c
movdqa xmm0, xmmword [0x1400b5750]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
test r14, r14
je 0x140051fcc
sub r13, r14
cmp r13, 0x1000
jb 0x140051fc0
add r13, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140052064
mov r14, rcx
mov rdx, r13
mov rcx, r14
call fcn.1400a166c
nop
mov rax, qword [rbp + 0x150]
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 + 0x150], rax
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x14c], edx
lea rcx, [rbp + 0x168]
call fcn.1400431c0
lea rcx, [rbp + 0x170]
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 + 0x1e8]
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 + 0x140]
cmp rdx, 0x10
jb 0x140052071
inc rdx
mov rcx, qword [rbp + 0x128]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005206b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005206b
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.1400a166c
nop
movzx edx, byte [rbp + 0xb8]
cmp dl, 1
jne 0x1400520ac
cmp qword [rbp + 0xc0], 0
jne 0x140052140
mov r8d, 0x4c8
lea rdx, str.C:Users_sdffdDesktopkeyauth_cpp_library_main_nlohmannjson.hpp
lea rcx, str.m_type___value_t::object__m_value.object___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx edx, byte [rbp + 0xb8]
cmp dl, 2
jne 0x1400520e0
cmp qword [rbp + 0xc0], 0
jne 0x140052140
mov r8d, 0x4c9
lea rdx, str.C:Users_sdffdDesktopkeyauth_cpp_library_main_nlohmannjson.hpp
lea rcx, str.m_type___value_t::array__m_value.array___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx edx, byte [rbp + 0xb8]
cmp dl, 3
jne 0x140052110
cmp qword [rbp + 0xc0], 0
jne 0x140052140
mov r8d, 0x4ca
lea rdx, str.C:Users_sdffdDesktopkeyauth_cpp_library_main_nlohmannjson.hpp
lea rcx, str.m_type___value_t::string__m_value.string___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx edx, byte [rbp + 0xb8]
cmp dl, 8
jne 0x140052140
cmp qword [rbp + 0xc0], 0
jne 0x140052140
mov r8d, 0x4cb
lea rdx, str.C:Users_sdffdDesktopkeyauth_cpp_library_main_nlohmannjson.hpp
lea rcx, str.m_type___value_t::binary__m_value.binary___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx edx, byte [rbp + 0xb8]
lea rcx, [rbp + 0xc0]
call fcn.1400466f0
nop
mov rdx, qword [rbp + 0x100]
cmp rdx, 0x10
jb 0x140052191
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005218c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005218c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a166c
mov qword [rbp + 0xf8], rdi
mov qword [rbp + 0x100], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xe8], 0
mov rdx, qword [rbp + 0x120]
cmp rdx, 0x10
jb 0x1400521ef
inc rdx
mov rcx, qword [rbp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400521e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400521e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a166c
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140052225
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140052220
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140052262
mov rcx, r8
call fcn.1400a166c
mov qword [r15 + 0x10], rdi
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov rax, rbx
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1400a13d0
mov rbx, qword [rsp + 0x3b8]
add rsp, 0x360
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