Function at 0x10080820
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012ed6c
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1014a018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x108c68c0]
mov eax, dword [ebp + 8]
push 0x18
mov dword [esi + 4], eax
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
xor eax, eax
mov dword [ebp - 4], eax
cmp edi, eax
je 0x10080890
push 0xe0
mov ecx, 0x9d00c5
mov dword [edi], vtable.CUITextInputBox.0
mov dword [edi + 4], eax
call ecx
add esp, 4
mov edx, 0x420f60
mov ecx, eax
call edx
mov dword [edi + 4], eax
jmp 0x10080892
xor edi, edi
or ebx, 0xffffffff
mov dword [ebp - 4], ebx
push 0x18
mov dword [esi + 0x2c], edi
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov dword [ebp - 4], 1
test edi, edi
je 0x100808e0
push 0xe0
mov eax, 0x9d00c5
mov dword [edi], vtable.CUITextInputBox.0
mov dword [edi + 4], 0
call eax
add esp, 4
mov edx, 0x420f60
mov ecx, eax
call edx
mov dword [edi + 4], eax
jmp 0x100808e2
xor edi, edi
mov dword [ebp - 4], ebx
push 0x18
mov dword [esi + 0x30], edi
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov dword [ebp - 4], 2
test edi, edi
je 0x1008092d
push 0xe0
mov eax, 0x9d00c5
mov dword [edi], vtable.CUITextInputBox.0
mov dword [edi + 4], 0
call eax
add esp, 4
mov edx, 0x420f60
mov ecx, eax
call edx
mov dword [edi + 4], eax
jmp 0x1008092f
xor edi, edi
mov dword [ebp - 4], ebx
push 0x18
mov dword [esi + 0x34], edi
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov dword [ebp - 4], 3
test edi, edi
je 0x1008097a
push 0xe0
mov eax, 0x9d00c5
mov dword [edi], vtable.CUITextInputBox.0
mov dword [edi + 4], 0
call eax
add esp, 4
mov edx, 0x420f60
mov ecx, eax
call edx
mov dword [edi + 4], eax
jmp 0x1008097c
xor edi, edi
mov dword [ebp - 4], ebx
push 0x18
mov dword [esi + 0x38], edi
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
xor eax, eax
mov dword [ebp - 4], 4
cmp edi, eax
je 0x100809c5
mov dword [edi + 4], eax
push 0xe0
mov eax, 0x9d00c5
mov dword [edi], vtable.CUITextInputBox.0
call eax
add esp, 4
mov edx, 0x420f60
mov ecx, eax
call edx
mov dword [edi + 4], eax
mov eax, edi
mov dword [ebp - 4], ebx
push 0
push 0xa
mov dword [esi + 0x3c], eax
mov ecx, dword [0xe8c578]
mov eax, dword [esi + 0x2c]
mov edi, 0xe
push edi
mov ebx, 0x3c
push ebx
push ecx
mov ecx, dword [eax + 4]
mov edx, 0x421b90
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], edi
call edx
mov ecx, dword [0xe8c578]
mov eax, dword [esi + 0x30]
push 1
push 0xa
push edi
push ebx
push ecx
mov ecx, dword [eax + 4]
mov edx, 0x421b90
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], edi
call edx
mov ecx, dword [0xe8c578]
mov eax, dword [esi + 0x34]
push 0
push 0x32
push edi
push 0x64
push ecx
mov ecx, dword [eax + 4]
mov edx, 0x421b90
mov dword [eax + 0x10], 0x64
mov dword [eax + 0x14], edi
call edx
mov ecx, dword [0xe8c578]
mov eax, dword [esi + 0x38]
push 0
push 0xa
push edi
push ebx
push ecx
mov ecx, dword [eax + 4]
mov edx, 0x421b90
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], edi
call edx
mov ecx, dword [0xe8c578]
mov eax, dword [esi + 0x3c]
push 0
push 6
push edi
push ebx
push ecx
mov ecx, dword [eax + 4]
mov edx, 0x421b90
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], edi
call edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x44]
push 0xff
push 0
push 0
push 0
call edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
push 0xd2
push 0xe6
push 0xff
push 0xff
call edx
mov eax, dword [0xe8c594]
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + 4]
push eax
mov edx, 0x423060
call edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 4]
push 0
mov edx, 0x421d30
call edx
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x44]
push 0x19
push 0
push 0
push 0
call edx
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
push 0xd2
push 0xe6
push 0xff
push 0xff
call edx
mov eax, dword [0xe8c594]
mov ecx, dword [esi + 0x30]
mov ecx, dword [ecx + 4]
push eax
mov edx, 0x423060
call edx
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 4]
push 0
mov edx, 0x421d30
call edx
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x44]
push 0xff
push 0
push 0
push 0
call edx
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
push 0xd2
push 0xe6
push 0xff
push 0xff
call edx
mov eax, dword [0xe8c594]
mov ecx, dword [esi + 0x34]
mov ecx, dword [ecx + 4]
push eax
mov edx, 0x423060
call edx
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 4]
push 0
mov edx, 0x421d30
call edx
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x44]
push 0x19
push 0
push 0
push 0
call edx
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
push 0xd2
push 0xe6
push 0xff
push 0xff
call edx
mov eax, dword [0xe8c594]
mov ecx, dword [esi + 0x38]
mov ecx, dword [ecx + 4]
push eax
mov edx, 0x423060
call edx
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 4]
push 0
mov edx, 0x421d30
call edx
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x44]
push 0xff
push 0
push 0
push 0
call edx
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
push 0xd2
push 0xe6
push 0xff
push 0xff
call edx
mov eax, dword [0xe8c58c]
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + 4]
push eax
mov edx, 0x423060
call edx
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 4]
push 0
mov edx, 0x421d30
call edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 4]
mov edx, dword [esi + 0x30]
mov eax, dword [ecx]
mov edx, dword [edx + 4]
mov eax, dword [eax + 0x58]
push edx
call eax
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x34]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x58]
push eax
call edx
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 4]
mov edx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [edx + 4]
mov eax, dword [eax + 0x58]
push edx
call eax
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x3c]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x58]
push eax
call edx
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [esi + 0x2c]
mov eax, dword [ecx]
mov edx, dword [edx + 4]
mov eax, dword [eax + 0x58]
push edx
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4