Function at 0x418620
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c7866
mov eax, dword fs:[0]
push eax
sub esp, 0x110
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, ecx
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xec], 0
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [ebp - 0xf4], edi
mov dword [edi + 8], 0
call fcn.00404ac0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea edx, [ebp + 8]
mov dword [ebp - 0xec], 1
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 1
call fcn.00420f40
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push eax
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x20], xmm0
call fcn.0041f330
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x38]
call fcn.00420b60
mov byte [ebp - 0xe4], 0
lea ecx, [ebp - 0x20]
push dword [ebp - 0xe4]
mov dword [ebp - 0x20], 0
push dword [ebp - 0xf0]
mov dword [ebp - 0x1c], 0
push dword [ebp - 0xe8]
mov dword [ebp - 0x18], 0
call fcn.0041c780
mov byte [ebp - 4], 3
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 5
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_CryptProtectData
test eax, eax
jne 0x418804
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], 4
push str.CryptProtectData_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 - 0x118]
lea ecx, [ebp - 0xd0]
push eax
call fcn.00414da0
push eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 5
call fcn.0040b380
push 0x638088
lea eax, [ebp - 0x100]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
mov ebx, dword [ebp - 0xd4]
test ebx, ebx
je 0x41884c
mov esi, dword [ebp - 0xd8]
add esi, ebx
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.004084c0
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 3
mov byte [ebp - 0xe4], 0
push dword [ebp - 0xe4]
mov dword [edi + 4], eax
push esi
push ebx
call fcn.0041c080
push dword [ebp - 0xd4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x20], 0
je 0x418887
lea ecx, [ebp - 0x20]
call fcn.004084c0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
push 1
push eax
push ecx
call fcn.0040b970
add esp, 0xc
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x38]
call fcn.0040b3b0
jmp 0x41889d
mov eax, edi
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