Function at 0x445a00
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x572376
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.004cee70
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 0x445a54
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 0x445cc1
push 0x5c
call fcn.0055e5a9
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov dword [esp + 0x18], 0
je 0x445aa8
mov eax, dword [esp + 0x24]
and eax, 0x8000000f
jns 0x445a9f
dec eax
or eax, 0xfffffff0
inc eax
call fcn.00480630
mov esi, eax
jmp 0x445aaa
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 0x445b2b
mov ebp, dword [0x5f0798]
call fcn.004cee70
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 0x445b0a
mov edi, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.005605d0
cdq
idiv edi
jmp 0x445b2d
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.005605d0
cdq
idiv edi
jmp 0x445b2d
xor edx, edx
mov dword [esi + 0x44], edx
mov eax, 0x66666667
imul dword [esp + 0x3c]
mov ebx, dword [0x8927a4]
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, 0x57f48
mov byte [esi + 0x50], cl
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], ebp
mov dword [esi + 0x18], edx
call fcn.00403040
mov edx, dword [esi]
push str.flame
mov ecx, esi
mov dword [esi + 0x1c], eax
call dword [edx + 4]
mov ecx, dword [0x8927a4]
push esi
add ecx, 0x80214
call fcn.0053bc60
push 0x5c
call fcn.0055e5a9
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
test esi, esi
mov dword [esp + 0x18], 1
je 0x445bd9
mov eax, dword [esp + 0x24]
and eax, 0x8000000f
jns 0x445bcd
dec eax
or eax, 0xfffffff0
inc eax
add eax, 0x10
call fcn.0047dbd0
mov esi, eax
jmp 0x445bdb
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 0x445c6b
mov edx, dword [0x5f0798]
mov dword [esp + 0x20], edx
call fcn.004cee70
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 0x445c39
mov eax, dword [esp + 0x24]
push eax
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.005605d0
cdq
idiv ebx
jmp 0x445c6d
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.005605d0
cdq
idiv ebx
jmp 0x445c6d
xor edx, edx
mov ecx, dword [esp + 0x30]
mov ebx, dword [0x8927a4]
mov al, byte [esp + 0x44]
mov dword [esi + 0x44], edx
mov edx, dword [esp + 0x38]
add ecx, 0x1f4
push edx
add ebx, 0x57f48
mov byte [esi + 0x50], al
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], ebp
mov dword [esi + 0x18], ecx
call fcn.00403040
mov dword [esi + 0x1c], eax
mov eax, dword [esi]
push str.flame
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [0x8927a4]
push esi
add ecx, 0x80214
call fcn.0053bc60
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x28