Function at 0x1400096d0
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x14023c8a0]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rsi, r8
mov rdi, rdx
mov qword [rsp + 0x40], rdx
mov qword [rbp - 0x10], r8
xor r14d, r14d
mov dword [rsp + 0x48], r14d
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x30]
call fcn.1400b4b10
lea r8d, [r14 + 1]
mov rdx, rsi
lea rcx, [rbp + 0x30]
call fcn.14000f7c0
nop
mov qword [rbp - 0x38], r14
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x18]
call fcn.140015940
nop
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
lea r8d, [r14 + 8]
lea rdx, str.os_crypt
lea rcx, [rsp + 0x50]
call fcn.140004530
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x18]
call fcn.140018cb0
mov rbx, rax
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
lea r8d, [r14 + 0xd]
lea rdx, str.encrypted_key
lea rcx, [rsp + 0x70]
call fcn.140004530
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140018cb0
nop
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], r14b
mov dword [rsp + 0x48], reloc.WS2_32.dll_recv
cmp byte [rax], 3
jne 0x140009a29
mov rdx, qword [rax + 8]
lea rax, [rsp + 0x50]
cmp rax, rdx
je 0x14000980a
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400097ff
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
call fcn.140004530
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 8]
call fcn.1400eca90
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140009856
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009851
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009a63
call fcn.1400b1cb0
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov rax, qword [rbp + 8]
cmp rax, 5
jb 0x140009a69
add rax, 0xfffffffffffffffb
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae rdx, qword [rbp - 8]
add rdx, 5
lea rcx, [rsp + 0x70]
call fcn.140004530
lea rcx, [rbp - 8]
call fcn.140012660
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rbp + 8], xmm1
movd dword [rbp - 0x30], xmm1
lea rdx, [rbp - 8]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0x10
cmovae rdx, rcx
mov qword [rbp - 0x28], rdx
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x30]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
mov r8d, dword [rbp - 0x20]
mov qword [rdi], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rdx, qword [rbp - 0x18]
mov rcx, rdi
call fcn.140004530
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x140009964
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000995f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009a23
call fcn.1400b1cb0
mov qword [rbp + 8], r14
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
movzx edx, byte [rbp + 0x18]
lea rcx, [rbp + 0x20]
call fcn.1400139b0
nop
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x40]
call fcn.14000f500
mov rax, qword [rbp + 0x30]
movsxd rdx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rdx + 0x30], rax
mov rdx, qword [rbp + 0x30]
movsxd r8, dword [rdx + 4]
lea r9d, [r8 - 0x18]
mov dword [rbp + r8 + 0x2c], r9d
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xe0], rax
lea rcx, [rbp + 0xe0]
call fcn.1400b07d0
nop
mov rcx, rsi
call fcn.140012660
mov rax, rdi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400b1c90
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400c8390
nop
mov rcx, rax
call fcn.140019d20
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140028ec0
nop
mov r8, rax
lea rcx, [rbp - 0x70]
call fcn.140028f70
lea rdx, [0x140239378]
lea rcx, [rbp - 0x70]
call fcn.1400b4230
nop
call fcn.1400c8390
int3
call fcn.140014680
int3