Function at 0x1400e2d80
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 esi, esi
lea rcx, [0x14042d2a0]
mov qword [rbp - 0x50], rsi
mov r15, rdx
mov rax, qword gs:[0x60]
lea rdx, [0x14044ca80]
mov r13, r9
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x30], rsi
mov bl, byte [rax + 3]
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x38], rsi
call fcn.1400f8590
and bl, 2
jne 0x1400e2df2
mov esi, 0x80070005
jmp 0x1400e2f82
mov rdi, qword [r15 + 8]
test rdi, rdi
je 0x1400e2e1a
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rax, qword [0x1403cf6d0]
mov rcx, rbx
call rax
mov rax, rbx
mov rcx, rdi
call rax
mov qword [r15 + 8], rsi
mov rbx, qword [r15 + 0x10]
test rbx, rbx
je 0x1400e2e66
xor edx, edx
mov rcx, rbx
call fcn.14007a754
mov rdi, qword [rbx + 8]
test rdi, rdi
je 0x1400e2e4e
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 + 0x10], rsi
mov rbx, qword [r15 + 0x40]
mov rdi, qword [rbx + 0x18]
test rdi, rdi
je 0x1400e2e93
mov rcx, rdi
call fcn.14007b474
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 + 0x18], rsi
mov dword [rbx], esi
mov dword [rbx + 0x34], 0xc004f07a
mov dword [rbx + 0x38], esi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r14d, reloc.OLEAUT32.dll_SafeArrayGetDim
xor edx, edx
mov rcx, rax
mov r8d, r14d
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r12, rax
test rax, rax
je 0x1400e2eca
mov qword [rax], rsi
mov qword [rax + 8], rsi
jmp 0x1400e2ecd
mov r12, rsi
mov qword [rbp - 0x28], r12
test r12, r12
je 0x1400e2f7d
mov rbx, qword [r15 + 0x18]
lea rdx, [0x14044a3a8]
lea rcx, [0x140436d44]
call fcn.1400f7b8c
test rbx, rbx
je 0x1400e2f39
xor edx, edx
mov rcx, rbx
call fcn.14007a5e4
mov rdi, qword [rbx + 8]
test rdi, rdi
je 0x1400e2f21
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]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
je 0x1400e2f5e
mov qword [rax], rsi
mov qword [rax + 8], rsi
jmp 0x1400e2f61
mov r14, rsi
lea rdx, [0x14044fbc8]
lea rcx, [0x14043003c]
call fcn.1400f823c
mov qword [rbp - 0x30], r14
test r14, r14
jne 0x1400e2f92
mov esi, 0x8007000e
mov ecx, esi
call fcn.140082a8c
mov rdi, qword [rbp - 0x48]
jmp 0x1400e314b
mov rdi, qword [0x1404517b0]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
mov rax, qword [0x1403cf6d0]
mov rcx, rbx
call rax
lea rcx, [rbp - 0x50]
mov rax, rbx
mov qword [rsp + 0x20], rcx
lea r8, [0x1403da960]
mov rcx, rdi
lea rdx, str.msft:spp_stockobjects_plugins_params_named
xor r9d, r9d
call rax
mov esi, eax
test eax, eax
jns 0x1400e2fe4
mov ecx, eax
call fcn.140082a8c
mov rdi, qword [rbp - 0x48]
jmp 0x1400e30fb
mov rcx, qword [rbp + 0x50]
lea rdx, [rbp - 0x48]
call fcn.1400574ec
mov esi, eax
test eax, eax
js 0x1400e2fd4
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 [0x1403cf6d0]
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 0x1400e3049
mov ecx, eax
call fcn.140082a8c
jmp 0x1400e30fb
test r13, r13
je 0x1400e30b9
lea rdx, [rbp - 0x38]
mov rcx, r13
call fcn.1400574ec
mov esi, eax
test eax, eax
js 0x1400e303d
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 [0x1403cf6d0]
mov rcx, rsi
call rax
lea rdx, [0x14044a110]
lea rcx, [0x140434ee8]
call fcn.1400f7eec
mov rax, rsi
lea rdx, [rbp - 0x20]
xor r8d, r8d
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x1400e303d
mov rax, qword [r15 + 0x40]
lea r9, [rbp - 0x40]
mov rdx, qword [rbp - 0x50]
mov r8, r14
mov rcx, qword [rbp + 0x40]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call fcn.14008fd74
mov esi, eax
test eax, eax
js 0x1400e303d
mov rax, qword [rbp - 0x40]
and qword [rbp - 0x40], 0
and qword [rbp - 0x28], 0
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], r12
and qword [rbp - 0x30], 0
mov qword [r15 + 0x18], r14
test esi, esi
jns 0x1400e310e
cmp dword [rbp + 0x60], 1
jne 0x1400e311d
mov r8, r14
mov rdx, rdi
call fcn.1400e8e60
mov r14, qword [r15 + 0x18]
cmp dword [r14 + 4], 0
jne 0x1400e314b
cmp dword [rbp + 0x60], 1
jne 0x1400e314b
and qword [rsp + 0x28], 0
mov ecx, 2
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, esi
mov edx, 0x80000405
call fcn.1400583e4
mov ecx, esi
call fcn.140082b34
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400e3161
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x1400e316f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rbp - 0x30]
call fcn.1400e9f28
lea rcx, [rbp - 0x28]
call fcn.1400e9fa0
mov rbx, qword [rbp - 0x50]
test rbx, rbx
je 0x1400e31bd
mov rax, qword [rbx]
lea rdx, [0x14044e964]
lea rcx, [0x140436c28]
mov rdi, qword [rax + 0x10]
call fcn.1400f6768
mov rax, qword [0x1403cf6d0]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
and qword [rbp - 0x50], 0
mov rbx, qword [rbp - 0x40]
test rbx, rbx
je 0x1400e31e1
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403cf6d0]
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