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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x140131080]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
mov qword [rbp - 0x20], rdx
mov qword [rbp - 0x18], r8
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov r15, qword [rdx + 0x10]
mov r14, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14007ddfa
mov r14, qword [rdx]
call fcn.1400f68dc
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r15
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.14007bdd0
mov dword [rsp + 0x40], 6
lea rcx, [rsp + 0x60]
call fcn.14007c6b0
movzx r14d, al
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14007de75
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007de70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007de70
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 + 0x70], xmm0
mov word [rsp + 0x60], r12w
test r14b, r14b
jne 0x14007dff5
mov byte [rsp + 0x30], gethostname
mov byte [rsp + 0x31], reloc.WLDAP32.dll_Ordinal_22
mov byte [rsp + 0x32], Ordinal_33
mov byte [rsp + 0x33], reloc.WS2_32.dll_setsockopt
mov byte [rsp + 0x34], 0x52
mov byte [rsp + 0x35], reloc.WS2_32.dll_gethostname
mov byte [rsp + 0x36], Ordinal_30
mov byte [rsp + 0x37], recv
mov byte [rsp + 0x38], 0x5c
mov byte [rsp + 0x39], 0xcb
mov byte [rsp + 0x3a], 0xe4
mov byte [rsp + 0x3b], 0xff
mov byte [rsp + 0x3c], 0xe1
mov byte [rsp + 0x3d], 0xe4
mov byte [rsp + 0x3e], 0x81
movzx eax, byte [rsp + 0x30]
mov r9, r12
movabs r11, 0x944c8ad36eb9a877
mov r10, r11
lea rax, [rsp + 0x30]
sub r10, rax
mov r15d, reloc.WS2_32.dll_ntohs
lea rdx, [rsp + 0x30]
add rdx, r9
movsx r8, byte [rdx]
mov rcx, r9
and ecx, r15d
cmp rcx, r15
cmovae rcx, r15
shl cl, 2
mov rax, r11
shr rax, cl
and al, r15b
add dl, r10b
xor al, dl
xor al, r8b
mov byte [rsp + r9 + 0x30], al
inc r9
cmp r9, r15
jb 0x14007df00
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14007df54
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140061100
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14007dfa2
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14007df9d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007dfee
mov rcx, r8
call fcn.1400f7510
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r15
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14007e174
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14007e16f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14007e16c
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
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp]
call fcn.1400f80ce
mov rdx, rbx
lea rcx, [rbp]
call fcn.140084c20
nop
mov qword [rbp - 0x48], r12
lea r8, [rbp - 0x80]
lea rdx, [rbp]
lea rcx, [rbp - 0x10]
call fcn.1400884a0
nop
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.1400644d0
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140084ff0
nop
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x18], r15
mov byte [rdi], 0
mov dword [rsp + 0x40], Ordinal_45
cmp byte [rax], 3
jne 0x14007e1b1
mov r9, qword [rax + 8]
cmp rdi, r9
je 0x14007e0a8
mov r14, qword [r9 + 0x10]
cmp qword [r9 + 0x18], r15
jbe 0x14007e081
mov r9, qword [r9]
mov rcx, rdi
cmp r14, r15
ja 0x14007e09f
mov qword [rdi + 0x10], r14
mov r8, r14
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rdi], 0
jmp 0x14007e0a8
mov rdx, r14
call fcn.140061200
nop
movzx edx, byte [rbp - 0x10]
lea rcx, [rbp - 8]
call fcn.140086a20
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx], rax
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 0x10]
call fcn.140067f00
lea rcx, [rbp + 0x18]
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 + 0xb0]
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 [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14007e133
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14007e12e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007e1a3
mov rcx, r8
call fcn.1400f7510
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r15
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14007e174
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14007e16f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007e1aa
mov rcx, r8
call fcn.1400f7510
mov rax, rdi
mov byte [rsi], 0
mov qword [rsi + 0x18], r15
mov qword [rsi + 0x10], r12
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1400f6de0
add rsp, 0x220
pop r15
pop r14
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
mov rcx, rax
call fcn.140086f20
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.140094710
nop
mov r8, rax
lea rcx, [rbp - 0x80]
call fcn.1400947d0
lea rdx, [0x14012c330]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
int3