Function at 0x50b8c0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5a47c1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.TDXContext.0
call fcn.00496d90
xor ebx, ebx
lea ecx, [esi + 0xc]
mov dword [esp + 0x3c], ebx
mov dword [esi + 8], ebx
call fcn.00523a70
push fcn.00523cf0
push fcn.00523cd0
push 3
push 0x84
lea eax, [esi + 0x1f4]
push eax
mov byte [esp + 0x50], 1
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov byte [esi + 0x1d0], bl
mov byte [esi + 0x1d1], bl
mov byte [esi + 0x1d2], bl
mov byte [esi + 0x1d3], bl
mov byte [esi + 0x1d4], bl
mov byte [esi + 0x1d5], 1
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1e0], ebx
mov dword [esi + 0x1e4], ebx
mov dword [esi + 0x1e8], ebx
call fcn.0055d9bb
mov byte [esi + 0x380], bl
mov byte [esi + 0x381], bl
mov byte [esi + 0x382], bl
mov byte [esi + 0x383], bl
mov byte [esi + 0x384], bl
or eax, 0xffffffff
mov dword [esi + 0x388], eax
mov dword [esi + 0x38c], eax
mov dword [esi + 0x390], ebx
mov dword [esi + 0x394], ebx
mov dword [esi + 0x398], ebx
mov dword [esi + 0x39c], ebx
mov dword [esi + 0x3a0], ebx
mov dword [esi + 0x3a4], ebx
mov byte [esi + 0x3a8], bl
mov dword [esi + 0x3ac], ebx
mov dword [esi + 0x3b0], ebx
mov dword [esi + 0x3b4], ebx
mov dword [esi + 0x3b8], ebx
mov dword [esi + 0x3bc], ebx
mov dword [esi + 0x3c4], ebx
mov dword [esi + 0x3c8], ebx
mov dword [esi + 0x3cc], ebx
mov dword [esi + 0x3d4], ebx
mov dword [esi + 0x3d8], ebx
mov dword [esi + 0x3dc], ebx
lea ecx, [esp + 0x24]
mov byte [esi + 0x3e0], bl
mov byte [esi + 0x3e1], 1
mov dword [esi + 0x3e4], ebx
push ecx
mov byte [esp + 0x40], 6
mov dword [esi + 0x3e8], ebx
mov dword [esi + 0x3ec], ebx
call fcn.00498a00
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
push str.TDXContextMouseMutex:_x:_x:_x:_x
lea eax, [esp + 0x2c]
push eax
call fcn.00497f10
add esp, 0x1c
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 7
call fcn.00496ed0
push eax
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov dword [esi + 0x3f0], eax
xor eax, eax
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x1b4], eax
mov dword [esi + 0x1b8], eax
mov dword [esi + 0x1bc], eax
mov dword [esi + 0x1c0], eax
mov dword [esi + 0x1c4], eax
mov dword [esi + 0x1c8], eax
push ebx
mov dword [esi + 0x1cc], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, eax
push 8
push edi
call ebp
push 0xa
push edi
mov dword [esp + 0x24], eax
call ebp
push 0x18
push edi
mov dword [esp + 0x20], eax
call ebp
push edi
push ebx
mov ebp, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push ebp
mov ecx, esi
call fcn.00507fc0
lea ecx, [esp + 0x14]
mov dword [esi + 0x1ec], ebx
mov byte [esp + 0x3c], 6
call fcn.00497320
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret