Function at 0x410e30
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b1308
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f2888]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], edi
xor ebx, ebx
mov dword [esp + 0x24], edi
call fcn.0042f8f6
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x410e85
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
cmp byte [0x4f3ed0], 0
mov dword [esp + 0x38], edi
je 0x410ede
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410ec6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov ecx, dword [esi + 0x21c]
push 0
push 0
push 0x1004
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x410f62
jmp 0x410f00
push edi
lea ecx, [esi + 0x1fc]
call fcn.00432f59
test eax, eax
je 0x410f43
mov ecx, dword [eax]
test ecx, ecx
je 0x410f2a
cmp ecx, 1
je 0x410f2a
cmp ecx, 7
je 0x410f2a
cmp ecx, 2
je 0x410f2a
cmp ecx, 5
jne 0x410f43
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
add ebp, edx
adc dword [esp + 0x2c], eax
cmp ecx, 5
jne 0x410f43
add ebx, 1
adc dword [esp + 0x24], 0
mov ecx, dword [esi + 0x21c]
push 0
push 0
push 0x1004
push ecx
inc edi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, eax
jl 0x410f00
mov dword [esp + 0x28], ebp
cmp byte [0x4f3ed1], 0
mov ecx, dword [esp + 0x24]
je 0x410f75
add ebx, 1
adc ecx, 0
cmp byte [0x4f3ed0], 0
mov eax, ebx
jne 0x410fb2
mov edx, dword [esi + 0x12f4]
push ecx
push eax
mov eax, dword [esi + 0x12f0]
push edx
push eax
lea ecx, [esp + 0x24]
push 0x4beb34
push ecx
call fcn.00407880
mov edx, dword [esp + 0x2c]
add esp, 0x18
push edx
lea ecx, [esi + 0xe38]
call fcn.00437013
cmp dword [esi + 0x380], 0
jne 0x411000
lea edi, [esi + 0x81c]
push 0
mov ecx, edi
call fcn.0042cd30
push 0
lea eax, [esp + 0x18]
push str._d__
push eax
call fcn.00407880
mov eax, dword [esp + 0x20]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebx, esp
push eax
call fcn.004015b0
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [ebx], eax
call fcn.0042ce20
mov edi, dword [esi + 0x12f8]
mov ebx, dword [esi + 0x12fc]
mov ecx, edi
or ecx, ebx
push 0
jne 0x411059
add esi, 0x384
mov ecx, esi
call fcn.0042cd30
push 2
push 0x4beb28
lea ecx, [esp + 0x1c]
call fcn.00401eb0
mov ebx, dword [esp + 0x14]
push ecx
lea eax, [ebx - 0x10]
mov dword [esp + 0x24], esp
mov edi, esp
push eax
call fcn.004015b0
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.0042ce20
jmp 0x411195
mov edx, dword [esp + 0x30]
push 0x64
push edx
push ebp
call fcn.00481f40
push ebx
push edi
push edx
push eax
call fcn.00481e90
mov edi, eax
lea ebp, [esi + 0x384]
push edi
mov ecx, ebp
call fcn.0042cd30
mov eax, dword [esi + 0x12fc]
mov ecx, dword [esi + 0x12f8]
push eax
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00410060
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.00410060
mov ecx, dword [ebx]
mov edx, dword [eax]
push edi
push ecx
push edx
lea eax, [esp + 0x20]
push str._s____s___d___
push eax
mov byte [esp + 0x4c], 2
call fcn.00407880
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4110f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41111e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x24], esp
lea eax, [ebx - 0x10]
mov dword [esp + 0x24], esp
push eax
call fcn.004015b0
mov ecx, dword [esp + 0x28]
add eax, 0x10
mov dword [ecx], eax
add esp, 4
mov ecx, ebp
call fcn.0042ce20
cmp byte [0x4f3ed0], 0
jne 0x411191
cmp dword [esi + 0x380], 0
push 0x4bc01c
jne 0x411172
lea edx, [esp + 0x18]
push 0x4bb294
push edx
call fcn.00407880
add esp, 0xc
jmp 0x411185
push edi
lea eax, [esp + 0x1c]
push str.__d_____s
push eax
call fcn.00407880
add esp, 0x10
mov ebx, dword [esp + 0x14]
push ebx
mov ecx, esi
call fcn.00437013
mov ebp, dword [esp + 0x28]
add ebx, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4111b9
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, ebp
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret