Function at 0x639f24
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x154
mov eax, 0x7b96b8
call fcn.00700ca1
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x158]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x134], ebx
call fcn.00632ceb
mov edi, dword [ebp - 0x154]
xor eax, eax
mov dword [ebp - 4], eax
test edi, edi
jne 0x639f6e
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0xf
mov byte [ebx], al
jmp 0x63a37c
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x13c], eax
mov eax, dword [esi + 0x10]
jb 0x639f7f
mov esi, dword [esi]
push eax
push esi
call fcn.00639bcd
pop ecx
pop ecx
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x158]
push 0xf
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x160], eax
xor eax, eax
pop edi
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edi
mov byte [ebp - 0x70], al
push 0xc
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x82b7b4
call fcn.005f8d04
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00624ca6
pop ecx
pop ecx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.00438e20
lea eax, [ebp - 0x144]
push eax
push 1
push 0
push 0
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x160]
push eax
call sub.CRYPT32.dll_CryptUnprotectData
cmp eax, 1
jne 0x63a0f6
cmp dword [ebp - 0x140], 0
je 0x63a0f6
cmp dword [ebp - 0x144], 0
jbe 0x63a0f6
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
push dword [ebp - 0x13c]
cmovae eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x63a0f6
push dword [ebp - 0x144]
and dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28]
push dword [ebp - 0x140]
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], al
call fcn.00439710
mov byte [ebp - 0x134], 0
lea eax, [ebp - 0x28]
push dword [ebp - 0x134]
lea ecx, [ebp - 0x70]
push eax
call fcn.00448b30
mov eax, dword [ebp - 0x14]
mov esi, 0x1000
cmp eax, 0x10
jb 0x63a0e5
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], ecx
cmp eax, esi
jb 0x63a0dc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x138]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x134]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
push dword [ebp - 0x140]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x63a2fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x48], 0
lea ecx, [ebp - 0x58]
push 0xa
push str.MSEUtility
mov esi, eax
mov dword [ebp - 0x44], edi
mov byte [ebp - 0x58], 0
call fcn.00439710
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
push eax
call fcn.006210e3
and dword [ebp - 0x18], 0
mov edi, eax
pop ecx
push 9
push str.errorCode
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00439710
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 6
push esi
push eax
call fcn.006211a2
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.0061c551
mov esi, eax
xor eax, eax
mov byte [ebp - 4], 8
push eax
push 0x858903
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.00439710
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 9
push str.mseutil::EncryptionUtil_DPAPI::decrypt
push eax
call fcn.006212a1
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
push ecx
push eax
lea ecx, [ebp - 0x100]
call fcn.0061c551
push esi
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.00621517
lea ecx, [ebp - 0xe8]
call fcn.00438e20
lea ecx, [ebp - 0x100]
call fcn.00438e20
lea ecx, [ebp - 0xb8]
call fcn.00438e20
mov eax, dword [ebp - 0x2c]
mov esi, 0x1000
cmp eax, 0x10
jb 0x63a238
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x138], ecx
cmp eax, esi
jb 0x63a22f
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x134]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x138]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x118]
push 0xf
pop edi
mov dword [ebp - 0x2c], edi
mov byte [ebp - 0x40], 0
call fcn.00438e20
lea ecx, [ebp - 0x130]
call fcn.00438e20
lea ecx, [ebp - 0xd0]
call fcn.00438e20
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x63a2ad
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x138], ecx
cmp eax, esi
jb 0x63a2a4
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x134]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x138]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x63a2fe
mov ecx, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x138], ecx
cmp eax, esi
jb 0x63a2f5
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x134]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x138]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
cmp dword [ebp - 0x13c], 0
je 0x63a313
push dword [ebp - 0x13c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x14c]
push eax
call fcn.0063d09f
pop ecx
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.00438e70
lea ecx, [ebp - 0x88]
call fcn.004c0931
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x63a37c
mov ecx, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x138], ecx
cmp eax, esi
jb 0x63a373
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x134]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x138]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x150]
test ecx, ecx
je 0x63a38b
call fcn.004c06f9
mov eax, ebx
call fcn.00700c4b
ret