Function at 0x1400d29c0
Capabilities:
Decode data using base64 via winapi
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rbx
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xb8
mov r10d, dword [r8]
mov rdi, r9
mov r12, r8
mov esi, 0x6b6e
test r10d, r10d
je 0x1400d2a3b
cmp r10d, 1
jne 0x1400d2f6b
test r9, r9
je 0x1400d2a0e
mov rdx, r9
jmp 0x1400d2a16
mov rax, qword [r8 + 8]
mov rdx, qword [rax + 0x18]
xor r15d, r15d
cmp word [rdx + 4], si
mov ebx, r15d
sete bl
jne 0x1400d2a97
mov eax, dword [rdx + 0x28]
mov dword [rbp - 0xd], eax
mov ecx, dword [rdx + 0x40]
shr ecx, 1
mov dword [rbp - 0x25], ecx
mov eax, dword [rdx + 0x44]
mov dword [rbp - 0x19], eax
jmp 0x1400d2a9a
xor r15d, r15d
lea rax, [rbp - 0x19]
mov qword [rsp + 0x58], r15
xor r9d, r9d
mov qword [rsp + 0x50], r15
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rbp - 0x25]
mov rcx, rdi
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0xd]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
mov ebx, r15d
sete bl
test eax, eax
je 0x1400d2a97
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [rbp - 0x25]
test ebx, ebx
je 0x1400d2f6b
inc ecx
mov qword [rsp + 0xa8], r14
mov dword [rbp - 0x25], ecx
lea edx, [rcx + 1]
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp - 1], rax
mov r14, rax
test rax, rax
je 0x1400d2f63
mov edx, dword [rbp - 0x19]
mov ecx, 0x40
mov qword [rsp + 0xb0], r13
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 7], rax
mov r13, rax
test rax, rax
je 0x1400d2f52
cmp dword [rbp - 0xd], 0
mov ebx, r15d
mov dword [rbp - 0x29], ebx
jbe 0x1400d2f49
mov r9d, 0x6b76
nop dword [rax]
mov eax, dword [rbp - 0x25]
mov ecx, dword [r12]
mov dword [rbp - 0x21], eax
mov eax, dword [rbp - 0x19]
mov dword [rbp - 0x15], eax
test ecx, ecx
je 0x1400d2c76
cmp ecx, 1
jne 0x1400d2f33
test rdi, rdi
je 0x1400d2b3b
mov rax, rdi
jmp 0x1400d2b44
mov rax, qword [r12 + 8]
mov rax, qword [rax + 0x18]
cmp word [rax + 4], si
jne 0x1400d2f33
mov ecx, dword [rax + 0x28]
test ecx, ecx
je 0x1400d2f33
cmp ebx, ecx
jae 0x1400d2f33
movsxd rcx, dword [rax + 0x2c]
cmp ecx, 0xffffffff
je 0x1400d2f33
mov rax, qword [r12 + 8]
mov edx, ebx
add rcx, qword [rax + 0x10]
movsxd rbx, dword [rcx + rdx*4 + 4]
add rbx, qword [rax + 0x10]
cmp word [rbx + 4], r9w
jne 0x1400d2c6e
movzx eax, word [rbx + 6]
test ax, ax
je 0x1400d2c6a
test byte [rbx + 0x14], 1
mov edi, eax
mov edx, eax
je 0x1400d2bbf
lea rcx, [rbx + 0x18]
call fcn.140012170
inc edi
mov rsi, rax
test rax, rax
jne 0x1400d2beb
mov ebx, dword [rbp - 0x29]
jmp 0x1400d2f2a
shr edi, 1
add rdx, 2
mov ecx, 0x40
inc edi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x1400d2bb7
movzx r8d, word [rbx + 6]
lea rdx, [rbx + 0x18]
mov rcx, rax
call fcn.14011b4a0
cmp dword [rbp - 0x21], edi
mov r14d, r15d
setae r14b
jb 0x1400d2c0f
mov rcx, qword [rbp - 1]
mov rdx, rsi
mov r8d, edi
add r8, r8
call fcn.14011b4a0
lea eax, [rdi - 1]
mov dword [rbp - 0x21], eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r14d, r14d
je 0x1400d2bb7
mov edi, dword [rbx + 8]
mov esi, r15d
mov eax, dword [rbx + 0x10]
btr edi, 0x1f
cmp dword [rbp - 0x15], edi
mov dword [rbp - 9], eax
setae sil
jb 0x1400d2c5e
cmp dword [rbx + 8], 0
lea rdx, [rbx + 0xc]
jl 0x1400d2c53
movsxd rdx, dword [rdx]
mov rax, qword [r12 + 8]
add rdx, 4
mov rax, qword [rax + 0x10]
add rdx, rax
mov r8d, edi
mov rcx, r13
call fcn.14011b4a0
mov ebx, dword [rbp - 0x29]
mov r14, qword [rbp - 1]
mov dword [rbp - 0x15], edi
jmp 0x1400d2cb9
mov dword [rbp - 0x21], r15d
mov ebx, dword [rbp - 0x29]
jmp 0x1400d2f33
lea rax, [rbp - 0x15]
mov r8, r14
mov qword [rsp + 0x38], rax
lea r9, [rbp - 0x21]
lea rax, [rbp - 9]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
mov edx, ebx
mov rcx, rdi
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
mov esi, r15d
sete sil
test eax, eax
je 0x1400d2cb9
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x1400d2f2a
mov rdx, r14
lea rcx, str._t__s__n
call fcn.14000afb0
mov edx, dword [rbp - 9]
cmp edx, 7
jne 0x1400d2f15
mov rax, qword [rbp + 7]
mov r12, r13
mov r13d, r15d
cmp word [rax], 0
je 0x1400d2f23
mov r8d, 2
lea rdx, [0x14016ddd8]
mov rcx, r12
call fcn.14012a29c
test eax, eax
jne 0x1400d2eef
xor r9d, r9d
mov qword [rsp + 0x30], r15
lea rax, [rbp - 0x1d]
mov qword [rsp + 0x28], r15
xor edx, edx
mov dword [rbp - 0x1d], r15d
lea rcx, [r12 + 4]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 1]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
je 0x1400d2eef
mov edx, dword [rbp - 0x1d]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
test rax, rax
je 0x1400d2eef
xor edx, edx
mov qword [rsp + 0x30], r15
lea rax, [rbp - 0x1d]
mov qword [rsp + 0x28], r15
mov r9, r14
mov qword [rsp + 0x20], rax
lea rcx, [r12 + 4]
lea r8d, [rdx + 1]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
mov rcx, r14
test eax, eax
je 0x1400d2ee9
mov r9d, dword [rbp + 0x67]
lea rax, [rbp - 0x11]
mov edx, dword [rbp - 0x1d]
xor r8d, r8d
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0xf]
mov qword [rsp + 0x38], rax
lea rax, [0x14014d1d0]
mov dword [rsp + 0x30], 0x10
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x6f]
mov qword [rsp + 0x20], rax
call fcn.1400cd150
test eax, eax
je 0x1400d2ee3
mov rsi, qword [rbp + 0xf]
mov eax, r13d
test r13d, r13d
je 0x1400d2ec3
cmp eax, 1
je 0x1400d2e1d
mov edx, r13d
lea rcx, str.ERROR_dealWithEntries___Unknow_type:__u_n
call fcn.14000afb0
mov edx, dword [rbp - 0x11]
mov r8d, 1
mov rcx, rsi
call fcn.1400124b0
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000afb0
jmp 0x1400d2eda
lea rcx, str.__Key__n
call fcn.14000afb0
mov edi, dword [rbp - 0x11]
mov ecx, 0x40
lea edx, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x1400d2eda
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call fcn.14011b4a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 0x40
mov edi, eax
lea edx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r9, rax
test rax, rax
je 0x1400d2eb8
mov r8d, r15d
mov ecx, r15d
test edi, edi
je 0x1400d2ea0
nop
mov edx, ecx
cmp byte [rdx + rbx], 0x5c
jne 0x1400d2e8a
inc ecx
mov eax, ecx
inc ecx
mov edx, r8d
inc r8d
movzx eax, byte [rax + rbx]
mov byte [rdx + r9], al
cmp ecx, edi
jb 0x1400d2e80
mov rdx, r9
lea rcx, [0x140159a08]
call fcn.14000afb0
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400d2eda
lea rcx, str.__JWT__n
call fcn.14000afb0
mov edx, dword [rbp - 0x11]
mov rcx, rsi
call fcn.1400d2800
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
inc r13d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
cmp word [r12 + rax*2], 0
lea r12, [r12 + rax*2]
jne 0x1400d2cf0
mov ebx, dword [rbp - 0x29]
mov r13, qword [rbp + 7]
jmp 0x1400d2f26
lea rcx, str.ERROR_dealWithEntries___Incompatible_REG_type:__u_n
call fcn.14000afb0
jmp 0x1400d2f2a
mov r13, rax
mov r12, qword [rbp + 0x77]
mov esi, 0x6b6e
lea r9d, [rsi + 8]
mov rdi, qword [rbp + 0x7f]
inc ebx
mov r14, qword [rbp - 1]
mov dword [rbp - 0x29], ebx
cmp ebx, dword [rbp - 0xd]
jb 0x1400d2b10
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r13, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xa8]
add rsp, 0xb8
pop r15
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret