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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1b
push 0
push 0
dec ecx
jne 0x409314
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x409651
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00401ac0
push esi
mov esi, 0x409660
lea edi, [ebp - 0x93]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
mov edi, 0x25
lea eax, [ebp - 0x93]
lea edx, [ebp - 0x6e]
xor ecx, ecx
mov cl, byte [eax]
shl ecx, 2
mov word [edx], cx
add edx, 2
inc eax
dec edi
jne 0x409359
lea eax, [ebp - 0x6e]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0x4a
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
call sub.advapi32.dll_CredEnumerateA
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x40956e
inc eax
mov dword [ebp - 0x24], eax
xor edi, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + edi*4]
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
call sub.crypt32.dll_CryptUnprotectData
push dword [esi]
push 0x409690
lea eax, [ebp - 0x98]
mov edx, dword [ebp - 4]
mov edx, dword [edx + edi*4]
mov edx, dword [edx + 8]
call fcn.00401cac
push dword [ebp - 0x98]
push 0x4096a4
mov eax, esi
mov edx, 4
call fcn.00401e10
mov eax, dword [ebp - 0x18]
call fcn.00401174
mov ebx, dword [ebp - 0x14]
mov edx, dword [esi]
lea eax, [ebp - 0xa4]
mov ecx, 0x4096b0
call fcn.00401d9c
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
call fcn.00402254
push dword [ebp - 0xa0]
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xac]
mov edx, ebx
call fcn.00402218
mov edx, dword [ebp - 0xac]
mov eax, 0x4096bc
call fcn.00402398
dec eax
push eax
lea eax, [ebp - 0xb0]
mov edx, ebx
call fcn.00402218
mov eax, dword [ebp - 0xb0]
xor edx, edx
pop ecx
call fcn.0040234c
push dword [ebp - 0xa8]
push 0x4096c4
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.00402280
mov edx, dword [ebp - 0x9c]
mov eax, esi
call fcn.00401d3c
mov edx, dword [esi]
lea eax, [ebp - 0xbc]
mov ecx, 0x4096d4
call fcn.00401d9c
mov edx, dword [ebp - 0xbc]
lea eax, [ebp - 0xb8]
call fcn.00402254
push dword [ebp - 0xb8]
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xc4]
mov edx, ebx
call fcn.00402218
mov edx, dword [ebp - 0xc4]
mov eax, 0x4096bc
call fcn.00402398
push eax
lea eax, [ebp - 0xc8]
mov edx, ebx
call fcn.00402218
mov eax, dword [ebp - 0xc8]
call fcn.00402274
pop edx
sub eax, edx
push eax
lea eax, [ebp - 0xcc]
mov edx, ebx
call fcn.00402218
mov edx, dword [ebp - 0xcc]
mov eax, 0x4096bc
call fcn.00402398
inc eax
push eax
lea eax, [ebp - 0xd0]
mov edx, ebx
call fcn.00402218
mov eax, dword [ebp - 0xd0]
pop edx
pop ecx
call fcn.0040234c
push dword [ebp - 0xc0]
push 0x4096c4
push 0x4096e4
lea eax, [ebp - 0xb4]
mov edx, 4
call fcn.00402280
mov edx, dword [ebp - 0xb4]
mov eax, esi
call fcn.00401d3c
inc edi
dec dword [ebp - 0x24]
jne 0x40939a
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [esi]
xor edx, edx
mov eax, 0x409690
call fcn.0040592c
mov edx, dword [ebp - 0xd4]
mov eax, esi
call fcn.00401b14
lea eax, [ebp - 0xd8]
push eax
mov ecx, dword [esi]
xor edx, edx
mov eax, 0x4096b0
call fcn.0040592c
mov edx, dword [ebp - 0xd8]
mov eax, esi
call fcn.00401b14
lea eax, [ebp - 0xdc]
push eax
mov ecx, dword [esi]
xor edx, edx
mov eax, 0x4096d4
call fcn.0040592c
mov edx, dword [ebp - 0xdc]
mov eax, esi
call fcn.00401b14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409658
lea eax, [ebp - 0xdc]
mov edx, 3
call fcn.00401ae4
lea eax, [ebp - 0xd0]
mov edx, 5
call fcn.00402120
lea eax, [ebp - 0xbc]
call fcn.00401ac0
lea eax, [ebp - 0xb8]
mov edx, 5
call fcn.00402120
lea eax, [ebp - 0xa4]
call fcn.00401ac0
lea eax, [ebp - 0xa0]
mov edx, 2
call fcn.00402120
lea eax, [ebp - 0x98]
call fcn.00401ac0
lea eax, [ebp - 4]
mov edx, dword [0x4086bc]
call fcn.00402fc8
ret