Function at 0x40916f
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
push 8
call fcn.0048589b
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.0048589b
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.0048589b
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 0x409206
mov eax, 0x49726f
push eax
push 1
mov ebx, 0x198
call fcn.00486d60
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x409230
push ebx
call fcn.004858a1
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, 0x48f5c0
call fcn.00485ee0
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 0x40927d
mov eax, 0x497267
push eax
push 1
mov ebx, 0x194
call fcn.004876f0
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 0x4092aa
mov eax, 0x49726f
push eax
push 1
mov ebx, 0x198
call fcn.00486d60
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x80000301
push 0
push dword [ebp + 0x10]
push 1
mov ebx, 0x198
call fcn.00486d60
add esp, 0x10
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.00408472
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409305
push ebx
call fcn.004858a1
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409315
push ebx
call fcn.004858a1
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x409329
push ebx
call fcn.004858a1
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, 0x48f5c0
call fcn.00485ee0
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 0x409376
mov eax, 0x497267
push eax
push 1
mov ebx, 0x194
call fcn.004876f0
add esp, 0x10
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov eax, 0x4b38f4
test eax, eax
je 0x4093aa
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0048589b
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 0x4093bb
push ebx
call fcn.004858a1
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 0x4093e1
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 0x40940b
push 0x342
push 0x40d4f2b
push 6
call fcn.004858a7
add esp, 0xc
test eax, eax
je 0x40952c
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.004879f0
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.00408bf3
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x409483
push ebx
call fcn.004858a1
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x409496
mov eax, 0x49726f
push eax
push 1
mov ebx, 0x154
call fcn.00486b40
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4094bc
push ebx
call fcn.004858a1
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4094d0
push ebx
call fcn.004858a1
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], esp
mov ebx, dword [ebp - 0x20]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_LocalFree]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x40950b
push 0x437
push 0x40d4f2b
push 6
call fcn.004858a7
add esp, 0xc
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x409527
push eax
mov ebx, eax
call fcn.00401010
inc eax
push eax
call fcn.0048589b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x409536
mov eax, 0x49726f
jmp 0x409536
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x409547
push ebx
call fcn.004858a1
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.004858a1
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x409563
push ebx
call fcn.004858a1
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004858a1
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40957f
push ebx
call fcn.004858a1
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.004858a1
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40959b
push ebx
call fcn.004858a1
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc