Function at 0x10012aa0
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10111688
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x1060f098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
mov edi, dword [ebp + 0xc]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
push dword [esi + 0x10]
call fcn.10013120
mov dword [ebp - 4], 0
mov ecx, esi
push dword [esi + 0x10]
call fcn.100117f0
mov esi, dword [ebp - 0x1c]
push eax
push esi
call fcn.100bdc30
add esp, 0xc
test eax, eax
jg 0x10012b55
test esi, esi
je 0x10012cd3
mov eax, dword [ebp - 0x14]
sub eax, esi
cmp eax, 0x1000
jb 0x10012cca
test byte [ebp - 0x1c], 0x1f
je 0x10012b2f
call fcn.100ee235
mov eax, dword [esi - 4]
cmp eax, esi
jb 0x10012b3b
call fcn.100ee235
sub esi, eax
cmp esi, 4
jae 0x10012b47
call fcn.100ee235
cmp esi, 0x23
jbe 0x10012cc8
call fcn.100ee235
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x4c]
sub eax, esi
mov dword [ebp - 0x38], 0xf
push eax
push esi
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
call fcn.10011cf0
push 0xffffffffffffffff
push 5
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x4c]
call fcn.100120f0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
cmovae eax, dword [ebp - 0x34]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x10012c75
push dword [ebp - 0x54]
mov ecx, edi
push dword [ebp - 0x50]
call fcn.10011cf0
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x10012bed
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.10011bd0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
cmp eax, 0x10
jb 0x10012c14
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.10011bd0
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
test esi, esi
je 0x10012c6e
mov eax, dword [ebp - 0x14]
sub eax, esi
cmp eax, 0x1000
jb 0x10012c65
test byte [ebp - 0x1c], 0x1f
je 0x10012c41
call fcn.100ee235
mov eax, dword [esi - 4]
cmp eax, esi
jb 0x10012c4d
call fcn.100ee235
sub esi, eax
cmp esi, 4
jae 0x10012c59
call fcn.100ee235
cmp esi, 0x23
jbe 0x10012c63
call fcn.100ee235
mov esi, eax
push esi
call fcn.10040800
add esp, 4
mov eax, 1
jmp 0x10012cd5
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x10012c8a
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.10011bd0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
cmp eax, 0x10
jb 0x10012cb1
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.10011bd0
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
jmp 0x10012b0c
mov esi, eax
push esi
call fcn.10040800
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d22d5
mov esp, ebp
pop ebp
ret 8