Function at 0x438440
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x472330
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x489320]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x489320]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x10], ebx
add ebx, 0x78
push 0xeb63
lea ecx, [esp + 0x30]
mov eax, ebx
call fcn.004149f0
xor edi, edi
mov dword [esp + 0x80], edi
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], esp
mov dword [ecx], eax
cmp eax, edi
je 0x4384b4
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x2c]
call fcn.00431910
cmp eax, edi
jge 0x4384ce
cmp eax, 0x80004002
je 0x4384ce
push eax
call fcn.00452d50
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x4384e6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call fcn.00418360
mov edi, 0x47c518
mov esi, eax
call fcn.00418580
mov dword [esp + 0x14], eax
push 0xeb23
lea ecx, [esp + 0x34]
mov eax, ebx
call fcn.004149f0
mov byte [esp + 0x80], 3
mov eax, dword [eax]
push ecx
xor edi, edi
mov ecx, esp
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], esp
mov dword [ecx], eax
cmp eax, edi
je 0x438530
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x24]
call fcn.004165d0
cmp eax, edi
jge 0x43854a
cmp eax, 0x80004002
je 0x43854a
push eax
call fcn.00452d50
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x438562
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x80]
cmp eax, edi
jne 0x43857a
push 0x80004003
call fcn.00452d50
push 1
push 0xeb6e
lea esi, [esp + 0x20]
call fcn.00416d70
mov byte [esp + 0x80], 6
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], esp
mov dword [ecx], eax
cmp eax, edi
je 0x4385ad
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x20]
call fcn.00431580
cmp eax, edi
jge 0x4385c7
cmp eax, 0x80004002
je 0x4385c7
push eax
call fcn.00452d50
mov byte [esp + 0x80], 8
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x4385df
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
cmp esi, edi
je 0x4389a7
test ebx, ebx
je 0x4389a7
xor eax, eax
mov word [esp + 0x58], ax
push eax
mov eax, 0x4796fc
lea esi, [esp + 0x58]
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
call fcn.00404fd0
mov eax, dword [ebp + 8]
sub eax, 0
mov byte [esp + 0x80], 9
je 0x4386cc
sub eax, 1
jne 0x4388cb
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x43865b
mov ecx, dword [esi]
mov edx, dword [ecx + 0x130]
push eax
push esi
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 0x9c]
push 0
push esi
call ecx
mov eax, str.IDS_TITLE_TOP_TAB2_1
lea ecx, [esp + 0x54]
call fcn.00404540
mov edx, dword [ebx]
mov eax, dword [edx + 0xfc]
push 0
push 0
push ebx
call eax
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x9c]
push 0
push ebx
call edx
mov edi, dword [esp + 0x10]
add edi, 0x78
push 0xeb72
xor edx, edx
mov ecx, edi
call fcn.004146b0
mov eax, dword [esp + 0x10]
push 1
push ecx
add eax, 0x148
mov ecx, esp
mov dword [esp + 0x1c], esp
call fcn.004458d0
call fcn.00414790
add esp, 8
push 0xeb8a
xor edx, edx
mov ecx, edi
call fcn.00414850
jmp 0x4388cf
mov eax, str.IDS_TITLE_TOP_TAB2_LOADING
lea ecx, [esp + 0x54]
call fcn.00404540
mov esi, dword [esp + 0x10]
add esi, 0x78
push 0xeb72
mov edx, 1
mov ecx, esi
call fcn.004146b0
mov eax, dword [esp + 0x10]
push 0
push ecx
add eax, 0x148
mov ecx, esp
mov dword [esp + 0x20], esp
call fcn.004458d0
call fcn.00414790
add esp, 8
push 0xeb8a
lea ecx, [esp + 0x28]
mov eax, esi
call fcn.004149f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x80], 0xa
call fcn.00416490
mov byte [esp + 0x80], 0xc
mov eax, dword [esp + 0x24]
test eax, eax
je 0x43874a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [esp + 0x10]
test edi, edi
je 0x43877a
mov eax, dword [edi]
mov ecx, dword [eax + 0x70]
push 1
push 0x5c
push 0
push edi
call ecx
push 1
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
call fcn.004458d0
call fcn.00414930
add esp, 8
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4387c9
mov edx, dword [esi]
mov eax, dword [edx + 0x130]
push 1
push esi
call eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
mov edi, 0x4796fc
call fcn.0040adf0
mov byte [esp + 0x84], 0xd
mov ecx, esi
mov byte [esp + 0x84], 0xc
call fcn.00431830
mov edx, dword [esi]
mov eax, dword [edx + 0x9c]
push 0
push esi
call eax
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4388b7
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x108]
push eax
push ebx
call edx
lea esi, [esp + 0x18]
call fcn.004439b0
mov byte [esp + 0x80], 0xe
xor esi, esi
mov dword [esp + 0x14], 0x64
lea esp, [esp]
lea eax, [esp + 0x14]
push eax
mov eax, esi
lea edi, [esp + 0x1c]
call fcn.00443a30
inc esi
cmp esi, 9
jl 0x438800
mov esi, dword [esp + 0x18]
mov eax, esi
lea ecx, [esp + 0x44]
call fcn.004470b0
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x84], 0xf
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x438852
push eax
call fcn.00452d50
lea ecx, [esp + 0x34]
mov edx, ebx
mov byte [esp + 0x80], 0x10
call fcn.00447040
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 0xf
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push ecx
call edi
mov edx, dword [ebx]
mov eax, dword [edx + 0xfc]
push 0
push 1
push ebx
call eax
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x9c]
push 0
push ebx
call edx
lea eax, [esp + 0x44]
push eax
call edi
test esi, esi
je 0x4388b3
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
test eax, eax
jl 0x4388b3
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov edi, dword [esp + 0x10]
mov byte [esp + 0x80], 9
test edi, edi
je 0x4388cb
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x4388de
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00418360
mov ecx, eax
call fcn.00418600
mov byte [esp + 0x80], 0x11
mov edi, dword [eax]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], esp
push eax
call edx
call fcn.00414ae0
mov byte [esp + 0x84], 9
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43893f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x6c], 8
jb 0x438953
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00453000
add esp, 4
xor edx, edx
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], dx
mov byte [esp + 0x80], 5
test esi, esi
je 0x43897e
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x80], 0xffffffff
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
jmp 0x4389ea
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4389bf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x80], 2
test esi, esi
je 0x4389d3
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov dword [esp + 0x80], 0xffffffff
test ebx, ebx
je 0x4389ea
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0045300b
mov esp, ebp
pop ebp
ret 4