Function at 0x180015f2c
Capabilities:
Encrypt data using dpapi

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0xa0
mov edi, r8d
mov r12, rcx
mov rbp, rdx
mov esi, 0x57
lea rcx, [rax - 0x50]
xor edx, edx
lea r8d, [rsi - 0x2b]
mov rbx, r9
call sub.ntdll.dll_memset
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rax
cmp edi, 0x129803f0
je 0x180015fd9
cmp edi, 0x132e03f0
je 0x180015fc5
cmp edi, 0x13c403f0
je 0x180015fb1
cmp edi, 0x142803f0
jne 0x180016235
lea rbx, [0x18005e1fe]
mov dword [rsp + 0x90], 0x19
jmp 0x180015feb
lea rbx, [0x18005e203]
mov dword [rsp + 0x90], 0x6e
jmp 0x180015feb
lea rbx, [0x18005e1f5]
mov dword [rsp + 0x90], 0x50
jmp 0x180015feb
lea rbx, [0x18005e208]
mov dword [rsp + 0x90], 0x8f
lea r8, [0x18005e284]
mov rdx, rbx
mov rcx, rbp
call fcn.180015e78
xor r13d, r13d
mov qword [rsp + 0x70], rax
cmp rax, r13
je 0x180016235
lea r8, [0x18005e28b]
mov rdx, rbx
mov rcx, rbp
call fcn.180015e78
lea r8, [0x18005e2a4]
mov rdx, rbx
mov rcx, rbp
mov qword [rsp + 0x78], rax
call fcn.180015e78
lea r8, [0x18005e29f]
mov rdx, rbx
mov rcx, rbp
mov qword [rsp + 0x88], rax
call fcn.180015e78
mov rdi, rax
cmp rax, r13
je 0x1800160ca
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [0x180059270]
xor edx, edx
lea r8d, [rax + rax + 6]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
cmp rax, r13
je 0x1800160c1
lea rdx, [0x18005e474]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r8, [rsp + 0x90]
lea edx, [r13 + 1]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_StrToIntExW]
mov rcx, qword [0x180059270]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea r8, [0x18005e295]
mov rdx, rbx
mov rcx, rbp
call fcn.180015e78
mov rdi, rax
cmp rax, r13
je 0x1800161d9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jbe 0x1800161d9
mov rcx, qword [0x180059270]
shr eax, 1
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x50], eax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x54], rax
cmp rax, r13
je 0x1800161d0
mov rdx, rax
mov rcx, rdi
call fcn.180019ec0
cmp eax, r13d
je 0x1800161bc
mov r8, qword [rsp + 0xe8]
lea rax, [rsp + 0x40]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
cmp eax, r13d
je 0x1800161bc
mov r8d, dword [rsp + 0x40]
mov rcx, qword [0x180059270]
xor edx, edx
add r8d, 2
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x80], rax
cmp rax, r13
je 0x1800161b1
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x44]
mov rcx, rax
call sub.ntdll.dll_memcpy
mov r11d, dword [rsp + 0x40]
mov rax, qword [rsp + 0x80]
shr r11, 1
mov word [rax + r11*2], r13w
mov rcx, qword [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r8, qword [rsp + 0x54]
mov rcx, qword [0x180059270]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea r8, [rsp + 0x60]
mov rdx, rbx
mov rcx, r12
call fcn.180015110
mov r8, qword [rsp + 0x80]
mov esi, eax
cmp r8, r13
je 0x180016207
mov rcx, qword [0x180059270]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x88]
cmp rcx, r13
je 0x18001621a
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x78]
cmp rcx, r13
je 0x18001622a
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea r11, [rsp + 0xa0]
mov eax, esi
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret