Function at 0x1400d5cf0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
xor r14d, r14d
mov r12, r9
mov qword [rbp - 0x40], r14
mov r13, r8
mov rax, qword gs:[0x60]
mov r15, rdx
mov qword [rbp - 0x30], r14
mov ebx, r14d
mov edi, r14d
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x28], r14
test byte [rax + 3], 2
jne 0x1400d5d55
mov esi, 0x80070005
mov ecx, esi
call fcn.1400790f8
jmp 0x1400d600f
mov rsi, qword [rdx + 8]
test rsi, rsi
je 0x1400d5d77
mov rax, qword [rsi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [0x1403af620]
mov rcx, rsi
call rbx
mov qword [r15 + 8], r14
mov rbx, qword [r15 + 0x10]
test rbx, rbx
je 0x1400d5dab
xor edx, edx
mov rcx, rbx
call fcn.140070720
lea rcx, [rbx + 8]
call fcn.14006925c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [r15 + 0x10], r14
mov rbx, qword [r15 + 0x40]
mov rsi, qword [rbx + 0x18]
test rsi, rsi
je 0x1400d5dfe
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400d5de6
cmp dword [0x14042f560], r14d
je 0x1400d5dcf
call fcn.14017f0ac
lea rdx, [0x14042ceb4]
mov qword [rsi + 8], r14
lea rcx, [0x14040e9bc]
call fcn.1400e9438
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx + 0x18], r14
mov dword [rbx], r14d
mov dword [rbx + 0x34], 0xc004f07a
mov dword [rbx + 0x38], r14d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x10]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor esi, esi
mov r14, rax
test rax, rax
je 0x1400d5e34
mov qword [rax], rsi
mov qword [rax + 8], rsi
jmp 0x1400d5e37
mov r14, rsi
test r14, r14
jne 0x1400d5e50
mov ecx, 0x8007000e
mov esi, ecx
call fcn.1400790f8
mov rbx, r14
jmp 0x1400d600f
mov rbx, qword [r15 + 0x18]
test rbx, rbx
je 0x1400d5e84
xor edx, edx
mov rcx, rbx
call fcn.140070860
lea rcx, [rbx + 8]
call fcn.140069308
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [r15 + 0x18], rsi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x10]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1400d5eaa
mov qword [rax], rsi
mov qword [rax + 8], rsi
jmp 0x1400d5ead
mov rdi, rsi
test rdi, rdi
je 0x1400d5e3c
mov rsi, qword [0x14042eaf0]
lea rdx, [0x140427058]
lea rcx, [0x140413cd4]
call fcn.1400e90f0
mov rax, qword [rsi]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [0x1403af620]
lea rax, [rbp - 0x40]
xor r9d, r9d
lea r8, [0x1403b8d10]
mov qword [rsp + 0x20], rax
lea rdx, str.msft:spp_stockobjects_plugins_params_named
mov rcx, rsi
call rbx
mov esi, eax
test eax, eax
jns 0x1400d5f08
mov ecx, eax
jmp 0x1400d5e43
lea rdx, [rbp - 0x38]
mov rcx, r13
call fcn.1400520dc
mov esi, eax
test eax, eax
js 0x1400d5f01
mov rbx, qword [rbp - 0x40]
lea rax, str.SppBindingAppId
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x18], 2
mov rax, qword [rbx]
mov rsi, qword [rax + 0x48]
mov rcx, rsi
call qword [0x1403af620]
xor r8d, r8d
lea rdx, [rbp - 0x20]
mov rcx, rbx
call rsi
mov esi, eax
test eax, eax
js 0x1400d5f01
test r12, r12
je 0x1400d5fb5
lea rdx, [rbp - 0x28]
mov rcx, r12
call fcn.1400520dc
mov esi, eax
test eax, eax
js 0x1400d5f01
mov rbx, qword [rbp - 0x40]
lea rax, str.SppBindingSkuId
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x18], 2
mov rax, qword [rbx]
mov rsi, qword [rax + 0x48]
mov rcx, rsi
call qword [0x1403af620]
xor r8d, r8d
lea rdx, [rbp - 0x20]
mov rcx, rbx
call rsi
mov esi, eax
test eax, eax
js 0x1400d5f01
mov rax, qword [r15 + 0x40]
lea r9, [rbp - 0x30]
mov rdx, qword [rbp - 0x40]
mov r8, rdi
mov rcx, qword [rbp + 0x30]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.140086058
mov esi, eax
test eax, eax
jns 0x1400d5ffc
mov ecx, eax
call fcn.1400790f8
lea rdx, [0x14042bbb4]
mov rbx, r14
lea rcx, [0x140415c48]
call fcn.1400e977c
jmp 0x1400d600f
mov rax, qword [rbp - 0x30]
and qword [rbp - 0x30], 0
xor ebx, ebx
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], r14
lea rdx, [0x140429c08]
mov r14, rdi
lea rcx, [0x14040baa0]
call fcn.1400e9ac8
test rdi, rdi
je 0x1400d6077
mov rax, rdi
xor edi, edi
mov qword [r15 + 0x18], rax
test esi, esi
jns 0x1400d603d
cmp dword [rbp + 0x50], 1
jne 0x1400d604d
mov rdx, qword [rbp - 0x38]
mov r8, r14
call fcn.1400db78c
mov rax, qword [r15 + 0x18]
cmp dword [rax + 4], edi
jne 0x1400d6077
cmp dword [rbp + 0x50], 1
jne 0x1400d6077
and qword [rsp + 0x28], rdi
mov ecx, 2
and qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8d, esi
mov edx, 0x80000405
call fcn.140052f78
mov ecx, esi
call fcn.140079118
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400d608d
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400d609c
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x1400d60c8
xor edx, edx
mov rcx, rdi
call fcn.140070860
lea rcx, [rdi + 8]
call fcn.140069308
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbx, rbx
je 0x1400d60f4
xor edx, edx
mov rcx, rbx
call fcn.140070720
lea rcx, [rbx + 8]
call fcn.14006925c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rbp - 0x40]
test rbx, rbx
je 0x1400d6117
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403af620]
mov rcx, rbx
call rdi
and qword [rbp - 0x40], 0
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x1400d6148
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403af620]
mov rcx, rbx
call rdi
lea rdx, [0x14042733c]
lea rcx, [0x140415d54]
call fcn.1400e8db8
lea r11, [rsp + 0x70]
mov eax, esi
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret