Function at 0x1400c4130
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 - 0x250]
sub rsp, 0x350
mov rax, qword [0x14016e080]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov rbx, r8
mov qword [rbp + 0x10], rbx
mov qword [rbp + 8], rdx
mov r14, rcx
mov qword [rsp + 0x58], rdx
mov qword [rbp + 0x98], rbx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
cmp byte [0x1401811d0], r13b
jne 0x1400c41c7
mov qword [rbp + 0xe8], r13
mov qword [rbp + 0xf8], r13
mov qword [rbp + 0x100], reloc.WS2_32.dll_ntohs
lea r8d, [r13 + 0x52]
lea rdx, str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
lea rcx, [rbp + 0xe8]
call fcn.14000e4d0
lea rcx, [rbp + 0xe8]
call fcn.1400c2730
mov dword [rbp - 0x78], 0xc6d0c983
mov dword [rbp - 0x74], 0xc8c2d8cc
mov word [rbp - 0x70], 0x90
mov byte [rbp - 0x6e], 1
mov dword [rsp + 0x58], 0xc5c6c883
mov dword [rsp + 0x5c], 0x10097cc
mov dword [rsp + 0x60], 0xdbc2d583
mov dword [rsp + 0x64], 0xc2c4c3da
mov dword [rsp + 0x68], 0x92cac4
mov byte [rsp + 0x6c], 1
mov dword [rbp - 0x80], 0xdac6d083
mov word [rbp - 0x7c], __WSAFDIsSet
mov byte [rbp - 0x7a], 1
mov dword [rbp - 0x68], 0xcdd7dfd1
mov dword [rbp - 0x64], 0xd8cecd94
mov dword [rbp - 0x60], 0xddcfdb
mov byte [rbp - 0x5c], 1
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x38]
call fcn.1400b7ee0
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400c4255
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14000e540
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x18]
call fcn.1400b8050
nop
lea rdx, [r14 + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400c42a7
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14000e540
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x68], xmm1
mov qword [rax + 0x10], r13
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.1400b73b0
nop
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400c42ed
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.14000e540
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc0], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x58]
call fcn.1400b7b00
nop
lea rdx, [r14 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400c4344
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14000e540
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf8], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x1400c43ae
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c43a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c43a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011df38
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x1400c4403
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c43fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c43fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011df38
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1400c4441
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c443c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c443c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011df38
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], 0
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x1400c4490
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c448a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c448a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011df38
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1400c44ce
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c44c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c44c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011df38
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], 0
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1400c451d
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c4517
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c4517
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011df38
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x1400c455b
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c4556
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c4556
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011df38
mov qword [rbp + 0x48], r13
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x48], rax
lea rdx, [r14 + 0x80]
lea rcx, [rbp - 0x18]
call fcn.14000dd70
mov r15, rax
mov qword [rbp + 0xb0], r13
mov qword [rbp + 0xc0], r13
mov qword [rbp + 0xc8], r13
lea rdi, [rbp + 0xe8]
mov r12, qword [rbp + 0xe8]
cmp qword [rbp + 0x100], 0x10
cmovae rdi, r12
mov rsi, qword [rbp + 0xf8]
cmp rsi, 0x10
jae 0x1400c45d4
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0xb0], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x1400c4650
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400c462b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400c4f96
mov rcx, rax
call fcn.14011dcbc
mov rcx, rax
test rax, rax
je 0x1400c4624
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400c463a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400c4637
call fcn.14011dcbc
jmp 0x1400c463a
mov rax, r13
mov qword [rbp + 0xb0], rax
lea r8, [rsi + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xc8], rbx
mov r8, r15
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x108]
call fcn.1400cb290
nop
mov qword [rbp + 0x90], r13
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0xa0]
call fcn.1400bb560
nop
mov dword [rsp + 0x30], 0xdbd4c3c8
mov dword [rsp + 0x34], 0xcecdc8
mov byte [rsp + 0x38], 1
mov rcx, r13
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x5b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x1400c46c0
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], 0
mov r8d, 7
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14000e4d0
nop
mov rbx, qword [rsp + 0x30]
movzx ecx, byte [rbp + 0xa0]
test cl, cl
jne 0x1400c472f
mov byte [rbp + 0xa0], 1
call fcn.1400b9e00
mov qword [rbp + 0xa8], rax
movzx ecx, byte [rbp + 0xa0]
jmp 0x1400c4736
mov rax, qword [rbp + 0xa8]
cmp cl, 1
jne 0x1400c474b
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1400bec70
mov rbx, rax
mov qword [rbp + 0xb0], r13
mov qword [rbp + 0xc0], r13
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xc8], r13
mov byte [rbp + 0xb0], 0
mov dword [rsp + 0x40], 0xbf0
cmp byte [rbx], 3
jne 0x1400c478e
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0xb0]
xor ebx, ebx
cmp rax, rdx
je 0x1400c47b3
jmp 0x1400c4792
xor ebx, ebx
mov edx, ebx
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400c47a0
mov rdx, qword [rdx]
lea rcx, [rbp + 0xb0]
call fcn.14000e4d0
mov r13, qword [rbp + 0xc8]
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400c47f3
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c47ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c47ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011df38
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x130]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14013f190]
mov qword [rbp + 0x130], rax
lea rax, [0x14013f198]
mov qword [rbp + 0x140], rax
lea rcx, [rbp + 0x1c8]
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 + 0x40], 0x17f0
xor r8d, r8d
lea rdx, [rbp + 0x148]
lea rcx, [rbp + 0x130]
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 + 0x130]
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 + 0x130], rax
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x12c], edx
lea rcx, [rbp + 0x148]
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 + 0x148], rax
mov qword [rbp + 0x1b0], rbx
mov dword [rbp + 0x1b8], ebx
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd0], xmm1
mov qword [rbp + 0xe0], rbx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14011dcbc
mov qword [rbp + 0xd0], rax
lea r9, [rax + 0x20]
mov qword [rbp + 0xe0], r9
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0xd8], r9
mov rax, qword [rbp + 0xd0]
sub r9, rax
lea r8, [rbp + 0x108]
cmp qword [rbp + 0x120], 0x10
cmovae r8, qword [rbp + 0x108]
lea rcx, [r14 + 0x258]
cmp qword [rcx + 0x18], 0x10
jb 0x1400c492f
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x118]
mov rdx, qword [r14 + 0x268]
call fcn.1400d2bf0
mov r15, qword [rbp + 0xd8]
mov rsi, qword [rbp + 0xd0]
cmp rsi, r15
je 0x1400c49bc
nop
movzx edi, byte [rsi]
lea rdx, [0x1400c5230]
lea rcx, [rbp + 0x140]
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 + 0x60]
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, r15
jne 0x1400c4960
lea rsi, [section..data]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rsi, qword [section..data]
xor r15d, r15d
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x48], r15
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x40], rdi
mov byte [rbp - 0x58], r15b
mov dword [rsp + 0x40], 0x57f0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
mov ecx, dword [rbp + 0x1b8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400c4a3d
mov rax, qword [rbp + 0x188]
mov r8, qword [rax]
test r8, r8
je 0x1400c4a3d
mov rax, qword [rbp + 0x168]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x1b0]
cmovb r8, qword [rbp + 0x1b0]
sub r8, rdx
jmp 0x1400c4a77
test cl, 4
jne 0x1400c4a6d
mov rax, qword [rbp + 0x180]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400c4a6d
mov rax, qword [rbp + 0x160]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x198]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x1400c4a77
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x1400c4a89
lea rcx, [rbp - 0x58]
call fcn.14000e4d0
mov rdi, qword [rbp - 0x40]
lea rcx, [rbp - 0x58]
mov rbx, qword [rbp - 0x58]
cmp rdi, 0x10
cmovae rcx, rbx
mov r8d, 8
mov rdx, rsi
call fcn.1400c0780
movzx esi, al
cmp rdi, 0x10
jb 0x1400c4ae4
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400c4adc
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c4adc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14011df38
test sil, sil
jne 0x1400c4b0f
lea r8, [rbp + 0xb0]
lea rdx, str.Signature_checksum_failed._Request_was_tampered_with_or_session_ended_most_likely.__echo:__echo_Message:
lea rcx, [rbp - 0x18]
call fcn.1400b7150
mov rcx, rax
call fcn.1400c2730
mov r13, qword [rbp + 0xc8]
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x60]
call fcn.1400bda30
mov rdx, rax
mov rcx, r14
call fcn.1400c6da0
mov dword [rsp + 0x30], 0xd8d4c3d7
mov dword [rsp + 0x34], 0xc9d8c4c6
mov word [rsp + 0x38], 0x100
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x5b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 8
jb 0x1400c4b50
mov byte [rsp + 0x39], 0
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
mov r8d, 8
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x58]
call fcn.14000e4d0
mov dword [rsp + 0x40], 0x1b7f0
movzx eax, byte [rbp + 0xa0]
test al, al
jne 0x1400c4bbf
mov byte [rbp + 0xa0], 1
call fcn.1400b9e00
mov rcx, rax
mov qword [rbp + 0xa8], rax
movzx eax, byte [rbp + 0xa0]
jmp 0x1400c4bc6
mov rcx, qword [rbp + 0xa8]
cmp al, 1
jne 0x1400c4bd5
lea rdx, [rbp - 0x58]
call fcn.1400bec70
jmp 0x1400c4bda
mov rax, qword [rsp + 0x30]
cmp byte [rax], 0
je 0x1400c4ca0
mov dword [rsp + 0x48], 0xd8d4c3d7
mov dword [rsp + 0x4c], 0xc9d8c4c6
mov word [rsp + 0x50], 0x100
mov rcx, r15
nop dword [rax]
lea eax, [rcx - 0x5b]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x1400c4c00
mov byte [rsp + 0x51], 0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], 0
mov r8d, 8
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x38]
call fcn.14000e4d0
nop
mov dword [rsp + 0x40], 0x7b7f1
movzx ecx, byte [rbp + 0xa0]
test cl, cl
jne 0x1400c4c6d
mov byte [rbp + 0xa0], 1
call fcn.1400b9e00
mov qword [rbp + 0xa8], rax
movzx ecx, byte [rbp + 0xa0]
jmp 0x1400c4c74
mov rax, qword [rbp + 0xa8]
cmp cl, 1
jne 0x1400c4c87
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.1400bec70
jmp 0x1400c4c8c
mov rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.1400bda30
nop
mov ebx, 0x7b7f3
jmp 0x1400c4cda
mov word [rsp + 0x44], 0x100
mov byte [rsp + 0x60], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14011dcbc
nop
mov byte [rsp + 0x45], 0
mov qword [rax], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x60]
mov ebx, 0x19b7f4
mov dword [rsp + 0x40], ebx
mov rdi, qword [rbp + 8]
mov rdx, rdi
mov rcx, rax
call fcn.1400b70f0
or ebx, 8
test bl, 4
je 0x1400c4d08
and ebx, 0xfffffffb
movzx edx, byte [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.1400c0f50
nop
test bl, 2
je 0x1400c4d1e
and ebx, 0xfffffffd
movzx edx, byte [rbp - 0x68]
lea rcx, [rbp - 0x60]
call fcn.1400c0f50
nop
test bl, 1
je 0x1400c4d71
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1400c4d61
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c4d5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c4d5c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011df38
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x1400c4daf
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c4daa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c4daa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011df38
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x1400c4e14
mov rdx, qword [rbp + 0xe0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c4dfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c4dfd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011df38
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], r15
mov rax, qword [rbp + 0x130]
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 + 0x130], rax
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x12c], edx
lea rcx, [rbp + 0x148]
call fcn.1400be370
lea rcx, [rbp + 0x150]
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 + 0x1c8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
cmp r13, 0x10
jb 0x1400c4eac
lea rdx, [r13 + 1]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c4ea6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c4ea6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011df38
nop
movzx edx, byte [rbp + 0xa0]
lea rcx, [rbp + 0xa8]
call fcn.1400c0f50
nop
mov rdx, qword [rbp + 0x120]
cmp rdx, 0x10
jb 0x1400c4f04
inc rdx
mov rcx, qword [rbp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c4eff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c4eff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011df38
mov qword [rbp + 0x118], r15
mov qword [rbp + 0x120], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x108], 0
mov rax, qword [rbp + 0x100]
cmp rax, 0x10
jb 0x1400c4f60
lea rdx, [rax + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x1400c4f57
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c4f57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14011df38
nop
mov rcx, qword [rbp + 0x10]
call fcn.14000dcd0
mov rax, rdi
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.14011da00
mov rbx, qword [rsp + 0x3a8]
add rsp, 0x350
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001b70
nop
int3