Function at 0x1400dd2a0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
xor r15d, r15d
lea rcx, [0x14043656c]
mov r14, rdx
mov qword [rbp - 0x40], r15
lea rdx, [0x14045a904]
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x28], r15
mov r13, r9
call fcn.1400f39cc
mov rax, qword gs:[0x60]
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x38], r15
test byte [rax + 3], 2
jne 0x1400dd311
mov esi, 0x80070005
jmp 0x1400dd4c9
mov rdi, qword [r14 + 8]
lea rdx, [0x140453534]
lea rcx, [0x14043c46c]
call fcn.1400f3670
test rdi, rdi
je 0x1400dd34c
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rax, rbx
mov rcx, rdi
call rax
mov qword [r14 + 8], r15
mov rbx, qword [r14 + 0x10]
test rbx, rbx
je 0x1400dd3ab
xor edx, edx
mov rcx, rbx
call fcn.140072da0
lea rdx, [0x140456bd0]
lea rcx, [0x140433080]
call fcn.1400f4080
mov rdi, qword [rbx + 8]
test rdi, rdi
je 0x1400dd393
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx + 8], r15
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 [r14 + 0x10], r15
mov rbx, qword [r14 + 0x40]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400dd3c1
call fcn.1400739ec
mov qword [rbx + 0x18], r15
mov dword [rbx], r15d
mov dword [rbx + 0x34], 0xc004f07a
mov dword [rbx + 0x38], r15d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, reloc.OLEAUT32.dll_SafeArrayGetDim
xor edx, edx
mov rcx, rax
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r12, rax
test rax, rax
je 0x1400dd3f9
mov qword [rax], r15
mov qword [rax + 8], r15
jmp 0x1400dd3fc
mov r12, r15
mov qword [rbp - 0x28], r12
test r12, r12
je 0x1400dd4c4
mov rbx, qword [r14 + 0x18]
test rbx, rbx
je 0x1400dd47b
lea rdx, [0x1404547c0]
lea rcx, [0x14044327c]
call fcn.1400f43c8
xor edx, edx
mov rcx, rbx
call fcn.140072c30
mov rdi, qword [rbx + 8]
lea rdx, [0x1404573d8]
lea rcx, [0x140429d98]
call fcn.1400f4080
test rdi, rdi
je 0x1400dd463
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx + 8], r15
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 [r14 + 0x18], r15
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea rdx, [0x14045ae9c]
mov rbx, rax
lea rcx, [0x14042d774]
call fcn.1400f4710
mov r8, rsi
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
xor eax, eax
test r15, r15
je 0x1400dd4b8
mov qword [r15], rax
mov qword [r15 + 8], rax
jmp 0x1400dd4bb
mov r15, rax
mov qword [rbp - 0x30], r15
test r15, r15
jne 0x1400dd4d9
mov esi, 0x8007000e
mov ecx, esi
call fcn.14007ac40
mov rdi, qword [rbp - 0x48]
jmp 0x1400dd6d5
mov rdi, qword [0x14045c9c0]
lea rdx, [0x140458268]
lea rcx, [0x14043442c]
mov rbx, qword [rdi]
call fcn.1400f4a68
mov rax, qword [0x1403d25b8]
mov rcx, qword [rbx + 0x18]
call rax
mov rax, qword [rbx + 0x18]
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
lea r8, [0x1403dd800]
mov rcx, rdi
lea rdx, str.msft:spp_stockobjects_plugins_params_named
xor r9d, r9d
call rax
mov esi, eax
test eax, eax
jns 0x1400dd53c
mov ecx, eax
call fcn.14007ac40
mov rdi, qword [rbp - 0x48]
jmp 0x1400dd686
mov rcx, qword [rbp + 0x50]
lea rdx, [rbp - 0x48]
call fcn.14004e06c
mov esi, eax
test eax, eax
jns 0x1400dd56b
mov ecx, eax
call fcn.14007ac40
lea rdx, [0x14045b4cc]
lea rcx, [0x140440614]
call fcn.1400f3318
jmp 0x1400dd533
mov rbx, qword [rbp - 0x50]
lea rax, str.SppBindingAppId
mov rdi, qword [rbp - 0x48]
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], 2
mov qword [rbp - 0x10], rdi
mov rax, qword [rbx]
mov rsi, qword [rax + 0x48]
mov rax, qword [0x1403d25b8]
mov rcx, rsi
call rax
lea rdx, [0x140453974]
lea rcx, [0x14043ea10]
call fcn.1400f50fc
mov rax, rsi
lea rdx, [rbp - 0x20]
xor r8d, r8d
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
jns 0x1400dd5d0
mov ecx, eax
call fcn.14007ac40
jmp 0x1400dd686
test r13, r13
je 0x1400dd644
lea rdx, [rbp - 0x38]
mov rcx, r13
call fcn.14004e06c
mov esi, eax
test eax, eax
js 0x1400dd5c4
mov rbx, qword [rbp - 0x50]
lea rax, str.SppBindingSkuId
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 rax, qword [0x1403d25b8]
mov rcx, rsi
call rax
mov rax, rsi
lea rdx, [rbp - 0x20]
xor r8d, r8d
mov rcx, rbx
call rax
lea rdx, [0x140458eb0]
mov esi, eax
lea rcx, [0x14042b7ac]
call fcn.1400f4dac
test esi, esi
jns 0x1400dd644
mov ecx, esi
jmp 0x1400dd5c6
mov rax, qword [r14 + 0x40]
lea r9, [rbp - 0x40]
mov rdx, qword [rbp - 0x50]
mov r8, r15
mov rcx, qword [rbp + 0x40]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call fcn.140088a30
mov esi, eax
test eax, eax
js 0x1400dd5c4
mov rax, qword [rbp - 0x40]
and qword [rbp - 0x40], 0
and qword [rbp - 0x28], 0
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], r12
and qword [rbp - 0x30], 0
mov qword [r14 + 0x18], r15
test esi, esi
jns 0x1400dd699
cmp dword [rbp + 0x60], 1
jne 0x1400dd6a4
mov r8, r15
mov rdx, rdi
call fcn.1400e3af4
mov rax, qword [r14 + 0x18]
xor r15d, r15d
cmp dword [rax + 4], r15d
jne 0x1400dd6d5
cmp dword [rbp + 0x60], 1
jne 0x1400dd6d5
lea ecx, [r15 + 2]
mov qword [rsp + 0x28], r15
xor r9d, r9d
mov qword [rsp + 0x20], r15
mov r8d, esi
mov edx, 0x80000405
call fcn.14004ef44
mov ecx, esi
call fcn.14007ace8
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x1400dd701
lea rdx, [0x140459254]
lea rcx, [0x14043e990]
call fcn.1400f3d28
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x1400dd70f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rbp - 0x30]
call fcn.1400e4b3c
lea rcx, [rbp - 0x28]
call fcn.1400e4bb4
mov rbx, qword [rbp - 0x50]
test rbx, rbx
je 0x1400dd749
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403d25b8]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
mov qword [rbp - 0x50], r15
mov rbx, qword [rbp - 0x40]
test rbx, rbx
je 0x1400dd76d
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403d25b8]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
mov rbx, qword [rsp + 0xc8]
mov eax, esi
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret