Function at 0x14007e1f0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x140131080]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rdi, rdx
mov r14, rcx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x80], rdx
xor r15d, r15d
mov rsi, qword [rcx + 0x10]
mov rbx, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x14007e242
mov rbx, qword [rcx]
call fcn.1400f68dc
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.14007bdd0
nop
lea rcx, [rsp + 0x40]
call fcn.14007c6b0
movzx ebx, al
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14007e2b5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007e2b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007e2b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f7510
movdqa xmm0, xmmword [0x14011be40]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r15w
test bl, bl
jne 0x14007e3ee
mov byte [rbp - 0x80], gethostname
mov byte [rbp - 0x7f], reloc.WLDAP32.dll_Ordinal_22
mov byte [rbp - 0x7e], Ordinal_30
mov byte [rbp - 0x7d], reloc.WS2_32.dll_setsockopt
mov byte [rbp - 0x7c], 0x52
mov byte [rbp - 0x7b], reloc.WS2_32.dll_gethostname
mov byte [rbp - 0x7a], Ordinal_30
mov byte [rbp - 0x79], listen
mov byte [rbp - 0x78], 0x5c
mov byte [rbp - 0x77], 0xcb
mov byte [rbp - 0x76], 0xe4
mov byte [rbp - 0x75], 0xff
mov byte [rbp - 0x74], 0xe1
mov byte [rbp - 0x73], 0xe4
mov byte [rbp - 0x72], 0x81
movzx eax, byte [rbp - 0x80]
mov r9, r15
movabs r11, 0x944c8ad36eb9a877
mov r10, r11
lea rax, [rbp - 0x80]
sub r10, rax
mov ebx, reloc.WS2_32.dll_ntohs
nop dword [rax]
lea rdx, [rbp - 0x80]
add rdx, r9
movsx r8, byte [rdx]
mov rcx, r9
and ecx, ebx
cmp rcx, rbx
cmovae rcx, rbx
shl cl, 2
mov rax, r11
shr rax, cl
and al, bl
add dl, r10b
xor al, dl
xor al, r8b
mov byte [rbp + r9 - 0x80], al
inc r9
cmp r9, rbx
jb 0x14007e330
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x14007e3a1
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x14007e39c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007e5f2
mov rcx, r8
call fcn.1400f7510
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], rbx
mov byte [r14], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14007e3e7
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14007e3e2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007e5f9
mov rcx, r8
call fcn.1400f7510
mov al, 1
jmp 0x14007e5bd
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x50]
call fcn.1400f80ce
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.140084c20
nop
mov qword [rsp + 0x78], r15
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x68]
call fcn.1400884a0
movzx r12d, byte [rbp - 0x68]
cmp r12b, 1
jne 0x14007e4e2
mov r15, qword [rbp - 0x60]
mov rsi, qword [r15]
mov qword [rsp + 0x30], rsi
mov rbx, qword [rsi + 8]
mov r13, rsi
cmp byte [rbx + 0x19], 0
jne 0x14007e4bb
mov r15, qword [rdi + 0x10]
mov r12, qword [rdi + 0x18]
lea rcx, [rbx + 0x20]
mov rdx, rdi
cmp r12, 0xf
jbe 0x14007e463
mov rdx, qword [rdi]
mov rsi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x14007e471
mov rcx, qword [rcx]
mov r8, rsi
cmp r15, rsi
cmovb r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14007e48a
jns 0x14007e495
mov al, 0xff
jmp 0x14007e497
cmp rsi, r15
jae 0x14007e493
mov al, 0xff
jmp 0x14007e497
jbe 0x14007e4a1
mov al, 1
test al, al
jns 0x14007e4a1
mov rbx, qword [rbx + 0x10]
jmp 0x14007e4a7
mov r13, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x14007e453
mov rsi, qword [rsp + 0x30]
mov r15, qword [rbp - 0x60]
movzx r12d, byte [rbp - 0x68]
cmp byte [r13 + 0x19], 0
jne 0x14007e4d5
lea r8, [r13 + 0x20]
mov rdx, rdi
mov rcx, r15
call fcn.1400907c0
test al, al
je 0x14007e4d8
mov r13, rsi
cmp r13, qword [r15]
je 0x14007e4e2
mov sil, 1
jmp 0x14007e4e5
xor sil, sil
movzx edx, r12b
lea rcx, [rbp - 0x60]
call fcn.140086a20
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x40]
call fcn.140067f00
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x60]
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 [r14 + 0x18]
cmp rdx, 0xf
jbe 0x14007e571
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x14007e56c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007e5f2
mov rcx, r8
call fcn.1400f7510
xor r15d, r15d
mov qword [r14 + 0x10], r15
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [r14 + 0x18], rbx
mov byte [r14], r15b
mov rdx, qword [rdi + 0x18]
cmp rdx, rbx
jbe 0x14007e5b9
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14007e5b4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007e5f9
mov rcx, r8
call fcn.1400f7510
movzx eax, sil
mov byte [rdi], 0
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x10], r15
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1400f6de0
mov rbx, qword [rsp + 0x220]
add rsp, 0x1d0
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]
int3