Function at 0x180012210
Capabilities:
Decode data using base64 via winapi
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x18014a040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
mov qword [rbp - 9], rcx
mov rdx, rcx
lea rcx, [rbp + 0x27]
call fcn.18001cbd0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
mov ecx, reloc.WS2_32.dll_recv
call fcn.180028cf0
xor esi, esi
mov qword [rax + 8], rsi
mov qword [rbp + 7], rax
lea rcx, [rbp + 7]
mov qword [rax], rcx
mov dword [rbp - 1], esi
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0xf
cmova rcx, qword [rbp + 0x2f]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
lea r8d, [rsi + 1]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x180012393
lea rdx, str._1__CryptStringToBinaryA_Failed_to_convert_BASE64_private_key.__n
lea rcx, [0x18014c9d0]
call fcn.180022020
nop
lea rcx, [rbp + 7]
call fcn.1800096b0
mov rdx, qword [rbp + 0xf]
test rdx, rdx
je 0x1800122f2
mov r8, qword [rbp + 0x1f]
sub r8, rdx
call fcn.1800099c0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], rsi
mov rcx, qword [rbp + 7]
mov qword [rbp + 7], rsi
mov edx, reloc.WS2_32.dll_recv
call fcn.180028cb0
nop
lea rcx, [rbp + 0x27]
call fcn.1800096b0
mov r8, qword [rbp + 0x47]
cmp r8, 0xf
jbe 0x180012328
inc r8
mov rdx, qword [rbp + 0x2f]
lea rcx, [rbp + 0x27]
call fcn.1800099c0
mov rcx, qword [rbp + 0x27]
mov qword [rbp + 0x3f], rsi
mov qword [rbp + 0x47], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2f], 0
mov qword [rbp + 0x27], rsi
mov edx, reloc.WS2_32.dll_recv
call fcn.180028cb0
nop
mov rcx, rbx
call fcn.1800096b0
mov r8, qword [rbx + 0x20]
cmp r8, 0xf
jbe 0x18001236c
inc r8
mov rdx, qword [rbx + 8]
mov rcx, rbx
call fcn.1800099c0
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbx + 8], 0
mov rcx, qword [rbx]
mov qword [rbx], rsi
mov edx, reloc.WS2_32.dll_recv
call fcn.180028cb0
xor eax, eax
jmp 0x18001250a
mov edx, dword [rbp - 1]
lea rcx, [rbp + 7]
call fcn.180018840
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0xf
cmova rcx, qword [rbp + 0x2f]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0xf]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x1800123e0
lea rdx, str._2__CryptStringToBinaryA_Failed_to_convert_BASE64_private_key.__n
jmp 0x1800122bb
mov rax, qword [rbp + 0xf]
add rax, 5
mov qword [rbp - 0x21], rax
mov eax, dword [rbp - 1]
add eax, 0xfffffffb
mov dword [rbp - 0x29], eax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x29]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x180012429
lea rdx, str.Failed_to_unprotect_master_key._n
jmp 0x1800122bb
mov ecx, reloc.WS2_32.dll_recv
call fcn.180028cf0
mov rdi, rax
mov rcx, qword [rbp - 0x11]
mov qword [rax + 8], rcx
mov ecx, dword [rbp - 0x19]
mov dword [rax], ecx
lea rcx, [rbp + 7]
call fcn.1800096b0
mov rdx, qword [rbp + 0xf]
test rdx, rdx
je 0x18001246d
mov r8, qword [rbp + 0x1f]
sub r8, rdx
call fcn.1800099c0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], rsi
mov rcx, qword [rbp + 7]
mov qword [rbp + 7], rsi
mov edx, reloc.WS2_32.dll_recv
call fcn.180028cb0
nop
lea rcx, [rbp + 0x27]
call fcn.1800096b0
mov r8, qword [rbp + 0x47]
cmp r8, 0xf
jbe 0x1800124a3
inc r8
mov rdx, qword [rbp + 0x2f]
lea rcx, [rbp + 0x27]
call fcn.1800099c0
mov qword [rbp + 0x3f], rsi
mov qword [rbp + 0x47], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2f], 0
mov rcx, qword [rbp + 0x27]
mov qword [rbp + 0x27], rsi
mov edx, reloc.WS2_32.dll_recv
call fcn.180028cb0
nop
mov rcx, rbx
call fcn.1800096b0
mov r8, qword [rbx + 0x20]
cmp r8, 0xf
jbe 0x1800124e7
inc r8
mov rdx, qword [rbx + 8]
mov rcx, rbx
call fcn.1800099c0
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbx + 8], 0
mov rcx, qword [rbx]
mov qword [rbx], rsi
mov edx, reloc.WS2_32.dll_recv
call fcn.180028cb0
mov rax, rdi
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.180028950
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret