Function at 0x4018b0
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0xffffffffffffffff
push 0x425af3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push esi
push edi
mov ecx, 9
mov esi, str.82BD0E67_9FEA_4748_8672_D5EFE5B779B0
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
push str.advapi32.dll
mov dword [esp + 0x10], ebx
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebx
je 0x401940
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CredEnumerateA
push esi
call edi
push str.CredReadA
push esi
mov dword [0x4354c8], eax
call edi
push str.CredFree
push esi
mov dword [0x4354c4], eax
call edi
mov ecx, dword [0x4354c8]
mov dword [0x4354c0], eax
cmp ecx, ebx
je 0x401939
cmp dword [0x4354c4], ebx
je 0x401939
cmp eax, ebx
jne 0x401940
xor eax, eax
jmp 0x401b00
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebx
push str.Passport.Net
call dword [0x4354c8]
mov edi, dword [esp + 0x10]
cmp edi, ebx
je 0x401aec
xor ecx, ecx
lea edx, [esp + 0x70]
movsx ax, byte [esp + ecx + 0x48]
shl eax, 2
mov word [edx], ax
inc ecx
add edx, 2
cmp ecx, 0x25
jb 0x401968
xor esi, esi
cmp edi, ebx
jbe 0x401aec
push ebp
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x74]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], 0x4a
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x40], edx
mov eax, dword [eax + esi*4]
lea edx, [esp + 0x28]
mov ecx, dword [eax + 0x18]
push edx
push 1
push ebx
lea eax, [esp + 0x40]
mov dword [esp + 0x48], ecx
push ebx
push eax
lea ecx, [esp + 0x50]
push ebx
push ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
mov eax, dword [0x4315c8]
mov dword [esp + 0x24], eax
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0x427580
mov edx, dword [esp + 0x10]
mov byte [esp + 0xc8], 2
mov eax, dword [edx + esi*4]
lea edx, [esp + 0x1c]
mov ecx, dword [eax + 0x30]
push ecx
push 0x4310d4
push edx
call fcn.00419def
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, ebx
je 0x401a90
push eax
lea eax, [esp + 0x24]
push 0x4310d8
push eax
call fcn.00419def
mov ecx, dword [esp + 0xdc]
push 0x14
mov edi, dword [ecx + 4]
mov ebp, dword [edi + 4]
call fcn.0041a634
add esp, 0x10
cmp edi, ebx
mov ecx, edi
jne 0x401a52
mov ecx, eax
cmp ebp, ebx
mov dword [eax], ecx
jne 0x401a5a
mov ebp, eax
mov dword [eax + 4], ebp
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
lea ecx, [eax + 8]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ecx
cmp ecx, ebx
mov byte [esp + 0xc8], 3
je 0x401a86
lea edx, [esp + 0x18]
push edx
call fcn.00401b20
mov eax, dword [esp + 0xd0]
inc dword [eax + 8]
mov dword [esp + 0x18], 0x427580
lea ecx, [esp + 0x20]
mov byte [esp + 0xc8], 4
call fcn.0041a8f3
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc8], 1
call fcn.0041a8f3
lea ecx, [esp + 0x30]
mov byte [esp + 0xc8], bl
call fcn.0041a8f3
lea ecx, [esp + 0x24]
mov dword [esp + 0xc8], 0xffffffff
call fcn.0041a8f3
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jb 0x401988
pop ebp
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], ebx
push eax
call dword [0x4354c0]
mov eax, 1
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xbc
ret 4