Function at 0x4188c0
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c78c5
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x671330]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov esi, ecx
push 0
mov dword [ebp - 0xec], esi
call fcn.00410060
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push edi
movq qword [ebp - 0x20], xmm0
call fcn.00418c20
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xd8]
push eax
push 1
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xdc], 0
push eax
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
call sub.CRYPT32.dll_CryptUnprotectData
test eax, eax
jne 0x418a12
push 0x98
lea ecx, [ebp - 0xd0]
call fcn.004029d0
push 1
push 2
lea ecx, [ebp - 0xd0]
call fcn.00416190
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 2
push str.CryptUnprotectData_failed__0x
push eax
call fcn.00414ff0
add esp, 8
mov ecx, eax
push 0x416260
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push 0x6090bc
push eax
call fcn.00414ff0
add esp, 8
lea eax, [ebp - 0x110]
lea ecx, [ebp - 0xd0]
push eax
call fcn.00414da0
push eax
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 3
call fcn.0040b380
push 0x638088
lea eax, [ebp - 0xf8]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
lea ecx, [ebp - 0xe1]
call fcn.00402d20
mov ebx, dword [ebp - 0xd8]
lea ecx, [ebp - 0x38]
mov edi, dword [ebp - 0xd4]
add ebx, edi
push eax
call fcn.00406b30
lea ecx, [ebp - 0x38]
call fcn.0040a840
push 0
push 0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0040ba50
mov eax, ebx
mov byte [ebp - 0xe2], 0
sub eax, edi
mov byte [ebp - 0xe3], 0
push eax
lea ecx, [ebp - 0x38]
call fcn.004139a0
push dword [ebp - 0xec]
lea ecx, [ebp - 0x38]
push ebx
push edi
call fcn.0041c4b0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xd4]
test ecx, ecx
je 0x418aa1
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x418a90
mov eax, dword [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0xe8]
call fcn.00420820
mov eax, dword [ebp - 0xe8]
lea ecx, [ebp - 0x38]
mov dword [esi], eax
call fcn.0040b3b0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x20], 0
je 0x418af8
lea ecx, [ebp - 0x20]
call fcn.004084c0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.0040ba30
jmp 0x418af8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00544286
mov esp, ebp
pop ebp
ret