Function at 0x10012110
Capabilities:
Get number of processors
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006608b
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x100864b0]
xor eax, esp
mov dword [esp + 0x1f8], eax
push ebx
push esi
push edi
mov eax, dword [0x100864b0]
xor eax, esp
push eax
lea eax, [esp + 0x210]
mov dword fs:[0], eax
mov edi, 0x10095cd4
lea ecx, [esp + 0x9c]
push 0x1007746c
mov edx, edi
call fcn.10014090
add esp, 4
push 0xffffffffffffffff
mov dword [esp + 0x21c], 0
lea eax, [esp + 0xa0]
push 0
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.10015100
sub esp, 0x18
mov byte [esp + 0x230], 1
mov esi, esp
lea eax, [esp + 0x3c]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10015100
mov ecx, esi
call fcn.1001c730
add esp, 0x18
call fcn.10019980
add esp, 0x18
mov byte [esp + 0x218], 0
cmp dword [esp + 0x38], 0x10
jb 0x100121fe
push dword [esp + 0x24]
call fcn.1002771b
add esp, 4
push 0x10077478
mov edx, edi
lea ecx, [esp + 0x58]
call fcn.10014090
add esp, 4
push 0xffffffffffffffff
mov byte [esp + 0x21c], 2
lea eax, [esp + 0x58]
push 0
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.10015100
sub esp, 0x18
mov byte [esp + 0x230], 3
mov esi, esp
lea eax, [esp + 0x3c]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10015100
mov ecx, esi
call fcn.1001c730
add esp, 0x18
call fcn.10019980
add esp, 0x18
mov byte [esp + 0x218], 2
cmp dword [esp + 0x38], 0x10
jb 0x1001229e
push dword [esp + 0x24]
call fcn.1002771b
add esp, 4
push 0x10077490
mov edx, 0x10095cbc
lea ecx, [esp + 0x88]
call fcn.10014090
add esp, 4
push 0xffffffffffffffff
mov byte [esp + 0x21c], 4
lea eax, [esp + 0x88]
push 0
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.10015100
sub esp, 0x18
mov byte [esp + 0x230], 5
mov esi, esp
lea eax, [esp + 0x3c]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10015100
mov ecx, esi
call fcn.1001c730
add esp, 0x18
call fcn.10019980
add esp, 0x18
mov byte [esp + 0x218], 4
cmp dword [esp + 0x38], 0x10
jb 0x10012347
push dword [esp + 0x24]
call fcn.1002771b
add esp, 4
mov ebx, 0x10095d04
lea ecx, [esp + 0x6c]
push 0x100774a4
mov edx, ebx
call fcn.10014090
add esp, 4
push 0xffffffffffffffff
mov byte [esp + 0x21c], 6
lea eax, [esp + 0x70]
push 0
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.10015100
sub esp, 0x18
mov byte [esp + 0x230], 7
mov esi, esp
lea eax, [esp + 0x3c]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10015100
mov ecx, esi
call fcn.1001c730
add esp, 0x18
call fcn.10019980
add esp, 0x18
mov byte [esp + 0x218], 6
cmp dword [esp + 0x38], 0x10
jb 0x100123ec
push dword [esp + 0x24]
call fcn.1002771b
add esp, 4
cmp byte [ebp + 8], 0
jne 0x10012423
mov ecx, 0x10095c34
call fcn.10018220
test al, al
je 0x10012423
mov ecx, 0x10095c58
call fcn.10018220
test al, al
je 0x10012423
mov ecx, 0x10095c7c
call fcn.10018220
test al, al
je 0x10012423
mov bl, 1
jmp 0x10012a0c
sub esp, 0x18
lea eax, [esp + 0xb4]
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10015100
sub esp, 0x18
mov byte [esp + 0x248], 8
mov ecx, esp
push 4
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x100774bc
mov byte [ecx], 0
call fcn.10014c60
mov byte [esp + 0x248], 6
mov ecx, 0x6e
mov edx, dword [0x10095ca0]
call fcn.1001b3a0
add esp, 0x18
lea eax, [esp + 0xb4]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10015100
call fcn.10019050
add esp, 0x18
test al, al
jne 0x100124ca
xor bl, bl
jmp 0x10012a0c
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], 0
mov byte [esp + 0xcc], 0
mov dword [esp + 0xf8], 0xf
mov dword [esp + 0xf4], 0
mov byte [esp + 0xe4], 0
sub esp, 0x18
mov byte [esp + 0x230], 9
mov ecx, esp
mov dword [esp + 0x38], esp
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x1007750b
mov byte [ecx], 0
call fcn.10014c60
sub esp, 0x18
mov byte [esp + 0x248], 0xa
mov ecx, esp
mov dword [esp + 0x48], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x10095cd4
mov byte [ecx], 0
call fcn.10015100
sub esp, 0x18
mov byte [esp + 0x260], 0xb
mov ecx, esp
lea eax, [esp + 0xe4]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10015100
lea ecx, [esp + 0xfc]
mov byte [esp + 0x260], 9
call fcn.1001b5c0
push 0x103
lea eax, [esp + 0x101]
mov byte [esp + 0x100], 0
push 0
push eax
call fcn.100335d0
add esp, 0xc
lea eax, [esp + 0xfc]
push 0x104
push eax
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 4
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x100774c4
mov word [ecx], ax
call fcn.10014b00
lea ecx, [esp + 0x5c]
call fcn.1001c5d0
add esp, 0x18
mov byte [esp + 0x220], 0xc
cmp dword [eax + 0x14], 0x10
jb 0x10012613
mov eax, dword [eax]
push eax
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xd
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x100774d0
mov word [ecx], ax
call fcn.10014b00
lea ecx, [esp + 0x48]
call fcn.1001c5d0
add esp, 0x18
mov byte [esp + 0x224], 0xd
cmp dword [eax + 0x14], 0x10
jb 0x10012654
mov eax, dword [eax]
push eax
mov ecx, 0x10095c58
call fcn.10017fb0
test al, al
sete byte [esp + 0x1f]
cmp dword [esp + 0x38], 0x10
jb 0x10012679
push dword [esp + 0x24]
call fcn.1002771b
add esp, 4
mov byte [esp + 0x218], 9
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
jb 0x100126a9
push dword [esp + 0x3c]
call fcn.1002771b
add esp, 4
sub esp, 0x18
cmp byte [esp + 0x37], 0
mov ecx, esp
je 0x100126dc
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xbc]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10015100
jmp 0x100129c6
lea eax, [esp + 0x114]
push eax
call fcn.10014d60
call fcn.10019050
add esp, 0x18
sub esp, 0x18
test al, al
mov ecx, esp
lea eax, [esp + 0xb4]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
push eax
jne 0x10012721
call fcn.10015100
jmp 0x100129c6
call fcn.10015100
mov edx, 0x64
mov ecx, 0x1388
call fcn.10019a80
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x74]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10015100
sub esp, 0x18
mov byte [esp + 0x248], 0xe
mov ecx, esp
push 0x100774bc
call fcn.10014d60
mov byte [esp + 0x248], 9
mov ecx, 0x67
mov edx, dword [0x10095ca0]
call fcn.1001b3a0
add esp, 0x18
lea eax, [esp + 0x6c]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10015100
call fcn.10019050
add esp, 0x18
test al, al
je 0x100129d8
cmp dword [0x10095ce8], 0x10
lea eax, [esp + 0x54]
cmovae edi, dword [0x10095cd4]
cmp dword [esp + 0x68], 0x10
cmovae eax, dword [esp + 0x54]
sub esp, 8
push edi
push eax
lea eax, [esp + 0x10c]
push eax
call fcn.10013bf0
sub esp, 0x18
test al, al
lea eax, [esp + 0x6c]
mov ecx, esp
push eax
je 0x100129c1
call fcn.10015230
mov edx, 0x64
mov ecx, 0x1388
call fcn.10019a80
lea eax, [esp + 0x84]
mov dword [esp + 0x2c], esp
mov ecx, esp
push eax
call fcn.10015230
sub esp, 0x18
mov byte [esp + 0x248], 0xf
mov ecx, esp
push 0x100774bc
call fcn.10014d60
mov byte [esp + 0x248], 9
mov ecx, 0x6a
mov edx, dword [0x10095ca0]
call fcn.1001b3a0
add esp, 0x18
lea eax, [esp + 0x84]
mov ecx, esp
push eax
call fcn.10015230
call fcn.10019050
add esp, 0x18
test al, al
je 0x100129d8
cmp dword [0x10095d18], 0x10
lea eax, [esp + 0x6c]
cmovae ebx, dword [0x10095d04]
cmp dword [esp + 0x80], 0x10
cmovae eax, dword [esp + 0x6c]
sub esp, 8
push ebx
push eax
lea eax, [esp + 0x10c]
push eax
call fcn.10013bf0
sub esp, 0x18
test al, al
lea eax, [esp + 0x84]
mov ecx, esp
push eax
je 0x100129c1
call fcn.10015230
mov edx, 0x64
mov ecx, 0x1388
call fcn.10019a80
lea eax, [esp + 0x9c]
mov dword [esp + 0x2c], esp
mov ecx, esp
push eax
call fcn.10015230
sub esp, 0x18
mov byte [esp + 0x248], 0x10
mov ecx, esp
push 0x100774bc
call fcn.10014d60
mov byte [esp + 0x248], 9
mov ecx, 0x68
mov edx, dword [0x10095ca0]
call fcn.1001b3a0
add esp, 0x18
lea eax, [esp + 0x9c]
mov ecx, esp
push eax
call fcn.10015230
call fcn.10019050
add esp, 0x18
test al, al
je 0x100129d8
cmp dword [0x10095cd0], 0x10
lea eax, [esp + 0x84]
mov ecx, 0x10095cbc
cmovae ecx, dword [0x10095cbc]
cmp dword [esp + 0x98], 0x10
cmovae eax, dword [esp + 0x84]
sub esp, 8
push ecx
push eax
lea eax, [esp + 0x10c]
push eax
call fcn.10013bf0
sub esp, 0x18
lea eax, [esp + 0x9c]
mov ecx, esp
push eax
call fcn.10015230
mov edx, 0x64
mov ecx, 0x1388
call fcn.10019a80
add esp, 0x18
mov ecx, 0x10095c34
call fcn.10018220
test al, al
je 0x100129d8
mov ecx, 0x10095c58
call fcn.10018220
test al, al
je 0x100129d8
mov ecx, 0x10095c7c
call fcn.10018220
test al, al
je 0x100129d8
mov bl, 1
jmp 0x100129da
call fcn.10015230
mov edx, 0x64
mov ecx, 0x1388
call fcn.10019a80
add esp, 0x18
xor bl, bl
cmp dword [esp + 0xf8], 0x10
jb 0x100129f3
push dword [esp + 0xe4]
call fcn.1002771b
add esp, 4
cmp dword [esp + 0xe0], 0x10
jb 0x10012a0c
push dword [esp + 0xcc]
call fcn.1002771b
add esp, 4
cmp dword [esp + 0x80], 0x10
jb 0x10012a22
push dword [esp + 0x6c]
call fcn.1002771b
add esp, 4
cmp dword [esp + 0x98], 0x10
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], 0
mov byte [esp + 0x6c], 0
jb 0x10012a53
push dword [esp + 0x84]
call fcn.1002771b
add esp, 4
cmp dword [esp + 0x68], 0x10
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], 0
mov byte [esp + 0x84], 0
jb 0x10012a84
push dword [esp + 0x54]
call fcn.1002771b
add esp, 4
cmp dword [esp + 0xb0], 0x10
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
jb 0x10012ab2
push dword [esp + 0x9c]
call fcn.1002771b
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1f8]
xor ecx, esp
call fcn.100325a2
mov esp, ebp
pop ebp
ret 4