Function at 0x100bbd30
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022eb71
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2f0
mov eax, dword [0x102db080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x78], 0x507
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.10052390
movzx eax, al
test eax, eax
je 0x100bbda7
mov dword [ebp - 0x78], 0x57
push str.invalid_hash
lea ecx, [ebp - 0x138]
call fcn.10085150
push 0x102ca5a8
lea ecx, [ebp - 0x138]
push ecx
call sub.VCRUNTIME140.dll__CxxThrowException
mov ecx, dword [ebp + 0xc]
call fcn.10083220
movzx edx, al
test edx, edx
je 0x100bbdde
mov dword [ebp - 0x78], 0x57
push 0x10238b00
lea ecx, [ebp - 0x114]
call fcn.10085150
push 0x102ca5a8
lea eax, [ebp - 0x114]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0
lea ecx, [ebp - 0xec]
call fcn.10080180
mov byte [ebp - 4], 1
push 0
push 0
push 0x20106
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.1007dd30
push eax
mov ecx, dword [ebp + 0x14]
push ecx
lea ecx, [ebp - 0xec]
call fcn.1007e6d0
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x100bbf14
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x78], edx
push 1
lea ecx, [ebp - 0x1d0]
call fcn.100846c0
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 2
push 0x10238b1c
lea eax, [ebp - 0x1d0]
push eax
call fcn.10082bb0
add esp, 8
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], ecx
push 0x100829b0
mov ecx, dword [ebp - 0xdc]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov dword [ebp - 0xe0], eax
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0xf0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov dword [ebp - 0xf4], eax
push 0x10238b18
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.10082bb0
add esp, 8
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x1d0]
call fcn.10082970
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xfc]
push ecx
lea ecx, [ebp - 0x120]
call fcn.100831f0
push 0x102ca4c4
lea edx, [ebp - 0x120]
push edx
call sub.VCRUNTIME140.dll__CxxThrowException
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.100895a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1d0]
call fcn.10082f70
xor eax, eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp + 8]
call fcn.100bc690
mov dword [ebp - 0xa0], eax
push 0
mov ecx, dword [ebp + 8]
call fcn.1004e3e0
mov dword [ebp - 0x9c], eax
xor ecx, ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], ecx
cmp dword [ebp + 0x10], 3
jne 0x100bbf60
mov dword [ebp - 0x88], 0x10238b40
jmp 0x100bbf6a
mov dword [ebp - 0x88], 0x10238bc8
mov edx, dword [ebp - 0x88]
push edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [ebp - 0x98], eax
cmp dword [ebp + 0x10], 3
jne 0x100bbf91
mov dword [ebp - 0x8c], 0x10238c50
jmp 0x100bbf9b
mov dword [ebp - 0x8c], 0x10238cd8
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
xor ecx, ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], ecx
lea edx, [ebp - 0x84]
push edx
mov eax, dword [ebp + 0x18]
push eax
push 0
push 0
lea ecx, [ebp - 0x98]
push ecx
push 0x10238d5c
lea edx, [ebp - 0xa0]
push edx
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x100bc0d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x78], eax
push 1
lea ecx, [ebp - 0x268]
call fcn.100846c0
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 4
push 0x10238d6c
lea eax, [ebp - 0x268]
push eax
call fcn.10082bb0
add esp, 8
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
push 0x100829b0
mov ecx, dword [ebp - 0xa8]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0xb0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov dword [ebp - 0xb4], eax
push 0x10238d68
mov ecx, dword [ebp - 0xb4]
push ecx
call fcn.10082bb0
add esp, 8
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x268]
call fcn.10082970
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.100831f0
push 0x102ca4c4
lea edx, [ebp - 0x12c]
push edx
call sub.VCRUNTIME140.dll__CxxThrowException
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.100895a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x268]
call fcn.10082f70
cmp dword [ebp - 0x80], 0
je 0x100bc175
push 0x10238d88
lea ecx, [ebp - 0x2c]
call fcn.10089750
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 2
je 0x100bc116
cmp dword [ebp - 0x90], 3
je 0x100bc125
jmp 0x100bc132
push 0x10238d94
lea ecx, [ebp - 0x2c]
call fcn.10085590
jmp 0x100bc132
push 0x10238da0
lea ecx, [ebp - 0x2c]
call fcn.10085590
mov ecx, dword [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x80]
push edx
lea ecx, [ebp - 0x2c]
call fcn.1007dd30
push eax
lea ecx, [ebp - 0xec]
call fcn.100bc420
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0xec]
call fcn.100bbb30
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10089b10
lea ecx, [ebp - 0xec]
call fcn.10080110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xec]
call fcn.10080160
jmp 0x100bc27b
mov dword [ebp - 4], 0xffffffff
jmp 0x100bc28b
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b9f43
mov esp, ebp
pop ebp
ret