Function at 0x1400589a0
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 - 0x3d8]
sub rsp, 0x4d8
mov rax, qword [0x1400cd080]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov rbx, r9
mov qword [rbp + 0x18], rbx
mov r13, r8
mov r12, rdx
mov rdi, rcx
mov qword [rbp - 0x10], rcx
mov qword [rbp + 0x1f0], rdx
mov qword [rbp + 0x1f8], r8
mov qword [rbp + 0x200], rbx
mov rax, qword [rbp + 0x440]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x208], rax
xor r15d, r15d
mov dword [rsp + 0x48], r15d
cmp byte [0x1400f3e61], r15b
jne 0x140058a54
xorps xmm0, xmm0
movups xmmword [rbp + 0x238], xmm0
mov qword [rbp + 0x248], r15
mov qword [rbp + 0x250], r15
lea r8d, [r15 + 0x52]
lea rdx, str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
lea rcx, [rbp + 0x238]
call fcn.140008a20
lea rcx, [rbp + 0x238]
call fcn.1400527e0
lea rcx, [rbp + 0x278]
call fcn.140061ec0
nop
mov dword [rbp - 0x60], 0xb1a9b2fa
mov dword [rbp - 0x5c], 0x878b9385
mov word [rbp - 0x58], reloc.WLDAP32.dll_Ordinal_217
mov byte [rbp - 0x56], 1
mov dword [rsp + 0x60], 0xb2bfb3fa
mov dword [rsp + 0x64], 0x100dc85
mov dword [rbp + 0x220], 0xacbbaefa
mov dword [rbp + 0x224], 0x8d8d8893
mov dword [rbp + 0x228], 0xdb818d
mov byte [rbp + 0x22c], 1
mov dword [rbp - 0x78], 0xb6a9b5fa
mov dword [rbp - 0x74], 0x100dc84
mov dword [rbp - 0x70], 0xbeb3b8fa
mov dword [rbp - 0x6c], 0xdf8d89
mov byte [rbp - 0x68], 1
mov dword [rsp + 0x48], 0xa6bbb6fa
mov word [rsp + 0x4c], 0xdd
mov byte [rsp + 0x4e], 1
mov dword [rbp - 0x80], 0xacbfadfa
mov dword [rbp - 0x7c], 0x100dc93
mov dword [rsp + 0x50], 0xbaada8fa
mov dword [rsp + 0x54], 0x8e838f92
mov dword [rsp + 0x58], 0x100d881
mov dword [rsp + 0x68], 0xbaaea4a8
mov dword [rsp + 0x6c], 0x848793dd
mov dword [rsp + 0x70], 0x8292968d
mov word [rsp + 0x74], 0x9a
mov byte [rsp + 0x76], 1
mov rcx, r15
nop
lea eax, [rcx - 0x24]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0xa
jb 0x140058b30
mov byte [rsp + 0x5b], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x5a]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.14000c370
nop
cmp byte [rsp + 0x76], 0
je 0x140058b85
mov rcx, r15
nop dword [rax + rax]
lea eax, [rcx - 0x24]
xor byte [rsp + rcx + 0x68], al
inc rcx
cmp rcx, 0xd
jb 0x140058b70
mov byte [rsp + 0x76], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x75]
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x238]
call fcn.14000c370
nop
lea r9, [rbp - 0x50]
lea r8, [rbp + 0x238]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 8]
call fcn.14004deb0
nop
mov r8, qword [rbp + 0x250]
cmp r8, 0x10
jb 0x140058bdf
inc r8
mov rdx, qword [rbp + 0x238]
lea rcx, [rbp + 0x238]
call fcn.140007520
nop
mov r8, qword [rbp - 0x38]
cmp r8, 0x10
jb 0x140058bfa
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.140007520
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x140058c09
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
lea rcx, [rbp - 8]
call fcn.140007420
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd8], 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 + 0xc8]
lea rcx, [rbp + 0xa8]
call fcn.140046360
nop
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x140058c61
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
mov rcx, rax
call fcn.140007420
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x88], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x98], 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 + 0x88]
lea rcx, [rbp + 0x68]
call fcn.140046280
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140058cb4
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140007420
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x48]
call fcn.140046440
nop
xor r8d, r8d
lea rdx, [0x1400c066d]
mov rcx, rax
call fcn.140007420
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], 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 - 0x30]
lea rcx, [rbp + 0x110]
call fcn.140046360
nop
lea rdx, [rbp + 0x278]
cmp qword [rbp + 0x290], 0x10
cmovae rdx, qword [rbp + 0x278]
mov r8, qword [rbp + 0x288]
mov rcx, rax
call fcn.140007420
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, [rbp + 0x220]
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x1d0]
call fcn.140046920
nop
lea r8, [rdi + 0x238]
mov rdx, rax
lea rcx, [rbp + 0x1b0]
call fcn.140046210
nop
lea r8, [rsp + 0x60]
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.140046360
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x170]
call fcn.140046210
nop
lea r8, [rbp - 0x60]
mov rdx, rax
lea rcx, [rbp + 0x150]
call fcn.140046720
nop
lea r8, [rdi + 0x20]
mov rdx, rax
lea rcx, [rbp + 0x238]
call fcn.140046210
nop
lea rcx, [rbp + 0x150]
call fcn.1400071a0
nop
lea rcx, [rbp + 0x170]
call fcn.1400071a0
nop
lea rcx, [rbp + 0x190]
call fcn.1400071a0
nop
lea rcx, [rbp + 0x1b0]
call fcn.1400071a0
nop
lea rcx, [rbp + 0x1d0]
call fcn.1400071a0
nop
lea rcx, [rbp + 0xf0]
call fcn.1400071a0
nop
lea rcx, [rbp + 0x110]
call fcn.1400071a0
nop
lea rcx, [rbp - 0x30]
call fcn.1400071a0
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x140058ea4
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058e9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058e9f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400acb0c
movdqa xmm0, xmmword [0x1400c0750]
movdqu xmmword [rbp + 0x58], xmm0
mov byte [rbp + 0x48], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140058ef4
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058eee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058eee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400acb0c
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 0x10
jb 0x140058f35
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058f30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058f30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400acb0c
movdqa xmm0, xmmword [0x1400c0750]
movdqu xmmword [rbp + 0x78], xmm0
mov byte [rbp + 0x68], 0
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x140058f8b
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058f85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058f85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400acb0c
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x140058fcf
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058fca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058fca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400acb0c
movdqa xmm0, xmmword [0x1400c0750]
movdqu xmmword [rbp + 0xb8], xmm0
mov byte [rbp + 0xa8], 0
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0x10
jb 0x14005902b
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059025
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059025
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400acb0c
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x140059069
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059064
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059064
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400acb0c
movdqa xmm0, xmmword [0x1400c0750]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
lea rax, [rbp - 0x30]
mov qword [rbp + 0xe8], rax
lea rdx, [rdi + 0x80]
lea rcx, [rbp - 0x30]
call fcn.1400072d0
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r15
lea rsi, [rbp + 0x238]
cmp qword [rbp + 0x250], 0x10
cmovae rsi, qword [rbp + 0x238]
movabs rbx, 0x7fffffffffffffff
mov rdi, qword [rbp + 0x248]
cmp rdi, rbx
ja 0x140059e7c
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x1400590fe
mov qword [rbp - 0x40], rdi
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rsi
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memmove
jmp 0x140059150
mov rax, rdi
or rax, 0xf
cmp rax, rbx
ja 0x140059119
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 - 0x50]
call fcn.14001a0e0
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
mov r8, r14
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x258]
call fcn.140059e90
nop
mov qword [rbp + 0x148], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x110]
lea rdx, [rbp + 0x258]
lea rcx, [rbp + 0x210]
call fcn.14004b0f0
nop
mov dword [rsp + 0x38], 0xacadb8b1
mov dword [rsp + 0x3c], 0x878681
mov byte [rsp + 0x40], 1
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x24]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x1400591b0
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 8]
call fcn.14000c370
nop
mov rbx, qword [rsp + 0x38]
movzx eax, byte [rbp + 0x210]
test al, al
jne 0x1400592d4
mov byte [rbp + 0x210], 1
call fcn.1400481a0
mov rcx, rax
mov qword [rbp + 0x218], rax
movzx eax, byte [rbp + 0x210]
cmp al, 1
jne 0x140059244
test rcx, rcx
jne 0x1400592df
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 + 0x218]
movzx eax, byte [rbp + 0x210]
cmp al, 2
jne 0x140059279
test rcx, rcx
jne 0x1400592eb
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 + 0x218]
movzx eax, byte [rbp + 0x210]
cmp al, 3
jne 0x1400592aa
test rcx, rcx
jne 0x1400592eb
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 + 0x218]
movzx eax, byte [rbp + 0x210]
cmp al, 8
jne 0x1400592db
test rcx, rcx
jne 0x1400592eb
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 + 0x210]
mov rcx, qword [rbp + 0x218]
cmp al, 1
jne 0x1400592eb
lea rdx, [rbp - 8]
call fcn.14004ec80
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x298], xmm0
movdqa xmm1, xmmword [0x1400c0750]
movdqu xmmword [rbp + 0x2a8], xmm1
mov byte [rbp + 0x298], 0
mov dword [rsp + 0x48], 0x17fd80
cmp byte [rbx], 3
jne 0x14005932b
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x298]
cmp rax, rdx
je 0x140059349
jmp 0x14005932e
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14005933c
mov rdx, qword [rdx]
lea rcx, [rbp + 0x298]
call fcn.14004ff60
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x140059387
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059382
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059382
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400acb0c
movdqa xmm0, xmmword [0x1400c0750]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x2c0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400b0da8]
mov qword [rbp + 0x2c0], rax
lea rax, [0x1400b0db0]
mov qword [rbp + 0x2d0], rax
lea rcx, [rbp + 0x358]
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], 0xfff80
xor r8d, r8d
lea rdx, [rbp + 0x2d8]
lea rcx, [rbp + 0x2c0]
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 + 0x2c0]
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 + 0x2c0], rax
mov rax, qword [rbp + 0x2c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x2bc], edx
lea rcx, [rbp + 0x2d8]
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 + 0x2d8], rax
mov qword [rbp + 0x340], r15
mov dword [rbp + 0x348], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x220], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400ac890
mov r14, rax
mov qword [rbp + 0x220], rax
lea r15, [rax + 0x20]
mov qword [rbp + 0x230], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x228], r15
lea r8, [rbp + 0x258]
cmp qword [rbp + 0x270], 0x10
cmovae r8, qword [rbp + 0x258]
mov rax, qword [rbp - 0x10]
lea rcx, [rax + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x1400594b7
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r14
mov r9, qword [rbp + 0x268]
mov rdx, qword [rax + 0x268]
call fcn.140062330
mov rsi, r14
cmp r14, r15
je 0x14005953c
movzx edi, byte [rsi]
lea rdx, [0x140053890]
lea rcx, [rbp + 0x2d0]
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, r15
jne 0x1400594e0
lea rdi, [section..data]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdi, qword [section..data]
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
movdqa xmm1, xmmword [0x1400c0750]
movdqu xmmword [rbp + 0x38], xmm1
mov byte [rbp + 0x28], 0
mov dword [rsp + 0x48], 0xfff82
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
mov ecx, dword [rbp + 0x348]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400595ba
mov rax, qword [rbp + 0x318]
mov r8, qword [rax]
test r8, r8
je 0x1400595ba
mov rax, qword [rbp + 0x2f8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x340]
cmovb r8, qword [rbp + 0x340]
sub r8, rdx
jmp 0x1400595f4
test cl, 4
jne 0x1400595ea
mov rax, qword [rbp + 0x310]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400595ea
mov rax, qword [rbp + 0x2f0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x328]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x1400595f4
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x140059603
lea rcx, [rbp + 0x28]
call fcn.14004ff60
nop
lea rdx, [rbp + 0x28]
mov r8, qword [rbp + 0x28]
mov r9, qword [rbp + 0x40]
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 0x1400596ad
lea rdx, [r9 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x1400596a5
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400596a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.1400acb0c
test ebx, ebx
je 0x1400596d3
lea r8, [rbp + 0x298]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp + 0x110]
call fcn.140007560
mov rcx, rax
call fcn.1400527e0
lea rdx, [rbp + 0x210]
lea rcx, [rsp + 0x68]
call fcn.14004db90
mov rdx, rax
mov rdi, qword [rbp - 0x10]
mov rcx, rdi
call fcn.1400557b0
mov dword [rsp + 0x38], 0xbcbda8af
mov dword [rsp + 0x3c], 0x919285
mov byte [rsp + 0x40], 1
xor esi, esi
mov ecx, esi
nop dword [rax]
lea eax, [rcx - 0x24]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x140059710
mov byte [rsp + 0x40], sil
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.14000c370
nop
movzx eax, byte [rbp + 0x210]
test al, al
jne 0x14005982f
mov byte [rbp + 0x210], 1
call fcn.1400481a0
mov rcx, rax
mov qword [rbp + 0x218], rax
movzx eax, byte [rbp + 0x210]
cmp al, 1
jne 0x14005979f
test rcx, rcx
jne 0x14005983a
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 + 0x218]
movzx eax, byte [rbp + 0x210]
cmp al, 2
jne 0x1400597d4
test rcx, rcx
jne 0x140059848
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 + 0x218]
movzx eax, byte [rbp + 0x210]
cmp al, 3
jne 0x140059805
test rcx, rcx
jne 0x140059848
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 + 0x218]
movzx eax, byte [rbp + 0x210]
cmp al, 8
jne 0x140059836
test rcx, rcx
jne 0x140059848
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 + 0x210]
mov rcx, qword [rbp + 0x218]
cmp al, 1
jne 0x140059848
lea rdx, [rbp - 0x30]
call fcn.14004ec80
mov rcx, rax
jmp 0x14005984d
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, rsi
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140059899
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059894
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059894
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400acb0c
test bl, bl
je 0x140059a52
mov dword [rsp + 0x48], 0xb0b8b3b5
mov word [rsp + 0x4c], 0x100
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x24]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 4
jb 0x1400598c0
mov byte [rsp + 0x4d], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x4c]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x30]
call fcn.14000c370
nop
movzx eax, byte [rbp + 0x210]
test al, al
jne 0x1400599df
mov byte [rbp + 0x210], 1
call fcn.1400481a0
mov rcx, rax
mov qword [rbp + 0x218], rax
movzx eax, byte [rbp + 0x210]
cmp al, 1
jne 0x14005994f
test rcx, rcx
jne 0x1400599ea
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 + 0x218]
movzx eax, byte [rbp + 0x210]
cmp al, 2
jne 0x140059984
test rcx, rcx
jne 0x1400599f5
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 + 0x218]
movzx eax, byte [rbp + 0x210]
cmp al, 3
jne 0x1400599b5
test rcx, rcx
jne 0x1400599f5
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 + 0x218]
movzx eax, byte [rbp + 0x210]
cmp al, 8
jne 0x1400599e6
test rcx, rcx
jne 0x1400599f5
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 + 0x210]
mov rcx, qword [rbp + 0x218]
cmp al, 1
jne 0x1400599f5
lea rdx, [rbp - 0x30]
call fcn.14004ec80
jmp 0x1400599fa
mov rax, qword [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14004db90
mov rdx, rax
mov rcx, rdi
call fcn.140055870
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140059a52
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059a4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059a4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400acb0c
nop
test r14, r14
je 0x140059a8b
sub r15, r14
cmp r15, 0x1000
jb 0x140059a7f
add r15, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140059b23
mov r14, rcx
mov rdx, r15
mov rcx, r14
call fcn.1400acb0c
nop
mov rax, qword [rbp + 0x2c0]
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 + 0x2c0], rax
mov rax, qword [rbp + 0x2c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x2bc], edx
lea rcx, [rbp + 0x2d8]
call fcn.14004e660
lea rcx, [rbp + 0x2e0]
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 + 0x358]
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 + 0x2b0]
cmp rdx, 0x10
jb 0x140059b30
inc rdx
mov rcx, qword [rbp + 0x298]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059b2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059b2a
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.1400acb0c
nop
movzx edx, byte [rbp + 0x210]
cmp dl, 1
jne 0x140059b6b
cmp qword [rbp + 0x218], 0
jne 0x140059bff
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 + 0x210]
cmp dl, 2
jne 0x140059b9f
cmp qword [rbp + 0x218], 0
jne 0x140059bff
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 + 0x210]
cmp dl, 3
jne 0x140059bcf
cmp qword [rbp + 0x218], 0
jne 0x140059bff
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 + 0x210]
cmp dl, 8
jne 0x140059bff
cmp qword [rbp + 0x218], 0
jne 0x140059bff
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 + 0x210]
lea rcx, [rbp + 0x218]
call fcn.140051b90
nop
mov rdx, qword [rbp + 0x270]
cmp rdx, 0x10
jb 0x140059c50
inc rdx
mov rcx, qword [rbp + 0x258]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059c4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059c4b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400acb0c
mov qword [rbp + 0x268], rsi
mov qword [rbp + 0x270], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x258], 0
mov rax, qword [rbp + 0x250]
cmp rax, 0x10
jb 0x140059caf
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x238]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059ca9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059ca9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400acb0c
nop
mov rdx, qword [rbp + 0x290]
cmp rdx, 0x10
jb 0x140059cf3
inc rdx
mov rcx, qword [rbp + 0x278]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059cee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059cee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400acb0c
mov qword [rbp + 0x288], rsi
mov qword [rbp + 0x290], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x278], 0
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x140059d48
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x140059d43
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140059e60
mov rcx, r8
call fcn.1400acb0c
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 0x140059d96
mov rcx, qword [r13]
inc rdx
cmp rdx, 0x1000
jb 0x140059d91
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140059e67
mov rcx, r8
call fcn.1400acb0c
mov qword [r13 + 0x10], rsi
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r13], 0
mov rbx, qword [rbp + 0x18]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140059de5
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140059de0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140059e6e
mov rcx, r8
call fcn.1400acb0c
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rbx, qword [rbp + 0x20]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140059e2e
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140059e29
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140059e75
mov rcx, r8
call fcn.1400acb0c
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400ac870
add rsp, 0x4d8
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.140001b20
int3