Function at 0x446450
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57ebc6
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
push ebx
push ebp
mov ebp, dword [eax + 8]
push esi
push edi
call fcn.004d3720
mov esi, eax
lea edi, [esi + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push edi
je 0x4464a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x28
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
mov ecx, ebp
shr ecx, 3
mov ebx, dword [edx + ecx*4]
xor ebx, dword [eax + ebp*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x446711
push 0x5c
call fcn.0056ae19
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov dword [esp + 0x18], 0
je 0x4464f8
mov eax, dword [esp + 0x24]
and eax, 0x8000000f
jns 0x4464ef
dec eax
or eax, 0xfffffff0
inc eax
call fcn.004856d0
mov esi, eax
jmp 0x4464fa
xor esi, esi
mov eax, dword [esp + 0x28]
imul eax, eax, 0x64
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x20], eax
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x2c]
imul eax, eax, 0x64
mov dword [esp + 0x28], eax
mov dword [esi + 0x3c], eax
mov al, byte [esp + 0x44]
test al, al
je 0x44657b
mov ebp, dword [0x5fc7d0]
call fcn.004d3720
mov edi, eax
lea ebx, [edi + 0x30]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [edi + 0x2c]
test al, al
push ebx
je 0x44655a
mov edi, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0056ce40
cdq
idiv edi
jmp 0x44657d
mov edx, dword [edi + 0x24]
mov eax, dword [edi + 0x1c]
mov ecx, ebp
shr ecx, 3
mov edi, dword [edx + ecx*4]
xor edi, dword [eax + ebp*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0056ce40
cdq
idiv edi
jmp 0x44657d
xor edx, edx
mov dword [esi + 0x44], edx
mov eax, 0x66666667
imul dword [esp + 0x3c]
mov ebx, dword [0x89e864]
mov cl, byte [esp + 0x44]
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, 0x66666667
imul dword [esp + 0x40]
mov eax, dword [esp + 0x34]
sar edx, 2
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esp + 0x30]
push eax
add ebx, 0x58058
mov byte [esi + 0x50], cl
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], ebp
mov dword [esi + 0x18], edx
call fcn.00403000
mov edx, dword [esi]
push str.flame
mov ecx, esi
mov dword [esi + 0x1c], eax
call dword [edx + 4]
mov ecx, dword [0x89e864]
push esi
add ecx, 0x80324
call fcn.00548590
push 0x5c
call fcn.0056ae19
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
test esi, esi
mov dword [esp + 0x18], 1
je 0x446629
mov eax, dword [esp + 0x24]
and eax, 0x8000000f
jns 0x44661d
dec eax
or eax, 0xfffffff0
inc eax
add eax, 0x10
call fcn.004826e0
mov esi, eax
jmp 0x44662b
xor esi, esi
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x20]
mov dword [esi + 0x38], eax
mov al, byte [esp + 0x44]
test al, al
mov dword [esi + 0x3c], ecx
je 0x4466bb
mov edx, dword [0x5fc7d0]
mov dword [esp + 0x20], edx
call fcn.004d3720
mov ebx, eax
lea eax, [ebx + 0x30]
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [ebx + 0x2c]
test al, al
je 0x446689
mov eax, dword [esp + 0x24]
push eax
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0056ce40
cdq
idiv ebx
jmp 0x4466bd
mov eax, dword [esp + 0x20]
mov edx, dword [ebx + 0x24]
mov ebx, dword [ebx + 0x1c]
mov ecx, eax
shr ecx, 3
mov dword [esp + 0x20], ebx
mov ebx, dword [edx + ecx*4]
mov ecx, dword [esp + 0x20]
xor ebx, dword [ecx + eax*4]
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0056ce40
cdq
idiv ebx
jmp 0x4466bd
xor edx, edx
mov ecx, dword [esp + 0x30]
mov ebx, dword [0x89e864]
mov al, byte [esp + 0x44]
mov dword [esi + 0x44], edx
mov edx, dword [esp + 0x38]
add ecx, 0x1f4
push edx
add ebx, 0x58058
mov byte [esi + 0x50], al
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], ebp
mov dword [esi + 0x18], ecx
call fcn.00403000
mov dword [esi + 0x1c], eax
mov eax, dword [esi]
push str.flame
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [0x89e864]
push esi
add ecx, 0x80324
call fcn.00548590
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x28