Function at 0x1012a7d0
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x10201808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
mov ebp, dword [eax + 0xc]
mov eax, dword [eax + 8]
push edi
xor edi, edi
push 0x20
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], 0x10206150
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call fcn.100598b0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x30]
push 0x3f800000
push edi
push edi
push edi
mov dword [esp + 0x58], edi
call fcn.1019aeb0
lea edx, [esp + 0x10]
push edx
push edi
push 1
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.1011bdb0
push eax
push 1
call fcn.1018b9e0
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x1012a8a0
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x524]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x4c]
mov edi, dword [eax + 0x5c]
mov edx, dword [edi + edx*4]
mov eax, dword [eax + 0x68]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x28]
mov eax, dword [esp + 0x1c]
mov dword [edx], eax
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x24]
push edx
call fcn.1011db90
mov ebx, dword [eax]
xor edi, edi
mov edx, dword [ebp + 8]
test edx, edx
je 0x1012a95c
cmp edi, dword [edx + 0xc]
jae 0x1012a95c
mov edx, dword [edx + 8]
mov ecx, edi
and ecx, 0x1f
mov ebp, 1
shl ebp, cl
mov eax, edi
shr eax, 5
test dword [edx + eax*4], ebp
setne al
test al, al
je 0x1012a95c
test bl, 1
je 0x1012a95c
lea eax, [esp + 0x10]
push eax
push 1
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.1011bdb0
push eax
push 0xf
call fcn.1017f130
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x1012a95c
mov eax, dword [esi + 0x2c]
xor edx, edx
cmp edi, dword [eax + 0x18]
jae 0x1012a918
mov ecx, dword [eax + 0xcc]
mov edx, dword [ecx + edi*4]
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 0x5c]
mov ecx, dword [eax + 0x4c]
mov ecx, dword [ebx + ecx*4]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], edx
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x50]
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + 0x524]
mov edx, dword [ebx + edx*4]
mov eax, dword [eax + 0x34]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x24]
push edx
call fcn.1011db90
mov ebx, dword [eax]
mov ebp, dword [esp + 0x24]
add edi, 1
cmp edi, dword [ebp + 0xc]
jbe 0x1012a8a2
test bl, 1
je 0x1012a99b
mov eax, dword [esi + 0x20]
cmp byte [eax + 0x8a], 0
jne 0x1012a986
cmp byte [esi + 0x141], 0
je 0x1012a99b
mov edi, dword [esp + 0x50]
push edi
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.101265b0
mov ebx, dword [eax]
jmp 0x1012a99f
mov edi, dword [esp + 0x50]
test bl, 1
je 0x1012ab0c
lea edx, [esp + 0x10]
push edx
push 2
push 8
push 0xf
mov dword [esp + 0x20], 0
call fcn.1017f130
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x1012ab0c
mov eax, dword [esp + 0x10]
or dword [eax + 0x24], 8
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x5e4]
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 0x5c]
mov edx, dword [eax + 0x4c]
mov edx, dword [ebx + edx*4]
mov eax, dword [eax + 0x68]
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 0x5c]
mov edx, dword [eax + 0x4c]
mov edx, dword [ebx + edx*4]
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + 0x5e4]
mov eax, dword [eax + 0x68]
add ecx, 1
mov dword [eax + edx*4 + 4], ecx
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 0x50]
mov edx, dword [eax + 0x44]
mov edx, dword [ebx + edx*4]
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + 0x1c]
mov eax, dword [eax + 0x34]
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x50]
mov edx, dword [ebx + edx*4]
mov eax, dword [eax + 0x34]
add ecx, 1
mov dword [eax + edx*4 + 4], ecx
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.1011db90
mov ebx, dword [eax]
test bl, 1
je 0x1012ab0c
lea eax, [esp + 0x10]
push eax
push 2
push 4
push 0xa
mov dword [esp + 0x20], 0
call fcn.101af8a0
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x1012ab0c
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 0x5c]
mov edx, dword [eax + 0x4c]
mov edx, dword [ebx + edx*4]
mov eax, dword [eax + 0x68]
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + 0x1c]
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x4c]
mov ebx, dword [eax + 0x5c]
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + 0x1c]
mov eax, dword [eax + 0x68]
mov edx, dword [ebx + edx*4]
add ecx, 1
mov dword [eax + edx*4 + 4], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x4c]
mov ecx, dword [ecx + 0x60]
and al, 0xf4
or al, 4
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x28]
mov dword [eax], 0
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.1011db90
mov ebx, dword [eax]
test bl, 1
je 0x1012ab0c
mov eax, dword [esi]
push edi
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call dword [eax + 0x94]
mov ebx, dword [eax]
mov edx, dword [esp + 0x18]
cmp byte [edx + 0x1c], 0
jne 0x1012ab26
mov ecx, dword [esi + 0x20]
call fcn.10079db0
test al, al
je 0x1012ac90
mov ecx, dword [esi + 0x20]
mov ecx, dword [ecx + 0xa0]
xor edi, edi
xor eax, eax
cmp ecx, 6
ja case.default.0x1012ab38
jmp dword [ecx*4 + 0x1012b15c]
mov eax, 1
jmp 0x1012ab68
mov eax, 2
jmp 0x1012ab68
mov eax, 4
jmp 0x1012ab68
mov eax, 3
jmp 0x1012ab68
mov eax, 6
jmp 0x1012ab68
and ebx, 0xfffffffe
or ebx, 2
test bl, 1
je 0x1012acb1
test eax, eax
jbe 0x1012ac90
mov dword [esp + 0x20], eax
lea ecx, [ecx]
mov eax, dword [esp + 0x18]
xor ebp, ebp
test bl, 1
je 0x1012ac72
mov eax, dword [eax + 0x18]
test eax, eax
je 0x1012abbf
cmp ebp, dword [eax + 0xc]
jae 0x1012abbf
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1012abb0
cmp ebp, dword [eax + 0xc]
jae 0x1012abb0
mov eax, dword [ecx + ebp*8]
mov ecx, dword [ecx + ebp*8 + 4]
jmp 0x1012abb4
xor ecx, ecx
mov eax, ecx
shr eax, 7
and al, 1
mov dword [esp + 0x14], ecx
jne 0x1012abcf
mov ecx, dword [esi + 0x20]
call fcn.10079db0
test al, al
je 0x1012ac72
lea edx, [esp + 0x10]
push edx
push 1
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.1011bdb0
push eax
push 0xe
call fcn.1017f130
mov ebx, eax
add esp, 0x10
test bl, 1
je 0x1012ac72
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 0x50]
mov edx, dword [eax + 0x44]
mov edx, dword [ebx + edx*4]
mov eax, dword [eax + 0x34]
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x50]
mov edx, dword [ebx + edx*4]
mov eax, dword [eax + 0x34]
add ecx, 1
mov dword [eax + edx*4 + 4], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x28]
mov dword [edx], edi
mov eax, dword [esi + 0x2c]
xor ecx, ecx
cmp edi, dword [eax + 0x14]
jae 0x1012ac49
mov eax, dword [eax + 0xc8]
mov ecx, dword [eax + edi*4]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x50]
mov edx, dword [ebx + edx*4 + 4]
mov eax, dword [eax + 0x34]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x2c]
push edx
call fcn.1011db90
mov ebx, dword [eax]
mov eax, dword [esp + 0x18]
add ebp, 1
add edi, 1
cmp ebp, dword [eax + 0xc]
jbe 0x1012ab86
sub dword [esp + 0x20], 1
jne 0x1012ab80
test bl, 1
je 0x1012acb1
cmp dword [esi + 0x24], 0
je 0x1012acb1
mov ecx, dword [esp + 0x50]
mov eax, dword [esi]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call dword [eax + 0x98]
mov ebx, dword [eax]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0xc]
test byte [eax + 0x21], 4
je 0x1012ace0
test bl, 1
je 0x1012ad61
cmp dword [esi + 0x24], 0
jne 0x1012acd4
cmp dword [esi + 0x20], 0
je 0x1012acfe
mov ecx, dword [esp + 0x50]
push ecx
lea edx, [esp + 0x2c]
push edx
jmp 0x1012acf5
test bl, 1
je 0x1012ad61
cmp dword [esi + 0x24], 0
je 0x1012acfe
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.101278f0
mov ebx, dword [eax]
test bl, 1
je 0x1012ad61
lea edx, [esp + 0x10]
push edx
xor ebp, ebp
push ebp
push 1
push 4
push ebp
mov dword [esp + 0x24], ebp
call fcn.1018b9e0
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x1012ad63
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x5f0]
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x5c]
mov edx, dword [eax + 0x4c]
mov edx, dword [edi + edx*4]
mov eax, dword [eax + 0x68]
mov edi, dword [esp + 0x50]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x28]
mov dword [edx], ebp
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.1011db90
mov ebx, dword [eax]
jmp 0x1012ad67
xor ebp, ebp
mov edi, dword [esp + 0x50]
test bl, 1
je 0x1012b0da
lea edx, [esp + 0x10]
push edx
push ebp
push 1
push 4
push ebp
mov dword [esp + 0x24], ebp
call fcn.1018b9e0
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x1012b0da
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x5ec]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x4c]
mov ebx, dword [eax + 0x5c]
mov edx, dword [ebx + edx*4]
mov eax, dword [eax + 0x68]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x28]
mov dword [edx], ebp
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.1011db90
mov ebx, dword [eax]
test bl, 1
je 0x1012b0da
cmp byte [esi + 0x13c], 0
je 0x1012aeac
lea edx, [esp + 0x10]
push edx
push ebp
push 1
push 4
push ebp
mov dword [esp + 0x24], ebp
call fcn.1018b9e0
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x1012b0da
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x5e8]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x4c]
mov ebx, dword [eax + 0x5c]
mov edx, dword [ebx + edx*4]
mov eax, dword [eax + 0x68]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x28]
mov dword [edx], ebp
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.1011db90
mov ebx, dword [eax]
test bl, 1
je 0x1012b0da
push edi
push ebp
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.101274d0
mov ebx, dword [eax]
test bl, 1
je 0x1012b0da
push edi
push 1
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.101275f0
mov ebx, dword [eax]
test bl, 1
je 0x1012b0da
mov ecx, dword [esi + 0x11c]
shr ecx, 2
push edi
and ecx, 0x1f
push ecx
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.10127710
mov ebx, dword [eax]
test bl, 1
je 0x1012b0da
push edi
push 1
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.10127860
mov ebx, dword [eax]
test bl, 1
je 0x1012b0da
push edi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.101271c0
mov ebx, dword [eax]
test bl, 1
je 0x1012b0da
cmp dword [esi + 0x24], ebp
je 0x1012b05e
mov dword [esp + 0x20], 0x17d
mov edi, edi
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x18], 0
call fcn.100d1180
test eax, eax
jbe 0x1012b044
mov ebp, dword [esp + 0x38]
lea esp, [esp]
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x24]
push edx
call fcn.100d1300
mov edi, dword [eax + 4]
cmp edi, 0xffffffff
je 0x1012b029
cmp edi, ebp
jae 0x1012af40
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x34]
mov eax, edi
shr eax, 5
test dword [ecx + eax*4], edx
setne al
test al, al
jne 0x1012b029
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 8]
test edx, edx
je 0x1012aff4
cmp edi, dword [edx + 0xc]
jae 0x1012aff4
mov edx, dword [edx + 8]
mov ecx, edi
and ecx, 0x1f
mov ebp, 1
shl ebp, cl
mov eax, edi
shr eax, 5
test dword [edx + eax*4], ebp
setne al
test al, al
je 0x1012aff4
test bl, 1
je 0x1012aff4
lea eax, [esp + 0x10]
push eax
push 0
push 1
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.1011bdb0
push eax
push 1
call fcn.1018b9e0
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x1012aff4
mov eax, dword [esp + 0x20]
xor edx, edx
cmp eax, 0x1dd
jae 0x1012afbf
cmp edi, 0x20
jae 0x1012afbf
mov ecx, dword [esi + 0x2c]
add eax, edi
mov edx, dword [ecx + eax*4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x4c]
mov ebx, dword [eax + 0x5c]
mov ecx, dword [ebx + ecx*4]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], edx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x28]
mov eax, dword [esp + 0x1c]
mov dword [edx], eax
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x2c]
push edx
call fcn.1011db90
mov ebx, dword [eax]
mov ebp, dword [esp + 0x38]
cmp edi, ebp
jb 0x1012b011
lea eax, [edi + 1]
push eax
lea ecx, [esp + 0x30]
call fcn.100598b0
mov ebp, dword [esp + 0x38]
cmp edi, ebp
jae 0x1012b029
mov eax, edi
and edi, 0x1f
mov ecx, edi
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x34]
shr eax, 5
or dword [ecx + eax*4], edx
mov edi, dword [esp + 0x18]
mov ecx, dword [esi + 0x24]
add edi, 1
mov dword [esp + 0x18], edi
call fcn.100d1180
cmp edi, eax
jb 0x1012af00
mov eax, dword [esp + 0x20]
add eax, 0x20
cmp eax, 0x1dd
mov dword [esp + 0x20], eax
jb 0x1012aee0
mov edi, dword [esp + 0x50]
test bl, 1
je 0x1012b0da
mov eax, dword [esi + 0x2c]
cmp dword [eax + 0xa4], 0
jbe 0x1012b0da
lea ecx, [esp + 0x50]
push ecx
push 0
push 1
mov ecx, esi
mov dword [esp + 0x5c], 0
call fcn.1011bdb0
push eax
push 0x25
call fcn.1017f530
mov ebx, eax
add esp, 0x14
test bl, 1
je 0x1012b0da
mov edx, dword [esi + 0x2c]
mov ecx, dword [edx + 0xa8]
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x50]
mov edx, dword [ebx + edx*4]
mov eax, dword [eax + 0x34]
mov dword [eax + edx*4], ecx
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + 0xa8]
mov edx, dword [esp + 0x50]
mov ecx, dword [edx + 0x28]
mov dword [ecx], eax
mov edx, dword [esp + 0x50]
push edx
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.1011db90
mov ebx, dword [eax]
mov esi, dword [esp + 0x4c]
mov dword [esi], ebx
mov dword [esp + 0x44], 0xffffffff
call fcn.10054450
test eax, eax
je 0x1012b0fe
push 0x82
call fcn.10054f00
add esp, 4
call fcn.10054450
test eax, eax
je 0x1012b113
push 1
push 0x2b
call fcn.10054f50
add esp, 8
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1012b12e
push 0x1ad
push str.d:ccviews_autobuild1_br_0810_2282_15.11_snapshotgfx_development_sourceghal3dibdw_allocator.h
push eax
call fcn.1000baa0
add esp, 0xc
call fcn.10054450
test eax, eax
je 0x1012b143
push 0
push 0x2b
call fcn.10054f50
add esp, 8
mov ecx, dword [esp + 0x3c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 8