Function at 0x1800209c0
Capabilities:
Encrypt data using dpapi

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0xa0
mov rsi, rdx
xor edx, edx
mov edi, r8d
mov r13, rcx
lea r8d, [rdx + 0x2c]
lea rcx, [rax - 0x50]
mov rbx, r9
lea r12d, [rdx + 0x57]
call sub.ntdll.dll_memset
cmp edi, 0x129803f0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rax
je 0x180020a6c
cmp edi, 0x132e03f0
je 0x180020a58
cmp edi, 0x13c403f0
je 0x180020a44
cmp edi, 0x142803f0
jne 0x180020d25
lea rbx, [0x180033282]
mov dword [rsp + 0x90], 0x19
jmp 0x180020a7e
lea rbx, [0x180033287]
mov dword [rsp + 0x90], 0x6e
jmp 0x180020a7e
lea rbx, [0x180033279]
mov dword [rsp + 0x90], 0x50
jmp 0x180020a7e
lea rbx, [0x18003328c]
mov dword [rsp + 0x90], 0x8f
lea r8, [0x180033308]
mov rdx, rbx
mov rcx, rsi
call fcn.18002090c
test rax, rax
mov qword [rsp + 0x70], rax
je 0x180020d25
lea r8, [0x18003330f]
mov rdx, rbx
mov rcx, rsi
call fcn.18002090c
lea r8, [0x180033328]
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x78], rax
call fcn.18002090c
lea r8, [0x180033323]
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x88], rax
call fcn.18002090c
test rax, rax
mov rdi, rax
je 0x180020b5b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [0x18002f7f8]
xor edx, edx
lea r8d, [rax + rax + 6]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rbp, rax
je 0x180020b52
lea rdx, [0x18003353c]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r8, [rsp + 0x90]
mov edx, 1
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_StrToIntExW]
mov rcx, qword [0x18002f7f8]
mov r8, rbp
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea r8, [0x180033319]
mov rdx, rbx
mov rcx, rsi
call fcn.18002090c
test rax, rax
mov rdi, rax
je 0x180020cc8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jbe 0x180020cc8
mov rcx, qword [0x18002f7f8]
shr eax, 1
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x50], eax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rsi, rax
mov qword [rsp + 0x54], rax
je 0x180020cbf
mov rcx, rdi
mov rbp, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
mov r11d, eax
je 0x180020c22
mov dl, byte [rsp + 0xd0]
movzx ecx, word [rbp]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x180020be0
sub cl, 0x30
jmp 0x180020bfa
lea eax, [rcx - 0x41]
cmp ax, 5
ja 0x180020bee
sub cl, 0x37
jmp 0x180020bfa
lea eax, [rcx - 0x61]
cmp ax, 5
ja 0x180020c19
sub cl, r12b
test r11b, 1
je 0x180020c0a
add dl, cl
mov byte [rsi], dl
add rsi, 1
jmp 0x180020c0f
mov dl, cl
shl dl, 4
add rbp, 2
add r11d, 0xffffffff
jne 0x180020bce
test r11d, r11d
jne 0x180020cab
mov r8, qword [rsp + 0xe8]
lea rax, [rsp + 0x40]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rax
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x180020cab
mov r8d, dword [rsp + 0x40]
mov rcx, qword [0x18002f7f8]
xor edx, edx
add r8d, 2
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov qword [rsp + 0x80], rax
je 0x180020ca0
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
and word [rax + r11*2], 0
mov rcx, qword [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r8, qword [rsp + 0x54]
mov rcx, qword [0x18002f7f8]
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, r13
call fcn.18001fba0
mov r8, qword [rsp + 0x80]
test r8, r8
mov r12d, eax
je 0x180020cf7
mov rcx, qword [0x18002f7f8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x180020d0a
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x180020d1a
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, r12d
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret