Function at 0x10007380
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1000c8a9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100112ac]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.100022c0
xor edi, edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], edi
call dword [sym.imp.mfc90.dll_Ordinal_3178]
inc eax
push eax
call dword [sym.imp.MSVCR90.dll_malloc]
mov ebp, eax
add esp, 4
mov dword [esp + 0x30], ebp
lea ecx, [esp + 0x14]
cmp ebp, edi
je 0x100076fd
call dword [sym.imp.mfc90.dll_Ordinal_3178]
inc eax
push eax
push edi
push ebp
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_3178]
push eax
push edi
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_2691]
push eax
push ebp
call sub.MSVCR90.dll_memcpy
mov esi, dword [sym.imp.MSVCR90.dll_strtol]
push 0xa
lea edx, [esp + 0x60]
push edx
push ebp
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x68], edi
call esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
add esp, 0x18
cmp eax, edi
je 0x100076f0
cmp byte [eax], 0
je 0x100076f0
push 0xa
lea ecx, [esp + 0x54]
inc eax
push ecx
push eax
mov dword [esp + 0x5c], eax
call esi
mov ebx, eax
mov eax, dword [esp + 0x5c]
add esp, 0xc
cmp eax, edi
je 0x100074a8
cmp byte [eax], 0
je 0x100074a8
push 0xa
lea edx, [esp + 0x54]
inc eax
push edx
push eax
mov dword [esp + 0x5c], eax
call esi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
add esp, 0xc
cmp eax, edi
je 0x100074a8
cmp byte [eax], 0
je 0x100074a8
push 0xa
lea ecx, [esp + 0x54]
inc eax
push ecx
push eax
mov dword [esp + 0x5c], eax
call esi
add esp, 0xc
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x4c]
mov ecx, dword [esi + 0x80]
call sub.mfc90.dll_Ordinal_3065
mov edi, eax
test edi, edi
je 0x100076f0
mov dword [esp + 0x18], 0
mov edx, dword [edi]
mov ecx, dword [edx]
lea eax, [esp + 0x18]
push eax
push 0x1000e36c
push edi
mov byte [esp + 0x50], 1
call ecx
test eax, eax
jl 0x100076c8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100076c8
mov dword [esp + 0x1c], 0
mov edx, dword [eax]
mov edx, dword [edx + 0x1b0]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov byte [esp + 0x4c], 2
call edx
test eax, eax
jl 0x1000768b
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1000768b
mov edx, dword [esp + 0x24]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x11c]
call eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [esi + 0xec], 0
je 0x10007558
lea ecx, [esi + 0xe8]
call sub.mfc90.dll_Ordinal_2106
mov ebp, dword [esp + 0x20]
lea edx, [ebx + 2]
push edx
lea eax, [ebp + 2]
push eax
lea edx, [ebx - 2]
push edx
lea eax, [ebp - 2]
lea ecx, [esi + 0xe8]
push eax
call fcn.10006c70
lea eax, [esi + 0xe8]
test eax, eax
je 0x10007584
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x20]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x20]
push 0x549
push 0
push 0
sub edx, ebx
push edx
sub eax, ebp
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
push eax
push 0xffffffffffffffff
push ecx
call ebp
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x20]
push 0x509
push 0
push 0
sub edx, ebx
push edx
push eax
push 0xffffffffffffffff
push ecx
call ebp
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push 0
push 0
push edx
push eax
push 2
call dword [sym.imp.USER32.dll_mouse_event]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push 0
push 0
push ecx
push edx
push 4
call dword [sym.imp.USER32.dll_mouse_event]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x20]
push 0x509
push 0
push 0
sub eax, ebx
push eax
push ecx
push 0xfffffffffffffffe
push edx
call ebp
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x20]
push 0
push 0x64
push 0x4e25
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [esp + 0x30]
push edx
call sub.mfc90.dll_Ordinal_266
mov eax, dword [edi]
mov ecx, dword [eax + 8]
add esp, 4
push edi
call ecx
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x44], 1
test eax, eax
je 0x10007665
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x44], 0
test eax, eax
je 0x1000767a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, 1
jmp 0x10007705
push ebp
call sub.mfc90.dll_Ordinal_266
mov eax, dword [edi]
mov ecx, dword [eax + 8]
add esp, 4
push edi
call ecx
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x44], 1
test eax, eax
je 0x100076b1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x44], 0
test eax, eax
je 0x100076f9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x100076f9
push ebp
call sub.mfc90.dll_Ordinal_266
mov eax, dword [edi]
mov ecx, dword [eax + 8]
add esp, 4
push edi
call ecx
mov eax, dword [esp + 0x18]
mov byte [esp + 0x44], 0
test eax, eax
je 0x100076f9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x100076f9
push ebp
call sub.mfc90.dll_Ordinal_266
add esp, 4
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8