Function at 0x4148b0
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov esi, esp
mov edi, dword [ebp + 0xc]
mov eax, dword [0x533014]
xor eax, ebp
mov dword [esi + 0x68], eax
push edi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
test eax, eax
je 0x414a47
mov ebx, dword [ebp + 0x14]
lea ecx, [esi + 0x60]
mov dword [ecx], eax
mov dword [ecx + 4], edi
xor eax, eax
lea edx, [esi + 0x58]
mov dword [edx + 4], eax
mov dword [edx], eax
sub esp, 0x1c
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
xorps xmm0, xmm0
movups xmmword [esp + 4], xmm0
mov dword [esp], ecx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x414a51
mov ebx, dword [esi + 0x5c]
call dword [sym.imp.ole32.dll_CoImpersonateClient]
test eax, eax
js 0x414a63
mov dword [esi + 0xc], ebx
mov dword [esi + 4], esp
xor edi, edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x50], edi
lea eax, [esi + 0x40]
mov dword [eax + 4], edi
mov dword [eax], edi
lea eax, [esi + 0x3c]
mov dword [eax], 0xffffffff
push eax
mov dword [esi + 8], esp
push 0x14
call fcn.004e2886
add esp, 4
mov ebx, eax
mov ecx, eax
push 0x414090
push 0x414080
call fcn.00441790
mov eax, dword [esi + 8]
mov dword [eax], ebx
lea ecx, [esi + 0x3c]
call fcn.004416e0
mov esp, dword [esi + 4]
sub esp, 0x1c
lea eax, [esi + 0x40]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edi
xorps xmm0, xmm0
movups xmmword [esp + 4], xmm0
lea eax, [esi + 0x58]
mov dword [esp], eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x414a6a
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 0x44]
xor ebx, ebx
dec ebx
lea edi, [esi + 0x30]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ecx, edi
push eax
mov dword [esi + 4], edx
push edx
call fcn.004147f6
lea eax, [esi + 0x24]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
push edi
mov edi, eax
push eax
call fcn.00414b5a
add esp, 8
movzx eax, byte [edi + 0xb]
mov ecx, eax
test al, al
jns 0x4149e5
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x414a87
lea eax, [esi + 0x1c]
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov ebx, eax
mov ecx, eax
call fcn.00414739
mov ecx, ebx
call fcn.00449af0
test al, al
je 0x414a91
push edi
push ebx
call fcn.00412fef
add esp, 8
test al, al
je 0x414aa3
lea edi, [esi + 0x10]
lea eax, [esi + 0x30]
push eax
push edi
call fcn.00414b5a
add esp, 8
mov eax, dword [edi + 8]
mov dword [esi + 0x50], eax
movsd xmm0, qword [edi]
movsd qword [esi + 0x48], xmm0
mov edi, 0x8004a007
xor ebx, ebx
jmp 0x414ab6
mov edi, 0x80070057
jmp 0x414b43
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov edi, 0x8004a004
jmp 0x414b43
mov edi, eax
jmp 0x414b38
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
lea ecx, [esi + 0x3c]
call fcn.00441710
mov edi, 0x8004a003
jmp 0x414b24
mov edi, 0x80070057
xor ebx, ebx
inc ebx
jmp 0x414ac1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edi, 0x8004a001
jmp 0x414ab3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edi, 0x8004a007
xor ebx, ebx
inc ebx
lea ecx, [esi + 0x1c]
call fcn.004142f0
mov al, byte [esi + 0x2f]
test al, al
jns 0x414ad0
push dword [esi + 0x24]
call fcn.004e28b6
add esp, 4
cmp byte [esi + 0x3b], 0
jns 0x414ae1
push dword [esi + 0x30]
call fcn.004e28b6
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x414aef
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esi + 0x3c]
call fcn.00441710
test ebx, ebx
jne 0x414b24
lea eax, [esi + 0x48]
movzx ecx, byte [eax + 0xb]
test cl, cl
cmovs ecx, dword [eax + 4]
mov edi, dword [ebp + 0x10]
cmovs eax, dword [eax]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [edi], eax
xor ecx, ecx
test eax, eax
mov edi, 0x8007000e
cmovne edi, ecx
cmp byte [esi + 0x53], 0
mov ebx, dword [esi + 0xc]
jns 0x414b38
push dword [esi + 0x48]
call fcn.004e28b6
add esp, 4
test ebx, ebx
je 0x414b43
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esi + 0x68]
xor ecx, ebp
call fcn.004e3343
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10