Function at 0x1400da058
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 0x1400da0bd
mov esi, 0x80070005
mov ecx, esi
call fcn.140079c40
jmp 0x1400da3f3
mov rsi, qword [rdx + 8]
test rsi, rsi
je 0x1400da0e5
mov rax, qword [rsi]
mov rbx, qword [rax + 0x10]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rax, rbx
mov rcx, rsi
call rax
mov qword [r15 + 8], r14
mov rsi, qword [r15 + 0x10]
test rsi, rsi
je 0x1400da14a
xor edx, edx
mov rcx, rsi
call fcn.140071108
mov r14, qword [rsi + 8]
test r14, r14
je 0x1400da132
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea rdx, [0x14043a8c0]
mov rbx, rax
lea rcx, [0x14041d560]
call fcn.1400eefd4
mov r8, r14
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor r14d, r14d
mov qword [rsi + 8], r14
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 [r15 + 0x10], r14
mov rbx, qword [r15 + 0x40]
mov rsi, qword [rbx + 0x18]
test rsi, rsi
je 0x1400da18c
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400da172
cmp dword [0x14043ffa0], r14d
je 0x1400da16e
call fcn.140183b5c
mov qword [rsi + 8], r14
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
mov qword [rbx + 0x18], rsi
mov dword [rbx], esi
mov dword [rbx + 0x34], 0xc004f07a
mov dword [rbx + 0x38], esi
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 r14, rax
test rax, rax
je 0x1400da1be
mov qword [rax], rdi
mov qword [rax + 8], rsi
jmp 0x1400da1c1
mov r14, rsi
test r14, r14
jne 0x1400da1da
mov ecx, 0x8007000e
mov esi, ecx
call fcn.140079c40
mov rbx, r14
jmp 0x1400da3f3
mov rbx, qword [r15 + 0x18]
test rbx, rbx
je 0x1400da226
xor edx, edx
mov rcx, rbx
call fcn.140071264
mov rdi, qword [rbx + 8]
test rdi, rdi
je 0x1400da20e
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], rsi
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 0x1400da24d
and qword [rax], 0
mov qword [rax + 8], rsi
jmp 0x1400da250
mov rdi, rsi
test rdi, rdi
jne 0x1400da27c
mov ecx, 0x8007000e
mov esi, ecx
call fcn.140079c40
lea rdx, [0x14043c77c]
mov rbx, r14
lea rcx, [0x140426ff8]
call fcn.1400ed270
jmp 0x1400da3f3
mov rsi, qword [0x14043f560]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x18]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
lea rcx, [rbp - 0x40]
mov rax, rbx
mov qword [rsp + 0x20], rcx
lea r8, [0x1403cad80]
mov rcx, rsi
lea rdx, str.msft:spp_stockobjects_plugins_params_named
xor r9d, r9d
call rax
mov esi, eax
test eax, eax
jns 0x1400da2c5
mov ecx, eax
jmp 0x1400da1cd
lea rdx, [rbp - 0x38]
mov rcx, r13
call fcn.1400522bc
mov esi, eax
test eax, eax
js 0x1400da2be
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 rax, qword [0x1403c1610]
mov rcx, rsi
call rax
mov rax, rsi
lea rdx, [rbp - 0x20]
xor r8d, r8d
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x1400da2be
test r12, r12
je 0x1400da3b4
lea rdx, [0x140437fa0]
lea rcx, [0x140425224]
call fcn.1400ee940
lea rdx, [rbp - 0x28]
mov rcx, r12
call fcn.1400522bc
mov esi, eax
test eax, eax
js 0x1400da2be
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 rax, qword [0x1403c1610]
mov rcx, rsi
call rax
mov rax, rsi
lea rdx, [rbp - 0x20]
xor r8d, r8d
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
jns 0x1400da3b4
mov ecx, eax
call fcn.140079c40
lea rdx, [0x14043d9b0]
mov rbx, r14
lea rcx, [0x14042032c]
call fcn.1400eec90
jmp 0x1400da3f3
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.140086e3c
mov esi, eax
test eax, eax
js 0x1400da2be
mov rax, qword [rbp - 0x30]
and qword [rbp - 0x30], 0
xor ebx, ebx
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], r14
mov r8, rdi
test rdi, rdi
je 0x1400da459
mov r14, rdi
xor edi, edi
mov qword [r15 + 0x18], r14
test esi, esi
jns 0x1400da40e
cmp dword [rbp + 0x50], 1
jne 0x1400da42e
mov rdx, qword [rbp - 0x38]
call fcn.1400e0110
mov r14, qword [r15 + 0x18]
lea rdx, [0x14043822c]
lea rcx, [0x140427124]
call fcn.1400ee5fc
cmp dword [r14 + 4], edi
jne 0x1400da459
cmp dword [rbp + 0x50], 1
jne 0x1400da459
and qword [rsp + 0x28], rdi
mov ecx, 2
and qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8d, esi
mov edx, 0x80000405
call fcn.1400531f8
mov ecx, esi
call fcn.140079c60
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400da46f
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400da47e
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x1400da4c3
xor edx, edx
mov rcx, rdi
call fcn.140071264
mov r14, qword [rdi + 8]
test r14, r14
je 0x1400da4af
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
and qword [rdi + 8], 0
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 0x1400da508
xor edx, edx
mov rcx, rbx
call fcn.140071108
mov rdi, qword [rbx + 8]
test rdi, rdi
je 0x1400da4f4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
and qword [rbx + 8], 0
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 0x1400da531
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
and qword [rbp - 0x40], 0
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x1400da555
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
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