Function at 0x1012ae50
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101b783b
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push esi
xor esi, esi
cmp eax, esi
je 0x1012b113
mov ebx, 1
push 0xffff
push ebx
push 0x10
push eax
lea ecx, [esp + 0x80]
call fcn.1012c040
lea eax, [esp + 0xc]
lea ecx, [esp + 0x70]
push eax
mov dword [esp + 0xb8], esi
mov dword [esp + 0x10], esi
call fcn.1012cf00
cmp eax, esi
je 0x1012b0ee
mov ecx, dword [esp + 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.1012d930
mov esi, dword [esp + 0xc0]
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], bl
lea edx, [esi + 8]
lea eax, [esi + 4]
push edx
push eax
call fcn.1012e530
lea ecx, [esi + 0x10]
lea edx, [esi + 0xc]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.1012e720
mov ax, word [esp + 0x94]
lea ecx, [esp + 8]
push 0x10224744
push ecx
lea ecx, [esp + 0x18]
mov word [esi], ax
call fcn.1012e1b0
mov eax, dword [eax]
lea ecx, [esi + 0x14]
push eax
mov byte [esp + 0xb8], 2
call fcn.101063f0
lea ecx, [esp + 8]
mov byte [esp + 0xb4], bl
call fcn.1013bf10
lea edx, [esp + 8]
push 0x10224168
push edx
lea ecx, [esp + 0x18]
call fcn.1012e1b0
mov eax, dword [eax]
lea ecx, [esi + 0x18]
push eax
mov byte [esp + 0xb8], 3
call fcn.101063f0
lea ecx, [esp + 8]
mov byte [esp + 0xb4], bl
call fcn.1013bf10
lea eax, [esp + 8]
push 0x10224724
push eax
lea ecx, [esp + 0x18]
call fcn.1012e1b0
mov eax, dword [eax]
lea ecx, [esi + 0x1c]
push eax
mov byte [esp + 0xb8], 4
call fcn.101063f0
lea ecx, [esp + 8]
mov byte [esp + 0xb4], bl
call fcn.1013bf10
lea ecx, [esp + 8]
push 0x10224708
push ecx
lea ecx, [esp + 0x18]
call fcn.1012e1b0
mov eax, dword [eax]
lea ecx, [esi + 0x20]
push eax
mov byte [esp + 0xb8], 5
call fcn.101063f0
lea ecx, [esp + 8]
mov byte [esp + 0xb4], bl
call fcn.1013bf10
lea edx, [esp + 8]
push 0x102246e4
push edx
lea ecx, [esp + 0x18]
call fcn.1012e1b0
mov eax, dword [eax]
lea ecx, [esi + 0x24]
push eax
mov byte [esp + 0xb8], 6
call fcn.101063f0
lea ecx, [esp + 8]
mov byte [esp + 0xb4], bl
call fcn.1013bf10
lea eax, [esp + 8]
push 0x102246c4
push eax
lea ecx, [esp + 0x18]
call fcn.1012e1b0
mov eax, dword [eax]
lea ecx, [esi + 0x28]
push eax
mov byte [esp + 0xb8], 7
call fcn.101063f0
lea ecx, [esp + 8]
mov byte [esp + 0xb4], bl
call fcn.1013bf10
lea ecx, [esp + 8]
push 0x102246a4
push ecx
lea ecx, [esp + 0x18]
call fcn.1012e1b0
mov eax, dword [eax]
lea ecx, [esi + 0x2c]
push eax
mov byte [esp + 0xb8], 8
call fcn.101063f0
lea ecx, [esp + 8]
mov byte [esp + 0xb4], bl
call fcn.1013bf10
lea edx, [esp + 8]
push 0x10224690
push edx
lea ecx, [esp + 0x18]
call fcn.1012e1b0
mov eax, dword [eax]
lea ecx, [esi + 0x30]
push eax
mov byte [esp + 0xb8], 9
call fcn.101063f0
lea ecx, [esp + 8]
mov byte [esp + 0xb4], bl
call fcn.1013bf10
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call fcn.1012d9b0
lea ecx, [esp + 0x70]
mov dword [esp + 0xb4], 0xffffffff
call fcn.1012c1f0
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
add esp, 0xb0
ret
mov eax, dword [esp + 0xc4]
cmp eax, esi
je 0x1012b0ff
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0xb4], 0xffffffff
call fcn.1012c1f0
mov ecx, dword [esp + 0xac]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0xb0
ret