Function at 0x408c06
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
push 8
call fcn.004850cd
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.004850cd
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0x14], 0
push 8
call fcn.004850cd
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0x1c], 0
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x408c9d
mov eax, 0x49bbcc
push eax
push 1
mov ebx, 0x198
call fcn.00486870
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x408cc7
push ebx
call fcn.004850d3
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x20], ebx
push 0x80000005
push 0
lea eax, [ebp - 4]
push eax
push 1
mov ebx, 0xc
mov eax, 0x48ee50
call fcn.00485690
add esp, 0x10
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x20], ebx
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x408d14
mov eax, 0x496231
push eax
push 1
mov ebx, 0x194
call fcn.00487060
add esp, 0x10
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x408d41
mov eax, 0x49bbcc
push eax
push 1
mov ebx, 0x198
call fcn.00486870
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x80000301
push 0
push dword [ebp + 0x10]
push 1
mov ebx, 0x198
call fcn.00486870
add esp, 0x10
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.00407c82
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x408d9c
push ebx
call fcn.004850d3
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408dac
push ebx
call fcn.004850d3
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x408dc0
push ebx
call fcn.004850d3
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x20], ebx
push 0x80000005
push 0
lea eax, [ebp - 0xc]
push eax
push 1
mov ebx, 0xc
mov eax, 0x48ee50
call fcn.00485690
add esp, 0x10
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x20], ebx
push 0x80000005
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x408e0d
mov eax, 0x496231
push eax
push 1
mov ebx, 0x194
call fcn.00487060
add esp, 0x10
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov eax, 0x4b2a13
test eax, eax
je 0x408e41
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004850cd
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x408e52
push ebx
call fcn.004850d3
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0x18]
push 0x11
push 0
push 0
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x408e78
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x408ea2
push 0x342
push 0x40d4f2b
push 6
call fcn.004850d9
add esp, 0xc
test eax, eax
je 0x408f9f
mov ebx, dword [ebp - 0x18]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 0x80000301
push 0
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push 2
mov ebx, 0x910
call fcn.00487360
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
call fcn.00408403
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408f1a
push ebx
call fcn.004850d3
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x408f2d
mov eax, 0x49bbcc
push eax
push 1
mov ebx, 0x154
call fcn.00486350
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x408f53
push ebx
call fcn.004850d3
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x408f67
push ebx
call fcn.004850d3
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
push dword [ebx]
call fcn.00409015
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x408f9a
push eax
mov ebx, eax
call fcn.00402373
inc eax
push eax
call fcn.004850cd
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x408fa9
mov eax, 0x49bbcc
jmp 0x408fa9
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x408fba
push ebx
call fcn.004850d3
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.004850d3
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x408fd6
push ebx
call fcn.004850d3
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004850d3
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x408ff2
push ebx
call fcn.004850d3
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.004850d3
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40900e
push ebx
call fcn.004850d3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc