Function at 0x1010ffd0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10348244
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
mov dword [esp + 0x70], eax
push 0x138
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x70], 1
test eax, eax
je 0x1011007c
test esi, esi
je 0x1011006a
lea ecx, [esi + 0x38]
push ecx
mov ecx, eax
call fcn.1011ab50
mov edi, eax
mov dword [esp + 0x18], eax
jmp 0x10110082
xor ecx, ecx
push ecx
mov ecx, eax
call fcn.1011ab50
mov edi, eax
mov dword [esp + 0x18], eax
jmp 0x10110082
xor edi, edi
mov dword [esp + 0x18], edi
mov byte [esp + 0x70], 0
mov dword [edi + 0x2c], 0x6d
mov dword [esp + 0x20], 0
mov byte [esp + 0x70], 2
mov ecx, 0xcc
call fcn.10146670
mov ebx, eax
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x101100bd
push 4
mov edx, ebx
mov ecx, edi
call fcn.10146190
add esp, 4
mov byte [esp + 0x70], 0
test ebx, ebx
je 0x101100ce
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov edx, 0x138c
lea ecx, [esp + 0x48]
call fcn.10145cd0
mov dword [esp + 0x20], eax
mov byte [esp + 0x70], 3
lea ecx, [esp + 0x30]
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp ecx, eax
je 0x10110128
cmp dword [esp + 0x44], 8
jb 0x10110107
push dword [esp + 0x30]
call ebx
mov eax, dword [esp + 0x24]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x44], 7
mov word [esp + 0x30], cx
lea ecx, [esp + 0x30]
push eax
mov dword [esp + 0x44], 0
call fcn.100cd880
mov byte [esp + 0x70], 0
cmp dword [esp + 0x5c], 8
jb 0x1011013d
push dword [esp + 0x48]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
mov word [esp + 0x48], ax
lea ecx, [edi + 0xdc]
lea eax, [esp + 0x30]
mov dword [esp + 0x58], 0
cmp ecx, eax
je 0x1011016c
push 0xffffffffffffffff
push 0
push eax
call fcn.100cd9d0
mov eax, dword [esp + 0x18]
mov byte [edi + 0xb9], 1
lea edi, [esi + 8]
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov edx, dword [eax + 4]
sar ecx, 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
test edx, edx
je 0x1011019f
push 1
push eax
mov ecx, edx
call fcn.1014c610
mov ecx, dword [esp + 0x20]
mov eax, dword [edi]
lea eax, [eax + ecx*4]
lea ecx, [esp + 0x14]
push ecx
push ecx
push eax
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
call fcn.1014cb70
mov eax, dword [esp + 0x18]
push pe_nt_image_headers32
mov dword [eax + 4], esi
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x70], 4
test eax, eax
je 0x101101fc
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0
lea ecx, [esi + 0x38]
mov dword [esp + 0x24], 0
push edx
push ecx
push ecx
mov ecx, eax
call fcn.1014a070
jmp 0x101101fe
xor eax, eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x70], 0
mov dword [eax + 0x2c], 0x69
mov dword [esp + 0x20], 0
mov byte [esp + 0x70], 5
mov ecx, 0xcb
call fcn.10146670
mov ecx, eax
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x10110243
mov edx, ecx
mov ecx, dword [esp + 0x18]
push 4
call fcn.10146190
mov ecx, dword [esp + 0x24]
add esp, 4
mov byte [esp + 0x70], 0
test ecx, ecx
je 0x10110252
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, 0x138b
lea ecx, [esp + 0x48]
call fcn.10145cd0
mov dword [esp + 0x14], eax
mov byte [esp + 0x70], 6
lea ecx, [esp + 0x30]
cmp ecx, eax
je 0x101102a6
cmp dword [esp + 0x44], 8
jb 0x10110285
push dword [esp + 0x30]
call ebx
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x44], 7
mov word [esp + 0x30], cx
lea ecx, [esp + 0x30]
push eax
mov dword [esp + 0x44], 0
call fcn.100cd880
mov byte [esp + 0x70], 0
cmp dword [esp + 0x5c], 8
jb 0x101102bb
push dword [esp + 0x48]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
mov word [esp + 0x48], ax
lea edx, [esp + 0x30]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], 0
lea ecx, [eax + 0xdc]
cmp ecx, edx
je 0x101102f4
push 0xffffffffffffffff
push 0
mov eax, edx
push eax
call fcn.100cd9d0
mov eax, dword [esp + 0x18]
mov byte [eax + 0xb9], 1
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov edx, dword [eax + 4]
sar ecx, 2
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
test edx, edx
je 0x10110320
push 1
push eax
mov ecx, edx
call fcn.1014c610
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
lea eax, [eax + ecx*4]
lea ecx, [esp + 0x20]
push ecx
push ecx
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.1014cb70
mov eax, dword [esp + 0x18]
push 0x160
mov dword [eax + 4], esi
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x70], 7
test eax, eax
je 0x1011037d
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0
lea ecx, [esi + 0x38]
mov dword [esp + 0x24], 0
push edx
push ecx
push ecx
mov ecx, eax
call fcn.1014ae10
jmp 0x1011037f
xor eax, eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x70], 0
mov edx, 0x1389
lea ecx, [esp + 0x48]
mov dword [eax + 0x2c], 0x68
call fcn.10145cd0
mov dword [esp + 0x14], eax
mov byte [esp + 0x70], 8
lea ecx, [esp + 0x30]
cmp ecx, eax
je 0x101103e3
cmp dword [esp + 0x44], 8
jb 0x101103c2
push dword [esp + 0x30]
call ebx
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x44], 7
mov word [esp + 0x30], cx
lea ecx, [esp + 0x30]
push eax
mov dword [esp + 0x44], 0
call fcn.100cd880
mov byte [esp + 0x70], 0
cmp dword [esp + 0x5c], 8
jb 0x101103f8
push dword [esp + 0x48]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
mov word [esp + 0x48], ax
lea edx, [esp + 0x30]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], 0
lea ecx, [eax + 0xdc]
cmp ecx, edx
je 0x10110431
push 0xffffffffffffffff
push 0
mov eax, edx
push eax
call fcn.100cd9d0
mov eax, dword [esp + 0x18]
mov edx, 0x138a
mov byte [eax + 0xb9], 1
lea ecx, [esp + 0x48]
call fcn.10145cd0
mov dword [esp + 0x14], eax
mov byte [esp + 0x70], 9
lea ecx, [esp + 0x30]
cmp ecx, eax
je 0x1011048c
cmp dword [esp + 0x44], 8
jb 0x1011046b
push dword [esp + 0x30]
call ebx
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x44], 7
mov word [esp + 0x30], cx
lea ecx, [esp + 0x30]
push eax
mov dword [esp + 0x44], 0
call fcn.100cd880
mov byte [esp + 0x70], 0
cmp dword [esp + 0x5c], 8
jb 0x101104a1
push dword [esp + 0x48]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
mov word [esp + 0x48], ax
lea edx, [esp + 0x30]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], 0
lea ecx, [eax + 0x144]
cmp ecx, edx
je 0x101104da
push 0xffffffffffffffff
push 0
mov eax, edx
push eax
call fcn.100cd9d0
mov eax, dword [esp + 0x18]
push ecx
push 0xca
mov edx, 0xc9
mov ecx, eax
call fcn.10146380
mov eax, dword [esp + 0x20]
add esp, 8
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
sar ecx, 2
mov edx, dword [eax + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
test edx, edx
je 0x10110518
push 1
push eax
mov ecx, edx
call fcn.1014c610
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
lea eax, [eax + ecx*4]
lea ecx, [esp + 0x20]
push ecx
push ecx
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.1014cb70
mov eax, dword [esp + 0x18]
mov dword [eax + 4], esi
call fcn.100f9e50
push dword [eax + 8]
call dword [sym.imp.USER32.dll_IsZoomed]
mov ecx, dword [esp + 0x18]
test eax, eax
setne al
mov byte [ecx + 0x130], al
mov eax, dword [ecx]
call dword [eax + 0x68]
push pe_nt_image_headers32
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x70], 0xa
test eax, eax
je 0x10110597
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0
lea ecx, [esi + 0x38]
mov dword [esp + 0x24], 0
push edx
push ecx
push ecx
mov ecx, eax
call fcn.1014a070
jmp 0x10110599
xor eax, eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x70], 0
mov dword [eax + 0x2c], 0x67
mov dword [esp + 0x20], 0
mov byte [esp + 0x70], 0xb
mov ecx, 0xc8
call fcn.10146670
mov ecx, eax
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x101105de
mov edx, ecx
mov ecx, dword [esp + 0x18]
push 4
call fcn.10146190
mov ecx, dword [esp + 0x24]
add esp, 4
mov byte [esp + 0x70], 0
test ecx, ecx
je 0x101105ed
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, 0x1388
lea ecx, [esp + 0x48]
call fcn.10145cd0
mov dword [esp + 0x14], eax
mov byte [esp + 0x70], 0xc
lea ecx, [esp + 0x30]
cmp ecx, eax
je 0x10110641
cmp dword [esp + 0x44], 8
jb 0x10110620
push dword [esp + 0x30]
call ebx
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x44], 7
mov word [esp + 0x30], cx
lea ecx, [esp + 0x30]
push eax
mov dword [esp + 0x44], 0
call fcn.100cd880
mov byte [esp + 0x70], 0
cmp dword [esp + 0x5c], 8
jb 0x10110656
push dword [esp + 0x48]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
mov word [esp + 0x48], ax
lea edx, [esp + 0x30]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], 0
lea ecx, [eax + 0xdc]
cmp ecx, edx
je 0x1011068f
push 0xffffffffffffffff
push 0
mov eax, edx
push eax
call fcn.100cd9d0
mov eax, dword [esp + 0x18]
mov byte [eax + 0xb9], 1
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov edx, dword [eax + 4]
sar ecx, 2
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
test edx, edx
je 0x101106bb
push 1
push eax
mov ecx, edx
call fcn.1014c610
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
lea eax, [eax + ecx*4]
lea ecx, [esp + 0x20]
push ecx
push ecx
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.1014cb70
mov eax, dword [esp + 0x18]
push pe_nt_image_headers32
mov dword [eax + 4], esi
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x70], 0xd
test eax, eax
je 0x10110718
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0
lea ecx, [esi + 0x38]
mov dword [esp + 0x24], 0
push edx
push ecx
push ecx
mov ecx, eax
call fcn.1014a070
jmp 0x1011071a
xor eax, eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x70], 0
mov dword [eax + 0x2c], 0x6a
mov dword [esp + 0x20], 0
mov byte [esp + 0x70], 0xe
mov ecx, 0x12c
call fcn.10146670
mov ecx, eax
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x1011075f
mov edx, ecx
mov ecx, dword [esp + 0x18]
push 4
call fcn.10146190
mov ecx, dword [esp + 0x24]
add esp, 4
mov byte [esp + 0x70], 0
test ecx, ecx
je 0x1011076e
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, 0x139a
lea ecx, [esp + 0x48]
call fcn.10145cd0
mov dword [esp + 0x14], eax
mov byte [esp + 0x70], 0xf
lea ecx, [esp + 0x30]
cmp ecx, eax
je 0x101107c2
cmp dword [esp + 0x44], 8
jb 0x101107a1
push dword [esp + 0x30]
call ebx
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x44], 7
mov word [esp + 0x30], cx
lea ecx, [esp + 0x30]
push eax
mov dword [esp + 0x44], 0
call fcn.100cd880
mov byte [esp + 0x70], 0
cmp dword [esp + 0x5c], 8
jb 0x101107d7
push dword [esp + 0x48]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
mov word [esp + 0x48], ax
lea edx, [esp + 0x30]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], 0
lea ecx, [eax + 0xdc]
cmp ecx, edx
je 0x10110810
push 0xffffffffffffffff
push 0
mov eax, edx
push eax
call fcn.100cd9d0
mov eax, dword [esp + 0x18]
mov byte [eax + 0xb9], 1
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov edx, dword [eax + 4]
sar ecx, 2
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
test edx, edx
je 0x1011083c
push 1
push eax
mov ecx, edx
call fcn.1014c610
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
lea eax, [eax + ecx*4]
lea ecx, [esp + 0x20]
push ecx
push ecx
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.1014cb70
mov eax, dword [esp + 0x18]
push 0x84
mov dword [eax + 4], esi
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x70], 0x10
test eax, eax
je 0x10110895
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
push ecx
push ecx
mov ecx, eax
mov dword [esp + 0x2c], 0
call fcn.1014b960
jmp 0x10110897
xor eax, eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x70], 0
mov edx, 0xcd
mov ecx, eax
mov dword [eax + 0x2c], 0x6e
call fcn.10146550
mov ecx, dword [esp + 0x18]
push 1
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esp + 0x18]
push 1
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
sar ecx, 2
mov edx, dword [eax + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
test edx, edx
je 0x101108f2
push 1
push eax
mov ecx, edx
call fcn.1014c610
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
lea eax, [eax + ecx*4]
lea ecx, [esp + 0x20]
push ecx
push ecx
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.1014cb70
mov ecx, dword [esp + 0x18]
push 0x84
mov dword [ecx + 4], esi
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x70], 0x11
test eax, eax
je 0x1011094d
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
push ecx
push ecx
mov ecx, eax
mov dword [esp + 0x2c], 0
call fcn.1014b960
mov esi, eax
jmp 0x1011094f
xor esi, esi
mov byte [esp + 0x70], 0
mov ecx, esi
mov eax, dword [esi]
push 1
mov dword [esi + 0x2c], 0x66
call dword [eax + 0x18]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x28]
mov eax, dword [edi + 4]
sub eax, dword [edi]
mov ecx, dword [esi + 4]
sar eax, 2
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x1011098c
push 1
push esi
call fcn.1014c610
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
lea eax, [eax + ecx*4]
lea ecx, [esp + 0x20]
push ecx
push ecx
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.1014cb70
mov edi, dword [esp + 0x1c]
mov dword [esi + 4], edi
call fcn.100e9040
push 0x60
push dword [eax]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, 0x13ce
mov dword [esi + 0x5c], eax
lea ecx, [esp + 0x48]
call fcn.10145cd0
mov dword [esp + 0x1c], eax
mov byte [esp + 0x70], 0x12
lea ecx, [esi + 0x64]
mov edx, eax
call fcn.100d1c40
test al, al
jne 0x10110a1b
mov eax, dword [esp + 0x1c]
lea ecx, [esi + 0x64]
cmp ecx, eax
je 0x101109fd
push 0xffffffffffffffff
push 0
push eax
call fcn.100cd9d0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.1014c150
push eax
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
mov byte [esp + 0x70], 0
cmp dword [esp + 0x5c], 8
jb 0x10110a30
push dword [esp + 0x48]
call ebx
add esp, 4
xor eax, eax
mov dword [esi + 0x50], 1
mov word [esp + 0x48], ax
mov ecx, edi
mov dword [esi + 0x4c], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x7c], 0xffffffff
mov eax, dword [edi]
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
call dword [eax + 4]
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x10110a7d
push dword [esp + 0x30]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov word [esp + 0x30], ax
mov al, 1
mov dword [esp + 0x40], 0
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1033d458
mov esp, ebp
pop ebp
ret