Function at 0x1400a8790
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 - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x1401550a0]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov r13, r8
mov r12, rdx
mov rbx, rcx
mov qword [rbp - 0x10], rcx
mov qword [rbp + 0x120], rdx
mov qword [rbp + 0x128], r8
xor r15d, r15d
mov dword [rsp + 0x50], r15d
cmp byte [0x14019a418], r15b
jne 0x1400a8819
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
lea r8d, [r15 + 0x52]
lea rdx, str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
lea rcx, [rbp - 0x30]
call fcn.14004e7d0
lea rcx, [rbp - 0x30]
call fcn.1400a4e30
lea rcx, [rbp + 0x198]
call fcn.1400b2ee0
nop
mov dword [rsp + 0x68], 0xbda5bef6
mov dword [rsp + 0x6c], 0xb3bfa7b1
mov word [rsp + 0x70], 0xe5
mov byte [rsp + 0x72], 1
mov dword [rsp + 0x58], 0xbeb3bff6
mov dword [rsp + 0x5c], 0x100e8b1
mov dword [rbp - 0x78], 0xa0b7a2f6
mov dword [rbp - 0x74], 0xb9b9bca7
mov dword [rbp - 0x70], 0xe7bdb1
mov byte [rbp - 0x6c], 1
mov dword [rsp + 0x60], 0xbaa5b9f6
mov dword [rsp + 0x64], 0x100e8b0
mov dword [rsp + 0x50], 0xa0b3a1f6
mov dword [rsp + 0x54], 0x100e8a7
mov dword [rsp + 0x78], 0xb6a1a4f6
mov dword [rsp + 0x7c], 0xbab7bba6
mov dword [rbp - 0x80], 0x100e4bd
mov dword [rbp + 0x160], 0xb6a2a8a4
mov dword [rbp + 0x164], 0xb0b9b9e9
mov dword [rbp + 0x168], 0x100b7b1
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x160]
lea rcx, [rbp - 0x30]
call fcn.14009a0d0
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x1400a88e5
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.14005e1e0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x50]
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x78]
call fcn.1400999f0
nop
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x1400a8931
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
mov rcx, rax
call fcn.14005e1e0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0xd8]
lea rcx, [rbp + 0x58]
call fcn.1400999f0
nop
lea rdx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 0x10
cmovae rdx, qword [rbp + 0x198]
mov r8, qword [rbp + 0x1a8]
mov rcx, rax
call fcn.14005e1e0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc8], 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 + 0xb8]
lea rcx, [rbp + 0x38]
call fcn.14009a240
nop
lea rdx, [rbx + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400a89eb
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14005e1e0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x98], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x18]
call fcn.1400999f0
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400a8a3a
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14005e1e0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x140], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x150], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp + 0x140]
lea rcx, [rbp - 0x50]
call fcn.140099fd0
nop
lea rdx, [rbx + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400a8a92
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14005e1e0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1b8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1c8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, qword [rbp - 0x38]
cmp r8, 0x10
jb 0x1400a8ad8
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.1400373a0
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
mov r8, qword [rbp + 0x158]
cmp r8, 0x10
jb 0x1400a8b0c
inc r8
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x140]
call fcn.1400373a0
nop
mov r8, qword [rbp + 0x30]
cmp r8, 0x10
jb 0x1400a8b26
inc r8
mov rdx, qword [rbp + 0x18]
lea rcx, [rbp + 0x18]
call fcn.1400373a0
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], 0
mov r8, qword [rbp + 0xb0]
cmp r8, 0x10
jb 0x1400a8b5a
inc r8
mov rdx, qword [rbp + 0x98]
lea rcx, [rbp + 0x98]
call fcn.1400373a0
nop
mov r8, qword [rbp + 0x50]
cmp r8, 0x10
jb 0x1400a8b74
inc r8
mov rdx, qword [rbp + 0x38]
lea rcx, [rbp + 0x38]
call fcn.1400373a0
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
mov r8, qword [rbp + 0xd0]
cmp r8, 0x10
jb 0x1400a8ba8
inc r8
mov rdx, qword [rbp + 0xb8]
lea rcx, [rbp + 0xb8]
call fcn.1400373a0
nop
mov r8, qword [rbp + 0x70]
cmp r8, 0x10
jb 0x1400a8bc2
inc r8
mov rdx, qword [rbp + 0x58]
lea rcx, [rbp + 0x58]
call fcn.1400373a0
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x58], 0
mov r8, qword [rbp + 0xf0]
cmp r8, 0x10
jb 0x1400a8bf6
inc r8
mov rdx, qword [rbp + 0xd8]
lea rcx, [rbp + 0xd8]
call fcn.1400373a0
nop
mov r8, qword [rbp + 0x90]
cmp r8, 0x10
jb 0x1400a8c13
inc r8
mov rdx, qword [rbp + 0x78]
lea rcx, [rbp + 0x78]
call fcn.1400373a0
mov qword [rbp + 0x88], r15
mov qword [rbp + 0x90], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x78], 0
mov r8, qword [rbp + 0x10]
cmp r8, 0x10
jb 0x1400a8c44
inc r8
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 8]
call fcn.1400373a0
nop
mov r8, qword [rbp - 0x18]
cmp r8, 0x10
jb 0x1400a8c5e
inc r8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.1400373a0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
lea rax, [rbp - 8]
mov qword [rbp + 0x118], rax
lea rdx, [rbx + 0x80]
lea rcx, [rbp - 8]
call fcn.140037210
mov r14, rax
mov qword [rbp + 0x140], r15
mov qword [rbp + 0x150], r15
mov qword [rbp + 0x158], r15
lea rdi, [rbp + 0x1b8]
cmp qword [rbp + 0x1d0], 0x10
cmovae rdi, qword [rbp + 0x1b8]
movabs rax, 0x7fffffffffffffff
mov rsi, qword [rbp + 0x1c8]
cmp rsi, 0x10
jae 0x1400a8ce0
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x140], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x1400a8d52
mov rbx, rsi
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400a8d2d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400a9751
mov rcx, rax
call fcn.1400fe9ec
mov rcx, rax
test rax, rax
je 0x1400a8d26
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400a8d3c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400a8d39
call fcn.1400fe9ec
jmp 0x1400a8d3c
mov rax, r15
mov qword [rbp + 0x140], rax
lea r8, [rsi + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x150], rsi
mov qword [rbp + 0x158], rbx
mov r8, r14
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x178]
call fcn.1400abc60
nop
mov qword [rbp + 0x110], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0xd8]
lea rdx, [rbp + 0x178]
lea rcx, [rbp + 0x130]
call fcn.14009d160
nop
mov dword [rsp + 0x40], 0xa0a1b4bd
mov dword [rsp + 0x44], 0xb3b2b5
mov byte [rsp + 0x48], 1
mov rcx, r15
nop dword [rax]
lea eax, [rcx - 0x30]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 7
jb 0x1400a8dc0
mov byte [rsp + 0x48], 0
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], 0
mov r8d, 7
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.14004e7d0
nop
mov rbx, qword [rsp + 0x40]
movzx ecx, byte [rbp + 0x130]
test cl, cl
jne 0x1400a8e2a
mov byte [rbp + 0x130], 1
call fcn.14009ba10
mov qword [rbp + 0x138], rax
movzx ecx, byte [rbp + 0x130]
jmp 0x1400a8e31
mov rax, qword [rbp + 0x138]
cmp cl, 1
jne 0x1400a8e45
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.1400a0b30
mov rbx, rax
mov qword [rbp + 0x140], r15
mov qword [rbp + 0x150], r15
mov qword [rbp + 0x158], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x140], 0
mov dword [rsp + 0x50], 0x7eb00
cmp byte [rbx], 3
jne 0x1400a8e84
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x140]
cmp rax, rdx
je 0x1400a8ea2
jmp 0x1400a8e87
mov rdx, r15
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400a8e95
mov rdx, qword [rdx]
lea rcx, [rbp + 0x140]
call fcn.14004e7d0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1400a8ee0
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a8edb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a8edb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fe4fc
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140107350]
mov qword [rbp + 0x1e0], rax
lea rax, [0x140107358]
mov qword [rbp + 0x1f0], rax
lea rcx, [rbp + 0x278]
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 + 0x50], 0x7f700
xor r8d, r8d
lea rdx, [rbp + 0x1f8]
lea rcx, [rbp + 0x1e0]
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 + 0x1e0]
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 + 0x1e0], rax
mov rax, qword [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x1dc], edx
lea rcx, [rbp + 0x1f8]
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 + 0x1f8], rax
mov qword [rbp + 0x260], r15
mov dword [rbp + 0x268], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400fe9ec
mov r14, rax
mov qword [rbp + 0x160], rax
lea r15, [rax + 0x20]
mov qword [rbp + 0x170], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x168], r15
lea r8, [rbp + 0x178]
cmp qword [rbp + 0x190], 0x10
cmovae r8, qword [rbp + 0x178]
mov rax, qword [rbp - 0x10]
lea rcx, [rax + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x1400a900f
mov rcx, qword [rcx]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r14
mov r9, qword [rbp + 0x188]
mov rdx, qword [rax + 0x268]
call fcn.1400b3350
mov rsi, r14
cmp r14, r15
je 0x1400a909b
nop dword [rax + rax]
movzx edi, byte [rsi]
lea rdx, [0x1400a5fd0]
lea rcx, [rbp + 0x1f0]
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, [rbp - 0x78]
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 0x1400a9040
lea rdi, [section..data]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdi, qword [section..data]
xor esi, esi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x40], rsi
mov r9d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x38], r9
mov byte [rbp - 0x50], sil
mov dword [rsp + 0x50], 0x7f702
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
mov ecx, dword [rbp + 0x268]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400a911a
mov rax, qword [rbp + 0x238]
mov r8, qword [rax]
test r8, r8
je 0x1400a911a
mov rax, qword [rbp + 0x218]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x260]
cmovb r8, qword [rbp + 0x260]
sub r8, rdx
jmp 0x1400a9152
test cl, 4
jne 0x1400a914a
mov rax, qword [rbp + 0x230]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400a914a
mov rax, qword [rbp + 0x210]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x248]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x1400a9152
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x1400a9164
lea rcx, [rbp - 0x50]
call fcn.14004e7d0
mov r9, qword [rbp - 0x38]
lea rdx, [rbp - 0x50]
mov r8, qword [rbp - 0x50]
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 0x1400a920a
lea rdx, [r9 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x1400a9202
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a9202
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.1400fe4fc
test ebx, ebx
je 0x1400a927a
mov rcx, qword [rbp + 0x150]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x6b
jb 0x1400a974b
lea rax, [rbp + 0x140]
cmp qword [rbp + 0x158], 0x10
cmovae rax, qword [rbp + 0x140]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], WSAStartup
lea r9, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea r8, [rbp + 0x140]
movzx edx, byte [rbp - 0x58]
lea rcx, [rbp - 8]
call fcn.14008e560
lea rcx, [rbp - 8]
call fcn.1400a4e30
lea rdx, [rbp + 0x130]
lea rcx, [rbp - 0x78]
call fcn.14009fac0
mov rdx, rax
mov rdi, qword [rbp - 0x10]
mov rcx, rdi
call fcn.1400a7a50
mov dword [rsp + 0x40], 0xb0b1a4a3
mov dword [rsp + 0x44], 0xa5a6b1
mov byte [rsp + 0x48], 1
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x30]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 7
jb 0x1400a92c0
mov byte [rsp + 0x48], 0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
mov r8d, 7
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.14004e7d0
nop
movzx ecx, byte [rbp + 0x130]
test cl, cl
jne 0x1400a9325
mov byte [rbp + 0x130], 1
call fcn.14009ba10
mov qword [rbp + 0x138], rax
movzx ecx, byte [rbp + 0x130]
jmp 0x1400a932c
mov rax, qword [rbp + 0x138]
cmp cl, 1
jne 0x1400a9342
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.1400a0b30
mov rcx, rax
jmp 0x1400a9347
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, rsi
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x1400a9393
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a938e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a938e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fe4fc
test bl, bl
je 0x1400a948a
mov dword [rsp + 0x50], 0xbcb4bfb9
mov word [rsp + 0x54], 0x100
mov rcx, rsi
nop dword [rax]
lea eax, [rcx - 0x30]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 4
jb 0x1400a93b0
mov byte [rsp + 0x55], 0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
mov r8d, 4
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.14004e7d0
nop
movzx eax, byte [rbp + 0x130]
test al, al
jne 0x1400a9418
mov byte [rbp + 0x130], 1
call fcn.14009ba10
mov rcx, rax
mov qword [rbp + 0x138], rax
movzx eax, byte [rbp + 0x130]
jmp 0x1400a941f
mov rcx, qword [rbp + 0x138]
cmp al, 1
jne 0x1400a942e
lea rdx, [rbp - 0x50]
call fcn.1400a0b30
jmp 0x1400a9433
mov rax, qword [rsp + 0x40]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14009fac0
mov rdx, rax
mov rcx, rdi
call fcn.1400a7b00
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x1400a948a
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a9484
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a9484
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fe4fc
nop
test r14, r14
je 0x1400a94c3
sub r15, r14
cmp r15, 0x1000
jb 0x1400a94b7
add r15, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x1400a955b
mov r14, rcx
mov rdx, r15
mov rcx, r14
call fcn.1400fe4fc
nop
mov rax, qword [rbp + 0x1e0]
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 + 0x1e0], rax
mov rax, qword [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x1dc], edx
lea rcx, [rbp + 0x1f8]
call fcn.1400a0260
lea rcx, [rbp + 0x200]
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 + 0x278]
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 + 0x158]
cmp rdx, 0x10
jb 0x1400a9568
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a9562
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a9562
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.1400fe4fc
nop
movzx edx, byte [rbp + 0x130]
lea rcx, [rbp + 0x138]
call fcn.1400a44a0
nop
mov rdx, qword [rbp + 0x190]
cmp rdx, 0x10
jb 0x1400a95c0
inc rdx
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a95bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a95bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fe4fc
mov qword [rbp + 0x188], rsi
mov qword [rbp + 0x190], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x178], 0
mov rax, qword [rbp + 0x1d0]
cmp rax, 0x10
jb 0x1400a961f
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x1b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a9619
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a9619
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fe4fc
nop
mov rdx, qword [rbp + 0x1b0]
cmp rdx, 0x10
jb 0x1400a9663
inc rdx
mov rcx, qword [rbp + 0x198]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a965e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a965e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fe4fc
mov qword [rbp + 0x1a8], rsi
mov qword [rbp + 0x1b0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x198], 0
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x1400a96b8
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x1400a96b3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400a973d
mov rcx, r8
call fcn.1400fe4fc
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 0x1400a9702
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x1400a96fd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400a9744
mov rcx, r8
call fcn.1400fe4fc
mov qword [r13 + 0x10], rsi
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r13], 0
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.1400fe240
mov rbx, qword [rsp + 0x448]
add rsp, 0x3f0
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]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14004c340
nop
call fcn.1400370e0
int3