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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c8471
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x100f93e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.10047e44
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
call fcn.100464c0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.10004957
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.100464d4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.Txdl::CTxdlControllerImp.1.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], vtable.Txdl::CTxdlControllerImp.2.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], vtable.Txdl::CTxdlControllerImp.0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.10014b4b
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.100b4ff0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.1003d23b
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.10028b42
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.10014b4b
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.10028b42
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.10028b42
mov byte [ebp - 4], 9
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
add ecx, 0x80
call fcn.10039c91
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.10014b4b
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
add ecx, 8
neg eax
sbb eax, eax
and eax, ecx
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x98
call fcn.10044986
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0xd0
call fcn.10014b4b
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x10]
add ecx, 0xd4
call fcn.10014b4b
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x10]
add ecx, 0xd8
call fcn.10014b4b
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x10]
add ecx, 0xdc
call fcn.10014b4b
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 0xe0
call fcn.1003cc4c
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x10]
add ecx, 0xf0
call fcn.1003cc4c
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.10044b86
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x10]
and dword [eax + 0x12c], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x58], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x54], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x5c], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x30], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x90], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0xc4], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0xc0], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0xc8], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0xcc], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x100], 0
mov eax, dword [ebp - 0x10]
add eax, 0x10
push eax
call fcn.1001adaf
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0
je 0x1009ef37
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 4]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret